Open stefan-hartmann-lgs opened 2 years ago
This is not currently supported (see available config fields for remote
section in https://dvc.org/doc/command-reference/config#remote).
Is there any particular part of the documentation that led you to:
It was expected that the jobs=4 config in .dvc/config file does the same as running dvc pull --jobs 4 which is not the case.
@daavoo That links to https://dvc.org/doc/command-reference/remote/modify#available-parameters-for-all-remotes, which does show jobs
as an option. Am I misunderstanding?
🙏 ignore muy previous comment
@daavoo That links to https://dvc.org/doc/command-reference/remote/modify#available-parameters-for-all-remotes, which does show
jobs
as an option. Am I misunderstanding?
Yes exactly. The jobs
in .dvc/config
does something but not the same what --jobs
does an that was expected as stated in the documentation.
Hi @stefan-hartmann-lgs ! How are you checking the See that more than 4 download jobs are running in parallel
??
I have tried and the jobs
config section is honored when instantiating the filesystem and passed down to the transferring task :
Could you try sharing the output profile from:
pip install viztracer
dvc pull --viztracer-depth 8
Hi @daavoo
Sorry for laaaaate reply - I can see that more than 4 jobs are running in my console (even if jobs=4
in .dvc/config
).
As stated above I would have expected that only 4 jobs are running but I see 32 running (see screenshot below)
It's better to use dvc config -l
instead of type type .dvc/config
. for there might be some hidden things in .dvc/config.local
@daavoo any infos on this one?
Ping @daavoo
Bug Report
dvc pull
: Config fieldjobs
in.dvc/config
not taken into account as expectedDescription
dvc pull
is still usingcpu_count() * 4
download jobs even ifjobs=4
is defined under the remote in use in.dvc/config
.Furthermore, the
jobs=4
still seems to have an effect, as thedvc pull
otherwise often fails with:With the
jobs=4
config that problem seems to be history so it seems to have an effect somehow.Maybe this is not really clear from the documentation!?
Reproduce
dvc init
.dvc/config
file and add a remote - for instance:dvc pull
Expected
It was expected that the
jobs=4
config in.dvc/config
file does the same as runningdvc pull --jobs 4
which is not the case.Environment information
DVC 2.10.2 on Windows.
Output of
dvc doctor
: