H-Liu1997 commited on
Commit
c5fa989
·
1 Parent(s): 975c258

fix: upgrade to CUDA 12.4 + torch>=2.6 for CVE-2025-32434 compat

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -1,11 +1,11 @@
1
- FROM nvidia/cuda:12.1.0-cudnn8-runtime-ubuntu22.04
2
 
3
  RUN apt-get update && apt-get install -y \
4
  python3 python3-pip git \
5
  && rm -rf /var/lib/apt/lists/*
6
 
7
  RUN pip3 install --no-cache-dir \
8
- torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu121 && \
9
  pip3 install --no-cache-dir \
10
  flask flask-cors numpy "transformers>=4.40,<5" accelerate sentencepiece protobuf \
11
  lightning omegaconf safetensors diffusers ftfy regex
 
1
+ FROM nvidia/cuda:12.4.0-cudnn-runtime-ubuntu22.04
2
 
3
  RUN apt-get update && apt-get install -y \
4
  python3 python3-pip git \
5
  && rm -rf /var/lib/apt/lists/*
6
 
7
  RUN pip3 install --no-cache-dir \
8
+ torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu124 && \
9
  pip3 install --no-cache-dir \
10
  flask flask-cors numpy "transformers>=4.40,<5" accelerate sentencepiece protobuf \
11
  lightning omegaconf safetensors diffusers ftfy regex