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 @@ -154,7 +154,7 @@ dependencies = [
"jaxtyping",
# peft 0.19+ enforces torchao>=0.16 in PEFT (is_torchao_available); keep <0.19 while core torchao stays <0.16.
# https://github.com/huggingface/peft/blob/6d5a6f4f2f902dbf13d21d2661d57c3c05df1dae/src/peft/import_utils.py#L131
"peft>=0.18.0,<0.19.0",
"peft>=0.18.0,<0.20.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.

Peft bump ignores torchao cap

Medium Severity

Widening peft to <0.20.0 allows 0.19.x, which treats torchao below 0.16 as unavailable in PEFT, while dependencies still cap torchao below 0.16. The comment still says to keep peft below 0.19 for that reason but was not updated.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 227ef6d. Configure here.

"trl<=0.21.0",
"termcolor==2.3.0",
]
Expand Down
Loading