-
-
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
Workaround PyTensor bug in vectorize of logp graph #7415
Conversation
what is this error in float64 tests, is it related? |
That's weird, values seem transposed |
feels to me this is failing |
Another thing, I'm not able to reproduce the bug
Should we merge instead and open a new issue to resolve that? |
If it's not failing on main we shouldn't merge. Did you retrigger the CI to see if it was a (very weird) fluke? |
same error, retriggered |
a01ec77
to
7518dce
Compare
attempted to rebase on latest main |
I have not seen these transforms are even used by PolyaGamma |
I'll have to dig, is rather surprising, but somehow related |
Can you try pinning polyagamma to 1.3.6 just to see if the tests fail. I just released 1.3.7 which includes numpy 2.0 support. I suspect this change might be the root cause. Looking at this output:
It appears that the linked PR leads to values being generated in a reverse order than in v1.3.6....or at at least that's my immediate guess since i'm not quite familiar with the code that is being tested in the CI. |
I can confirm that updating the polyagamma to 1.3.7 I reproduce the error |
7518dce
to
944478e
Compare
just rebased on the updated CI |
I've pulled 1.3.7 from Pypi and re-released it as v2.0.0 so you likely no longer need to pin the package. see : https://github.com/zoj613/polyagamma/actions/runs/10006421637 |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #7415 +/- ##
=======================================
Coverage 92.18% 92.18%
=======================================
Files 103 103
Lines 17259 17259
=======================================
Hits 15910 15910
Misses 1349 1349
|
fix #7414
Description
Related Issue
Checklist
Type of change
📚 Documentation preview 📚: https://pymc--7415.org.readthedocs.build/en/7415/