Finalize deprecation of some symbols from jax.lib.xla_client

This commit is contained in:
Jake VanderPlas 2024-12-23 09:23:06 -08:00
parent 108762379d
commit 40fe4b8797
2 changed files with 6 additions and 3 deletions

View File

@ -34,6 +34,9 @@ When releasing, please add the new-release-boilerplate to docs/pallas/CHANGELOG.
* Deletions
* `jax_enable_memories` flag has been deleted and the behavior of that flag
is on by default.
* From `jax.lib.xla_client`, the previously-deprecated `Device` and
`XlaRuntimeError` symbols have been removed; instead use `jax.Device`
and `jax.errors.JaxRuntimeError` respectively.
## jax 0.4.38 (Dec 17, 2024)

View File

@ -36,17 +36,17 @@ _deprecations = {
"jax.lib.xla_client.bfloat16 was removed in JAX v0.4.38; use ml_dtypes.bfloat16.",
None,
),
# Added Sep 26 2024
# Finalized 2024-12-23; remove after 2024-03-23
"Device": (
"jax.lib.xla_client.Device is deprecated; use jax.Device instead.",
_xc.Device,
None,
),
"XlaRuntimeError": (
(
"jax.lib.xla_client.XlaRuntimeError is deprecated; use"
" jax.errors.JaxRuntimeError."
),
_xc.XlaRuntimeError,
None,
),
# Added Oct 10 2024
"FftType": (