File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4646 asyncio .set_event_loop_policy (uvloop .EventLoopPolicy ())
4747
4848
49- _default_executor = (
50- loky .get_reusable_executor if with_loky else concurrent .ProcessPoolExecutor
51- )
49+ _default_executor = concurrent .ProcessPoolExecutor
5250
5351
5452class BaseRunner (metaclass = abc .ABCMeta ):
@@ -62,7 +60,8 @@ class BaseRunner(metaclass=abc.ABCMeta):
6260 the learner as its sole argument, and return True when we should
6361 stop requesting more points.
6462 executor : `concurrent.futures.Executor`, `distributed.Client`,\
65- `mpi4py.futures.MPIPoolExecutor`, or `ipyparallel.Client`, optional
63+ `mpi4py.futures.MPIPoolExecutor`, `ipyparallel.Client` or\
64+ `loky.get_reusable_executor`, optional
6665 The executor in which to evaluate the function to be learned.
6766 If not provided, a new `~concurrent.futures.ProcessPoolExecutor`.
6867 ntasks : int, optional
You can’t perform that action at this time.
0 commit comments