Jax: jax-v0.2.21 Release

Release date:
September 23, 2021
Previous version:
jax-v0.2.20 (released September 3, 2021)
Magnitude:
10,380 Diff Delta
Contributors:
24 total committers
Data confidence:
Commits:

110 Commits in this Release

Ordered by the degree to which they evolved the repo in this version.

Authored September 23, 2021
Authored September 8, 2021
Authored September 8, 2021
Authored September 7, 2021
Authored September 14, 2021
Authored September 12, 2021
Authored September 3, 2021
Authored September 16, 2021
Authored September 8, 2021
Authored September 9, 2021
Authored September 3, 2021
Authored September 16, 2021
Authored September 3, 2021
Authored September 10, 2021

Top Contributors in jax-v0.2.21

hawkinsp
jakevdp
apaszke
sharadmv
gnecula
froystig
yashk2810
jblespiau
cyprienc
wdphy16

Directory Browser for jax-v0.2.21

We haven't yet finished calculating and confirming the files and directories changed in this release. Please check back soon.

Release Notes Published

  • New features:

    • Added jax.numpy.insert implementation (#7936 ).
  • Breaking Changes

    • jax.api has been removed. Functions that were available as jax.api.* were aliases for functions in jax.*; please use the functions in jax.* instead.
    • jax.partial, jax.lax.partial, and jax.util.partial were accidental exports that have now been removed. Use functools.partial from the Python standard library instead.
    • Boolean scalar indices now raise a TypeError; previously this silently returned wrong results (#7925 ).
    • Many more jax.numpy functions now require array-like inputs, and will error if passed a list (#7747 #7802 #7907 ). See #7737 for a discussion of the rationale behind this change.
    • When inside a transformation such as jax.jit, jax.numpy.array always stages the array it produces into the traced computation. Previously jax.numpy.array would sometimes produce a on-device array, even under a jax.jit decorator. This change may break code that used JAX arrays to perform shape or index computations that must be known statically; the workaround is to perform such computations using classic NumPy arrays instead.
    • jnp.ndarray is now a true base-class for JAX arrays. In particular, this means that for a standard numpy array x, isinstance(x, jnp.ndarray) will now return False (#7927).