Skip to content
Merged
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 requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ modelscope
peft>=0.11,<0.20
safetensors
tqdm
transformers>=4.33,<5.7.0
transformers>=4.33,<5.8.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.

medium

The version constraint transformers>=4.33,<5.8.0 uses an unconventional upper bound. Since transformers is currently in the 4.x series (e.g., 4.44.x), an upper bound of 5.8.0 allows major version 5.0.0, which is likely to introduce breaking changes that the extensive patching in this repository (e.g., in patcher.py) may not support. If the intention is to allow all 4.x versions, <5.0.0 is the standard constraint. Additionally, the specific bump from 5.7.0 to 5.8.0 suggests a possible typo for minor versions (e.g., 4.37.0 to 4.38.0); please verify if the major version 5 was intended.

transformers>=4.33,<5.0.0

Loading