-
Notifications
You must be signed in to change notification settings - Fork 310
fix: restrict transformers version to be less than 4.57.7 #258
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -8,7 +8,7 @@ typing-extensions>=4.8.0 | |
| pydantic | ||
| pydantic-settings | ||
| hf-transfer | ||
| transformers>=4.57.0 | ||
| transformers>=4.57.0,<4.57.7 | ||
|
||
| bitsandbytes>=0.45.0 | ||
| kernels | ||
| torch==2.6.0 | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The PR description frames the problem as pip potentially installing
transformers5.x (incompatible with pinnedvllm==0.11.0), but the change pinstransformersto<4.57.7, which is much narrower than needed to avoid 5.x and will block newer 4.x patch/minor releases. If the intent is only to prevent 5.x, consider using an upper bound like<5instead; if4.57.7+is specifically known to break with vLLM 0.11.0, please update the PR description (or add a short comment in requirements) to document why that exact cutoff is required.