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 @@ -140,7 +140,7 @@ dependencies = [
"bitsandbytes; sys_platform != 'darwin' or platform_machine != 'arm64'",
"optimum-quanto>=0.2.5",
"hqq==0.2.7.post1",
"torchao>=0.12.0,<0.16.0", # 0.16.0 breaks diffusers 0.36.0, torch+torch: https://github.com/pytorch/ao/issues/2919#issue-3375688762
"torchao>=0.12.0,<0.18.0", # 0.16.0 breaks diffusers 0.36.0, torch+torch: https://github.com/pytorch/ao/issues/2919#issue-3375688762
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Version bump allows known-broken torchao version

Medium Severity

The upper bound for torchao was raised from <0.16.0 to <0.18.0, but the existing inline comment on the same line explicitly states that 0.16.0 breaks diffusers 0.36.0. Since diffusers>=0.21.4 still permits installing 0.36.0, the previously guarded-against incompatibility is now re-exposed. Either the comment is outdated and the incompatibility was resolved (in which case the comment is misleading), or the constraint genuinely protected against a real breakage that is now allowed again.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 588052f. Configure here.

"gliner; python_version >= '3.11'",
"piq",
"opencv-python",
Expand Down
Loading