Skip to content

set a different default executor for Windows and Unix systems

Bas Nijholt requested to merge set_default_executor into master

A concurrent.futures.ProcessPoolExecutor doesn't work on Windows so we use distributed.Client.

Now one can also set the default executor in the notebook. I can see that this is useful for example when demonstrating the example notebook on a machine with a lot of cores (io), one can set:

adaptive.runner._default_executor_kwargs = {'max_workers': 4}

Closes #49 (closed)

Edited by Bas Nijholt

Merge request reports

Loading