fix(wandb): prevent WandbLogger from dropping values#5931
Merged
awaelchli merged 26 commits intoLightning-AI:masterfrom Feb 27, 2021
Merged
fix(wandb): prevent WandbLogger from dropping values#5931awaelchli merged 26 commits intoLightning-AI:masterfrom
awaelchli merged 26 commits intoLightning-AI:masterfrom
Conversation
|
Hello @borisdayma! Thanks for updating this PR. There are currently no PEP 8 issues detected in this Pull Request. Cheers! 🍻 Comment last updated at 2021-02-27 01:26:56 UTC |
Codecov Report
@@ Coverage Diff @@
## master #5931 +/- ##
=======================================
- Coverage 93% 91% -2%
=======================================
Files 159 159
Lines 11384 11380 -4
=======================================
- Hits 10628 10358 -270
- Misses 756 1022 +266 |
This was referenced Feb 12, 2021
Closed
26 tasks
Contributor
Author
|
It's now ready for review. It would be great to have it merged before people have a chance to use the "sync_step" functionality (which is in master but not released yet). Let me know if you have any comments. I'll fix the simple merge issues. |
Collaborator
|
@borisdayma mind resolve conflicts? |
11 tasks
kaushikb11
pushed a commit
to kaushikb11/pytorch-lightning
that referenced
this pull request
Mar 2, 2021
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com> Co-authored-by: chaton <thomas@grid.ai> Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
kaushikb11
pushed a commit
to kaushikb11/pytorch-lightning
that referenced
this pull request
Mar 2, 2021
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com> Co-authored-by: chaton <thomas@grid.ai> Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
lexierule
pushed a commit
that referenced
this pull request
Mar 5, 2021
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com> Co-authored-by: chaton <thomas@grid.ai> Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
This was referenced Mar 8, 2021
Closed
This was referenced Mar 12, 2021
Closed
Closed
[tune](deps): Bump pytorch-lightning from 1.0.3 to 1.2.3 in /python/requirements
sumanthratna/ray#12
Closed
Closed
Closed
1 task
11 tasks
|
Hi, Is this note relevant after this PR? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
This PR simplifies use of
WandbLogger.PR #5351 introduced a workaround for dealing with non monotonous steps.
The consequence was that some logged values would get dropped. It was suggested to the user to use
sync_step=False, forcing the user to rerun his experiment.The new behavior:
train/stepwandb.log(items, commit=False)to prevent step from auto-increasingThis will prevent any value from being dropped.
Should
stepnot be increasing for any reason, users will be able to select a different x-axis.There are no breaking changes because the current version (with
sync_step) had not been released yet.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 🙃