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 jaxlib requirement from <=0.4.14 to <=0.4.32 in /tests #233

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Sep 12, 2024

Updates the requirements on jaxlib to permit the latest version.

Release notes

Sourced from jaxlib's releases.

Jaxlib release v0.4.32

  • Breaking changes

    • Hermetic CUDA support is added. Hermetic CUDA uses a specific downloadable version of CUDA instead of the user’s locally installed CUDA. Bazel will download CUDA, CUDNN and NCCL distributions, and then use CUDA libraries and tools as dependencies in various Bazel targets. This enables more reproducible builds for JAX and its supported CUDA versions.
  • Changes

    • SparseCore profiling is added.
      • JAX now supports profiling SparseCore on TPUv5p chips. These traces will be viewable in Tensorboard Profiler's TraceViewer.
Changelog

Sourced from jaxlib's changelog.

jax 0.4.32 (September 11, 2024)

  • New Functionality

    • Added {func}jax.extend.ffi.ffi_call and {func}jax.extend.ffi.ffi_lowering to support the use of the new {ref}ffi-tutorial to interface with custom C++ and CUDA code from JAX.
  • Changes

    • jax_pmap_no_rank_reduction flag is set to True by default.
      • array[0] on a pmap result now introduces a reshape (use array[0:1] instead).
      • The per-shard shape (accessable via jax_array.addressable_shards or jax_array.addressable_data(0)) now has a leading (1, ...). Update code that directly accesses shards accordingly. The rank of the per-shard-shape now matches that of the global shape which is the same behavior as jit. This avoids costly reshapes when passing results from pmap into jit.
    • jax_enable_memories flag is set to True by default.
    • {mod}jax.numpy now supports v2023.12 of the Python Array API Standard. See {ref}python-array-api for more information.
    • Computations on the CPU backend may now be dispatched asynchronously in more cases. Previously non-parallel computations were always dispatched synchronously. You can recover the old behavior by setting jax.config.update('jax_cpu_enable_async_dispatch', False).
    • Added new {func}jax.process_indices function to replace the jax.host_ids() function that was deprecated in JAX v0.2.13.
    • To align with the behavior of numpy.fabs, jax.numpy.fabs has been modified to no longer support complex dtypes.
    • jax.tree_util.register_dataclass now checks that data_fields and meta_fields includes all dataclass fields with init=True and only them, if nodetype is a dataclass.
    • Several {mod}jax.numpy functions now have full {class}~jax.numpy.ufunc interfaces, including {obj}~jax.numpy.add, {obj}~jax.numpy.multiply, {obj}~jax.numpy.bitwise_and, {obj}~jax.numpy.bitwise_or, {obj}~jax.numpy.bitwise_xor, {obj}~jax.numpy.logical_and, {obj}~jax.numpy.logical_and, and {obj}~jax.numpy.logical_and. In future releases we plan to expand these to other ufuncs.
    • Added {func}jax.lax.optimization_barrier, which allows users to prevent compiler optimizations such as common-subexpression elimination and to control scheduling.
  • Breaking changes

    • The MHLO MLIR dialect (jax.extend.mlir.mhlo) has been removed. Use the stablehlo dialect instead.
  • Deprecations

    • Complex inputs to {func}jax.numpy.clip and {func}jax.numpy.hypot are no longer allowed, after being deprecated since JAX v0.4.27.
    • Deprecated the following APIs:
      • jax.lib.xla_bridge.xla_client: use {mod}jax.lib.xla_client directly.
      • jax.lib.xla_bridge.get_backend: use {func}jax.extend.backend.get_backend.

... (truncated)

Commits
  • 1594d2f Prepare for v0.4.32 release.
  • ed849ff Make sure to call the superclass' init() on a newly created instance in P...
  • 2bd1fde Relax test tolerance in pinv test to fix a CI failure on Windows CPU.
  • e869a9d Merge pull request #23415 from kaixih:key_value_seq_lengths
  • ea68f45 Internal change
  • 49dd6ed Disable a pallas export compatibility test that fails on TPU v6e.
  • 808003b Update users of jax.tree.map() to be more careful about how they handle Nones.
  • e3c4b20 [Pallas] Implement tiled and swizzled Memref loads for Mosaic GPU via "GPUBlo...
  • c659dc9 [Pallas] Disable win32 gpu_ops_test.
  • 14b8625 Merge pull request #23549 from pschuh:docs-update
  • 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 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)

Updates the requirements on [jaxlib](https://github.com/google/jax) to permit the latest version.
- [Release notes](https://github.com/google/jax/releases)
- [Changelog](https://github.com/google/jax/blob/main/CHANGELOG.md)
- [Commits](jax-ml/jax@jaxlib-v0.1.32...jaxlib-v0.4.32)

---
updated-dependencies:
- dependency-name: jaxlib
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Sep 12, 2024
Copy link
Author

dependabot bot commented on behalf of github Sep 13, 2024

Superseded by #234.

@dependabot dependabot bot closed this Sep 13, 2024
@dependabot dependabot bot deleted the dependabot/pip/tests/jaxlib-lte-0.4.32 branch September 13, 2024 07:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category: dependency_changes dependencies Pull requests that update a dependency file python Pull requests that update Python code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants