-
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 run --queue
: deleting file 'params.yaml' for each command call
#7842
Comments
probably related to #6930 (untracked files being removed on post-run apply) |
Only occurs if The untracked params file gets added When using When using |
It seems like the behavior is expected then. However, maybe we can clarify in the docs that experiment files should be tracked by either Git or DVC? |
I stumbled over this today and found it at least "unexpected" and did not know how to fix it, until I came here. |
Applying the merge on the workspace isn't the correct behavior, that would put I think the fix for this should just be to use dvc/dvc/repo/experiments/queue/base.py Line 320 in 55b1616
When we leave that context it is supposed to restore the workspace to the state before any DVC exp related changes/operations were done. |
Only if they are currently untracked. Closes #7842
Only if they are currently untracked and `--temp` or `--queue` is passed. Closes #7842
Only if they are currently untracked and `--temp` or `--queue` is passed. Closes #7842
Only if they are currently untracked and `--temp` or `--queue` is passed. Closes #7842
Bug Report
dvc exp run --queue: deleting file 'params.yaml' for each command call
Description
dvc exp run --queue
deletes file 'params.yaml' for each trial to add a new experiment and the experiment don't put into queue. It works correctly only if commandgit add params.yaml
was called before.Reproduce
Example files:
test.py
params.yaml
dvc.yaml
dvc exp run --queue -S test.value=101
Expected
New experiments adds to queue without 'params.yaml' deleting.
Environment information
Ubuntu 20.04
Output of
dvc doctor
:Additional Information (if any):
The text was updated successfully, but these errors were encountered: