Skip to content

Commit

Permalink
Widen PyTorch dependency version to allow PyTorch 2 (stanford-crfm#1759)
Browse files Browse the repository at this point in the history
  • Loading branch information
yifanmai authored and danielz02 committed Sep 7, 2023
1 parent 1c50dd9 commit b38e978
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@ install_requires=
# Models and Metrics Extras
transformers~=4.28.1 # For anthropic_client, huggingface_client, huggingface_tokenizer, test_openai_token_cost_estimator, model_summac (via summarization_metrics)
# TODO: Upgrade torch
torch~=1.12.1 # For huggingface_client, yalm_tokenizer, model_summac (via summarization_metrics)
torchvision~=0.13.1 # For huggingface_client, yalm_tokenizer, model_summac (via summarization_metrics)
torch>=1.12.1,<3.0.0 # For huggingface_client, yalm_tokenizer, model_summac (via summarization_metrics)
torchvision>=0.13.1,<3.0.0 # For huggingface_client, yalm_tokenizer, model_summac (via summarization_metrics)

# Metrics Extras
google-api-python-client~=2.64.0 # For perspective_api_client via toxicity_metrics
Expand Down

0 comments on commit b38e978

Please sign in to comment.