File tree Expand file tree Collapse file tree 1 file changed +47
-0
lines changed Expand file tree Collapse file tree 1 file changed +47
-0
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,53 @@ your convenience.
1717
1818## Commands for Versions >= 1.0.0
1919
20+ ### v2.4.0
21+
22+ #### Conda
23+
24+ ##### OSX
25+
26+ ```
27+ # conda
28+ conda install pytorch==2.4.0 torchvision==0.19.0 torchaudio==2.4.0 -c pytorch
29+ ```
30+
31+ ##### Linux and Windows
32+
33+ ```
34+ # CUDA 11.8
35+ conda install pytorch==2.4.0 torchvision==0.19.0 torchaudio==2.4.0 pytorch-cuda=11.8 -c pytorch -c nvidia
36+ # CUDA 12.1
37+ conda install pytorch==2.4.0 torchvision==0.19.0 torchaudio==2.4.0 pytorch-cuda=12.1 -c pytorch -c nvidia
38+ # CUDA 12.4
39+ conda install pytorch==2.4.0 torchvision==0.19.0 torchaudio==2.4.0 pytorch-cuda=12.4 -c pytorch -c nvidia
40+ # CPU Only
41+ conda install pytorch==2.4.0 torchvision==0.19.0 torchaudio==2.4.0 cpuonly -c pytorch
42+ ```
43+
44+ #### Wheel
45+
46+ ##### OSX
47+
48+ ```
49+ pip install torch==2.4.0 torchvision==0.19.0 torchaudio==2.4.0
50+ ```
51+
52+ ##### Linux and Windows
53+
54+ ```
55+ # ROCM 6.1 (Linux only)
56+ pip install torch==2.4.0 torchvision==0.19.0 torchaudio==2.4.0 --index-url https://download.pytorch.org/whl/rocm6.1
57+ # CUDA 11.8
58+ pip install torch==2.4.0 torchvision==0.19.0 torchaudio==2.4.0 --index-url https://download.pytorch.org/whl/cu118
59+ # CUDA 12.1
60+ pip install torch==2.4.0 torchvision==0.19.0 torchaudio==2.4.0 --index-url https://download.pytorch.org/whl/cu121
61+ # CUDA 12.4
62+ pip install torch==2.4.0 torchvision==0.19.0 torchaudio==2.4.0 --index-url https://download.pytorch.org/whl/cu124
63+ # CPU only
64+ pip install torch==2.4.0 torchvision==0.19.0 torchaudio==2.4.0 --index-url https://download.pytorch.org/whl/cpu
65+ ```
66+
2067### v2.3.1
2168
2269#### Conda
You can’t perform that action at this time.
0 commit comments