You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Document how to use book multiple cores for a single task #231
Would this also apply to computing dask arrays (client.compute)? For example, if I have a dask array that is the result of many array operations that perform best on a threaded scheduler by themselves, is there an easy way to say that this array and all of its pre-tasks should be computed on a single worker? It's possible the scheduler is smart enough to keep the data on the same node anyway.
changed the title [-]Document how to use book mutliple cores for a single task[/-][+]Document how to use book multiple cores for a single task[/+]on May 29, 2019
Activity
djhoese commentedon Feb 8, 2019
Would this also apply to computing dask arrays (
client.compute)? For example, if I have a dask array that is the result of many array operations that perform best on a threaded scheduler by themselves, is there an easy way to say that this array and all of its pre-tasks should be computed on a single worker? It's possible the scheduler is smart enough to keep the data on the same node anyway.guillaumeeb commentedon Feb 11, 2019
@djhoese you can specify a worker name from client.compute (http://distributed.dask.org/en/latest/api.html#distributed.Client.compute), but I'm not sure
resourcescan be used as a kwarg. Feel free to ask a question in distributed tracker or on Stack Overflow.guillaumeeb commentedon Feb 11, 2019
As per the OP, the
resourceskwarg solution, seems to have some issue yet. See #230 or dask/distributed#1851.You cannot use
adapt()orscaleafter tasks submission.[-]Document how to use book mutliple cores for a single task[/-][+]Document how to use book multiple cores for a single task[/+]