Update dependency jaxlib to v0.5.0 #297
Open
+1
−1
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.4.36.dev20241122
->==0.5.0
Release Notes
jax-ml/jax (jaxlib)
v0.5.0
As of this release, JAX now uses
effort-based versioning.
Since this release makes a breaking change to PRNG key semantics that
may require users to update their code, we are bumping the "meso" version of JAX
to signify this.
Breaking changes
Enable
jax_threefry_partitionable
by default (seethe update note).
This release drops support for Mac x86 wheels. Mac ARM of course remains
supported. For a recent discussihttps://github.com/jax-ml/jax/discussions/22936iscussions/22936.
Two key factors motivated this decision:
would prefer to ship no release than a broken release.
developers at this point. So it is difficult for us to fix this kind of
problem even if we wanted to.
We are open to readding support for Mac x86 if the community is willing
to help support that platform: in particular, we would need the JAX test
suite to pass cleanly on Mac x86 before we could ship releases again.
Changes:
supported version until June 2025.
supported version until June 2025.
jax.numpy.einsum
now defaults tooptimize='auto'
rather thanoptimize='optimal'
. This avoids exponentially-scaling trace-time inthe case of many arguments ({jax-issue}
#25214
).jax.numpy.linalg.solve
no longer supports batched 1D argumentson the right hand side. To recover the previous behavior in these cases,
use
solve(a, b[..., None]).squeeze(-1)
.New Features
jax.numpy.fft.fftn
, {func}jax.numpy.fft.rfftn
,{func}
jax.numpy.fft.ifftn
, and {func}jax.numpy.fft.irfftn
now supporttransforms in more than 3 dimensions, which was previously the limit. See
{jax-issue}
#25606
for more details.{func}
jax.ffi.register_ffi_type_id
function..as_text()
method now supports thedebug_info
optionto include debugging information, e.g., source location, in the output.
Deprecations
jax.interpreters.xla
,abstractify
andpytype_aval_mappings
are now deprecated, having been replaced by symbols of the same name
in {mod}
jax.core
.jax.scipy.special.lpmn
and {func}jax.scipy.special.lpmn_values
are deprecated, following their deprecation in SciPy v1.15.0. There are
no plans to replace these deprecated functions with new APIs.
jax.extend.ffi
submodule was moved to {mod}jax.ffi
, and theprevious import path is deprecated.
Deletions
jax_enable_memories
flag has been deleted and the behavior of that flagis on by default.
jax.lib.xla_client
, the previously-deprecatedDevice
andXlaRuntimeError
symbols have been removed; instead usejax.Device
and
jax.errors.JaxRuntimeError
respectively.jax.experimental.array_api
module has been removed after beingdeprecated in JAX v0.4.32. Since that release, {mod}
jax.numpy
supportsthe array API directly.
v0.4.38
Breaking Changes
XlaExecutable.cost_analysis
now returns adict[str, float]
(instead of asingle-element
list[dict[str, float]]
).Changes:
jax.tree.flatten_with_path
andjax.tree.map_with_path
are addedas shortcuts of the corresponding
tree_util
functions.Deprecations
jax.core
namespace have been deprecated.Most were no-ops, were little-used, or can be replaced by APIs of the same
name in {mod}
jax.extend.core
; see the documentation for {mod}jax.extend
for information on the compatibility guarantees of these semi-public extensions.
jax.core
:check_eqn
,check_type
,check_valid_jaxtype
, andnon_negative_dim
.jax.lib.xla_bridge
:xla_client
anddefault_backend
.jax.lib.xla_client
:_xla
andbfloat16
.jax.numpy
:round_
.New Features
jax.export.export
can be used for device-polymorphic export withshardings constructed with {func}
jax.sharding.AbstractMesh
.See the jax.export documentation.
jax.lax.split
. This is a primitive version of{func}
jax.numpy.split
, added because it yields a more compacttranspose during automatic differentiation.
Configuration
📅 Schedule: Branch creation - "after 5am on saturday" (UTC), 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.
To execute skipped test pipelines write comment
/ok-to-test
.This PR has been generated by MintMaker (powered by Renovate Bot).