-
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
Remove the *_step_end
hooks
#16791
Remove the *_step_end
hooks
#16791
Conversation
⚡ Required checks status: All passing 🟢Groups summary🟢 pytorch_lightning: Tests workflow
These checks are required after the changes to 🟢 pytorch_lightning: Azure GPU
These checks are required after the changes to 🟢 pytorch_lightning: Azure HPU
These checks are required after the changes to 🟢 pytorch_lightning: Azure IPU
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 🟢 link-check
These 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.
Approving app bit 😆
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## master #16791 +/- ##
=========================================
- Coverage 82% 79% -3%
=========================================
Files 437 417 -20
Lines 31581 31338 -243
=========================================
- Hits 25767 24654 -1113
- Misses 5814 6684 +870 |
Co-authored-by: Carlos Mocholí <[email protected]>
What does this PR do?
The
training_step_end
,validation_step_end
, andtest_step_end
are no longer required after the removal of DP in #16748. Since DP does not exist anymore, there won't be a use case anymore to reduce the tensors from training_step. For any other post-training step processing of outputs, the user can override theon_*_batch_end
hooks.Part of the Lightning 2.0 simplification initiative.
cc @justusschock @awaelchli @Borda