jaxtyping v0.2.22
- jaxtyping now offers an IPython extension. (Thanks @knyazer! #112)
This means that you can now write the following at the top of your IPython/Jupyter/Colab notebook, and have everything you write be automatically type-checked:import jaxtyping %load_ext jaxtyping %jaxtyping.typechecker beartype.beartype # or any other runtime type checker, e.g. typeguard
- Forward compatibility with JAX's upcoming changes to PRNGs.
jaxtyping.PRNGKeyArraywill match against either old-stylejax.random.PRNGKeyand new-stylejax.random.key. Meanwhilejaxtyping.Key[Array, ...]will match against only new-stylejax.random.keys. (#109) - Better error message when doing just
Float[Array]. (#110) - Now robust to JAX installations that aren't installed properly. (E.g. not supported on current hardware.) (#111)
New Contributors
Full Changelog: v0.2.21...v0.2.22