-
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 typehint for WandbLogger's log_model
argument
#18458
Fix typehint for WandbLogger's log_model
argument
#18458
Conversation
…h should be the earliest point at which the error occurrs. Also removes config.yaml at the end of the test and changes to a temporary directory for each test.
…is the only accepted string value.
I added a test that fails before the bug fix and clears afterwards. I assume it should contain some kind of mock.patch for WandB, because that's included in the other WandbLogger tests. But I don't understand enough about this to know what to patch in where. @awaelchli You seem to have worked on several commits of test_wandb.py, could you help with that? I'm also not sure if the test should be moved somewhere else, but I guess that's something that can be looked at during the final review. |
log_model
argument
for more information, see https://pre-commit.ci
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## master #18458 +/- ##
==========================================
- Coverage 85% 50% -34%
==========================================
Files 427 419 -8
Lines 33263 33131 -132
==========================================
- Hits 28119 16601 -11518
- Misses 5144 16530 +11386 |
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com> Co-authored-by: awaelchli <aedu.waelchli@gmail.com> (cherry picked from commit bff2e42)
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com> Co-authored-by: awaelchli <aedu.waelchli@gmail.com> (cherry picked from commit bff2e42)
What does this PR do?
Fixes #18370
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--18458.org.readthedocs.build/en/18458/