-
-
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
Add wrapper for running blackjax pathfinder #72
Conversation
Adressed comments. |
Ready for next round. |
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.
Looks good, just two hard-coded values still in there.
Just checking if the tests pass, they were failing weirdly before. |
Maybe you just need to rebase from main, because @ferrine did some changes? (if they fail again) |
Co-authored-by: Ricardo Vieira <[email protected]>
Co-authored-by: Ricardo Vieira <[email protected]>
afc09ea
to
03406cc
Compare
Oh, of course it doesn't work on windows... |
Not sure who this comment is for, but:
neither of these are blockers, just hopeful suggestions! |
Sorry, looking more at the
|
We have an adaptation routine that does just that. We really need documentation 🙃 |
pytest.skip based on sys.platform. |
Good old try/except |
It's green :party:! |
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.
What about this instead?
Co-authored-by: Ricardo Vieira <[email protected]>
Co-authored-by: Ricardo Vieira <[email protected]>
pymc_experimental/inference/fit.py
Outdated
try: | ||
from pymc_experimental.inference import fit_pathfinder | ||
except ImportError as exc: | ||
raise RuntimeError("Need JAX/ Blackjax / wahever to use `pathfinder`") from exc |
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.
This is not acceptable
Haha it was green because no tests were run 🤦 |
FML. |
Lot's of help from @ricardoV94
CC @rlouf