-
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
support number for logging with sync_dist=True #5080
Conversation
Hello @tchaton! Thanks for updating this PR. There are currently no PEP 8 issues detected in this Pull Request. Cheers! 🍻 Comment last updated at 2020-12-14 07:38:41 UTC |
Codecov Report
@@ Coverage Diff @@
## master #5080 +/- ##
======================================
Coverage 93% 93%
======================================
Files 134 134
Lines 9905 9907 +2
======================================
+ Hits 9204 9206 +2
Misses 701 701 |
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
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
Co-authored-by: Carlos Mocholí <[email protected]>
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.
it is very strange that all other tests that use sync_dist=True only run on a single gpu. these tests should probably be revised
Yes, entirely agree. I was confused too when I looked at them. We definitely need better tests around sync. Best, |
* support number * add two tests * wip * add ddp in special test * remove a test * move device to bottom * simplify test * update test * Update pytorch_lightning/core/step_result.py Co-authored-by: Carlos Mocholí <[email protected]> * resolve sync_ddp Co-authored-by: Carlos Mocholí <[email protected]>
* support number * add two tests * wip * add ddp in special test * remove a test * move device to bottom * simplify test * update test * Update pytorch_lightning/core/step_result.py Co-authored-by: Carlos Mocholí <[email protected]> * resolve sync_ddp Co-authored-by: Carlos Mocholí <[email protected]>
* support number * add two tests * wip * add ddp in special test * remove a test * move device to bottom * simplify test * update test * Update pytorch_lightning/core/step_result.py Co-authored-by: Carlos Mocholí <[email protected]> * resolve sync_ddp Co-authored-by: Carlos Mocholí <[email protected]>
* support number * add two tests * wip * add ddp in special test * remove a test * move device to bottom * simplify test * update test * Update pytorch_lightning/core/step_result.py Co-authored-by: Carlos Mocholí <[email protected]> * resolve sync_ddp Co-authored-by: Carlos Mocholí <[email protected]>
* support number * add two tests * wip * add ddp in special test * remove a test * move device to bottom * simplify test * update test * Update pytorch_lightning/core/step_result.py Co-authored-by: Carlos Mocholí <[email protected]> * resolve sync_ddp Co-authored-by: Carlos Mocholí <[email protected]>
* support number * add two tests * wip * add ddp in special test * remove a test * move device to bottom * simplify test * update test * Update pytorch_lightning/core/step_result.py Co-authored-by: Carlos Mocholí <[email protected]> * resolve sync_ddp Co-authored-by: Carlos Mocholí <[email protected]>
What does this PR do?
This PR clone value only if it is a tensor.
Fixes #5003
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?
Make sure you had fun coding 🙃