Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update opacus requirement from ~=0.10.0 to >=0.10,<0.15 #156

Merged
merged 1 commit into from
Oct 19, 2021

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 19, 2021

Updates the requirements on opacus to permit the latest version.

Release notes

Sourced from opacus's releases.

Opacus v0.14.0

New features

  • Major refactoring - per-sample gradient computation is separated into its own module - GradSampleModule (#175)
  • Improved RDP to (eps, delta)-DP conversion (#162)
  • Multi-GPU support (#166)

Bug fixes

  • Handle empty batches in Poisson sampling (#164)
  • Fixed memory leak from no_grad execution (#180)
Changelog

Sourced from opacus's changelog.

v0.14.0

New features

  • Major refactoring - per-sample gradient computation is separated into its own module - GradSampleModule (#175)
  • Improved RDP to (eps, delta)-DP conversion (#162)
  • Multi-GPU support (#166)

Bug fixes

  • Handle empty batches in Poisson sampling (#164)
  • Fixed memory leak from no_grad execution (#180)

v0.13.0

New features

Miscellaneous

  • Pytest moved to dev installation (#144)

v0.12.0

This version introduces a mildly-breaking change: the privacy engine will now support sampling with variable batch size, just like in the Abadi et al. paper. To accommodate this feature, we have made batch_size a kwarg (no longer positional). We are also enforcing that all kwargs must not be specified positionally. If you had code that passed kwargs positionally, you will find an error (which will be very simple to fix).

New features

  • Enforce kwargs to Privacy Engine (#136).
  • Fix batch construction and privacy engine (#128). (thanks @​ConstanceBeguier!)
  • Compute required sigma to reach (epsilon, delta) budget (#126)
  • Friendly user message for unused parameters (#118).
  • Print helpful message when models are not in train mode (#113)

Bug fixes

  • Now the Opacus package has a __version__ attribute.
  • Fix immer security issue, fix website errors
  • Updated setup.py version requirements to support 3.6.8 for Windows (#108) (thanks @​madhavajay!)

Miscellaneous

  • Rewrote the grad_sample tests to use Hypothesis (#125). (thanks @​touqir14!)

v0.11.0

New features

  • Extend DPLSTM to support multilayer, dropout (#101)
  • Modifications to Char LSTM name classification example
  • Introduce issue templates for GitHub (#102)
  • Added support for Conv3D layers

Bug fixes

  • Linter fixes for Conv3D (#105)

Miscellaneous

  • Make TorchCSPRNG an optional dependency (#106)
  • Removed unnecessary calls to zero_grad from examples and tutorials (#96)

v0.10.1

Bug fixes

  • Fix PyPI deployment (#91).

Miscellaneous

  • Refactor grad sample tests (#90).
  • Avoid storing activations in certain scenarios (#87)

v0.10.0

... (truncated)

Commits
  • ba4b739 Release 0.14
  • 656ec61 Bump set-getter from 0.1.0 to 0.1.1 in /website (#189)
  • c8bb000 Downgrade to torch==1.8.1 for tests (#188)
  • e0b8c67 Fix 3 more vulnerabilities
  • 2d9d73e Re-sync with internal repository (#184)
  • f1013a4 Bump postcss from 7.0.32 to 7.0.36 in /website (#181)
  • bea0882 Fix vulnerabilities using package.json
  • 890920e fix vulnerability in the normalize-url dependency
  • e1f1d5a fix vulnerability in the trim-newlines dependency
  • 3c9bd88 Do not store activations within torch.no_grad (#180)
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Updates the requirements on [opacus](https://github.com/pytorch/opacus) to permit the latest version.
- [Release notes](https://github.com/pytorch/opacus/releases)
- [Changelog](https://github.com/pytorch/opacus/blob/main/CHANGELOG.md)
- [Commits](pytorch/opacus@v0.10.0...v0.14.0)

---
updated-dependencies:
- dependency-name: opacus
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Oct 19, 2021

The following labels could not be found: dependencies.

@evsmithx evsmithx added the dependencies Updates to dependencies label Oct 19, 2021
@evsmithx evsmithx merged commit 966c075 into master Oct 19, 2021
@evsmithx evsmithx deleted the dependabot/pip/master/opacus-gte-0.10-and-lt-0.15 branch October 19, 2021 17:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Updates to dependencies
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant