Skip to content

Add an FAQ about variable batch size #514

Open
@karthikprasad

Description

@karthikprasad

📚 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)

Metadata

Metadata

Assignees

Labels

documentationImprovements or additions to documentation

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions