asmith26 / jax_toolkit

A collection of jax functions to help with common machine/deep learning related functionality.
https://asmith26.github.io/jax_toolkit/
Apache License 2.0
5 stars 0 forks source link

Bump jax from 0.2.8 to 0.3.4 #277

Closed dependabot[bot] closed 2 years ago

dependabot[bot] commented 2 years ago

Bumps jax from 0.2.8 to 0.3.4.

Release notes

Sourced from jax's releases.

JAX release v0.3.4

Fix a bug introduced in #9923.

JAX release v0.3.3

Jax release v0.3.1

  • Changes:
    • jax.test_util.JaxTestCase and jax.test_util.JaxTestLoader are now deprecated. The suggested replacement is to use parametrized.TestCase directly. For tests that rely on custom asserts such as JaxTestCase.assertAllClose(), the suggested replacement is to use standard numpy testing utilities such as numpy.testing.assert_allclose(), which work directly with JAX arrays (#9620 ).
    • jax.test_util.JaxTestCase now sets jax_numpy_rank_promotion='raise' by default (#9562 ). To recover the previous behavior, use the new jax.test_util.with_config decorator:
      @jtu.with_config(jax_numpy_rank_promotion='allow')
      class MyTestCase(jtu.JaxTestCase):
        ...
      
    • Added jax.scipy.linalg.schur, jax.scipy.linalg.sqrtm, jax.scipy.signal.csd, jax.scipy.signal.stft, jax.scipy.signal.welch.

Jax release v0.3.0

  • Changes
    • jax version has been bumped to 0.3.0. Please see the design doc for the explanation.

Jaxlib release v0.3.0

  • Changes
    • Bazel 5.0.0 is now required to build jaxlib.
    • jaxlib version has been bumped to 0.3.0. Please see the design doc for the explanation.

JAX release v0.2.28

  • GitHub commits.
    • jax.jit(f).lower(...).compiler_ir() now defaults to the MHLO dialect if no dialect= is passed.
    • The jax.jit(f).lower(...).compiler_ir(dialect='mhlo') now returns an MLIR ir.Module object instead of its string representation.

JAX release v0.2.27

  • GitHub commits.

  • Breaking changes:

    • Support for NumPy 1.18 has been dropped, per the [deprecation policy](https://jax.readthedocs.io/en/latest/ deprecation.html). Please upgrade to a supported NumPy version.
    • The host_callback primitives have been simplified to drop the special autodiff handling for hcb.id_tap and id_print. From now on, only the primals are tapped. The old behavior can be obtained (for a limited time) by setting the JAX_HOST_CALLBACK_AD_TRANSFORMS environment variable, or the --flax_host_callback_ad_transforms flag. Additionally, added documentation for how to implement the old behavior using JAX custom AD APIs ({jax-issue}[#8678](https://github.com/google/jax/issues/8678)).
    • Sorting now matches the behavior of NumPy for 0.0 and NaN regardless of the bit representation. In particular, 0.0 and -0.0 are now treated as equivalent, where previously -0.0 was treated as less than 0.0. Additionally all NaN representations are now treated as equivalent and sorted to the end of the array. Previously negative NaN values were sorted to the front of the array, and NaN values with different internal bit representations were not treated as equivalent, and were sorted according to those bit patterns ({jax- issue}[#9178](https://github.com/google/jax/issues/9178)).

... (truncated)

Changelog

Sourced from jax's changelog.

jax 0.3.4 (Unreleased)

jaxlib 0.3.3 (Unreleased)

jax 0.3.4 (March 18, 2022)

jax 0.3.3 (March 17, 2022)

jax 0.3.2 (March 16, 2022)

  • GitHub commits.
  • Changes:
    • The functions jax.ops.index_update, jax.ops.index_add, which were deprecated in 0.2.22, have been removed. Please use the .at property on JAX arrays instead, e.g., x.at[idx].set(y).
    • Moved jax.experimental.ann.approx_*_k into jax.lax. These functions are optimized alternatives to jax.lax.top_k.
    • {func}jax.numpy.broadcast_arrays and {func}jax.numpy.broadcast_to now require scalar or array-like inputs, and will fail if they are passed lists (part of {jax-issue}[#7737](https://github.com/google/jax/issues/7737)).
    • The standard jax[tpu] install can now be used with Cloud TPU v4 VMs.
    • pjit now works on CPU (in addition to previous TPU and GPU support).

jaxlib 0.3.2 (March 16, 2022)

  • Changes
    • XlaComputation.as_hlo_text() now supports printing large constants by passing boolean flag print_large_constants=True.
  • Deprecations:
    • The .block_host_until_ready() method on JAX arrays has been deprecated. Use .block_until_ready() instead.

jax 0.3.1 (Feb 18, 2022)

  • GitHub commits.

  • Changes:

    • jax.test_util.JaxTestCase and jax.test_util.JaxTestLoader are now deprecated. The suggested replacement is to use parametrized.TestCase directly. For tests that rely on custom asserts such as JaxTestCase.assertAllClose(), the suggested replacement is to use standard numpy testing utilities such as {func}numpy.testing.assert_allclose(), which work directly with JAX arrays ({jax-issue}[#9620](https://github.com/google/jax/issues/9620)).

... (truncated)

Commits
  • b4f47c4 Merge pull request #9959 from mattjj:fix-9923
  • d60d5d7 fix typo in #9923
  • e9f59ae Merge pull request #9955 from nicholasjng:add-itemsize
  • 9e149bb Add itemsize property to JAX arrays
  • 6cd9804 Replace (deprecated) StrEnumAttr with EnumAttr.
  • 1f95273 Merge pull request #9950 from froystig:wrapped
  • 4b81311 Internal change
  • e04ea89 introduce a protocol for compilation wrappers
  • f73a488 Merge pull request #9948 from froystig:xmap-api-boundary
  • a6841a9 mark xmap as an API boundary; filter experimental.maps from tracebacks an...
  • 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 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)
dependabot[bot] commented 2 years ago

Superseded by #285.