-
Notifications
You must be signed in to change notification settings - Fork 1.2k
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
Add --times flag to exp run/repro #5608
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
Comments
Current workaround (Linux): $ for run in {1..10}; do
dvc exp run ... ;
done Questions:
As for the name, maybe |
Good point, but we do support those now with |
Is that the use case for UPDATE: Doesn't seem like that's the intended use per #2479. Something about forcing "callback stages" (without deps) in the middle of a pipeline. |
IMO this seems like something that should just be done by the user through shell scripting? |
I see some downstream uses for this, but I can put them in an enhancement proposal with other thoughts on future experiment/checkpoint developments. If you don't mind, we can leave this here until I get to that. |
Apparently it can be difficult to quit shell loops (e.g. a |
That's specifically when it comes to using an infinite loop in a shell script. This flag would be for a fixed number of iterations, which isn't the same thing. |
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
It would be great to have a
--times
flag (maybe @jorgeorpinel has a better naming suggestion) that runs an experiment X many times. In other words,dvc exp run --times 5
would run the same experiment 5 times.This benefits a couple of use cases:
One complication is that the first scenario is sequential and the second is parallelizable, but similar concerns are true with
--queue
/--run-all
. Maybe this could even be merged with--queue
, like allowing multiple identical experiments to be added to accomplish the same idea.Thoughts @pmrowla?
The text was updated successfully, but these errors were encountered: