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

Update jax requirement from !=0.4.36,<=0.4.37,>=0.4.24 to >=0.4.24,!=0.4.36,<=0.4.38 in the jax group #1492

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 23, 2024

Updates the requirements on jax to permit the latest version.
Updates jax to 0.4.38

Release notes

Sourced from jax's releases.

JAX v0.4.38

  • Changes:

    • jax.tree.flatten_with_path and jax.tree.map_with_path are added as shortcuts of the corresponding tree_util functions.
  • Deprecations

    • a number of APIs in the internal jax.core namespace have been deprecated. Most were no-ops, were little-used, or can be replaced by APIs of the same name in jax.extend.core; see the documentation for {mod}jax.extend for information on the compatibility guarantees of these semi-public extensions.
    • Several previously-deprecated APIs have been removed, including:
      • from jax.core: check_eqn, check_type, check_valid_jaxtype, and non_negative_dim.
      • from jax.lib.xla_bridge: xla_client and default_backend.
      • from jax.lib.xla_client: _xla and bfloat16.
      • from jax.numpy: round_.
  • New Features

    • jax.export.export can be used for device-polymorphic export with shardings constructed with {func}jax.sharding.AbstractMesh. See the jax.export documentation.
    • Added jax.lax.split. This is a primitive version of jax.numpy.split, added because it yields a more compact transpose during automatic differentiation.
Changelog

Sourced from jax's changelog.

jax 0.4.38 (Dec 17, 2024)

  • Changes:

    • jax.tree.flatten_with_path and jax.tree.map_with_path are added as shortcuts of the corresponding tree_util functions.
  • Deprecations

    • a number of APIs in the internal 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.
    • Several previously-deprecated APIs have been removed, including:
      • from {mod}jax.core: check_eqn, check_type, check_valid_jaxtype, and non_negative_dim.
      • from {mod}jax.lib.xla_bridge: xla_client and default_backend.
      • from {mod}jax.lib.xla_client: _xla and bfloat16.
      • from {mod}jax.numpy: round_.
  • New Features

    • {func}jax.export.export can be used for device-polymorphic export with shardings constructed with {func}jax.sharding.AbstractMesh. See the jax.export documentation.
    • Added {func}jax.lax.split. This is a primitive version of {func}jax.numpy.split, added because it yields a more compact transpose during automatic differentiation.

jax 0.4.37 (Dec 9, 2024)

