-
-
Notifications
You must be signed in to change notification settings - Fork 10
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
Fix #62 #65
Fix #62 #65
Conversation
python/advi.py
Outdated
return out | ||
|
||
|
||
def advi(compiled_model, max_iter=10_000, residual=5e-3): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
don't we have ADVI at the pytensor level in pymc already?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, this wasn't supposed to end up in the PR. I rebased
|
|
I've never used I would have done something like
but maybe this doesn't work cross-platform? |
Not sure why this would fail on OSX but succeed on Linux:
|
Thanks for having a look! The test failure is I think because it seems to be using the nutpie from pypi instead of the new one. I don't quite understand why that would happen on mac but not on linux though... |
Ah, I think we need the separate install step in the other ci jobs as well... |
I think the problem with this is that there are several whl files, for different python versions. |
Seems the coords can be None in pymc...
fixes #62