Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

⬆️ Bump jax from 0.4.24 to 0.4.25 #581

Merged
merged 1 commit into from
Feb 27, 2024
Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 27, 2024

Bumps jax from 0.4.24 to 0.4.25.

Changelog

Sourced from jax's changelog.

jax 0.4.25 (Feb 26, 2024)

  • New Features

    • Added CUDA Array Interface import support (requires jaxlib 0.4.24).
    • JAX arrays now support NumPy-style scalar boolean indexing, e.g. x[True] or x[False].
    • Added {mod}jax.tree module, with a more convenient interface for referencing functions in {mod}jax.tree_util.
    • {func}jax.tree.transpose (i.e. {func}jax.tree_util.tree_transpose) now accepts inner_treedef=None, in which case the inner treedef will be automatically inferred.
  • Changes

    • Pallas now uses XLA instead of the Triton Python APIs to compile Triton kernels. You can revert to the old behavior by setting the JAX_TRITON_COMPILE_VIA_XLA environment variable to "0".
    • Several deprecated APIs in {mod}jax.interpreters.xla that were removed in v0.4.24 have been re-added in v0.4.25, including backend_specific_translations, translations, register_translation, xla_destructure, TranslationRule, TranslationContext, and XLAOp. These are still considered deprecated, and will be removed again in the future when better replacements are available. Refer to {jax-issue}[#19816](https://github.com/google/jax/issues/19816) for discussion.
  • Deprecations & Removals

    • {func}jax.numpy.linalg.solve now shows a deprecation warning for batched 1D solves with b.ndim > 1. In the future these will be treated as batched 2D solves.
    • Conversion of a non-scalar array to a Python scalar now raises an error, regardless of the size of the array. Previously a deprecation warning was raised in the case of non-scalar arrays of size 1. This follows a similar deprecation in NumPy.
    • The previously deprecated configuration APIs have been removed following a standard 3 months deprecation cycle (see {ref}api-compatibility). These include
      • the jax.config.config object and
      • the define_*_state and DEFINE_* methods of {data}jax.config.
    • Importing the jax.config submodule via import jax.config is deprecated. To configure JAX use import jax and then reference the config object via jax.config.
    • The minimum jaxlib version is now 0.4.20.

jaxlib 0.4.25 (Feb 26, 2024)

Commits
  • f9e20d5 Start the release of jax and jaxlib 0.4.25
  • f4045dc Remove the deprecation of jax.tree_map for the release of 0.4.25
  • 22996bb Update XLA dependency to use revision
  • 61aa7e8 [Mosaic] Fix bug in divisibility check in infer_vector_layout load and store ...
  • 072b43b Merge pull request #19960 from mattjj:attrs-autodiff
  • b0b88d8 [attrs] add linearize and vjp support
  • ae9d677 Merge pull request #19936 from tillahoffmann:fix-19935
  • e1e9de0 Merge pull request #19499 from nstarman:array_api-broadcast_to-type-hint
  • 75cdef7 [Mosaic][NFC] Prefer mlir aliases for llvm classes/functions within mlir name...
  • 8a43140 [Mosaic][apply_vector_layout][NFC] Use LLVM_UNLIKELY in TPU_ASSERT_* macros
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [jax](https://github.com/google/jax) from 0.4.24 to 0.4.25.
- [Release notes](https://github.com/google/jax/releases)
- [Changelog](https://github.com/google/jax/blob/main/CHANGELOG.md)
- [Commits](jax-ml/jax@jax-v0.4.24...jax-v0.4.25)

---
updated-dependencies:
- dependency-name: jax
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Feb 27, 2024
Copy link

codecov bot commented Feb 27, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 84.47%. Comparing base (44b5154) to head (5c72d71).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #581   +/-   ##
=======================================
  Coverage   84.47%   84.47%           
=======================================
  Files          86       86           
  Lines        7451     7451           
  Branches     1298     1298           
=======================================
  Hits         6294     6294           
  Misses        884      884           
  Partials      273      273           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@dionhaefner dionhaefner merged commit 666bde5 into main Feb 27, 2024
18 checks passed
@dionhaefner dionhaefner deleted the dependabot/pip/jax-0.4.25 branch February 27, 2024 09:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant