Opacus

Latest version: v1.4.1

Safety actively analyzes 630217 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 4

1.1.1

Bug fixes
* Fix accountant when using number of steps instead of epochs
* Add params check when converting BatchNorm to GroupNorm (390)
* Fix typo in gdp accountant mechanism name (386)
* Fix linter errors (392)
* Add friendly and detailed message for unsupported layers (401)
* Run linter on nightly workflow (399)
* Add warning for Gaussian DP accounting (400)
* Clone replacement modules on the same device as original (356)
* Implementing 3D dilation (408)
* fix(batch_memory_manager): Ensures split_idxs use native python types (410)
Miscellaneous
* Migrate nightly CircleCI flows to scheduled pipelines (402)
* Migrate from ubuntu 16.04 to 20.04 on CircleCI (403)

1.1.0

New Feature
* Add support for GDP accounting in get_noise_multiplier (303)
Bug fixes
* Conservative search for target epsilon in get_noise_multiplier (348)
* Warn and ignore "drop_last" when set in DPDataLoader (357)
* Fix per-layer clipping in distributed (347)
Miscellaneous
* Update code of conduct and file headers
* Add "Support Ukraine" banner to opacus website homepage
* Lint fixes

1.0.2

Bug fixes
* DPOptimizer
* Passes through `.defaults` field to match pytorch Optimizer (329)
* Better exception message in `.step()` when p.grad_sample=None (331)
* Correct `closure` call after applying DP noise (330)
* Proper gradient scaling in DDP mode
* Corrections of typos and errors in tutorials
Miscellaneous
* Opacus can be installed with conda: added recipe in conda-forge (326)
* Formatting change in accordance with black-22.1.0

1.0.1

Bug fixes
* Hidden states of RNN is passed to device (314)
* Validate and fix trainable modules only (316)
Miscellaneous
* Minor corrections and typo fixes in links, documentation, and tutorials.

1.0.0

* This release packs in lot of new features and bug fixes, and most importantly, also brings forth new APIs that are simpler, more modular, and easily extensible.
* We have bumped up the major version number from 0 to 1 and have introduced breaking changes. However, the major version bump also indicates a step-function upgrade in the capabilities.
* See [Release notes](https://github.com/pytorch/opacus/releases/tag/v1.0.0] and [Migration Guide](https://github.com/pytorch/opacus/blob/main/Migration_Guide.md) for more details about the changes.
* PR 273 contains the pointers to all the commits and PRs that went into this release.

0.15.0

New Features
* DDP support for faster distributed training (196)
* Support of GRU and RNN; refactored LSTM implementation (222)
* PyTorch Lightning Demo (244)
Bug fixes
* Improve nn.Linear grad sampler memory consumption (192)
* Update Opacus to stop using deprecated torch.set_deterministic (197)
* Fix optimizer.step after engine.detach()
* Test fixes
Miscellaneous
* Better validation error reporting (199)
* grad sampler type checking (241)

Page 2 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.