Skip to content

Commit 0bfc9fa

Browse files
committed
Makefile torch-cuda requirements process
1 parent 65f06e0 commit 0bfc9fa

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

Makefile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
2+
CU_VERSION = cu124
3+
4+
requirements:
5+
pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/$(CU_VERSION)
6+
pip install -r requirements.txt

requirements.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ setuptools==75.8.0
2121
six==1.17.0
2222
sympy==1.13.1
2323
threadpoolctl==3.5.0
24-
torch==2.6.0 #+cu124
25-
torchaudio==2.6.0 #+cu124
26-
torchvision==0.21.0 #+cu124
24+
torch==2.6.0 #+cu124 If you want to install the cuda version see Makefile
25+
torchaudio==2.6.0 #+cu124 If you want to install the cuda version see Makefile
26+
torchvision==0.21.0 #+cu124 If you want to install the cuda version see Makefile
2727
tqdm==4.67.1
2828
typing_extensions==4.12.2
2929
tzdata==2025.1

0 commit comments

Comments
 (0)