-
Couldn't load subscription status.
- Fork 3.6k
fix: Set tensorboard's global_step as the default wandb x-axis if sync_tensorboard=True
#20611
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: Set tensorboard's global_step as the default wandb x-axis if sync_tensorboard=True
#20611
Conversation
…f sync_tensorboard=True there isn't a need to create another global_step if you are syncing from tensorboard
tensorboard's global_step as the default wandb x-axis if sync_tensorboard=Truetensorboard's global_step as the default wandb x-axis if sync_tensorboard=True
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #20611 +/- ##
=========================================
- Coverage 88% 79% -9%
=========================================
Files 267 264 -3
Lines 23369 23316 -53
=========================================
- Hits 20478 18371 -2107
- Misses 2891 4945 +2054 |
|
cc: @Borda |
tensorboard's global_step as the default wandb x-axis if sync_tensorboard=Truetensorboard's global_step as the default wandb x-axis if sync_tensorboard=True
|
Any thoughts on this? |
tensorboard's global_step as the default wandb x-axis if sync_tensorboard=Truetensorboard's global_step as the default wandb x-axis if sync_tensorboard=True
|
It looks like 2 tests timed out. Can they be retried? |
What does this PR do?
There isn't a need to create
trainer/global_stepif you are syncing fromtensorboardwithsync_tensorboard=True.Since I use
TensorboardLoggeras my main logger and sync it towandbwithWandbLogger(sync_tensorboard=True), in my case,WandbLogger.log_metricsis never called, andtrainer/global_stepis never updated. All of mywandbare shown as a single point by default, and I have to manually update my workspace/plots to useglobal_step.global_steptrainer/global_stepIt makes a lot more sense to just default to
global_stepas the x-axis ifsync_tensorboard=True.Before submitting
PR review
Anyone in the community is welcome to review the PR.
Before you start reviewing, make sure you have read the review guidelines. In short, see the following bullet-list:
Reviewer checklist
📚 Documentation preview 📚: https://pytorch-lightning--20611.org.readthedocs.build/en/20611/