-
Notifications
You must be signed in to change notification settings - Fork 38
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
log_model
#472
Comments
DVC already has some built-in support that could be useful: iterative/dvc#8214. This could probably depend on the path of the model rather than a specified model name (which is what GTO uses now in |
In general, yes. Although if we don't merge We can go ahead and merge
What's unclear to me, is not implementing
I think it's a valid solution, but we as well could just add |
Sorry, my assumption here was that
Do you mean
I thought it was implemented in iterative/dvc#8251?
Sorry, I meant that if we default to using path when there is no
Sounds good. Agreed that it's not clear whether we need a |
Yes, I meant that one, thanks. But I also would consider adding simpler commands Right, just checked - it was merged indeed. I'll update this Notion page with regard to that. Also, side-thought: as an alternative, we could make GTO integrated with DVC for read operations. So instead of $ REV=$(...some gto command...)
$ dvc get $REPO $MODEL_PATH --rev $REV -o $MODEL_PATH one would be able to also run $ gto get $REPO $MODEL_NAME --version v1.0.0
# or
$ gto get $REPO $MODEL_NAME --stage prod Yet not sure how good is this idea from other angles, but having one command to download models, and do that without going back-and-forth with model names, paths and revisions sounds great to me. |
@aguschin suggested an alternative to
Makes sense to me! No need for an entirely separate method here. |
@aguschin @daavoo Related to the discussions in iterative/mlem.ai#323: should artifacts:
- path/to/artifact Also, do we plan to add other optional fields to None of this is urgent IMO but all would be nice to have. |
@dberenbaum, it happened that we're discussing the same thing here iterative/dvc#9220 (comment), but let me answer with my current understanding:
We can continue the discussion here or there, whichever works best. |
Moving the discussion to here.
In general, we don't want DVCLive to fail but just warn.
I think we want to keep it simple / consistent with current behavior:
https://dvc.org/doc/dvclive/how-it-works
The user would not really forget to call |
Minor clarification: I don't think we need this method at all, it's just a relic from earlier discussions. Otherwise LGTM. |
Then after running
Sounds logical from dvclive/user perspective. Then as sources of Question then (again): are we showing in Studio artifacts from both places? |
We also encourage manually editing
My take from iterative/mlem.ai#323 was that the |
Ok, cool @dberenbaum. Then the PR is ready for review. |
Not really relevant since we leave that out of scope but my 2c is that if we consider |
Folks, is this one done? |
I think we can close it. Thanks for the ping. |
Depends on #378.
Replaces #305.
#378 adds support for tracking any file or directory artifact with DVC. In #305, there was discussion of saving model-specific artifacts using MLEM. Instead of using MLEM, this issue focuses on how to track an arbitrary model file like
log_artifact
, except that it should be tagged as a model so it is automatically shown in the Studio model registry and can be viewed, promoted, consumed, etc.cc @aguschin Let's think about this as the starting point for the basic model registry workflow.
The text was updated successfully, but these errors were encountered: