Update setup.sh
Browse files
setup.sh
CHANGED
|
@@ -1,9 +1,9 @@
|
|
| 1 |
#!/usr/bin/env bash
|
| 2 |
|
| 3 |
-
# Install CUDA
|
| 4 |
pip install --no-cache-dir \
|
| 5 |
torch==2.1.0 torchvision==0.16.0 torchaudio==2.1.0 \
|
| 6 |
--index-url https://download.pytorch.org/whl/cu118
|
| 7 |
|
| 8 |
-
# Install all other dependencies
|
| 9 |
pip install --no-cache-dir -r requirements.txt
|
|
|
|
| 1 |
#!/usr/bin/env bash
|
| 2 |
|
| 3 |
+
# 1. Install CUDA-enabled PyTorch
|
| 4 |
pip install --no-cache-dir \
|
| 5 |
torch==2.1.0 torchvision==0.16.0 torchaudio==2.1.0 \
|
| 6 |
--index-url https://download.pytorch.org/whl/cu118
|
| 7 |
|
| 8 |
+
# 2. Install all other dependencies
|
| 9 |
pip install --no-cache-dir -r requirements.txt
|