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

fix: Change to new-style-jax-rng-keys. #184

Conversation

miltonllera
Copy link

All calls to jax.random.PRNGKey have been changed to jax.random.key. When passing keys to non-jax methods (such as the ones in scikit-learn), we first jax.key_data to recover the underlying raw key information before making the call.

Related issues: https://jax.readthedocs.io/en/latest/jep/9263-typed-keys.html

All calls to jax.random.PRNGKey have been changed to jax.random.key.
When passing keys to non-jax methods (such as the ones in scikit-learn),
we use jax.key_data to recover the underlying raw key information.
@Lookatator Lookatator self-assigned this Sep 2, 2024
@Lookatator Lookatator added enhancement New feature or request code update Updating to last library versions labels Sep 2, 2024
@Lookatator Lookatator added this to the v0.4.1 milestone Sep 5, 2024
@Lookatator Lookatator changed the base branch from main to develop September 13, 2024 21:50
@Lookatator
Copy link
Member

Lookatator commented Sep 13, 2024

Hi @miltonllera, thanks a lot for those changes!

Because of the unsuccessful checks, I copied your commits to a branch in our repository, and solved all issues in PR #195

I will close this PR, the new one should be merged very soon into develop.

@Lookatator Lookatator closed this Sep 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
code update Updating to last library versions enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants