-
-
Notifications
You must be signed in to change notification settings - Fork 402
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
NoneType error with standard pymc3 workflow #1202
Comments
Yeah, sorry about that, we have been working to better integrate ArviZ with PyMC3, the end of sampling report has been delegated to ArviZ for a while but there were some issues when storing warmup and with memory usage. There have been some changes in
Side note: It works for one chain because with one chain no convergence report can be generated and therefore ArviZ is not called, working with 1 chain is not really a useful workaround |
Thanks for the fast response! That clarifies it. No, one chain is not useful, that was just to pinpoint the error. |
My memory failed me above, we initially planned on requiring 3.9 but eventually decided on supporting old but recent versions too and there was a bug. I have had a flash and double checked the code 😅 I have also added a warning triggered only if |
Describe the bug
In a standard pymc3 sampling workflow (see below, simplified from here), an error occurs. This happens only with arviz 0.8.0, works with 0.7.0.
I was not sure whether this is pymc3 or arviz related.
To Reproduce
gives:
The error does not occur with
chains=1
.Expected behavior
No error :)
Additional context
Arviz 0.8.0 (0.7.0 worked), pymc3 3.8, all installed via pypi on anaconda3 python 3.7, 3.8.
The text was updated successfully, but these errors were encountered: