Skip to content

Commit 44720f7

Browse files
committed
Allow numba cache path to create parent directory
1 parent 4b89716 commit 44720f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pytensor/link/numba/cache.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212

1313
NUMBA_CACHE_PATH = config.base_compiledir / "numba"
14-
NUMBA_CACHE_PATH.mkdir(exist_ok=True)
14+
NUMBA_CACHE_PATH.mkdir(parents=True, exist_ok=True)
1515
CACHED_SRC_FUNCTIONS: WeakKeyDictionary[Callable, str] = WeakKeyDictionary()
1616

1717

0 commit comments

Comments
 (0)