Skip to content

Commit

Permalink
release v1.2.0 (#500)
Browse files Browse the repository at this point in the history
Summary:
subj

Pull Request resolved: #500

Reviewed By: ashkan-software

Differential Revision: D39386971

Pulled By: ffuuugor

fbshipit-source-id: a8d8c813d4c8891ceaf9d249a8d02fec38e502c5
  • Loading branch information
Igor Shilov authored and facebook-github-bot committed Sep 9, 2022
1 parent d49e9f0 commit 38b24dc
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
20 changes: 20 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
2 changes: 1 addition & 1 deletion opacus/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit 38b24dc

Please sign in to comment.