This is a patch release of jax 0.4.36. Only "jax" was released at this version.

  • Bug fixes
    • Fixed a bug where jit would error if an argument was named f (#25329).
    • Fix a bug that will throw index out of range error in {func}jax.lax.while_loop if the user register pytree node class with different aux data for the flatten and flatten_with_path.
    • Pinned a new libtpu release (0.0.6) that fixes a compiler bug on TPU v6e.

jax 0.4.36 (Dec 5, 2024)

  • Breaking Changes
    • This release lands "stackless", an internal change to JAX's tracing machinery. We made trace dispatch purely a function of context rather than a function of both context and data. This let us delete a lot of machinery for managing data-dependent tracing: levels, sublevels, post_process_call, new_base_main, custom_bind, and so on. The change should only affect users that use JAX internals.

      If you do use JAX internals then you may need to update your code (see jax-ml/jax@c36e1f7

... (truncated)

Commits
  • c4e3f5a Release v0.4.38
  • 0fa5419 Merge pull request #25456 from jakevdp:xla-abstractify
  • 7fe2579 Update XLA dependency to use revision
  • 7bbba40 Merge pull request #25473 from adamjstewart:build/no-git
  • 7de9eb2 Reverts 525b646c0ebd5205f4fa0639c94adb2de47e1cf0
  • 4911a39 [Mosaic TPU] Add support for the interleaved pack format to tpu.unpack_subele...
  • 36b12d5 [Mosaic GPU] Add end-to-end lowering example for a pointwise kernel using the...
  • 2c722d9 Cleanup: toward merging core.concrete_aval & xla.abstractify
  • 473e2bf Put abstract_mesh on every eqn so that we can preserve it during eval_jaxpr...
  • e1f037b Reduce the max_examples for splash attention tests
  • Additional commits viewable in compare view

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 <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

@dependabot dependabot bot added dependencies Issue related to libraries we depend on and how we interface with them python Pull requests that update Python code labels Dec 23, 2024
Copy link

codecov bot commented Dec 23, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.60%. Comparing base (9998c7c) to head (6c73a84).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1492      +/-   ##
==========================================
- Coverage   95.60%   95.60%   -0.01%     
==========================================
  Files          98       98              
  Lines       25417    25417              
==========================================
- Hits        24301    24300       -1     
- Misses       1116     1117       +1     

see 3 files with indirect coverage changes

Copy link
Contributor

github-actions bot commented Dec 23, 2024

|             benchmark_name             |         dt(%)          |         dt(s)          |        t_new(s)        |        t_old(s)        | 
| -------------------------------------- | ---------------------- | ---------------------- | ---------------------- | ---------------------- |
 test_build_transform_fft_lowres         |     -2.52 +/- 7.18     | -1.36e-02 +/- 3.88e-02 |  5.27e-01 +/- 1.8e-02  |  5.41e-01 +/- 3.4e-02  |
 test_equilibrium_init_medres            |     -1.53 +/- 2.00     | -6.42e-02 +/- 8.41e-02 |  4.14e+00 +/- 3.1e-02  |  4.20e+00 +/- 7.8e-02  |
 test_equilibrium_init_highres           |     -0.32 +/- 1.32     | -1.73e-02 +/- 7.20e-02 |  5.42e+00 +/- 5.4e-02  |  5.44e+00 +/- 4.8e-02  |
 test_objective_compile_dshape_current   |     -0.77 +/- 1.13     | -3.03e-02 +/- 4.45e-02 |  3.92e+00 +/- 2.7e-02  |  3.95e+00 +/- 3.5e-02  |
 test_objective_compute_dshape_current   |     +0.64 +/- 1.73     | +3.29e-05 +/- 8.92e-05 |  5.19e-03 +/- 7.1e-05  |  5.16e-03 +/- 5.4e-05  |
 test_objective_jac_dshape_current       |     +1.57 +/- 5.63     | +6.54e-04 +/- 2.35e-03 |  4.24e-02 +/- 1.9e-03  |  4.17e-02 +/- 1.3e-03  |
 test_perturb_2                          |     -0.34 +/- 2.46     | -6.81e-02 +/- 4.88e-01 |  1.98e+01 +/- 3.7e-01  |  1.98e+01 +/- 3.2e-01  |
 test_proximal_freeb_jac                 |     +0.55 +/- 0.98     | +4.08e-02 +/- 7.22e-02 |  7.41e+00 +/- 5.4e-02  |  7.37e+00 +/- 4.8e-02  |
 test_solve_fixed_iter                   |     +0.75 +/- 2.67     | +2.40e-01 +/- 8.54e-01 |  3.22e+01 +/- 7.2e-01  |  3.19e+01 +/- 4.6e-01  |
 test_LinearConstraintProjection_build   |     +4.76 +/- 6.22     | +4.91e-01 +/- 6.40e-01 |  1.08e+01 +/- 6.1e-01  |  1.03e+01 +/- 1.9e-01  |
 test_build_transform_fft_midres         |     -2.75 +/- 5.59     | -1.79e-02 +/- 3.64e-02 |  6.34e-01 +/- 3.1e-02  |  6.52e-01 +/- 1.9e-02  |
 test_build_transform_fft_highres        |     +0.16 +/- 3.59     | +1.64e-03 +/- 3.64e-02 |  1.02e+00 +/- 2.9e-02  |  1.01e+00 +/- 2.1e-02  |
 test_equilibrium_init_lowres            |     +4.22 +/- 4.07     | +1.72e-01 +/- 1.66e-01 |  4.24e+00 +/- 1.3e-01  |  4.07e+00 +/- 1.0e-01  |
 test_objective_compile_atf              |     -1.35 +/- 2.53     | -1.14e-01 +/- 2.14e-01 |  8.34e+00 +/- 1.1e-01  |  8.45e+00 +/- 1.9e-01  |
 test_objective_compute_atf              |     +3.77 +/- 10.18    | +6.36e-04 +/- 1.72e-03 |  1.75e-02 +/- 8.1e-04  |  1.69e-02 +/- 1.5e-03  |
 test_objective_jac_atf                  |     -0.17 +/- 2.12     | -3.50e-03 +/- 4.27e-02 |  2.01e+00 +/- 3.6e-02  |  2.01e+00 +/- 2.2e-02  |
 test_perturb_1                          |     -2.55 +/- 2.56     | -4.01e-01 +/- 4.03e-01 |  1.53e+01 +/- 2.4e-01  |  1.57e+01 +/- 3.2e-01  |
 test_proximal_jac_atf                   |     -0.02 +/- 0.66     | -1.37e-03 +/- 5.55e-02 |  8.36e+00 +/- 4.8e-02  |  8.36e+00 +/- 2.7e-02  |
 test_proximal_freeb_compute             |     -0.15 +/- 1.29     | -3.01e-04 +/- 2.61e-03 |  2.03e-01 +/- 1.9e-03  |  2.03e-01 +/- 1.8e-03  |
 test_solve_fixed_iter_compiled          |     +0.62 +/- 0.81     | +1.30e-01 +/- 1.71e-01 |  2.11e+01 +/- 1.4e-01  |  2.10e+01 +/- 1.0e-01  |

@YigitElma YigitElma added the skip_changelog No need to update changelog on this PR label Dec 23, 2024
Updates the requirements on [jax](https://github.com/jax-ml/jax) to permit the latest version.

Updates `jax` to 0.4.38
- [Release notes](https://github.com/jax-ml/jax/releases)
- [Changelog](https://github.com/jax-ml/jax/blob/main/CHANGELOG.md)
- [Commits](jax-ml/jax@jax-v0.4.24...jax-v0.4.38)

---
updated-dependencies:
- dependency-name: jax
  dependency-type: direct:production
  dependency-group: jax
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/pip/jax-3ff21b449c branch from 6eaa438 to 6c73a84 Compare December 23, 2024 21:55
@YigitElma YigitElma requested review from a team, rahulgaur104, f0uriest, ddudt, dpanici, kianorr, sinaatalay and unalmis and removed request for a team December 23, 2024 21:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Issue related to libraries we depend on and how we interface with them python Pull requests that update Python code skip_changelog No need to update changelog on this PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant