Reconfigurable pipelines
See original GitHub issueMany issues require reconfiguration of stages and even pipelines:
- In #973 @Hong-Xiang was asking about reusing (reconfigurable) pipelines.
- Discord discussion with vern from 11/27/18: “it’s annoying to write them all (stages) out by hand and then do it again for each color (parameter).”
- #1416 parametrize pipeline \ step - not config file, just parameters.
- #1119 repetitive commands. I see a similarity with parametrizable commands where only a single output is in use and without creating a separate directory for each experiment (
./output.p
instead ofgs1/output.p
).
A concept of reconfigurable-stage should be introduced in DVC.
Open questions:
- how to pass config file (do we need multiple config files)?
- how to pass params (should we override config by the params or it is a separate concept)?
- how to specify input files?
- how to specify the output directory (
gs1/
)? - how to specify an output file without an output directory ( see
./output.p
instead ofgs1/output.p
from the above)? - how to make it work for pipelines?
- Should build cache #1234 be part of the solution? It will allow caching intermediate results of reusable stages (if step1 is the same in a few pipeline instances).
UPDATE: #1214 might be also related to this issue. UPDATE2: Add a quote from vern and open question 7.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:27
- Comments:14 (13 by maintainers)
Top Results From Across the Web
Pipeline Reconfigurable FPGAs
Pipeline reconfiguration is a new way to use the re- configurability of FPGAs to virtualize pipelined appli- cations. In pipeline reconfiguration, the ...
Read more >Reconfigurable Real-Time Video Pipelines on SRAM-based ...
This paper presents a technique for creating complex real-time video processing pipelines relatively quickly and easily using partial reconfiguration (PR). A ...
Read more >Reconfigurable Pipeline Systems - ACM Digital Library
discussion of some possible future reconfigurable pipeline systems. Key words: Chaining; computer architecture; pipelining; reconfiguration; restructur-.
Read more >A scalable pipeline for designing reconfigurable organisms
Designing and manufacturing reconfigurable organisms. A behavioral goal (e.g., maximize displacement), along with structural building blocks ...
Read more >Reconfigurable Asynchronous Pipelines: from Formal Models ...
We also developed a DFS-based design methodology and a set of generic pipeline stage components for building reconfig- urable asynchronous pipelines (released ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I believe that this issue may also address our use case (but please correct me if I’m wrong or if you have some nice idea for something else that already addresses it better).
Anyways, in our case, we have some large codebase that has various functions in it which perform different steps in our pipeline. We also have multiple customers that we create models for. We also create multiple models for each customer.
I think no matter what, we’d have to do quite a bit of custom work to make everything run smoothly, but I think maybe with reconfigurable DVC pipelines, it’d be a little easier.
@pared I’ve just separated two issues: this one and #1472. And thank you for your comments - it made me clarifying the issue and even renaming it.
This issue is just about defining configs/input/params and how to instantiate a pipeline with a new set of params. The instantiation part might and probably should include #1234.
A store of pipeline is related to the new issue. I don’t think any special store is needed. A module can be simply reused from Git repos or just copied.