v0.4.38
JAX v0.4.38
Added 2
- Add jax.tree.flatten_with_path and jax.tree.map_with_path as shortcuts of the corresponding tree_util functions
- Add jax.lax.split as a primitive version of jax.numpy.split that yields a more compact transpose during automatic differentiation
Changed 1
- jax.export.export can be used for device-polymorphic export with shardings constructed with jax.sharding.AbstractMesh
Removed 4
- Remove jax.core.check_eqn, jax.core.check_type, jax.core.check_valid_jaxtype, and jax.core.non_negative_dim
- Remove jax.lib.xla_bridge.xla_client and jax.lib.xla_bridge.default_backend
- Remove jax.lib.xla_client._xla and jax.lib.xla_client.bfloat16
- Remove jax.numpy.round_
Deprecated 1
- Deprecate a number of APIs in the internal jax.core namespace
-
Changes:
jax.tree.flatten_with_pathandjax.tree.map_with_pathare added as shortcuts of the correspondingtree_utilfunctions.
-
Deprecations
- a number of APIs in the internal
jax.corenamespace have been deprecated. Most were no-ops, were little-used, or can be replaced by APIs of the same name injax.extend.core; see the documentation for {mod}jax.extendfor information on the compatibility guarantees of these semi-public extensions. - Several previously-deprecated APIs have been removed, including:
- from
jax.core:check_eqn,check_type,check_valid_jaxtype, andnon_negative_dim. - from
jax.lib.xla_bridge:xla_clientanddefault_backend. - from
jax.lib.xla_client:_xlaandbfloat16. - from
jax.numpy:round_.
- from
- a number of APIs in the internal
-
New Features
jax.export.exportcan be used for device-polymorphic export with shardings constructed with {func}jax.sharding.AbstractMesh. See the jax.export documentation.- Added
jax.lax.split. This is a primitive version ofjax.numpy.split, added because it yields a more compact transpose during automatic differentiation.