Skip to content

Commit

Permalink
Turn off numba cache by default
Browse files Browse the repository at this point in the history
  • Loading branch information
jeromekelleher authored and mergify[bot] committed Feb 16, 2024
1 parent a386541 commit 1c0bf8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sgkit/accelerate.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

from numba import guvectorize, jit

_DISABLE_CACHE = os.environ.get("SGKIT_DISABLE_NUMBA_CACHE", "0")
_DISABLE_CACHE = os.environ.get("SGKIT_DISABLE_NUMBA_CACHE", "1")

try:
CACHE_NUMBA = {"0": True, "1": False}[_DISABLE_CACHE]
Expand Down

0 comments on commit 1c0bf8d

Please sign in to comment.