diff --git a/pytensor/link/numba/dispatch/basic.py b/pytensor/link/numba/dispatch/basic.py index 7fe609dce2..b4fae97c09 100644 --- a/pytensor/link/numba/dispatch/basic.py +++ b/pytensor/link/numba/dispatch/basic.py @@ -59,7 +59,6 @@ def global_numba_func(func): def numba_njit(*args, **kwargs): - kwargs = kwargs.copy() kwargs.setdefault("cache", config.numba__cache) if len(args) > 0 and callable(args[0]):