ref: missing adds --jobs#3199
Conversation
--jobs option.add: Describe missing --jobs option.
Co-authored-by: Restyled.io <commits@restyled.io>
Co-authored-by: Restyled.io <commits@restyled.io>
add: Describe missing --jobs option.adds --jobs
| - `-j <number>`, `--jobs <number>` - Only used if `--to-remote` is also passed. | ||
| Parallelism level for DVC to upload data to remote storage. The default value | ||
| is 4 \* cpu_count(). For SSH remotes, the default is 4. Note that the default | ||
| value can be set using the jobs config option with dvc remote modify. Using | ||
| more jobs may speed up the operation. |
There was a problem hiding this comment.
For closer consistency with other refs that have this option:
| - `-j <number>`, `--jobs <number>` - Only used if `--to-remote` is also passed. | |
| Parallelism level for DVC to upload data to remote storage. The default value | |
| is 4 \* cpu_count(). For SSH remotes, the default is 4. Note that the default | |
| value can be set using the jobs config option with dvc remote modify. Using | |
| more jobs may speed up the operation. | |
| - `-j <number>`, `--jobs <number>` - | |
| parallelism level for DVC to transfer data when using `--to-remote`. The default value | |
| is `4 \* cpu_count()`. For SSH remotes, the default is `4`. Using | |
| more jobs may speed up the operation. |
There was a problem hiding this comment.
Committed. I removed "Note that the default value can be set using the jobs config option with dvc remote modify" too. It's a good note though, but it kind of overcomplicates the already-complicated description. I wonder if there's a better place to comment on this... ⌛
There was a problem hiding this comment.
removed "Note that the default value can be set using the jobs config option...
Maybe we should change the text (in all refs) to something like "The default is 4*cpu (can be set with dvc remote modify jobs) :...
Linked to https://dvc.org/doc/command-reference/remote/modify#available-parameters-for-all-remotes
Co-authored-by: Restyled.io <commits@restyled.io>
| - `-j <number>`, `--jobs <number>` - parallelism level for DVC to transfer data | ||
| when using `--to-remote`. The default value is `4 \* cpu_count()`. For SSH | ||
| remotes, the default is `4`. Using more jobs may speed up the operation. |
There was a problem hiding this comment.
I wonder if --jobs also has this same effect in import-url --to-remote. Currently it only refers to downloading the target data. @dberenbaum or @efiop, do you know? Thanks
There was a problem hiding this comment.
--jobs affects the uploading when using dvc import-url --to-remote so the description should be updated. This also affects dvc update
This comment was marked as resolved.
This comment was marked as resolved.
Sorry, something went wrong.
I found another spot missing add mention...
|
@daavoo thanks again for this. Mind also completing the list of commands that have |
Done. |
Co-authored-by: Restyled.io <commits@restyled.io>
* Update add.md * Restyled by prettier (#3200) Co-authored-by: Restyled.io <commits@restyled.io> * Update add.md * Restyled by prettier (#3201) Co-authored-by: Restyled.io <commits@restyled.io> * Update content/docs/command-reference/add.md * Restyled by prettier (#3227) Co-authored-by: Restyled.io <commits@restyled.io> * Add missing commands with `--jobs`. * Update content/docs/command-reference/remote/modify.md * Restyled by prettier (#3234) Co-authored-by: Restyled.io <commits@restyled.io> Co-authored-by: restyled-io[bot] <32688539+restyled-io[bot]@users.noreply.github.com> Co-authored-by: Restyled.io <commits@restyled.io> Co-authored-by: Jorge Orpinel <jorgeorpinel@users.noreply.github.com>
jobsconfig option