-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
treeverse/dvc.org
#832Labels
awaiting responsewe are waiting for your reply, please respond! :)we are waiting for your reply, please respond! :)questionI have a question?I have a question?
Description
Please provide information about your setup
DVC version 0.70.0
Ubuntu 18.04
Installed via pip in a conda env
According to the documentation, and it was the case in previous versions of DVC to the best of my knowledge, dvc run should not re-execute the command if nothing changed. It is no longer the case.
To reproduce:
mkdir tmp
cd tmp
git init
dvc init
echo "echo 'RUNNING'; echo 'hello' > output.out" > cmd.sh
chmod +x cmd.sh
dvc run --overwrite-dvcfile -o output.out ./cmd.sh
# this print "RUNNING" as the command is executed
dvc run --overwrite-dvcfile -o output.out ./cmd.sh
# the run should be cached but it's not and "RUNNING" is printed again
# expected output: "Stage is cached, skipping."
Metadata
Metadata
Assignees
Labels
awaiting responsewe are waiting for your reply, please respond! :)we are waiting for your reply, please respond! :)questionI have a question?I have a question?