Reputation: 313
@delayed
def do_something():
# Does some work
pass
futures = [do_something() for x in range(100)]
compute(*futures)
does the default number of workers depend on our cpu cores? or does it run all the 100 in parallel (i assume this is not the case)
but how does it make a default worker count?
Upvotes: 4
Views: 6484
Reputation: 141
According to the dask website it defaults, as you suggest, to the number of cores.
Upvotes: 3