Skip to content
Open
Show file tree
Hide file tree
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 @@ -307,7 +307,7 @@ torch-fidelity==0.3.0
torchmetrics==0.11.4
torchvision~=0.16.2
tqdm==4.66.4
transformers==4.41.2
transformers==5.5.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.

Stale hub pin breaks install

High Severity

Bumping transformers to 5.5.0 while huggingface-hub stays at 0.23.4 conflicts with transformers 5.x needing huggingface-hub >=1.5.0. install-dev.sh installs from requirements.txt first, so dependency resolution or pip check can fail and block dev/CI setup.

Additional Locations (1)
Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 01d6125. Configure here.

transformers-stream-generator==0.0.5
trio==0.25.1
trio-websocket==0.11.1
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -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.5 # For anthropic_client, vision_language.huggingface_vlm_client, huggingface_client, huggingface_tokenizer, test_openai_token_cost_estimator, model_summac (via summarization_metrics)

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Transformers 5 on Python 3.8

High Severity

install_requires now pulls transformers~=5.5, which requires Python >=3.10, but python_requires still allows >=3.8,<3.11. CI installs the wheel on Python 3.8 and 3.9, so those jobs can fail when resolving or installing transformers.

Additional Locations (1)
Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 01d6125. 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)
Expand Down