Spaces:
Running on T4
Running on T4
fix: upgrade to CUDA 12.4 + torch>=2.6 for CVE-2025-32434 compat
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -1,11 +1,11 @@
|
|
| 1 |
-
FROM nvidia/cuda:12.
|
| 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/
|
| 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
|