Skip to content

Commit

Permalink
release v1.3 (#540)
Browse files Browse the repository at this point in the history
Summary:
Pull Request resolved: #540

Release v1.3

Reviewed By: karthikprasad

Differential Revision:
D41183563

LaMa Project: L1124100

fbshipit-source-id: 34648fd42e4f949c07c8bbfae1f77013da5e1b0c
  • Loading branch information
Pierre Stock authored and facebook-github-bot committed Nov 11, 2022
1 parent c89a3bf commit 3db2907
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 5 deletions.
23 changes: 19 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,31 @@
# Changelog

## v1.3

### New features
* Implement the `PRVAccountant` based on the paper [Numerical Composition of Differential Privacy](https://arxiv.org/abs/2106.02848) (#493)
* Support `nn.EmbeddingBag` (#519)

### Bug fixes
* Fix benchmarks (#503, #507, #508)
* Align `make_private_with_epsilon` with `make_private` (#509, #526)
* Test fixes (#513, #515, #527, #533)
* Summed discriminator losses to perform one backprop step (#474)
* Fixed issue with missing argument in MNIST example (#520)
* Functorch gradients: investigation and fix (#510)
* Support empty batches (#530)

## 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
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)
* 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
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.2.0"
__version__ = "1.3.0"

0 comments on commit 3db2907

Please sign in to comment.