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 an FAQ about variable batch size #514

Open
karthikprasad opened this issue Sep 19, 2022 · 0 comments
Open

Add an FAQ about variable batch size #514

karthikprasad opened this issue Sep 19, 2022 · 0 comments
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@karthikprasad
Copy link
Contributor

📚 Documentation

Poisson sampling in DP DataLoader results variable batch sizes. This has been a source of confusion for many and has resulted in at least two questions on the forum (https://discuss.pytorch.org/t/arbitrary-batch-sizes-after-passing-dataloader-through-privacy-engine/161632 and https://discuss.pytorch.org/t/the-samping-of-rdp/158322)

While this has been documented in the docstrings of DPDataLoader (at https://opacus.ai/api/data_loader.html), this is not easily accessible. It might be worth adding this into Opacus FAQ (at https://opacus.ai/docs/faq)

@karthikprasad karthikprasad added the documentation Improvements or additions to documentation label Sep 19, 2022
@karthikprasad karthikprasad self-assigned this Sep 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant