-
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 rank 0 restrictions from logger #8608
Conversation
Codecov Report
@@ Coverage Diff @@
## master #8608 +/- ##
======================================
- Coverage 89% 89% -0%
======================================
Files 169 169
Lines 14073 14072 -1
======================================
- Hits 12466 12465 -1
Misses 1607 1607 |
pytorch_lightning/trainer/connectors/logger_connector/logger_connector.py
Show resolved
Hide resolved
b0cd598
to
7649f69
Compare
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.
There isn't any bot merged to do it... what caused all those changes?
Why would blame be important for the CHANGELOG? Each line links to the PR that made the change |
@carmocca sorry, Prettier automatically formatted the changelog file. I've fixed this. |
7252ad1
to
98e791c
Compare
db26d9d
to
ecd7d79
Compare
Hello @edward-io! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found: There are currently no PEP 8 issues detected in this Pull Request. Cheers! 🍻 Comment last updated at 2021-08-05 22:46:20 UTC |
deae538
to
5e8d3e4
Compare
Head branch was pushed to by a user without write access
a332ee0
to
7dc09cf
Compare
7dc09cf
to
56062a9
Compare
a3d0b65
to
5a78b42
Compare
5a78b42
to
e10ebac
Compare
What does this PR do?
Fixes #8589
This PR removes is_global_zero check before logging in the Trainer. It does not change the rank-zero-only behavior that the logger implementations already have and instead enables implementations of loggers that do need to log on each rank when designed that way.
Does your PR introduce any breaking changes? If yes, please list them.
All existing loggers already have guards to only run on rank 0.
But any logger implemented by users who rely on this might fail now.
Before submitting
PR review
Anyone in the community is welcome to review the PR.
Before you start reviewing make sure you have read Review guidelines. In short, see the following bullet-list:
Did you have fun?
Make sure you had fun coding 🙃
EDIT(@awaelchli) updated description to motivate these changes