Skip to content

How to use progress from parallel in Jupyter notebook? #666

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

Open
chhenning opened this issue Feb 5, 2025 · 1 comment
Open

How to use progress from parallel in Jupyter notebook? #666

chhenning opened this issue Feb 5, 2025 · 1 comment

Comments

@chhenning
Copy link

I'm using Python 3.11.9. The following code does not produce any progress bar when running inside a Jupyter notebook.

from fastcore.parallel import parallel

def _f(x):
    return x*x

parallel(_f, range(10), n_workers=2, progress=True, pause=0.25)
@chhenning-op
Copy link

One has to install https://github.com/AnswerDotAI/fastprogress !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants