build: update torch requirement from <2.9.0,>=2.7.0 to >=2.7.0,<2.12.0#628
build: update torch requirement from <2.9.0,>=2.7.0 to >=2.7.0,<2.12.0#628dependabot[bot] wants to merge 1 commit intomainfrom
Conversation
Up to standards ✅🟢 Issues
|
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Comment @cursor review or bugbot run to trigger another review on this PR
Reviewed by Cursor Bugbot for commit 227ac1a. Configure here.
| intel = [ | ||
| "intel-extension-for-pytorch>=2.7.0", | ||
| "torch>=2.7.0,<2.9.0", | ||
| "torch>=2.7.0,<2.12.0", |
There was a problem hiding this comment.
torchvision upper bound not updated alongside torch
Medium Severity
The torch upper bound in the intel extra was widened from <2.9.0 to <2.12.0, but the torchvision constraint was left at <0.24.0. Torch and torchvision are version-locked (torch 2.9→torchvision 0.24, torch 2.10→0.25, torch 2.11→0.26), so torchvision<0.24.0 prevents installing any torch version newer than 2.8. The widened torch range is effectively dead, and the comment explicitly warns that "Intel extension is tightly coupled with the torch version."
Reviewed by Cursor Bugbot for commit 227ac1a. Configure here.
Updates the requirements on [torch](https://github.com/pytorch/pytorch) to permit the latest version. - [Release notes](https://github.com/pytorch/pytorch/releases) - [Changelog](https://github.com/pytorch/pytorch/blob/main/RELEASE.md) - [Commits](https://github.com/pytorch/pytorch/commits/v2.11.0) --- updated-dependencies: - dependency-name: torch dependency-version: 2.11.0 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
227ac1a to
4666041
Compare


Updates the requirements on torch to permit the latest version.
Release notes
Sourced from torch's releases.
... (truncated)
Changelog
Sourced from torch's changelog.
... (truncated)
Commits