Skip to content
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

DVC pipeline parallel steps #647

Closed
rahulguptajss opened this issue Apr 10, 2018 · 7 comments
Closed

DVC pipeline parallel steps #647

rahulguptajss opened this issue Apr 10, 2018 · 7 comments
Assignees
Labels
enhancement Enhances DVC

Comments

@rahulguptajss
Copy link

Does DVC supports parallel steps in its pipeline. I am unable to create parallel steps using dvc command.

@efiop
Copy link
Contributor

efiop commented Apr 10, 2018

No, dvc doesn't support parallel execution of stages as of today. We do have plans to support it in the future.

@efiop efiop self-assigned this Apr 10, 2018
@efiop efiop added the enhancement Enhances DVC label Apr 10, 2018
@rahulguptajss
Copy link
Author

Can you please provide any timeline for this.

Thanks.

@efiop
Copy link
Contributor

efiop commented Apr 10, 2018

0.9.8 most certainly. So less then a month or so.

@rahulguptajss
Copy link
Author

Thanks. It will be helpful when we have multiple models to be run on same data with separate py files.

@efiop
Copy link
Contributor

efiop commented Apr 15, 2018

Wait a minute, did you mean 'parallel execution' or just 'parallel steps'? We do not support parallel execution as of now, only executing stage-by-stage. However, parallel stages should work:

echo foo > foo
dvc add foo
dvc run -d foo -o out1 cp foo out1 # stage1
dvc run -d foo -o out2 cp foo out2 # stage2

or, with your model:

dvc add data
dvc run -d data -o out1 python model1.py
dvc run -d data -o out2 python model2.py

@rahulguptajss
Copy link
Author

yes, actually for this thread , I was looking for parallel steps. I'll try this and update.

@efiop
Copy link
Contributor

efiop commented Jun 28, 2018

Closing as stale. Please feel free to reopen.

As for parallel execution, there is a #755 planned for 0.11.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Enhances DVC
Projects
None yet
Development

No branches or pull requests

2 participants