Skip to content

Upgrading jax 0.6 to 0.7

Breaking0.6.2 → 0.7.2Breaking2Deprecated3New2Changed2Fixed1

BreakingUpgrade verdict

2 breaking changes.

  • Breaking changes.
  • Deprecations.
5 items need code or config changes

jax publishes official migration guides for versions 0.7, 0.7. They cover more than the release notes do.

Migration guide ↗Migration guide ↗

Python requirement changed in 0.7.0: >=3.10 → >=3.11.

1 package of its own release moves with it.

Breaking2
Breaking changes.
jax.dlpack.from_dlpack__dlpack____dlpack_device__
Breaking changes.
jax.stages.OutInfojax.ShapeDtypeStructjax.jitfunLayout.layout
Deprecated3
Deprecations.
enable_xlanative_serializationjax2tf.convertjax_pmap_no_rank_reductionFalseTrue
Deprecations.
jax.lax.zeros_like_arrayjax.numpy.zeros_likejax.experimental.host_callbackDeprecationWarningImportErrorNotImplementedError
Deprecations.
jax.dlpack.SUPPORTED_DTYPESjax.dlpack.is_supported_dtypejax.scipy.special.sph_harmjax.scipy.special.sph_harm_yjax.interpreters.xlaabstractify