mmm_roas.ipynb model fitting fails with runtime exception for me under Python 3.10.0 #1237
Unanswered
scottlyden
asked this question in
Q&A
Replies: 1 comment 1 reply
-
This should do it :) import jax
jax.config.update("jax_enable_x64", True) |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Apart from adding this code block ...
... I haven't made any changes to the notebook.
The exception message is:
The problem appears to be connected with the numpyro sampler; when I change the sampler to the default (NUTS), the fitting runs fine.
Any ideas much appreciated.
If anyone is able to run the notebook as-is, would you please post the version of Python and above packages that you used?
I am using:
pymc==5.18.2
pymc-marketing==0.10.0
pymc3==3.11.4
jax==0.4.35
jaxlib==0.4.35
numpyro==0.15.3
with Python 3.10.0
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions