-
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
fix state_dict() hanging process with torchmetrics 0.4 #8218
Conversation
Codecov Report
@@ Coverage Diff @@
## release/1.3.x #8218 +/- ##
==============================================
- Coverage 92% 86% -6%
==============================================
Files 200 200
Lines 13067 13069 +2
==============================================
- Hits 11987 11183 -804
- Misses 1080 1886 +806 |
I think we shall merge both kinds of independently (do not matter on order) anyway we need Admin to do this merge... :] |
@Borda Admins are in a different timezone! |
We asked admin to merge this one with failing tests, then #8206 will follow to fix it. |
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 !
What does this PR do?
Fixes hanging process due to state_dict() not being called on all ranks.
This is necessary after torchmetrics 0.4, PR Lightning-AI/torchmetrics#302
PL master is fine.
This fix will be included in the weekly patch release #8198
Additional context: Lightning-AI/torchmetrics#331
Before submitting
PR review
Anyone in the community is free to review the PR once the tests have passed.
Before you start reviewing make sure you have read Review guidelines. In short, see the following bullet-list:
Did you have fun?
I made sure I had fun coding 🙃