Skip to content

Assign tasks to all workers #8671

Answered by nejigane
nejigane asked this question in Q&A
Discussion options

You must be logged in to vote

I found chunksize=1 enables all workers get 100% cpu usage.
https://github.com/dask/dask/blob/2022.01.1/dask/multiprocessing.py#L173-L176

dask.compute(*tasks, scheduler='processes', chunksize=1)

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by nejigane
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant