Skip to content
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

Small update for recent JAX versions #20

Merged
merged 7 commits into from
Oct 12, 2022
Merged

Conversation

EiffL
Copy link
Contributor

@EiffL EiffL commented Sep 15, 2022

This PR should be merged after #19, which is also included here.

It just removes the deprecated jax.ops.index_update() from LensImage.Numerics.grid.

@EiffL
Copy link
Contributor Author

EiffL commented Sep 15, 2022

And the point of these small updates is that now you can run your demo notebooks directly off Google Colab!
https://colab.research.google.com/drive/1xIBEMHiKl2JsKbhMvcj8DZ8bwCU5Z4nH?usp=sharing
image

image

Just note that blackjax has changed its API, so you should update a little bit the Inference class. I don't have time to fix that right now, so in the notebook above, I just reverted back to numpyro.

@aymgal aymgal merged commit 39b2864 into Herculens:main Oct 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants