Download Latest Version Opacus v1.5.4 source code.tar.gz (1.2 MB)
Email in envelope

Get an email when there's a new version of Opacus

Home / v1.5.3
Name Modified Size InfoDownloads / Week
Parent folder
Opacus v1.5.3 source code.tar.gz 2025-02-18 1.2 MB
Opacus v1.5.3 source code.zip 2025-02-18 1.4 MB
README.md 2025-02-18 1.4 kB
Totals: 3 Items   2.6 MB 0

New features

Improvments to ghost clipping

  • The interface for ghost clipping is now similar to that of PyTorch and vanilla DP-SGD (#668)
  • Updated a tutorial on training language models with DP-SGD to include ghost clipping (#667) and LoRA (#698)
  • Added adaptive clipping support for ghost clipping (#711)
  • Add ghost clipping support for embedding layers (#694)
  • Support generative NLP tasks with ghost clipping (#722)
  • Add functionality to access per-sample gradients with ghost clipping (#724)

Enabling more external contributions

  • Added a research folder for external contribution of promising new methods for PPML (#700)
  • DP-SGD optimizers with Kalman filters are now available in the research folder (#706)
  • Made it easier to define custom extensions of PrivacyEngine (#703, [#704], [#710])

Bug fixes

  • Fix the clipping operation for ghost clipping when using the PrivacyEngine interface (#664)
  • Fix issue with ghost clipping and BatchMemoryManager
  • Add strict and force_functorch parameters in initaliziation of GradSampleModuleFastGradientClipping (#675)
  • Fix failing tests (e.g., [#726], [#713], [#727], [#674])

Miscellaneous

  • Switch from testing with CircleCI to GithubActions CI (#701)
  • Website and Github improvements (#723, [#721], [#677], [#712])
  • Added multi-gpu test for ghost clipping (#665)
Source: README.md, updated 2025-02-18