-
Notifications
You must be signed in to change notification settings - Fork 155
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
Multidataset round robin sampler #1370
base: main
Are you sure you want to change the base?
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/data/1370
Note: Links to docs will display an error until the docs builds have been completed. ❌ 14 New FailuresAs of commit 7ea0cc9 with merge base 60380f1 (): NEW FAILURES - The following jobs have failed:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
from torchdata.nodes.samplers.stop_criteria import StopCriteria | ||
|
||
|
||
class MultiNodeRoundRobinSampler(BaseNode[T]): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is the expected behavior when doing many epochs over all the datasets? Would every epoch be the same?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, every epoch would be the same. Added a new test for that.
def test_multiple_epochs(self) -> None: |
5f63705
to
fa556eb
Compare
This PR attempts to add a new sampler, Round robin sampler.