File tree 1 file changed +7
-7
lines changed
1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change 53
53
# Monkey patch sphinx gallery to run each example in an isolated process so that
54
54
# we don't need to worry about examples changing global state.
55
55
#
56
- # Other option 1: Parallelism was added to sphinx gallery (a later version that
57
- # we are not using yet) using joblib, but it seems to result in errors for us,
58
- # and it has no effect if you set parallel = 1 (it will not put each file run
59
- # into its own process and run singly) so you need parallel >= 2, and there may
60
- # be tutorials that cannot be run in parallel.
56
+ # Alt option 1: Parallelism was added to sphinx gallery (a later version that we
57
+ # are not using yet) using joblib, but it seems to result in errors for us, and
58
+ # it has no effect if you set parallel = 1 (it will not put each file run into
59
+ # its own process and run singly) so you need parallel >= 2, and there may be
60
+ # tutorials that cannot be run in parallel.
61
61
#
62
- # Other option 2: Run sphinx gallery once per file (similar to how we shard in
63
- # CI but with shard sizes of 1), but running sphinx gallery for each file has a
62
+ # Alt option 2: Run sphinx gallery once per file (similar to how we shard in CI
63
+ # but with shard sizes of 1), but running sphinx gallery for each file has a
64
64
# ~5min overhead, resulting in the entire suite taking ~2x time
65
65
def call_fn (func , args , kwargs , result_queue ):
66
66
try :
You can’t perform that action at this time.
0 commit comments