From 38b24dc85137ad0bf9f7ec724ed2b531c6d02b1b Mon Sep 17 00:00:00 2001 From: Igor Shilov Date: Fri, 9 Sep 2022 09:33:17 -0700 Subject: [PATCH] release v1.2.0 (#500) Summary: subj Pull Request resolved: https://github.com/pytorch/opacus/pull/500 Reviewed By: ashkan-software Differential Revision: D39386971 Pulled By: ffuuugor fbshipit-source-id: a8d8c813d4c8891ceaf9d249a8d02fec38e502c5 --- CHANGELOG.md | 20 ++++++++++++++++++++ opacus/version.py | 2 +- 2 files changed, 21 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1dcbea70..375cdf17 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,25 @@ # Changelog +## v1.2 + +### New ways to compute per sample gradients +We're glad to present Opacus v1.2, which contains some major updates to per sample gradient computation mechanisms +and includes all the good stuff from the recent PyTorch releases. +* Functorch - per sample gradients for all +* ExpandedWeights - yet another way to compute per sample gradients +* See [Release notes](https://github.com/pytorch/opacus/releases/tag/v1.2.0) + and [GradSampleModule README](https://github.com/pytorch/opacus/blob/main/opacus/grad_sample/README.md) + for detailed feature explanation + +### Other improvements +* Fix `utils.unfold2d` with non-symmetric pad/dilation/kernel_size/stride (#443) +* Add support for "same" and "valid" padding for hooks-based grad sampler for convolution layers +* Improve model validation to support frozen layers and catch copied parameters (#489) +* Remove annoying logging from `set_to_none` (#471) +* Improved documentation (#480, #478, #482, #485, #486, #487, #488) +* Imtegration test improvements (#407, #479, #481. #473) + + ## v1.1.3 ### Bug fixes * Support layers with a mix of frozen and learnable parameters (#437) diff --git a/opacus/version.py b/opacus/version.py index 541f21b5..6ee276d8 100644 --- a/opacus/version.py +++ b/opacus/version.py @@ -13,4 +13,4 @@ # See the License for the specific language governing permissions and # limitations under the License. -__version__ = "1.1.3" +__version__ = "1.2.0"