Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support of adaptive optimizer with DPDL #4

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

Linzh7
Copy link
Collaborator

@Linzh7 Linzh7 commented Nov 1, 2024

  1. change the logic of checking if it is distributed computing from isinstance(module, (DPDDP, DDP)) to dist.get_world_size() > 1
  2. add a optim_args in the base class of DPoptimizer to enable the further customize of optimizers.

  - add optim_args in privacy_engine for optimizers with extra args
  - modify the Opacus adaptive optimizer to our AdaptDPSGD-Full version
@Linzh7 Linzh7 requested a review from ikanher November 1, 2024 10:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant