-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Labels
feature requestRequesting a new featureRequesting a new featurep3-nice-to-haveIt should be done this or next sprintIt should be done this or next sprintresearch
Description
Like #3549 say, "A run of a pipeline is like a function call". Based on that analogy, we can't right now call a function from another function: f(g(x)) doesn't make any sense for the current dvc model. As discussed in #331, it would allow to use very flexible workflows by allowing to dynamically created pipelines.
Some potential applications:
- Incremental processing of dynamically generated files Incremental processing or streaming in micro-batches #331
- Reconfigurable pipelines Reconfigurable pipelines #1462
- Build matrix dvc: consider introducing build matrix #1018
- Hyperparameters tuning ML experiments and hyperparameters tuning #2799
A possible interface could be:
dvc runcould specify a yaml file to use, instead ofdvc.yml- We allow that file to the output of another pipeline step
- Then
dvc run -n "create_pipe" -o generated_pipe.yml generate_pipe.shwould create the generated_pipe.yml file, anddvc repro -c generated_pipe.ymlwould execute all the steps dynamically defined.
dmpetrovshcheklein and efiop
Metadata
Metadata
Assignees
Labels
feature requestRequesting a new featureRequesting a new featurep3-nice-to-haveIt should be done this or next sprintIt should be done this or next sprintresearch