-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
dvc exp reset: continues from previous checkpoint? #5404
Comments
So the reason for this issue is that in the initial state before any experiment is run, After the first When we do
to "reset" the state of the repo in terms of checkpoint runs. The problem being that this does not remove We could do the equivalent of |
If |
In this case we reset |
I've noticed that experiments tends to be less stable if I don't have an existing |
Not having a And really, this behavior would be consistent with other handling for untracked files in experiments. If the user has untracked changes in a |
Another underlying issue here is also that we don't have proper support for checkpoints as circular dependencies. What we really need internally is to track both the input (dependency) and output hashes for checkpoints, rather than only output hashes. This way, we would only need to reset state to the input/dependency hashes (and a non-existent input hash would mean that the given checkpoint file should not exist yet). But since we don't have internal support for circular dependencies yet we essentially need to reset the entire repo state to the previous set of outputs. |
Is this something that will be supported in the future? |
We have a feature request for it (#4724) but it's currently unplanned |
Bug Report
Description
dvc exp reset
seems to be continuing from the previous checkpoint.Reproduce
Expected
Environment information
Output of
dvc version
:The text was updated successfully, but these errors were encountered: