Skip to content

Commit 4eff131

Browse files
Merge pull request jax-ml#25672 from jakevdp:finalize-dep
PiperOrigin-RevId: 709284584
2 parents fa9c7ed + 40fe4b8 commit 4eff131

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ When releasing, please add the new-release-boilerplate to docs/pallas/CHANGELOG.
3434
* Deletions
3535
* `jax_enable_memories` flag has been deleted and the behavior of that flag
3636
is on by default.
37+
* From `jax.lib.xla_client`, the previously-deprecated `Device` and
38+
`XlaRuntimeError` symbols have been removed; instead use `jax.Device`
39+
and `jax.errors.JaxRuntimeError` respectively.
3740

3841
## jax 0.4.38 (Dec 17, 2024)
3942

jax/lib/xla_client.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,17 +36,17 @@
3636
"jax.lib.xla_client.bfloat16 was removed in JAX v0.4.38; use ml_dtypes.bfloat16.",
3737
None,
3838
),
39-
# Added Sep 26 2024
39+
# Finalized 2024-12-23; remove after 2024-03-23
4040
"Device": (
4141
"jax.lib.xla_client.Device is deprecated; use jax.Device instead.",
42-
_xc.Device,
42+
None,
4343
),
4444
"XlaRuntimeError": (
4545
(
4646
"jax.lib.xla_client.XlaRuntimeError is deprecated; use"
4747
" jax.errors.JaxRuntimeError."
4848
),
49-
_xc.XlaRuntimeError,
49+
None,
5050
),
5151
# Added Oct 10 2024
5252
"FftType": (

0 commit comments

Comments
 (0)