Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit e54c7e8

Browse files
committedMay 15, 2025·
tc
1 parent 96cbdf0 commit e54c7e8

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed
 

‎conf.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -53,14 +53,14 @@
5353
# Monkey patch sphinx gallery to run each example in an isolated process so that
5454
# we don't need to worry about examples changing global state.
5555
#
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.
6161
#
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
6464
# ~5min overhead, resulting in the entire suite taking ~2x time
6565
def call_fn(func, args, kwargs, result_queue):
6666
try:

0 commit comments

Comments
 (0)
Please sign in to comment.