[1/n] DataLoader2 initial support for randomness control
Summary: Add the initial support for DataLoader2 to control randomness over the pipeline:
- Implement
SeedGenerator - Change API of
ReadingService.initialize_iterationto take seed generator from DataLoader2 - The seed generator will be the single source of randomness within the pipeline
Differential Revision: D38947827
This pull request was exported from Phabricator. Differential Revision: D38947827
This pull request was exported from Phabricator. Differential Revision: D38947827
This pull request was exported from Phabricator. Differential Revision: D38947827
I might need to re-create a new PR via ghexport to support a stack of Diffs.
This pull request was exported from Phabricator. Differential Revision: D38947827
This pull request was exported from Phabricator. Differential Revision: D38947827
This pull request was exported from Phabricator. Differential Revision: D38947827
This pull request was exported from Phabricator. Differential Revision: D38947827
This pull request was exported from Phabricator. Differential Revision: D38947827
This pull request was exported from Phabricator. Differential Revision: D38947827
@ejguan has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.
This pull request was exported from Phabricator. Differential Revision: D38947827
This pull request was exported from Phabricator. Differential Revision: D38947827
This pull request was exported from Phabricator. Differential Revision: D38947827
@ejguan merged this pull request in pytorch/data@38e0d03454a9018cb7ebf76e6b31379db913f8a1.