-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
Allow a CombinedLoader as the training data in DDP #11648
Conversation
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.
LG!
also fixes: #11475? also, would you mind updating the docs too: https://pytorch-lightning.readthedocs.io/en/latest/guides/data.html#return-multiple-dataloaders? |
Co-authored-by: Rohit Gupta <[email protected]>
Co-authored-by: Rohit Gupta <[email protected]>
for more information, see https://pre-commit.ci
This reverts commit d6ec67b.
This reverts commit cfcc4b0.
…loader"" This reverts commit 8d82d97.
This reverts commit bdb8f6b.
hey @ant0nsc, you can ignore the timeout. happens sometimes. will review this on Monday, although looks great. Just needs some more doc updates. Will push some commits if required. |
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.
LGTM !
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.
added an example
What does this PR do?
This PR allows to use a
CombinedLoader
as training data, and ensures that the right samplers are added when used in DDPFixes #11632
Fixes: #11475
Does your PR introduce any breaking changes? If yes, please list them.
None that I'm aware of.
Before submitting
PR review
Anyone in the community is welcome to review the PR.
Before you start reviewing make sure you have read Review guidelines. In short, see the following bullet-list:
Did you have fun?
Make sure you had fun coding 🙃