-
-
Notifications
You must be signed in to change notification settings - Fork 12
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
CheckParameterValue numba #3
Comments
By bounds checks you mean domain checks, right? Array accesses should still be checked, right? |
There is a model switch but it only disables the checks when compile_pymc (the one in aesaraf) is called. It basically switches which rewrite is included. |
Hm, maybe I should call that to generate the logp function. |
ref #4 for random deterministics |
nutpie is now using the pymc rewrite if bounds checks are off. (since #42) |
Just noticed that the numba funcify just gets rid of bound checks.
In PyMC, by default, we replace it by
-inf
switches here. This will obviously be slower and unnecessary for most (well) parametrized models. Just wanted to ask if it was a conscious choice.https://github.com/aseyboldt/nutpie/blob/6f22b171ddc913e9b6b0cc16e1d25b5148db8614/nutpie/compile_pymc.py#L15
The text was updated successfully, but these errors were encountered: