Skip to content

build: update torch requirement from <2.9.0,>=2.7.0 to >=2.7.0,<2.12.0#628

Open
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/pip/torch-gte-2.7.0-and-lt-2.12.0
Open

build: update torch requirement from <2.9.0,>=2.7.0 to >=2.7.0,<2.12.0#628
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/pip/torch-gte-2.7.0-and-lt-2.12.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot bot commented on behalf of github Apr 14, 2026

Updates the requirements on torch to permit the latest version.

Release notes

Sourced from torch's releases.

PyTorch 2.11.0 Release Notes

Highlights

For more details about these highlighted features, you can look at the release blogpost. Below are the full release notes for this release.

Backwards Incompatible Changes

Release Engineering

... (truncated)

Changelog

Sourced from torch's changelog.

Releasing PyTorch

Release Compatibility Matrix

Following is the Release Compatibility Matrix for PyTorch releases:

... (truncated)

Commits

@codacy-production
Copy link
Copy Markdown

codacy-production bot commented Apr 14, 2026

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

TIP This summary will be updated as you push new changes. Give us feedback

Copy link
Copy Markdown

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ 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.

Comment thread pyproject.toml
intel = [
"intel-extension-for-pytorch>=2.7.0",
"torch>=2.7.0,<2.9.0",
"torch>=2.7.0,<2.12.0",
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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."

Fix in Cursor Fix in Web

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>
@dependabot dependabot bot force-pushed the dependabot/pip/torch-gte-2.7.0-and-lt-2.12.0 branch from 227ac1a to 4666041 Compare April 16, 2026 13:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants