exp branch vs exp apply for persisting experiments #5892
Replies: 4 comments 17 replies
-
|
One more thought: There are some
|
Beta Was this translation helpful? Give feedback.
-
Just a note that those docs don't state that That said I do expect users to continue bumping into the limitation that Would this basically mean updating the docs? Or is there some CLI messaging to update too (@pmrowla?) |
Beta Was this translation helpful? Give feedback.
-
|
The workspace and the experiment commits can become disconnected, and this can be confusing and problematic. This seems at least partially related to the use of
|
Beta Was this translation helpful? Give feedback.
-
|
I believe, in general, we need to split experiments from Git. They shouldn't require a Git repository in the first place, and from the latest experience, I think "experiments are like git branches/stashes/commits" model brings unnecessary complexity. We used Git to solve some problems easily but now we are on a bus that takes us to where Git goes. We'll have to deal with these issues and more as Git itself is not a simple solution either. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
There have been a few discussions around when to use
exp branchvs.exp apply:exp run/apply/branch+ dvc.org#2417 (comment)The default workflow we have promoted uses
applyas the default for persisting experiments:Since
applydoesn't actually make anything persistent on its own, this might be adding to confusion between the commands.It might make more sense to promote
branchas the default for persisting experiment (+git mergeif people want the experiment in their current branch).applycould be seen as a special case when needing to debug or to apply changes on top of a particular past checkpoint.The
branchworkflow for persisting experiments is no more complex thanapply, and it has advantages:exp show(and otherexpcommands) will match the shas in the persistent Git branch.@pmrowla @jorgeorpinel
Beta Was this translation helpful? Give feedback.
All reactions