-
Notifications
You must be signed in to change notification settings - Fork 1.3k
experiments: support dvc repro --exp command line params
#4331
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
Conversation
efiop
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
π₯
|
Hi. Can you please link to the docs issue or PR @pmrowla ? |
|
@jorgeorpinel Experiments are experimental hidden feature, we don't need to create/update the docs yet. |
|
Ah OK, makes sense. But still... we will need one eventually. Is there a sort of epic issue in this repo that covers all the functionality? I think I've definitely seen it but not sure which one it is. I probably even participated actively at some point... |
|
@jorgeorpinel the original general discussion is here: #2799 as far as what is currently available to play around with in master, this page should always be up to date: https://github.com/iterative/dvc/wiki/Experiments-development-status But yeah, everything is currently experimental and disabled by default. We still aren't sure if we will even end up keeping this workflow, and it's possible that all of these experiment related commands could end up being removed or reworked significantly between now and when the experiments feature is officially released. So it doesn't make sense to write formal docs for them yet. |
|
Definitely not formal docs but I have found that trying to explain things in writing helps a lot in QA e.g. finding inconsistencies, edge cases, even bugs. Just a thought |
|
Hello again! It seems users are finding the WIP Discussion: Can someone explain the motivation for this option? It seems counter-intuitive (dangerous even) to have a run with overwritten parameter values that are not saved to the checkpoint or maybe they are somewhere internally in the run-cache but hard/impossible to detect. Users may easily assume that the parameters used in previous runs are those in the corresponding versions of the params file, leading to bad decisions. Is there a mechanism to prevent this? Thanks |
|
@jorgeorpinel the The option itself does nothing unless |
|
Also, we have discussed possibly moving all of the experiment related run/repro functionality into it's own |
|
Hey, sorry for the delay. Thanks for hiding the option for now.
OK I see, a bit confusing. Probably best to call the option something else or move it to dvc exp indeed. |

β I have followed the Contributing to DVC checklist.
π If this PR requires documentation updates, I have created a separate PR (or issue, at least) in dvc.org and linked it here.
Thank you for the contribution - we'll try to review it as soon as possible. π
Related to #2799.
Adds
dvc repro -e --paramsoption which can be used to specify experiment parameters via the command line.--paramsexpects a comma-separatedkey=valuelist:[params.yaml:]foo=1,stage.bar=2,stage.baz=1.234,...-pcannot be used to specify params in this way since it collides withrepro --pipelineKnown limitations: