-
Notifications
You must be signed in to change notification settings - Fork 12
MLEM models as DVC outputs #205
Comments
Hi @igordertigor! Thanks for reporting this! In the User Guide we suggest to remove Could you please check and confirm it works? |
Seems to work. Thank you. |
@aguschin do docs need an update or is this something to transfer to the core repo and/or close? Thanks |
@igordertigor, I tried to make it more clear. Could you please check if it's better now? https://mlem-ai-improve-user-gu-az7lgx.herokuapp.com/doc/user-guide/dvc#example |
I feel that this is still easy to misread, because the critical information is now contained in an example at the end. Better to have it a bit further up where you start the example and actually ignore the files in the first place. I was going to make a pull request, but I feel that there are two ways to communicate it here:
I would add a sentence afterwards along the lines: "Note: We do this here in order to simplify the migration from git-tracked files to dvc-tracked files. If you are planning to write mlem-artifacts from dvc pipelines, you would afterwards have to remove the ignore pattern." Do you have a preference? I'm happy to adjust the docs accordingly. |
Thanks for suggesting your help @igordertigor! IMO Let's also split this page in 3 chunks:
The 1st part will end just before
In the end of 1st part we'll say: now there are 2 options: Version binaries manually or using DVC PL, and give links to both. WDYT? |
TBH I'm also confused as to why the general guide tells you to ignore .mlem files but then the example kind of does the opposite. So what is it an example of? These seem like 2 different situations. |
@igordertigor thanks for the contribution! I went ahead and updated #211, and merge it. Unfortunately, it doesn't get deployed to preview env. But now it should appear shorty at https://mlem.ai/doc/user-guide/dvc If you like, you can check the page and bring any more feedback if you have some :) Otherwise feel free to close this issue) |
Thanks. I'll close this one now. If I come across something else, I'll let you know. |
I'm using a DVC pipeline that specifies MLEM models as outputs. Mlem is configured to store models using dvc as described here. Unfortunately, DVC complains:
Which is correct: I don't wont to track
.mlem
files in dvc, but I do want to track the binaries.Here is a testscript that attempts to isolate the issue as much as possible:
I'm posting this here, as it is hopefully an issue with the documentation and not with mlem or dvc.
The text was updated successfully, but these errors were encountered: