Skip to content

Commit b0b7f11

Browse files
committed
Update
1 parent 2fc656f commit b0b7f11

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

conf.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,9 @@ def reset_seeds(gallery_conf, fname):
117117
numpy.random.seed(10)
118118
gc.collect()
119119
torch._dynamo.reset()
120-
torch._inductor.clear_compile_cache()
120+
from torch._inductor.utils import clear_inductor_caches
121+
122+
clear_inductor_caches()
121123

122124

123125
sphinx_gallery_conf = {

0 commit comments

Comments
 (0)