v0.4.35
JAX v0.4.35
Added 1
- jax.lax.FftType introduced as a public name for the enum of FFT operations
Changed 2
- jax.numpy.isscalar now returns True for any array-like object with zero dimensions instead of only those with a weak dtype
- TPU: JAX now installs TPU support from the libtpu package rather than libtpu-nightly
Removed 1
- jax.experimental.host_callback has been removed after deprecation since March 2024
Deprecated 5
- jax.lib.xla_client.FftType has been deprecated
- jax.lib.xla_client.PaddingType has been deprecated
- The default behavior of jax.pure_callback and jax.extend.ffi.ffi_call under vmap and the vectorized parameter have been deprecated in favor of vmap_method
- jax.lib.xla_client.register_custom_call_target has been deprecated in favor of the JAX FFI
- jax.lib.xla_client.dtype_to_etype, jax.lib.xla_client.ops, jax.lib.xla_client.shape_from_pyval, jax.lib.xla_client.PrimitiveType, jax.lib.xla_client.Shape, jax.lib.xla_client.XlaBuilder, and jax.lib.xla_client.XlaComputation have been deprecated in favor of StableHLO
-
Breaking Changes
jax.numpy.isscalarnow returns True for any array-like object with zero dimensions. Previously it only returned True for zero-dimensional array-like objects with a weak dtype.jax.experimental.host_callbackhas been deprecated since March 2024, with JAX version 0.4.26. Now we removed it. See#20385for a discussion of alternatives.
-
Changes:
jax.lax.FftTypewas introduced as a public name for the enum of FFT operations. The semi-public APIjax.lib.xla_client.FftTypehas been deprecated.- TPU: JAX now installs TPU support from the
libtpupackage rather thanlibtpu-nightly. For the next few releases JAX will pin an empty version oflibtpu-nightlyas well aslibtputo ease the transition; that dependency will be removed in Q1 2025.
-
Deprecations:
- The semi-public API
jax.lib.xla_client.PaddingTypehas been deprecated. No JAX APIs consume this type, so there is no replacement. - The default behavior of
jax.pure_callbackandjax.extend.ffi.ffi_callundervmaphas been deprecated and so has thevectorizedparameter to those functions. Thevmap_methodparameter should be used instead for better defined behavior. See the discussion in#23881for more details. - The semi-public API
jax.lib.xla_client.register_custom_call_targethas been deprecated. Use the JAX FFI instead. - The semi-public APIs
jax.lib.xla_client.dtype_to_etype,jax.lib.xla_client.ops,jax.lib.xla_client.shape_from_pyval,jax.lib.xla_client.PrimitiveType,jax.lib.xla_client.Shape,jax.lib.xla_client.XlaBuilder, andjax.lib.xla_client.XlaComputationhave been deprecated. Use StableHLO instead.
- The semi-public API