-
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
params: bulk params from file #6605
Labels
Comments
skshetry
added
A: pipelines
Related to the pipelines feature
and removed
A: templating
Related to the templating feature
labels
Oct 5, 2021
Some questions that I have:
params:
- foo Regarding the structure, I prefer This will also affect run-cache. It's not a big issue, as it's just a |
This was referenced Dec 10, 2021
Duplicate of #4112 |
Let's close this then @dberenbaum. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Params need to be specified individually, which can be repetitive and inconvenient where users want to simply include all parameters from a file.
For background, see:
Instead of specifying every parameter individually, it should be possible to do
dvc stage add foo -p my_params.yaml python foo.py
ordvc stage add foo -p "my_params.yaml:*" python foo.py
, which could generate thisdvc.yaml
:or
After running
dvc repro
,dvc.lock
could treatmy_params.yaml
like a regular file dependency:However, commands that collect parameters to show info about them, like
dvc params diff
anddvc exp show
, would parsemy_params.yaml
and show each individual parameter.The text was updated successfully, but these errors were encountered: