InfosysResponsibleAiToolKit commited on
Commit
b8ba109
·
1 Parent(s): 837a28c
Files changed (1) hide show
  1. Dockerfile +2 -4
Dockerfile CHANGED
@@ -42,11 +42,9 @@ RUN pip install --no-cache-dir /Responsible-Ai-Moderation-Models/privacy-2.0.8-p
42
 
43
  RUN pip install --no-cache-dir /Responsible-Ai-Moderation-Models/en_core_web_lg-3.5.0-py3-none-any.whl
44
 
45
- # Uninstall any existing PyTorch versions
46
- RUN pip uninstall -y torch torchvision torchaudio
47
 
48
- # Install the desired version from the PyTorch CUDA 11.8 index
49
- RUN pip install torch==2.2.0+cu118 torchvision==0.15.0+cu118 torchaudio==2.2.0+cu118 --extra-index-url https://download.pytorch.org/whl/cu118
50
 
51
 
52
  # RUN pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118
 
42
 
43
  RUN pip install --no-cache-dir /Responsible-Ai-Moderation-Models/en_core_web_lg-3.5.0-py3-none-any.whl
44
 
45
+ RUN pip install torch==2.2.0+cu118 torchaudio==2.2.0+cu118 --extra-index-url https://download.pytorch.org/whl/cu118
 
46
 
47
+ RUN pip install torchvision --extra-index-url https://download.pytorch.org/whl/cu118
 
48
 
49
 
50
  # RUN pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118