-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
theano compatibility issue with numpy>1.20? #104
Comments
Thanks for raising this @shadden! This incompatibility is known (albeit annoying) and we handle it here by restricting the numpy version Line 33 in c022b24
There's not much we can do about this since Theano is long deprecated and a full overhaul of that code base is beyond my capabilities! Your options include:
In my work I've completely switched to JAX, but the PyMC (v5) interface will probably be the most backwards compatible. One note: to get PyMC support you'll need to install the release candidate from PyPI ( |
Thanks! Sounds like a headache-- I'm mainly just interested in having an implementation of a differentiable Kepler solver. I was hoping for a solution that basically amounted to finding and replacing instances of 'theano' with something like 'aesara' or 'pytensor' or something similar in the code here. However, if JAX is really the way of the future, maybe I should bite the bullet and go with a major overhaul... |
Also: I prefer JAX, but I do think that PyMC/PyTensor seem to be well maintained, and I don't think it would be a mistake to go down that path! |
I've managed a solution for my particular problems by swapping out |
Attempting to import the pymc3 ops causes an error that appears to be related to theano compatibility issues with newer numpy versions. specifically,
leads to the error:
The text was updated successfully, but these errors were encountered: