-
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
exp: show failed runs with --temp
#10616
Comments
Here is the experiment that failed that I can't find, this is the JSON from the tmp/exps/run directory: {
"git_url": "path/.dvc/tmp/exps/standalone/tmpqkp9v9u1",
"baseline_rev": "ce7991feda5aabbfa18d9541c5d90191850b7b09",
"location": "tempdir",
"root_dir": "path/.dvc/tmp/exps/standalone/tmpqkp9v9u1",
"dvc_dir": ".dvc",
"name": "mean_depth_norm",
"wdir": ".",
"result_hash": null,
"result_ref": null,
"result_force": false,
"status": 1
} |
Wow I can > tree a55df7458541c3aeecc816840830de454d66472d
parent ce7991feda5aabbfa18d9541c5d90191850b7b09
parent 1e3c6c8e652abbaf9fd1f47a63cdeadb4e8b5697
author starrgw1 email 1730829745 +0000
committer starrgw1 email 1730829745 +0000
dvc-exp:ce7991feda5aabbfa18d9541c5d90191850b7b09:ce7991feda5aabbfa18d9541c5d90191850b7b09:mean_depth_norm And in fact I can apply the commit through either git or DVC. However, it doesn't look like I can get back the stage 1 results? |
@gregstarr could you share a script / project to reproduce this? |
Here is a minimal example: https://github.com/gregstarr/minimum-dvc
the third command should fail in the third stage, then the fourth command should't show the experiment "exp1". I would expect |
Thanks @gregstarr , from what I see it was indeed discussed here #8612 (comment) . I see that we completely drop the directory with failed |
IIRC this is expected behavior for In the codebase you can see that queue runs have an implementation for dvc/dvc/repo/experiments/queue/celery.py Line 569 in 1e08cc5
but workspace runs do not (and dvc/dvc/repo/experiments/queue/workspace.py Lines 250 to 255 in 1e08cc5
|
@pmrowla yep, thanks. But what was the reason for this? (if you remember :) ) |
It's leftover from |
--temp
go missing--temp
I have a shell script which calls |
@gregstarr how about analyzing the results of the (I wonder if we should just do |
so have python or bash call |
yep, something like that |
OK I think I will just continue to use Is this issue an easy fix or pretty complicated? If it's going to be a while, what do you think about adding a note in the docs mentioning difference in behavior when using
|
Bug Report
Description
experiments run with
--temp
that fail appear to go missing. Sounds like this was an issue previously but was fixed, however I still am having this problem. I am using a recent version of DVC and the previous issue was from 2 years ago.#8612
Reproduce
dvc exp run --temp
dvc exp show
properly lists experimentdvc exp show
doesn't show the failed experimentExpected
dvc exp show
shows the failed experimentEnvironment information
Output of
dvc doctor
:The text was updated successfully, but these errors were encountered: