deps: Update jax to >=0.7.0,!=0.6.2 #386
Closed
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.0,!=0.6.2->>=0.7.0,!=0.6.2>=0.6.0->>=0.7.0Release Notes
jax-ml/jax (jax)
v0.7.0Compare Source
New features:
jax.Pwhich is an alias forjax.sharding.PartitionSpec.jax.tree.reduce_associative.jax.numpy.ndarray.atindexing methods now support awrap_negative_indicesargument, which defaults to
Trueto match the current behavior ({jax-issue}#29434).Breaking changes:
migration guide
for more information.
implementing linearization via JVP and partial eval).
See migration guide
for more information.
jax.stages.OutInfohas been replaced withjax.ShapeDtypeStruct.jax.jitnow requiresfunto 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_layoutsand.output_layoutshave beenrenamed to
Format,.format,.input_formatsand.output_formatsDeviceLocalLayout,.device_local_layouthave been renamed toLayoutand
.layoutjax.experimental.shardmodule has been deleted and all the APIs have beenmoved to the
jax.shardingendpoint. So usejax.sharding.reshard,jax.sharding.auto_axesandjax.sharding.explicit_axesinstead of theirexperimental endpoints.
lax.infeedandlax.outfeedwere removed, after being deprecated inJAX 0.6. The
transfer_to_infeedandtransfer_from_outfeedmethods werealso removed the
Deviceobjects.jax.extend.core.primitives.pjit_pprimitive has been renamed tojit_p, and itsnameattribute has changed from"pjit"to"jit".This affects the string representations of jaxprs. The same primitive is no
longer exported from the
jax.experimental.pjitmodule.jax.extend.backend.add_clear_backends_callbackhas been removed. Users should use
jax.extend.backend.register_backend_cacheinstead.
out_shardingarg added tox.at[y].setandx.at[y].add. Previousbehavior propagating operand sharding removed. Please use
x.at[y].set/add(z, out_sharding=jax.typeof(x).sharding)to retain previousbehavior if scatter op requires collectives.
Deprecations:
jax.dlpack.SUPPORTED_DTYPESis deprecated; please use the new{func}
jax.dlpack.is_supported_dtypefunction.jax.scipy.special.sph_harmhas been deprecated following a similardeprecation in SciPy; use {func}
jax.scipy.special.sph_harm_yinstead.jax.interpreters.xla, the previously deprecated symbolsabstractifyandpytype_aval_mappingshave been removed.jax.interpreters.xla.canonicalize_dtypeis 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, andtypecheckhave beenremoved.
jax.lib.xla_client, the previously deprecated symbolsDeviceAssignment,get_topology_for_devices, andmlir_api_versionhave been removed.
jax.extend.ffiwas removed after being deprecated in v0.5.0.Use {mod}
jax.ffiinstead.jax.lib.xla_bridge.get_compile_optionsis deprecated, and replaced by{func}
jax.extend.backend.get_compile_options.v0.6.2Compare Source
New features:
jax.tree.broadcastwhich 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: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR was generated by Mend Renovate. View the repository job log.