pytorch / opacus

Training PyTorch models with differential privacy
https://opacus.ai
Apache License 2.0
1.72k stars 345 forks source link

Fix DistributedDP Optimizer for Fast Gradient Clipping #662

Closed HuanyuZhang closed 3 months ago

HuanyuZhang commented 3 months ago

Summary: The step function incorrectly called "original_optimizer.original_optimizer" instead of "original_optimizer". Fixed it now.

Differential Revision: D60484128

facebook-github-bot commented 3 months ago

This pull request was exported from Phabricator. Differential Revision: D60484128

facebook-github-bot commented 3 months ago

This pull request was exported from Phabricator. Differential Revision: D60484128

facebook-github-bot commented 3 months ago

This pull request was exported from Phabricator. Differential Revision: D60484128

facebook-github-bot commented 3 months ago

This pull request was exported from Phabricator. Differential Revision: D60484128

facebook-github-bot commented 3 months ago

This pull request was exported from Phabricator. Differential Revision: D60484128

facebook-github-bot commented 3 months ago

This pull request was exported from Phabricator. Differential Revision: D60484128

facebook-github-bot commented 3 months ago

This pull request was exported from Phabricator. Differential Revision: D60484128

facebook-github-bot commented 3 months ago

This pull request has been merged in pytorch/opacus@eb94674f8a9b27be4f6a3de28c7eea95bf90981f.