Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
==0.5.0
->==0.5.1
Release Notes
jax-ml/jax (jax)
v0.5.1
Compare Source
New Features
jax.experimental.custom_dce.custom_dce
decorator to support customizing the behavior of opaque functions under
JAX-level dead code elimination (DCE). See {jax-issue}
#25956
for moredetails.
jax.lax
: {func}jax.lax.reduce_sum
,{func}
jax.lax.reduce_prod
, {func}jax.lax.reduce_max
, {func}jax.lax.reduce_min
,{func}
jax.lax.reduce_and
, {func}jax.lax.reduce_or
, and {func}jax.lax.reduce_xor
.jax.lax.linalg.qr
, and {func}jax.scipy.linalg.qr
, now supportcolumn-pivoting on CPU and GPU. See {jax-issue}
#20282
and{jax-issue}
#25955
for more details.Changes
JAX_CPU_COLLECTIVES_IMPLEMENTATION
andJAX_NUM_CPU_DEVICES
now work asenv vars. Before they could only be specified via jax.config or flags.
JAX_CPU_COLLECTIVES_IMPLEMENTATION
now defaults to'gloo'
, meaningmulti-process CPU communication works out-of-the-box.
jax[tpu]
TPU extra no longer depends on thelibtpu-nightly
package.This package may safely be removed if it is present on your machine; JAX now
uses
libtpu
instead.Deprecations
linear_util.wrap_init
and the constructorcore.Jaxpr
now must take a non-emptycore.DebugInfo
kwarg. Fora limited time, a
DeprecationWarning
is printed ifjax.extend.linear_util.wrap_init
is used without debugging info.A downstream effect of this several other internal functions need debug
info. This change does not affect phttps://github.com/jax-ml/jax/issues/26480/JAX internal functions must take a non-empty
core.DebugInfo
. jax-ml/jax#26480 for more detail.Bug fixes
TPU v5e and newer (from around 17s to around 8s). If not already set, you may
need to enable transparent hugepages in your VM image
(
sudo sh -c 'echo always > /sys/kernel/mm/transparent_hugepage/enabled'
).We hope to improve this further in future releases.
JAX_COMPILATION_CACHE_MAX_SIZE is unset or set to -1, i.e. if the LRU
eviction policy isn't enabled. This should improve performance when using
the cache with large-scale network storage.
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.