Sourced from jax's releases.
JAX v0.4.35
Breaking Changes
jax.numpy.isscalar
now 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_callback
has been deprecated since March 2024, with JAX version 0.4.26. Now we removed it. See[#20385](https://github.com/jax-ml/jax/issues/20385)
for a discussion of alternatives.Changes:
jax.lax.FftType
was introduced as a public name for the enum of FFT operations. The semi-public APIjax.lib.xla_client.FftType
has been deprecated.- TPU: JAX now installs TPU support from the
libtpu
package rather thanlibtpu-nightly
. For the next few releases JAX will pin an empty version oflibtpu-nightly
as well aslibtpu
to ease the transition; that dependency will be removed in Q1 2025.Deprecations:
- The semi-public API
jax.lib.xla_client.PaddingType
has been deprecated. No JAX APIs consume this type, so there is no replacement.- The default behavior of
jax.pure_callback
andjax.extend.ffi.ffi_call
undervmap
has been deprecated and so has thevectorized
parameter to those functions. Thevmap_method
parameter should be used instead for better defined behavior. See the discussion in[#23881](https://github.com/jax-ml/jax/issues/23881)
for more details.- The semi-public API
jax.lib.xla_client.register_custom_call_target
has 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.XlaComputation
have been deprecated. Use StableHLO instead.
Sourced from jax's changelog.
jax 0.4.35
Breaking Changes
- {func}
jax.numpy.isscalar
now 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_callback
has been deprecated since March 2024, with JAX version 0.4.26. Now we removed it. See {jax-issue}[#20385](https://github.com/jax-ml/jax/issues/20385)
for a discussion of alternatives.Changes:
jax.lax.FftType
was introduced as a public name for the enum of FFT operations. The semi-public APIjax.lib.xla_client.FftType
has been deprecated.- TPU: JAX now installs TPU support from the
libtpu
package rather thanlibtpu-nightly
. For the next few releases JAX will pin an empty version oflibtpu-nightly
as well aslibtpu
to ease the transition; that dependency will be removed in Q1 2025.Deprecations:
- The semi-public API
jax.lib.xla_client.PaddingType
has been deprecated. No JAX APIs consume this type, so there is no replacement.- The default behavior of {func}
jax.pure_callback
and {func}jax.extend.ffi.ffi_call
undervmap
has been deprecated and so has thevectorized
parameter to those functions. Thevmap_method
parameter should be used instead for better defined behavior. See the discussion in {jax-issue}[#23881](https://github.com/jax-ml/jax/issues/23881)
for more details.- The semi-public API
jax.lib.xla_client.register_custom_call_target
has 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.XlaComputation
have been deprecated. Use StableHLO instead.
81991d8
JAX release 0.4.35e4f3f8f
Use libtpu releases rather than libtpu-nightly for jax[tpu].1c6b0a9
Merge pull request #24465
from jakevdp:fix-mypy9a2dd19
Merge pull request #21524
from andportnoy:aportnoy/unknown-platform-lowering-...1e41d5e
Merge pull request #24452
from jakevdp:insert-doc1a2737b
Merge pull request #24467
from andportnoy:patch-28498502
fix mypy error92aa9a3
Merge pull request #24463
from jakevdp:ml-dtypes-versionc60bafc
[Pallas TPU] Fix lowering for jnp.remainder
6378984
Add back the import of jtu
in
flash_attention.py