Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +3 -2
Dockerfile
CHANGED
|
@@ -20,8 +20,9 @@ COPY src/ ./src/
|
|
| 20 |
# Install the Python dependencies
|
| 21 |
RUN pip3 install -r requirements.txt
|
| 22 |
|
| 23 |
-
# Install
|
| 24 |
-
RUN pip3 install torch==2.6.0+cu124 torchvision==0.21.0+cu124
|
|
|
|
| 25 |
|
| 26 |
|
| 27 |
# Install detectron2 manually
|
|
|
|
| 20 |
# Install the Python dependencies
|
| 21 |
RUN pip3 install -r requirements.txt
|
| 22 |
|
| 23 |
+
# Install torch and torchvision with specific CUDA version
|
| 24 |
+
RUN pip3 install torch==2.6.0+cu124 torchvision==0.21.0+cu124 -f https://download.pytorch.org/whl/cu124/torch_stable.html
|
| 25 |
+
|
| 26 |
|
| 27 |
|
| 28 |
# Install detectron2 manually
|