-
Notifications
You must be signed in to change notification settings - Fork 3.5k
fix(mlflow): Enabling multiple callbacks for checkpoint reporting #20585
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
base: master
Are you sure you want to change the base?
fix(mlflow): Enabling multiple callbacks for checkpoint reporting #20585
Conversation
for more information, see https://pre-commit.ci
…thub.com/HarryAnkers/pytorch-lightning into fix/enabling-multiple-checkpoints-mlflow
for more information, see https://pre-commit.ci
…thub.com/HarryAnkers/pytorch-lightning into fix/enabling-multiple-checkpoints-mlflow
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #20585 +/- ##
=========================================
- Coverage 88% 79% -9%
=========================================
Files 267 264 -3
Lines 23380 23326 -54
=========================================
- Hits 20481 18367 -2114
- Misses 2899 4959 +2060 |
@HarryAnkers could you pls update the tests accordingly?
|
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. If you need further help see our docs: https://lightning.ai/docs/pytorch/latest/generated/CONTRIBUTING.html#pull-request or ask the assistance of a core contributor here or on Discord. Thank you for your contributions. |
What does this PR do?
Fixes #20584
Currently if the below code is run it will only ever save one checkpoint if both use callbacks and both use param save_top_k. This works if log_model='all' but not when log_model=True. If you flip the order of callbacks this works fine however. I have tried to raise a fix for this. Let me know what you think.
Before submitting
Yes wrote a test for this behaviour
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--20585.org.readthedocs.build/en/20585/