Skip to content

Releases: google/jax

Jaxlib release v0.3.0

10 Feb 20:07
Compare
Choose a tag to compare
  • Changes
    • Bazel 5.0.0 is now required to build jaxlib.
    • jaxlib version has been bumped to 0.3.0. Please see the design doc
      for the explanation.

Jax release v0.3.0

10 Feb 20:07
Compare
Choose a tag to compare
  • Changes
    • jax version has been bumped to 0.3.0. Please see the design doc
      for the explanation.

JAX release v0.2.28

02 Feb 01:55
Compare
Choose a tag to compare
  • GitHub commits.
    • jax.jit(f).lower(...).compiler_ir() now defaults to the MHLO dialect if no
      dialect= is passed.
    • The jax.jit(f).lower(...).compiler_ir(dialect='mhlo') now returns an MLIR
      ir.Module object instead of its string representation.

Jaxlib v0.1.76

28 Jan 15:22
Compare
Choose a tag to compare
  • New features
    • Includes precompiled SASS for NVidia compute capability 8.0 GPUS
      (e.g. A100). Removes precompiled SASS for compute capability 6.1 so as not
      to increase the number of compute capabilities: GPUs with compute capability
      6.1 can use the 6.0 SASS.
    • With jaxlib 0.1.76, JAX uses the MHLO MLIR dialect as its primary target compiler IR
      by default.
  • Breaking changes
    • Support for NumPy 1.18 has been dropped, per the deprecation policy.
      Please upgrade to a supported NumPy version.
  • Bug fixes
    • Fixed a bug where apparently identical pytreedef objects constructed by different routes
      do not compare as equal (#9066).
    • The JAX jit cache requires two static arguments to have identical types for a cache hit (#9311).

JAX release v0.2.27

18 Jan 19:31
Compare
Choose a tag to compare
  • GitHub commits.

  • Breaking changes:

    • Support for NumPy 1.18 has been dropped, per the [deprecation policy](https://jax.readthedocs.io/en/latest/ deprecation.html). Please upgrade to a supported NumPy version.
    • The host_callback primitives have been simplified to drop the special autodiff handling for hcb.id_tap and id_print. From now on, only the primals are tapped. The old behavior can be obtained (for a limited time) by setting the JAX_HOST_CALLBACK_AD_TRANSFORMS environment variable, or the --flax_host_callback_ad_transforms flag. Additionally, added documentation for how to implement the old behavior using JAX custom AD APIs ({jax-issue}#8678).
    • Sorting now matches the behavior of NumPy for 0.0 and NaN regardless of the bit representation. In particular, 0.0 and -0.0 are now treated as equivalent, where previously -0.0 was treated as less than 0.0. Additionally all NaN representations are now treated as equivalent and sorted to the end of the array. Previously negative NaN values were sorted to the front of the array, and NaN values with different internal bit representations were not treated as equivalent, and were sorted according to those bit patterns ({jax- issue}#9178).
    • {func}jax.numpy.unique now treats NaN values in the same way as np.unique in NumPy versions 1.21 and newer: at most one NaN value will appear in the uniquified output ({jax-issue}9184).
  • Bug fixes:

    • host_callback now supports ad_checkpoint.checkpoint ({jax-issue}#8907).
  • New features:

    • add jax.block_until_ready ({jax-issue}`#8941)
    • Added a new debugging flag/environment variable JAX_DUMP_IR_TO=/path. If set, JAX dumps the MHLO/HLO IR it generates for each computation to a file under the given path.
    • Added jax.ensure_compile_time_eval to the public api ({jax-issue}#7987).
    • jax2tf now supports a flag jax2tf_associative_scan_reductions to change the lowering for associative reductions, e.g., jnp.cumsum, to behave like JAX on CPU and GPU (to use an associative scan). See the jax2tf README for more details ({jax-issue}#9189).

JAX release v0.2.26

08 Dec 19:20
Compare
Choose a tag to compare
  • Bug fixes:

  • Out-of-bounds indices to jax.ops.segment_sum will now be handled with FILL_OR_DROP semantics, as documented. This primarily afects the reverse-mode derivative, where gradients corresponding to out-of-bounds indices will now be returned as 0. (#8634).

  • jax2tf will force the converted code to use XLA for the code fragments under jax.jit, e.g., most jax.numpy functions (#7839).

Jaxlib release v0.1.75

07 Dec 15:13
Compare
Choose a tag to compare
  • New features:
    • Support for python 3.10.

Jaxlib release v0.1.74

16 Nov 20:13
Compare
Choose a tag to compare
jaxlib-v0.1.74

Jaxlib v0.1.74

JAX release v0.2.25

10 Nov 22:26
Compare
Choose a tag to compare
  • New features:

    • (Experimental) jax.distributed.initialize exposes multi-host GPU backend.
    • jax.random.permutation supports new independent keyword argument
      ({jax-issue}#8430)
  • Breaking changes

    • Moved jax.experimental.stax to jax.example_libraries.stax
    • Moved jax.experimental.optimizers to jax.example_libraries.optimizers
  • New features:

    • Added jax.lax.linalg.qdwh.

Jax release v0.2.24

19 Oct 15:06
Compare
Choose a tag to compare
  • New features:
    • jax.random.choice and jax.random.permutation now support
      multidimensional arrays and an optional axis argument (#8158)
  • Breaking changes:
    • jax.numpy.take and jax.numpy.take_along_axis now require array-like inputs
      (see #7737)