File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 46
46
asyncio .set_event_loop_policy (uvloop .EventLoopPolicy ())
47
47
48
48
49
- _default_executor = (
50
- loky .get_reusable_executor if with_loky else concurrent .ProcessPoolExecutor
51
- )
49
+ _default_executor = concurrent .ProcessPoolExecutor
52
50
53
51
54
52
class BaseRunner (metaclass = abc .ABCMeta ):
@@ -62,7 +60,8 @@ class BaseRunner(metaclass=abc.ABCMeta):
62
60
the learner as its sole argument, and return True when we should
63
61
stop requesting more points.
64
62
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
66
65
The executor in which to evaluate the function to be learned.
67
66
If not provided, a new `~concurrent.futures.ProcessPoolExecutor`.
68
67
ntasks : int, optional
You can’t perform that action at this time.
0 commit comments