You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update on "Convert generator in Sampler back to lazy construction"
Fixes#63609
- Revert #63026
- Sampler is expected to be re-seeded if user specify seed before each epoch
- Can not attach generator to self with `__iter__` because multiple iterators will ruin the use case
- Add tests to prevent the same case for different Samplers
Differential Revision: [D30451774](https://our.internmc.facebook.com/intern/diff/D30451774)
[ghstack-poisoned]
0 commit comments