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.21 to <=0.4.23 #12594

Merged
merged 2 commits into from
Jan 16, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 8, 2024

Updates the requirements on jax to permit the latest version.

Changelog

Sourced from jax's changelog.

jax 0.4.23 (Dec 13, 2023)

jaxlib 0.4.23 (Dec 13, 2023)

  • Fixed a bug that caused verbose logging from the GPU compiler during compilation.

jax 0.4.22 (Dec 13, 2023)

  • Deprecations
    • The device_buffer and device_buffers properties of JAX arrays are deprecated. Explicit buffers have been replaced by the more flexible array sharding interface, but the previous outputs can be recovered this way:
      • arr.device_buffer becomes arr.addressable_data(0)
      • arr.device_buffers becomes [x.data for x in arr.addressable_shards]

jaxlib 0.4.22 (Dec 13, 2023)

jax 0.4.21 (Dec 4 2023)

  • New Features

    • Added {obj}jax.nn.squareplus.
  • Changes

    • The minimum jaxlib version is now 0.4.19.
    • Released wheels are built now with clang instead of gcc.
    • Enforce that the device backend has not been initialized prior to calling jax.distributed.initialize().
    • Automate arguments to jax.distributed.initialize() in cloud TPU environments.
  • Deprecations

    • The previously-deprecated sym_pos argument has been removed from {func}jax.scipy.linalg.solve. Use assume_a='pos' instead.
    • Passing None to {func}jax.array or {func}jax.asarray, either directly or within a list or tuple, is deprecated and now raises a {obj}FutureWarning. It currently is converted to NaN, and in the future will raise a {obj}TypeError.
    • Passing the condition, x, and y parameters to jax.numpy.where by keyword arguments has been deprecated, to match numpy.where.
    • Passing arguments to {func}jax.numpy.array_equal and {func}jax.numpy.array_equiv that cannot be converted to a JAX array is deprecated and now raises a {obj}DeprecationWaning. Currently the functions return False, in the future this will raise an exception.
    • The device() method of JAX arrays deprecated. Depending on the context, it may be replaced with one of the following:
      • {meth}jax.Array.devices returns the set of all devices used by the array.
      • {attr}jax.Array.sharding gives the sharding configuration used by the array.

jaxlib 0.4.21 (Dec 4 2023)

  • Changes
    • In preparation for adding distributed CPU support, JAX now treats CPU

... (truncated)

Commits
  • 1c68577 Prepare for emergency jax and jaxlib 0.4.23 release
  • b392622 Add patch to suppress XLA:GPU logging.
  • 25c16c0 Finish jax and jaxlib 0.4.22 release
  • 3380b9f split the random generalized normal test and skip its K-S half
  • 9198174 Merge pull request #18968 from 8bitmp3:update-thinking-in-jax
  • 7edc80d Update thinking-in-jax working-with-pytrees
  • 29ed3cd Merge pull request #18581 from 8bitmp3:jax-docs-thinking-in-jax
  • b52bcc1 Reverts 3c07c10a9a55f9a32390dd10cf3f420bdf3f1ed8
  • a4003bf Upgrade How to think in JAX
  • e888806 Fix the pjit flakey test. The test was weirdly written in the first place. Th...
  • 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)

πŸ› οΈ PR Summary

Made with ❀️ by Ultralytics Actions

🌟 Summary

Adjustments to machine learning model export dependencies for better platform compatibility.

πŸ“Š Key Changes

  • Removed jax and jaxlib dependencies due to compatibility issues with TensorFlow.js.
  • Modified coremltools dependency to exclude Windows, as CoreML is only supported on macOS and Linux.

🎯 Purpose & Impact

  • Improves the compatibility of the model exporting process by ensuring dependencies are aligned with supported platforms.
  • Prevents Windows users from encountering issues when attempting to export models to CoreML format.
  • Overall, streamlines the setup process for developers and reduces potential errors during model conversion, enhancing the user experience across different operating systems. πŸ–₯️🍏🐧

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jan 8, 2024
@dependabot dependabot bot requested a review from glenn-jocher January 8, 2024 04:59
Updates the requirements on [jax](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](google/jax@jaxlib-v0.1.32...jax-v0.4.23)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/pip/jax-lte-0.4.23 branch from 95f35e3 to 3f845cb Compare January 16, 2024 23:02
Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>
@glenn-jocher glenn-jocher merged commit c884662 into master Jan 16, 2024
7 checks passed
@glenn-jocher glenn-jocher deleted the dependabot/pip/jax-lte-0.4.23 branch January 16, 2024 23:04
pleb631 pushed a commit to pleb631/yolov5 that referenced this pull request Jan 17, 2024
* Update jax requirement from <=0.4.21 to <=0.4.23

Updates the requirements on [jax](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](google/jax@jaxlib-v0.1.32...jax-v0.4.23)

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

Signed-off-by: dependabot[bot] <support@github.com>

* Update pyproject.toml

Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
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.

None yet

1 participant