-
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
Refactor data fetcher selection in loops #18494
Conversation
⚡ Required checks status: All passing 🟢Groups summary🟢 pytorch_lightning: Tests workflowThese checks are required after the changes to 🟢 pytorch_lightning: Azure GPU
These checks are required after the changes to 🟢 pytorch_lightning: Benchmarks
These checks are required after the changes to 🟢 pytorch_lightning: Docs
These checks are required after the changes to 🟢 mypy
These checks are required after the changes to 🟢 installThese checks are required after the changes to Thank you for your contribution! 💜
|
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.
Thank you!
You'll need to assert that the stage is not None when accessed trough trainer.state.stage
(see mypy failure)
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## master #18494 +/- ##
==========================================
- Coverage 85% 50% -35%
==========================================
Files 427 419 -8
Lines 33365 33218 -147
==========================================
- Hits 28370 16684 -11686
- Misses 4995 16534 +11539 |
What does this PR do?
Addresses #18441 (comment)
Follow up to #18441
This was suggested by @carmocca
📚 Documentation preview 📚: https://pytorch-lightning--18494.org.readthedocs.build/en/18494/
cc @Borda @justusschock @awaelchli @carmocca