sandbox338 commited on
Commit
1571f01
·
verified ·
1 Parent(s): 9c8f775

Update Dockerfile

Browse files
Files changed (1) hide show
  1. 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 specific versions of torch and torchvision
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