-
-
Notifications
You must be signed in to change notification settings - Fork 52
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
Handle new pymc and pytensor releases #329
Conversation
There was already a PR open to fix the MarginalModel. Actually the breaking changes there provide a fix to the numpyro bug. |
Check the CI run for this PR, I'm pretty sure the MarginalModel failures are new and unrelated to #323 |
Also it seems like the windows and unbuntu runs are grabbing different versions of PyMC, because they can't agree on where |
probably the python 3.9 forcing an older version of pymc |
Is that PR good to merge?
…On Tue, 9 Apr 2024, 08:34 Ricardo Vieira, ***@***.***> wrote:
There was already a PR open to fix the MarginalModel. Actually the
breaking changes there are a fix to the numpyro bug.
—
Reply to this email directly, view it on GitHub
<#329 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAACCUOSMH7ETCJZC5IM6WTY4ODWNAVCNFSM6AAAAABF5SEYNWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANBUGI2DKNBTHE>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
No we still need to run on the CI |
f8183a5
to
1bc513f
Compare
I meant is #323 ready to not be a draft?
…On Tue, 9 Apr 2024, 09:12 Ricardo Vieira, ***@***.***> wrote:
Is that PR good to merge?
On Tue, 9 Apr 2024, 08:34 Ricardo Vieira, *@*.***> wrote:
There was already a PR open to fix the MarginalModel. Actually the
breaking changes there are a fix to the numpyro bug.
—
Reply to this email directly, view it on GitHub
#329 (comment)
<#329 (comment)>
,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAACCUOSMH7ETCJZC5IM6WTY4ODWNAVCNFSM6AAAAABF5SEYNWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANBUGI2DKNBTHE
.
You are receiving this because you are subscribed to this thread.Message
ID: *@*.***>
No we still need to run on the CI
—
Reply to this email directly, view it on GitHub
<#329 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAACCUIBG4GBX4SQESS7HH3Y4OIGPAVCNFSM6AAAAABF5SEYNWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANBUGI4TIMZVG4>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
I'll probably merge it here |
Also ignore warning from upstream dependency
1bc513f
to
eb8fef7
Compare
eb8fef7
to
163d88c
Compare
@maresb any idea why the Windows environment is not getting solved? https://github.com/pymc-devs/pymc-experimental/actions/runs/8614534973/job/23608187593?pr=329#step:5:568
|
d01274f
to
b574dc3
Compare
@jessegrabowski I fixed the SymbolicRandomVariables. The major change is that we require rngs to be handled manually by default now. It's just a question of specifying it in the inputs of the respective OpFromGraph constructor. |
I saw. I'm pushing a patch for the distributions used by statespace as well. |
Already did that |
So we need to fix the windows CI (no idea what's going on), and the R2D2 thing. @ferrine can you look into the R2? There are no longer constant coords/dims so the code has to change |
For the nan mask thing, let's add a pytest.warns for now, and open an issue on the PyMC side. We should replace |
Sounds good, we can pass a wrapper for the reference logp/logcdf that does that |
You want me to pass a wrapper? I just set the context on the whole test |
That's also fine, but if it's the same work, more specific is nicer |
Ignore, I just added a comment. Looks fine |
The PyPI job is failing now, that sounds like fun :) |
Maybe related to my changes to the github actions |
594e354
to
eb4c92a
Compare
…uring `test_marginalized_change_point_model`
eb4c92a
to
9fee8b6
Compare
When I use a wrapper, the test fails completely:
Can you reproduce? Makes me worried something else is going on inside the |
Reverting the actions didn't help. @lucianopaz any idea what may be going wrong? ERROR: Could not install packages due to an OSError: [Errno 2] No such file or directory: '/home/runner/work/pymc-experimental/pymc-experimental/dist/pymc-experimental*.tar.gz' |
Looking at what is different between the last successful run and the ones you're getting now, it seems like the source distribution is getting built into |
Co-authored-by: Ben Mares <[email protected]>
55155d4
to
7a94946
Compare
Seems to have worked @lucianopaz ! |
Co-authored-by: lucianopaz <[email protected]>
7a94946
to
f9b5906
Compare
Closes #328
Lots of tests fail following pymc-devs/pymc#7047, pymc-devs/pymc#7211, and pymc-devs/pymc#7238
It also seems that 5.13 breaks RVs with scan in the logp if they have
strict=True
, because therng
isn't provided.MarginalModel
,Statespace
, andDiscreteMarkovChain
fail now. Not sure what's up with that, but it doesn't seem right. Easy fix is to setstrict=False
, but curious why it's happening.The new shape rules break the
r2d2
tests, @ferrineTestSkellam
has an illegal test value that results inlog(0)
, @wd60622Also python 3.9 is no longer being supported following pymc-devs/pymc#7227, so we should update the CI to no longer test on it.