Skip to content

Commit bf543ef

Browse files
committed
tc
1 parent 40aba9f commit bf543ef

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

conf.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,6 @@
9898
# -- Sphinx-gallery configuration --------------------------------------------
9999

100100
def reset_seeds(gallery_conf, fname):
101-
import importlib
102-
importlib.reload(torch)
103101
torch.cuda.empty_cache()
104102
torch.backends.cudnn.deterministic = True
105103
torch.backends.cudnn.benchmark = False
@@ -128,6 +126,7 @@ def reset_seeds(gallery_conf, fname):
128126
'pypandoc': {'extra_args': ['--mathjax', '--toc'],
129127
'filters': ['.jenkins/custom_pandoc_filter.py'],
130128
},
129+
'parallel': True,
131130
}
132131

133132
html_baseurl = 'https://pytorch.org/tutorials/' # needed for sphinx-sitemap

0 commit comments

Comments
 (0)