Skip to content

Upgrading jax 0.7 to 0.8

Breaking0.7.2 → 0.8.3Breaking1Deprecated3New1Changed3Fixed1

BreakingUpgrade verdict

1 breaking change.

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

jax publishes an official migration guide for version 0.8. It covers more than the release notes do.

Migration guide ↗

1 package of its own release moves with it.

Breaking1
Breaking changes.
jax.pmapjax.jitjax.shard_mapauto=jax.experimental.shard_map.shard_map__jax_array__
Deprecated3
Deprecations.
jax.lax.pvaryjax.lax.pcast(..., to='varying')jax.numpy.arangejax.corecall_implget_aval
Deprecations.
jax.sharding.PmapShardingjax.NamedShardingjx.device_put_replicatedjax.device_putjax.device_put_shardedaxis_types
Deprecations.
jax.experimental.enable_x64jax.experimental.disable_x64jax.enable_x64jax.experimental.shard_map.shard_mapjax.shard_mapjax.experimental.pjit.pjit