The error is related to numba caching. You could try clearing the numba cache, which I think amounts to deleting the __pycache__ directory wherever your project lives. You can also run pytensor-cache clear to clear the pytensor cache, which might or might not be implicated.