-
-
Notifications
You must be signed in to change notification settings - Fork 10
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
Slow initialization running PyMC model #115
Comments
Yeah if it's using objmode it'll be very slow. Here seems to be the relevant issue: pymc-devs/pytensor#772 Pull requests are welcome, we're happy to help :). |
Just to understand the problem, is nopython mode for Numba not used for some operations (e.g. AdvancedSetSubtensor) of PyMC? |
Yes. |
The slow starting is probably just known compilation times in Numba. Should get better with pymc-devs/pytensor#765 which is part of PyTensor 2.21.0. The next PyMC release should be compatible with it |
I am trying to run a PyMC model with the nutpie sampler, but initialization seems to be very slow and sampling does not start with these Warning statements:
How can I fix this issue? I am using nutpie==0.10.0, numba==0.59.1, pymc==5.13.0.
The text was updated successfully, but these errors were encountered: