...
|
...
|
@@ -102,7 +102,9 @@
|
102
|
102
|
"source": [
|
103
|
103
|
"Next we create a \"runner\" that will request points from the learner and evaluate 'f' on them.\n",
|
104
|
104
|
"\n",
|
105
|
|
- "By default the runner will evaluate the points in parallel using local processes ([`concurrent.futures.ProcessPoolExecutor`](https://docs.python.org/3/library/concurrent.futures.html#processpoolexecutor))."
|
|
105
|
+ "By default on Unix-like systems the runner will evaluate the points in parallel using local processes ([`concurrent.futures.ProcessPoolExecutor`](https://docs.python.org/3/library/concurrent.futures.html#processpoolexecutor)).\n",
|
|
106
|
+ "\n",
|
|
107
|
+ "On Windows systems the runner will try to use a [`distributed.Client`](https://distributed.readthedocs.io/en/latest/client.html) if [`distributed`](https://distributed.readthedocs.io/en/latest/index.html) is installed. A `ProcessPoolExecutor` cannot be used on Windows for reasons."
|
106
|
108
|
]
|
107
|
109
|
},
|
108
|
110
|
{
|
...
|
...
|
@@ -751,7 +753,7 @@
|
751
|
753
|
"cell_type": "markdown",
|
752
|
754
|
"metadata": {},
|
753
|
755
|
"source": [
|
754
|
|
- "By default `adaptive.Runner` creates a `ProcessPoolExecutor`, but you can also pass one explicitly e.g. to limit the number of workers:"
|
|
756
|
+ "On Unix-like systems by default `adaptive.Runner` creates a `ProcessPoolExecutor`, but you can also pass one explicitly e.g. to limit the number of workers:"
|
755
|
757
|
]
|
756
|
758
|
},
|
757
|
759
|
{
|
...
|
...
|
@@ -797,7 +799,9 @@
|
797
|
799
|
"cell_type": "markdown",
|
798
|
800
|
"metadata": {},
|
799
|
801
|
"source": [
|
800
|
|
- "### [`distributed`](https://distributed.readthedocs.io/en/latest/)"
|
|
802
|
+ "### [`distributed`](https://distributed.readthedocs.io/en/latest/)\n",
|
|
803
|
+ "\n",
|
|
804
|
+ "On Windows by default `adaptive.Runner` uses a `distributed.Client`."
|
801
|
805
|
]
|
802
|
806
|
},
|
803
|
807
|
{
|