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 tensorflow requirement from <=2.13.1 to <=2.15.0.post1 #12595

Closed
wants to merge 3 commits into from

Conversation

dependabot[bot]
Copy link
Contributor

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

Updates the requirements on tensorflow to permit the latest version.

Changelog

Sourced from tensorflow's changelog.

Release 2.15.0.post1

TensorFlow

Bug Fixes and Other Changes

  • Hot-fix was needed for an issue affecting the TensorFlow installation process.
    • TensorFlow 2.15.0 Python package was requesting tensorrt-related packages that cannot be found unless the user installs them beforehand or provides additional installation flags.
    • This dependency affected anyone installing TensorFlow 2.15 alongside NVIDIA CUDA dependencies via pip install tensorflow[and-cuda].
    • Depending on the installation method, TensorFlow 2.14 would be installed instead of 2.15, or users could receive an installation error due to those missing dependencies.
  • TensorFlow 2.15.0.post1 is being released for Linux x86_64 to resolve this issue as quickly as possible.
    • This version removes the tensorrt Python package dependencies from the tensorflow[and-cuda] installation method to ensure pip install tensorflow[and-cuda] works as originally intended for TensorFlow 2.15.
    • Support for TensorRT is otherwise unaffected as long as TensorRT is already installed on the system.
  • Using .post1 instead of a full minor release allowed us to push this release out quickly. However, please note the following caveat:
    • For users wishing to pin their Python dependency in a requirements file or other situation, under Python's version specification rules, tensorflow[and-cuda]==2.15.0 will not install this fixed version. Please use ==2.15.0.post1 to specify this exact version on Linux platforms, or a fuzzy version specification, such as ==2.15.*, to specify the most recent compatible version of TensorFlow 2.15 on all platforms.

Release 2.15.0

TensorFlow

Breaking Changes

  • tf.types.experimental.GenericFunction has been renamed to tf.types.experimental.PolymorphicFunction.

Known Caveats

Major Features and Improvements

... (truncated)

Commits

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

πŸ“Š Key Changes

  • Updated the maximum version requirement for TensorFlow from 2.13.1 to 2.15.0.post1 in the pyproject.toml file.

🎯 Purpose & Impact

  • The purpose of this update is to allow Ultralytics' YOLOv5 to be compatible with newer versions of TensorFlow, potentially providing users with improvements and bug fixes from the latest TensorFlow releases.
  • This change opens the door for enhancements that may come with TensorFlow versions between 2.13.1 and 2.15.0.post1, which could include performance optimizations, new features, or security patches.
  • Users might experience improved functionality or encounter fewer bugs when using YOLOv5 with TensorFlow.

🌟 Summary

The update expands TensorFlow compatibility for YOLOv5, fostering better performance and stability. πŸ†™βœ¨

@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
@dependabot dependabot bot force-pushed the dependabot/pip/tensorflow-lte-2.15.0.post1 branch from 40f3124 to 8587705 Compare January 16, 2024 23:02
Updates the requirements on [tensorflow](https://github.com/tensorflow/tensorflow) to permit the latest version.
- [Release notes](https://github.com/tensorflow/tensorflow/releases)
- [Changelog](https://github.com/tensorflow/tensorflow/blob/master/RELEASE.md)
- [Commits](https://github.com/tensorflow/tensorflow/commits)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/pip/tensorflow-lte-2.15.0.post1 branch from 8587705 to 4831329 Compare January 16, 2024 23:05
Copy link
Contributor Author

dependabot bot commented on behalf of github Mar 10, 2024

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@glenn-jocher glenn-jocher deleted the dependabot/pip/tensorflow-lte-2.15.0.post1 branch March 10, 2024 12:27
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