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

BatchMemoryManager for training private GANs #647

Open
Caarinaaa opened this issue Apr 26, 2024 · 0 comments
Open

BatchMemoryManager for training private GANs #647

Caarinaaa opened this issue Apr 26, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@Caarinaaa
Copy link

🚀 Feature

BatchMemoryManager support for multiple optimizers with some of which are DPOptimizer.

Motivation

Hi! I am trying to implement BatchMemoryManager when training GAN.
It seems that BatchMemoryManager need the optimizer, but I got two optimizers here. One optimizerG for generator and the other optimizerD for discriminator. Moreover, optimizerD is made private by Opacus while optimizerG is not. So how can I use BatchMemoryManager here?

Pitch

Alternatives

Additional context

@HuanyuZhang HuanyuZhang added enhancement New feature or request labels May 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants