Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ evaluation = [
# Intel extension is tightly coupled with the torch version
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.

"torchvision>=0.22.0,<0.24.0",
]
kvpress = [
Expand Down
Loading