question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Progressbar on list of delayed objects

See original GitHub issue

I have a list of delayed objects in “scores”. Following the documentation, I should be able to do

from dask import compute, persist
from dask.distributed import progress
...
x = persist(scores)  # start computation in the background
progress(x)  # watch progress
scores = compute(x[0])[0]

The problem is that the progress bar in the terminal shows a 100% bar immediately. I can observe with the dashboard that the computation is still going for about 10 minutes.

Am I doing something wrong here? The docs are not explicit for the list of delayed objects.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:9 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
mrocklincommented, Apr 13, 2018

@alvarouc thank you for the reproducible example by the way! It was very helpful to quickly identify the problem.

0reactions
martindurantcommented, Apr 13, 2018

The error appears to be in dask.persist; if you call persist(scores), this does not call client.persist at all, but persist(*scores) does. client.persist works with either scores or *scores.

Read more comments on GitHub >

github_iconTop Results From Across the Web

ProgressBar display with some delay in on click of option menu
I am facing the issue with displaying progressbar onItem selected in option menu. My code is here: case R.id.mnuLogout: showDialog(Constants ...
Read more >
Diagnostics (local) - Dask documentation
A progress bar for dask. The ProgressBar class builds on the scheduler callbacks described above to display a progress bar in the terminal...
Read more >
Progress Bar only works if i use a Delay - MSDN - Microsoft
await Task.Delay(2000);. my code looks like this private async void btnstart_Clicked(object sender, EventArgs e) { DependencyService.
Read more >
How to Use Progress Bars - Oracle Help Center
Using Determinate Progress Bars ... Try this: Click the Launch button to run the ProgressBar Demo using Java™ Web Start (download JDK 7...
Read more >
ProgressBar - Android Developers
android:scrollbarDefaultDelayBeforeFade, Defines the delay in milliseconds that a ... Autofill type for a selection list field, which is filled by an int ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found