opacus

Training PyTorch models with differential privacy

APACHE-2.0 License

Downloads
212.3K
Stars
1.7K
Committers
76

Bot releases are visible (Hide)

opacus - Opacus v0.10.0

Published by JohnlNguyen almost 4 years ago

v0.10.0

New features

  • Reimplemented the Embedding layer, making it 9x faster with lower memory footprint (#73).
  • Reimplemented the DPLSTM layer, making it 2x faster with lower memory footprint.
  • Extended our Conv support to grouped convolutions (#78).

Bug fixes

  • Small fixes to clipping logic (#45).

Miscellaneous

  • Changed docstring style from numpy -> Google.
  • Throw an error if sample rate > 1 in privacy engine.
  • Migrated our IMDB example from TorchText -> HuggingFace (#85).
  • Added PRNG shuffling to our examples.
opacus - Opacus v0.9.1

Published by karthikprasad about 4 years ago

Bug fixes

  • Compatibility with Python 3.6 (Minimum required version changed from 3.7 to 3.6.9).
  • Allow DP-LSTM to have null init.
opacus - Opacus v0.9.0

Published by Darktex about 4 years ago

With this release, we get out of beta and rename from pytorch-dp to Opacus :)

opacus - PyTorch-DP v0.1-beta.1

Published by karthikprasad over 4 years ago

New Features

  • Initial commit
  • Add per-sample gradient support for multiple ops
  • Expand unit test coverage
  • Add experimental clipping strategies
  • Add script for privacy computation
Package Rankings
Top 6.73% on Proxy.golang.org
Top 2.12% on Pypi.org
Top 23.29% on Conda-forge.org
Badges
Extracted from project README
CircleCI Coverage Status PRs Welcome License
Related Projects