Closed fehiepsi closed 3 months ago
Check out this pull request on
See visual diffs & provide feedback on Jupyter Notebooks.
Powered by ReviewNB
The current numpy versions still use a_min a_max. They have a PR to deprecate those arguments but it has not been merged yet.
Since jax 0.4.25 (released Feb 24),
jax.tree_util.tree_map
is deprecated, in favor ofjax.tree.map
. This PR updates numpyro to use the new pattern.In addition,
jnp.clip(..., a_min=..., a_max=...)
is deprecated. I change the pattern tojnp.clip(..., ..., ...)
to remove the deprecation warning in the tests.