Skip to content

Commit 8c77c99

Browse files
committed
update
1 parent b5b0261 commit 8c77c99

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

conf.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,9 +121,10 @@ def reset_seeds(gallery_conf, fname):
121121
import torch._inductor
122122

123123
torch._inductor.metrics.reset()
124-
from torch._inductor.codecache import PyCodeCache
124+
from torch._inductor.codecache import CppCodeCache, PyCodeCache
125125

126126
PyCodeCache.cache_clear(purge=True)
127+
CppCodeCache.cache_clear()
127128

128129

129130
sphinx_gallery_conf = {

0 commit comments

Comments
 (0)