-
Notifications
You must be signed in to change notification settings - Fork 0
Bump transformers from 4.41.2 to 5.3.0 #20
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
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 |
|---|---|---|
|
|
@@ -53,7 +53,7 @@ install_requires= | |
| scikit-learn~=1.1 | ||
|
|
||
| # Models and Metrics Extras | ||
| transformers~=4.40 # For anthropic_client, vision_language.huggingface_vlm_client, huggingface_client, huggingface_tokenizer, test_openai_token_cost_estimator, model_summac (via summarization_metrics) | ||
| transformers~=5.3 # For anthropic_client, vision_language.huggingface_vlm_client, huggingface_client, huggingface_tokenizer, test_openai_token_cost_estimator, model_summac (via summarization_metrics) | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Transformers 5 needs Python 3.10High Severity
Additional Locations (1)Reviewed by Cursor Bugbot for commit 062b253. Configure here. |
||
| # TODO: Upgrade torch - we need > 2.0.0 for newer versions of transformers | ||
| torch>=1.13.1,<3.0.0 # For huggingface_client, yalm_tokenizer, model_summac (via summarization_metrics) | ||
| torchvision>=0.14.1,<3.0.0 # For huggingface_client, yalm_tokenizer, model_summac (via summarization_metrics) | ||
|
|
||


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.
Stale tokenizers pin conflicts transformers
High Severity
The lockfile bumps
transformersto5.3.0but leavestokenizers==0.19.1, which matched the prior 4.x stack.transformersv5 declares a higher minimumtokenizersversion, sopip install -r requirements.txtorpip checkininstall-dev.shcan fail on Python 3.10.Additional Locations (1)
requirements.txt#L300-L301Reviewed by Cursor Bugbot for commit 062b253. Configure here.