-
Notifications
You must be signed in to change notification settings - Fork 160
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add epoch based seed to MultiNodeWeightedSampler (#1369)
* initial commit * unit tests * remove extra function * Add an epoch updater * move multi-epoch support inside mixer class * replace exact epoch with rng, includes PR#1377 for fixing prefetcher initial state * clean up * clean up some more * add epoch seed based on rank, remove rng for epoch seeds, extend a test case * loop over epochs to generate different seeds * remove extra function, extra comment * rename epoch_random_seed to epoch, remove comments * Update docstring * fix state key name
- Loading branch information
Showing
4 changed files
with
117 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters