-
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
pull: going completely crazy on large dataset #2905
Comments
Should be fixed by combining pbars. @casperdcl |
|
@casperdcl what's the point? Let's go for the actual fix, i.e. combining into a single pbar. |
The point would be I can downgrade a |
@casperdcl p1 is not p0 (fix asap), p1 can wait. TBH, I see combining threads as top priority in pbars (maybe even UI as a whole) now since it's the highest value, so no point doing something else instead/in the meantime unless it makes dvc unusable. |
Totally agree with @Suor . |
Btw |
The problem appears when amount of the bars is more then rows in the terminal.
Hi @casperdcl, I know that you are an author of the Tqdm library (awesome tool 👍 🥇 ), could you take a look on my PR and share your thoughts please? Another approach is to limit bars to only to one and show accumulated progress. It requires to rework few Tqdm calls in |
I should ask - are there any opetations where a user would ever benefit from having more than about 5 threads? Surely I/O is a bottleneck for anything more? Maybe we can just set an upper limit to number of threads? |
@casperdcl 5 is not a limit for many applications. Downloading millions of tiny files from s3 benefits from dozens of workers, for example. |
@casperdcl "limiting number of threads because of the progress bar is a very weird approach, feels like we are not solving the right issue here 😄 |
not because of the progress bar, hah. I'm just asking if we can avoid solving the progress bar problem by solving a different problem. Apparently not. :) |
Fixes iterative#3565 Continues iterative#3500 <- iterative#2905
Version:
Reproduce:
Output:
(sorry for the video in this format, was the fastest way to capture it while it was running)
https://www.dropbox.com/s/m821sgc1flk770o/dvc-pull-going-crazy.mov?dl=0
The text was updated successfully, but these errors were encountered: