Update dependency jax to v0.7.0 #400
Open
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.6.1
->==0.7.0
Release Notes
jax-ml/jax (jax)
v0.7.0
Compare Source
New features:
jax.P
which is an alias forjax.sharding.PartitionSpec
.jax.tree.reduce_associative
.Breaking changes:
migration guide
for more information.
implementing linearization via JVP and partial eval).
See migration guide
for more information.
jax.stages.OutInfo
has been replaced withjax.ShapeDtypeStruct
.jax.jit
now requiresfun
to be passed by position, and additionalarguments to be passed by keyword. Doing otherwise will result in an error
starting in v0.7.x. This raised a DeprecationWarning in v0.6.x.
supported version until July 2026.
Layout
,.layout
,.input_layouts
and.output_layouts
have beenrenamed to
Format
,.format
,.input_formats
and.output_formats
DeviceLocalLayout
,.device_local_layout
have been renamed toLayout
and
.layout
jax.experimental.shard
module has been deleted and all the APIs have beenmoved to the
jax.sharding
endpoint. So usejax.sharding.reshard
,jax.sharding.auto_axes
andjax.sharding.explicit_axes
instead of theirexperimental endpoints.
lax.infeed
andlax.outfeed
were removed, after being deprecated inJAX 0.6. The
transfer_to_infeed
andtransfer_from_outfeed
methods werealso removed the
Device
objects.jax.extend.core.primitives.pjit_p
primitive has been renamed tojit_p
, and itsname
attribute has changed from"pjit"
to"jit"
.This affects the string representations of jaxprs. The same primitive is no
longer exported from the
jax.experimental.pjit
module.jax.extend.backend.add_clear_backends_callback
has been removed. Users should use
jax.extend.backend.register_backend_cache
instead.
Deprecations:
jax.dlpack.SUPPORTED_DTYPES
is deprecated; please use the new{func}
jax.dlpack.is_supported_dtype
function.jax.scipy.special.sph_harm
has been deprecated following a similardeprecation in SciPy; use {func}
jax.scipy.special.sph_harm_y
instead.jax.interpreters.xla
, the previously deprecated symbolsabstractify
andpytype_aval_mappings
have been removed.jax.interpreters.xla.canonicalize_dtype
is deprecated. Forcanonicalizing dtypes, prefer {func}
jax.dtypes.canonicalize_dtype
.For checking whether an object is a valid jax input, prefer
{func}
jax.core.valid_jaxtype
.jax.core
, the previously deprecated symbolsAxisName
,ConcretizationTypeError
,axis_frame
,call_p
,closed_call_p
,get_type
,trace_state_clean
,typematch
, andtypecheck
have beenremoved.
jax.lib.xla_client
, the previously deprecated symbolsDeviceAssignment
,get_topology_for_devices
, andmlir_api_version
have been removed.
jax.extend.ffi
was removed after being deprecated in v0.5.0.Use {mod}
jax.ffi
instead.jax.lib.xla_bridge.get_compile_options
is deprecated, and replaced by{func}
jax.extend.backend.get_compile_options
.v0.6.2
Compare Source
New features:
jax.tree.broadcast
which implements a pytree prefix broadcasting helper.Changes
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.