-
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
Better control over jobs number for dvc add
#8030
Conversation
653c9d1
to
a6be52c
Compare
Thanks a lot for contributing! 🎉 |
Hi @efiop, I'm not sure why this PR was closed? You mentioned here that iterative/dvc-objects#99 (comment) that the It is therefore currently not possible to control the number of jobs used to transfer data locally during |
Please fix this? I've had to patch the threading issue manually for a while now. It would be nice to not have to do it considering it's been more than a year |
Sorry for the lack of noise here. Please feel free to open an issue, which is more likely to be seen than a closed PR. @efiop Do you remember why we closed this PR? |
Hm, maybe I've closed this by mistake, I don't remember the context now, but it certainly looks so. |
@percevalw I'm really sorry for this, looks like I might've misclicked and closed by accident and then your message notification got lost in the flow 🙁 I've solved some conflicts, let's see if this will work. |
Looks like something is missing, need to take a closer look. |
We replaced Though The issue that is being solved here is related to nfs + many cpus and we should probably think about it carefully. |
I am going to close this PR, as this is stale at this point, and we plan to re-implement |
Hi!
This PR follows iterative/dvc-objects#99 and partially fixes #8008.
--jobs
is now allowed without a remote indvc add
, and a new configuration parametercore.jobs
is now available to change the default number of threads during data transfers.This also requires updating the docs, especially https://github.com/iterative/dvc.org/blob/main/content/docs/command-reference/add.md and https://github.com/iterative/dvc.org/blob/main/content/docs/command-reference/config.md.