Commit ·
19648b1
1
Parent(s): 3af3ad1
fix: use fully modern compatible stack (diffusers 0.30 + transformers 4.44 + gradio 4.40+)
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -11,8 +11,8 @@ RUN apt-get update && apt-get install -y libgl1 libglib2.0-0 && rm -rf /var/lib/
|
|
| 11 |
# Install CPU-only torch first (prevents 5GB GPU version download)
|
| 12 |
RUN pip install torch torchvision --index-url https://download.pytorch.org/whl/cpu
|
| 13 |
|
| 14 |
-
# Install rest (
|
| 15 |
-
RUN pip install diffusers=
|
| 16 |
|
| 17 |
COPY . /app
|
| 18 |
|
|
|
|
| 11 |
# Install CPU-only torch first (prevents 5GB GPU version download)
|
| 12 |
RUN pip install torch torchvision --index-url https://download.pytorch.org/whl/cpu
|
| 13 |
|
| 14 |
+
# Install rest (modern compatible versions)
|
| 15 |
+
RUN pip install "diffusers>=0.30.0,<0.31" "transformers>=4.44.0,<4.45" "accelerate>=0.32.0,<0.33" "gradio>=4.40.0,<4.45" Pillow safetensors sentencepiece protobuf
|
| 16 |
|
| 17 |
COPY . /app
|
| 18 |
|