-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Add hook test for reloading with max epochs #12932
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
Conversation
|
|
||
| called = [] | ||
| callback = HookedCallback(called) | ||
| # already performed 1 step, resume and do 2 more |
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.
Can you explain the comment? I think it's wrong.
We first train 2 steps (1 epoch).
Then, we resume to do 2 more steps (1 additional epoch)
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.
yep... it's a small typo... must be copied from the test right below
What does this PR do?
Add test to ease the review of #12821
Setting the 1.6.x milestone because #12821 will need to land there
Does your PR introduce any breaking changes? If yes, please list them.
None
cc @Borda @akihironitta @carmocca @awaelchli @ninginthecloud @daniellepintz @rohitgr7