Skip to content

Update jax requirement from <0.2.23,>=0.2.21 to >=0.2.21,<0.2.25

Created by: dependabot[bot]

Updates the requirements on jax to permit the latest version.

Release notes

Sourced from jax's releases.

Jax release v0.2.24

  • New features:
    • jax.random.choice and jax.random.permutation now support multidimensional arrays and an optional axis argument (#8158)
  • Breaking changes:
    • jax.numpy.take and jax.numpy.take_along_axis now require array-like inputs (see #7737)
Changelog

Sourced from jax's changelog.

jax 0.2.24 (Oct 19, 2021)

  • GitHub commits.

  • New features:

    • jax.random.choice and jax.random.permutation now support multidimensional arrays and an optional axis argument ({jax-issue}[#8158](https://github.com/google/jax/issues/8158))
  • Breaking changes:

    • jax.numpy.take and jax.numpy.take_along_axis now require array-like inputs (see {jax-issue}[#7737](https://github.com/google/jax/issues/7737))

jaxlib 0.1.73 (Oct 18, 2021)

  • Multiple cuDNN versions are now supported for jaxlib GPU cuda11 wheels.

    • cuDNN 8.2 or newer. We recommend using the cuDNN 8.2 wheel if your cuDNN installation is new enough, since it supports additional functionality.
    • cuDNN 8.0.5 or newer.
  • Breaking changes:

    • The install commands for GPU jaxlib are as follows:

      pip install --upgrade pip
      Installs the wheel compatible with CUDA 11 and cuDNN 8.2 or newer.
      pip install --upgrade "jax[cuda]" -f https://storage.googleapis.com/jax-releases/jax_releases.html
      Installs the wheel compatible with Cuda 11 and cudnn 8.2 or newer.
      pip install jax[cuda11_cudnn82] -f https://storage.googleapis.com/jax-releases/jax_releases.html
      Installs the wheel compatible with Cuda 11 and cudnn 8.0.5 or newer.
      pip install jax[cuda11_cudnn805] -f https://storage.googleapis.com/jax-releases/jax_releases.html

jax 0.2.22 (Oct 12, 2021)

  • GitHub commits.
  • Breaking Changes
    • Static arguments to jax.pmap must now be hashable.

      Unhashable static arguments have long been disallowed on jax.jit, but they were still permitted on jax.pmap; jax.pmap compared unhashable static arguments using object identity.

      This behavior is a footgun, since comparing arguments using object identity leads to recompilation each time the object identity changes. Instead, we now ban unhashable arguments: if a user of jax.pmap wants to compare static arguments by object identity, they can define __hash__ and __eq__ methods on their objects that do that, or wrap their objects in an object that has those operations with object identity

... (truncated)

Commits
  • a7c9b6d Update jax version number for jax release.
  • 185d7a9 Delete xla_bridge.xla.dtype_to_etype, replace it with jax.interpreters.xla.dt...
  • ee752b3 Use cuda11_cudnn82 instead of cuda=11,cudnn=82 because the latter one is ...
  • a91cb81 Merge pull request #8269 from jakevdp:sparse-dtype
  • 4d8bce1 Add a default cuda installation path and more explicit installation paths for...
  • 6bd0c72 Silence some pytype errors.
  • fa89f34 [JAX] Port lax translation rules to updated XLA translation rule API.
  • fa5d4a2 Merge pull request #8268 from jakevdp:sparsify-weak-types
  • fbdeff0 Update the workspace file
  • 48bbdbc Change jax.core.DropVar to be a non-singleton.
  • 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 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)

Merge request reports