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

Update dependencies and use new jax random key #569

Merged
merged 6 commits into from
Sep 20, 2023
Merged

Update dependencies and use new jax random key #569

merged 6 commits into from
Sep 20, 2023

Conversation

junpenglao
Copy link
Member

@junpenglao junpenglao commented Sep 20, 2023

See https://github.com/google/jax/pull/17297/files for background.

  • Update typing of PRNG keys type alias to jax.Array
  • Use new-style RNG keys jax.random.key(...) instead of jax.random.PRNGKey(...)

@codecov
Copy link

codecov bot commented Sep 20, 2023

Codecov Report

Merging #569 (6b102e6) into main (1817ee9) will not change coverage.
Report is 4 commits behind head on main.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main     #569   +/-   ##
=======================================
  Coverage   99.14%   99.14%           
=======================================
  Files          49       49           
  Lines        2099     2099           
=======================================
  Hits         2081     2081           
  Misses         18       18           
Files Changed Coverage Δ
blackjax/mcmc/nuts.py 100.00% <100.00%> (ø)
blackjax/types.py 100.00% <100.00%> (ø)

@junpenglao junpenglao merged commit 8efb158 into main Sep 20, 2023
7 checks passed
@junpenglao junpenglao deleted the update_dep branch September 20, 2023 18:55
@junpenglao junpenglao restored the update_dep branch September 20, 2023 18:55
@junpenglao junpenglao deleted the update_dep branch September 20, 2023 18:55
@junpenglao
Copy link
Member Author

The usage in the documentation is not yet updated.

junpenglao added a commit that referenced this pull request Mar 12, 2024
* Update dependency

* chex version typo

* fix typing

* fix typing 2

* Revert "fix typing 2"

This reverts commit 154e6b3.

* jax.random.PRNGKey(...) -> jax.random.key(...)
@junpenglao junpenglao mentioned this pull request Jun 25, 2024
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.

1 participant