Skip to content
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

Bump torch from 1.9.1 to 2.2.0 in /code-env/python/spec #23

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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 code-env/python/spec/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ flair==0.11.3
# flair ontonotes pre-trained model do not have compatible version for torch>=2 and flair==0.11.3, see https://huggingface.co/flair/ner-english-ontonotes-fast/discussions/1
# also align torch version with rest of dss (especially to avoid potential cuda runtime compatibility issues)
torch==1.9.1; platform_system == "Darwin"
torch==1.9.1+cu111; platform_system != "Darwin"
torch==2.2.0; platform_system != "Darwin"
--find-links https://download.pytorch.org/whl/torch_stable.html

# 'gensim' didn't support python 3.10 and 3.11 prior to v4.3.0 (Dec 21, 2022)
Expand Down