-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Decoupled checkpoint artifact path from model artifact path #20325
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
Decoupled checkpoint artifact path from model artifact path #20325
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #20325 +/- ##
=========================================
- Coverage 88% 81% -7%
=========================================
Files 267 264 -3
Lines 23065 23010 -55
=========================================
- Hits 20277 18606 -1671
- Misses 2788 4404 +1616 |
…g-AI#20325) Co-authored-by: peter.mcelroy <[email protected]>
How to get the old behaviour now ? I would like to keep my models stored under |
@pete-mcelroy this is not the same as the old behaviour and, like @le-Greg, I also preferred the original nested format. For example, I believe it is no longer possible to nest checkpoints under a consistent directory with this change, e.g.:
Nvm looks like #20538 is about to fix this 🎉 |
What does this PR do?
Addresses the issues described in issue 19394 by making the checkpoint artifact path in the MLFlowLogger class fully customizable by removing the enforced "model/checkpoints" prefix.
As shown in the image below, we can now specify an artifact path for our checkpoints outside the model/ subfolder. This means that when we want to load a model, we do not have to load all checkpoints at the same time.
Fixes #19394
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