-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Updates for Theano-PyMC 1.1.0 #4405
Updates for Theano-PyMC 1.1.0 #4405
Conversation
e5e53d6
to
bcd447d
Compare
Codecov Report
@@ Coverage Diff @@
## master #4405 +/- ##
==========================================
+ Coverage 88.00% 88.15% +0.14%
==========================================
Files 88 88
Lines 14342 14571 +229
==========================================
+ Hits 12622 12845 +223
- Misses 1720 1726 +6
|
bcd447d
to
9b884cb
Compare
This is still WIP. Whoever wants to help please do.
|
@michaelosthege I can check the Weibull test |
Where did you see that |
Pinging @MarcoGorelli @Spaak for potential help. |
You're right. Looks like I messed up something (it was late 🌃 ). |
I'll have a look, starting with |
On this branch you'll have to test against |
9b884cb
to
7729ea9
Compare
All failures in |
This one succeeds for me locally, with scipy 1.5.0. |
I'm not sure the issue here is with Some relevant debugging info:
for some reason Edit: I think the cast to |
I fear the CI tests are useless until we can rely on the new ArviZ version. |
@michaelosthege I'm on Ubuntu 20.04.1, running as guest on WSL2 (though that shouldn't matter, I hope). Just in case, the details of my
Edit: and same for current Theano-PyMC |
@twiecki @brandonwillard @MarcoGorelli could one of you perhaps check what you get locally with I picked you three more or less randomly, so if anyone else drops by and feels like testing this out, feel free :) |
Update: @michaelosthege and I traced this to platform differences in default integer |
I pushed the commit, but credit just as much to @michaelosthege; thanks for a great co-coding session :) |
Is there an arviz issue tracking this? |
|
So seems like on the PyMC3 side only this one remains:
Is anyone working on this? |
I don't think so. If you like we can both take a look now. From #4405 (comment):
For me it fails with scipy 1.5.2. So either it's a platform/floatX thing again, or something changed in scipy. |
Great! Sounds like a platform issue to me. |
Hopefully the new arviz issues fixes issue 4. |
Odd. |
@MarcoGorelli Any idea? Found this pydata/bottleneck#343 (comment) |
Just ran the test suite locally (Ubuntu) with the latest on this branch and latest ArviZ, and we still have some failures (full test log): one is a shape error in The import rename was also caught by CI, but I'm surprised the shape issue was not (I can't seem to find the CI log for
|
From the diff of this PR, I don't understand why these shape errors appeared. The install issue should be fixed now, according to this comment. |
Many gof imports were changed to explicit imports. This commit also changes the usage of change_flags because of pending deprecation.
We do not have pytest-ordering in the dependencies and tests should be unordered anyway.
cc4fe8f
to
3a8892a
Compare
Great to see the CI tests all ✔️ now! Edit: on a fresh conda env with Python 3.9 and Numpy 1.19.5 and Theano from conda-forge the test succeeds locally for me as well. I'm now checking whether it might be due to Python 3.8 and Numpy 1.19.2 which I'm using in my main conda env. Edit 2: The test even succeeds on a new conda env with Python/Numpy exactly the same as before. So this is almost certainly some obscure issue with my environment, and I think this can be reviewed and merged now. |
Thanks everyone! Time to cut a new release. @Spaak do you want to do that? |
This PR provides compatibility updates for Theano-PyMC 1.0.15.