Skip to content

Commit

Permalink
Install correct version of PyTorch based on Python version
Browse files Browse the repository at this point in the history
  • Loading branch information
jhc13 committed Jan 15, 2024
1 parent 132b28e commit f87dba1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ https://github.com/jllllll/bitsandbytes-windows-webui/releases/download/wheels/b

# PyTorch
torch==2.1.2; platform_system != "Windows"
https://download.pytorch.org/whl/cu121/torch-2.1.2%2Bcu121-cp311-cp311-win_amd64.whl; platform_system == "Windows"
https://download.pytorch.org/whl/cu121/torch-2.1.2%2Bcu121-cp311-cp311-win_amd64.whl; platform_system == "Windows" and python_version == "3.11"
https://download.pytorch.org/whl/cu121/torch-2.1.2%2Bcu121-cp310-cp310-win_amd64.whl; platform_system == "Windows" and python_version == "3.10"

# CogVLM dependencies
einops==0.7.0
Expand Down

0 comments on commit f87dba1

Please sign in to comment.