-
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 show checkpoints #5311
Comments
These are separate git commits, meaning that there is some difference between the two commits in git-tracked files. It's just that the differences aren't reflected in the table, since we only show DVC metrics/params. We should probably consider adding some option to
If you are using If you are using
Same as before, this depends on run/resume usage
I think we should try to be consistent when it makes sense to do so, but in general I think we should try to make the CLI table output as minimal/compact as possible. I think a lot of users will end up using |
It would be great to be able to see a full diff, although
More importantly, why are there two commits here? The epoch column iterates over each checkpoint, so these commits should represent the same checkpoint. Every time I resume this experiment, I get duplicate commits, and the same happens with new experiments (but not when I resume the initial experiment). The only difference between experiments is that I passed in a different
I'm using
That makes sense, thanks. What about having the branch identifier unindented so it aligns with
|
There is no
If something else has changed (from git's perspective) in the repo workspace when the experiment run is stopped (whether it's because it was killed via ctrl-c or because stage commands returned cleanly and the pipeline was fully reproduced) then we make an additional git commit (in the same way that for regular/non-checkpoint experiments we make a single commit after reproducing the pipeline). It looks like something in your pipeline is still modifying something in your workspace (probably unrelated to checkpoints) which is being tracked via the extra commit. If you do |
That's a good tip. I don't see any difference between the commits when I do that. In the most recent version of the table above, there are multiple "duplicates" and there are never differences between the pair of duplicates. I do see differences between all other pairs of commits, so I don't think it's user error, but I'd be happy to be proven wrong. Is it possible that they both point to the same commit? |
Looks like it might be a bug then. If there's no additional changes then we shouldn't be creating the last commit (it should be rejected by git), we've been switching git backends over the past few weeks so it might be related to that. |
The duplicate (empty) commit issue is a bug and will be fixed in #5361 |
As the bug has been resolved I'm marking this as done for this sprint. The issue can stay open while there's still discussion on what the table column/tree/etc format should look like, but I don't think this should be considered a blocker for 2.0 pre-release |
Since we have a separate issue for the table formatting, let's close this one. Thanks for following up here. |
Hi @pmrowla , the experiments are looking much more stable than a month or two ago. I wanted to discuss a few issues when using
dvc exp show
with checkpoints. I'm testing this out on a minimal example that you can find in https://github.com/dberenbaum/dvc-checkpoint (very similar to what's in the wiki).Here's what I get when running some experiments:
Thoughts on this:
Here's what I get when I try to resume experiments:
A couple of thoughts on the resume functionality:
-f
is needed for apply to work in this case?Finally, we should make sure there's consistency between how we display this table and how we display the same info in other places, like in viewer. For example, should the branch names show in place of the most recent commit for that branch, or should we have a separate line for the branch name (possibly with the other columns blank) and all commits listed separately under it? @dmpetrov Any thoughts on how to align across projects on questions like this?
The text was updated successfully, but these errors were encountered: