-
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
Bugfix/18394 batch size finder max val batches #18854
Bugfix/18394 batch size finder max val batches #18854
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.
Thanks @BoringDonut, good call to carry over the same fix from the LR finder. Could you also add a changelog entry in the bugfix section?
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## master #18854 +/- ##
=========================================
- Coverage 76% 48% -28%
=========================================
Files 443 435 -8
Lines 35374 35224 -150
=========================================
- Hits 26708 16894 -9814
- Misses 8666 18330 +9664 |
@awaelchli added a changelog entry ~ |
Co-authored-by: Oleksandra Sokol <[email protected]> Co-authored-by: Jirka Borovec <[email protected]>
Co-authored-by: Oleksandra Sokol <[email protected]> Co-authored-by: Jirka Borovec <[email protected]> (cherry picked from commit e50b68a)
Co-authored-by: Oleksandra Sokol <[email protected]> Co-authored-by: Jirka Borovec <[email protected]> (cherry picked from commit e50b68a)
Co-authored-by: Oleksandra Sokol <[email protected]> Co-authored-by: Jirka Borovec <[email protected]> (cherry picked from commit e50b68a)
What does this PR do?
Resets the CombinedLoader attribute of the eval loop to trigger a re-initialization with the correct val_limit batches.
Fixes #18394
(Adapted from #17636)
Before submitting
PR review
Anyone in the community is welcome to review the PR.
Before you start reviewing, make sure you have read the review guidelines. In short, see the following bullet-list:
Reviewer checklist
📚 Documentation preview 📚: https://pytorch-lightning--18854.org.readthedocs.build/en/18854/