mlem
mlem copied to clipboard
`init`: stage .mlem/ (like DVC)
Similar to how dvc init
automatically git add
s .dvc/
Maybe, if there is a git repo. But won't it be unintuitive? :
- If you have git repo,
mlem init
add.mlem
to stage - If you don't have it,
mlem init
doesn't do that
And what about model saving? When you do mlem.api.save
, should we also add all new files and all changes to stage? 🤔
IMO it makes sense to stage it if there's a Git repo (not unintuitive since you can't git add
without a repo 😋). And most importantly it'd be consistent with dvc
with which some MLEM users may be familiar and also use. Alternatively, remove that action from DVC? Cc @omesser @dberenbaum
When you do mlem.api.save, should we also add all new files
If we're going for consistency with DVC, no.