Skip to content

Upgrading jax 0.3 to 0.4

Breaking0.3.25 → 0.4.38Breaking3Deprecated13New7Changed10Fixed11Other2

Fetching 39 releases from GitHub…17 / 39
BreakingUpgrade verdict

3 breaking changes.

  • Breaking Changes.
  • Breaking changes.
  • Deprecations.
  • Deprecations & removals.
Top 5 of 16 that need code or config changes

Python requirement changed in 0.4.31: >=3.7 → >=3.10.

Adds jaxlib <=0.4.38,>=0.4.38, ml-dtypes >=0.4.0, numpy >=1.26.0, opt-einsum, scipy >=1.11.1.

Installs 5 packages in all (was 0).

Breaking3
Breaking Changes.
post_process_callnew_base_maincustom_bindconfig.jax_data_dependent_tracing_fallbackjax.experimental.jax2tf.convertnative_serialization=False
Breaking Changes.
jax.numpy.isscalarjax.experimental.host_callback
Breaking changes.
jax_pmap_no_rank_reductionTruearray[0]array[0:1]jax_array.addressable_shardsjax_array.addressable_data(0))
Deprecated13
Deprecations.
jax.corejax.extend.corejax.extendcheck_eqncheck_typecheck_valid_jaxtype
Deprecations.
jax.lib.xla_extension.ArrayImpljax.lib.xla_client.ArrayImpljax.Arrayjax.lib.xla_extension.XlaRuntimeErrorjax.errors.JaxRuntimeError
Deprecations.
jax.lib.xla_client.PaddingTypejax.pure_callbackjax.extend.ffi.ffi_callvmapvectorizedvmap_method
Deprecations.
jax.numpy.trim_zerosjax.core.pp_*jax.lib.xla_client.Devicejax.Devicejax.lib.xla_client.XlaRuntimeErrorjax.errors.JaxRuntimeError
Deprecations.
jax.corecanonicalize_shapedimension_as_valuedefinitely_equalsymbolic_equal_dimjax.experimental.jax2tf.convert
Deprecations.
jax.core.pp_*TypeErrorjax.experimental.exportjax.exportxy
Deprecations.
jax.sharding.XLACompatibleShardingjax.sharding.Shardingjax.experimental.Exported.in_shardingsjax.experimental.Exported.in_shardings_hloout_shardingsjax.core
Deprecations & removals.
kindjax.numpy.sortjax.numpy.argsortstable=Truestable=Falseget_compute_capability
Deprecations & Removals.
JAX_TRITON_COMPILE_VIA_XLAjax.numpy.clipaa_mina_maxx
Deprecations & Removals.
jax.tree_mapjax.tree.mapjax.tree_util.tree_mapjax.clear_backendsjax.clear_cachesjax.extend.backend.clear_backends
Deprecations & Removals.
jax.numpy.linalg.solveapi-compatibilityjax.config.configdefine_*_stateDEFINE_*jax.config
Deprecations & Removals.
api-compatibilityjax.coreTracerArrayConversionErrorTracerIntegerConversionErrorUnexpectedTracerErroras_hashable_function
Deprecations.
device_bufferdevice_buffersarr.device_bufferarr.addressable_data(0)arr.device_buffers