Skip to content

Commit 101d26e

Browse files
committed
tc
1 parent e60b182 commit 101d26e

File tree

1 file changed

+1
-12
lines changed

1 file changed

+1
-12
lines changed

conf.py

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -98,18 +98,7 @@
9898
# -- Sphinx-gallery configuration --------------------------------------------
9999

100100
def reset_seeds(gallery_conf, fname):
101-
torch.cuda.empty_cache()
102-
torch.backends.cudnn.deterministic = True
103-
torch.backends.cudnn.benchmark = False
104-
torch._dynamo.reset()
105-
torch._inductor.config.force_disable_caches = True
106-
torch.manual_seed(42)
107-
torch.set_default_device(None)
108-
random.seed(10)
109-
numpy.random.seed(10)
110-
torch.set_grad_enabled(True)
111-
112-
gc.collect()
101+
pass
113102

114103
sphinx_gallery_conf = {
115104
'examples_dirs': ['beginner_source', 'intermediate_source',

0 commit comments

Comments
 (0)