We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 40aba9f commit bf543efCopy full SHA for bf543ef
conf.py
@@ -98,8 +98,6 @@
98
# -- Sphinx-gallery configuration --------------------------------------------
99
100
def reset_seeds(gallery_conf, fname):
101
- import importlib
102
- importlib.reload(torch)
103
torch.cuda.empty_cache()
104
torch.backends.cudnn.deterministic = True
105
torch.backends.cudnn.benchmark = False
@@ -128,6 +126,7 @@ def reset_seeds(gallery_conf, fname):
128
126
'pypandoc': {'extra_args': ['--mathjax', '--toc'],
129
127
'filters': ['.jenkins/custom_pandoc_filter.py'],
130
},
+ 'parallel': True,
131
}
132
133
html_baseurl = 'https://pytorch.org/tutorials/' # needed for sphinx-sitemap
0 commit comments