MicroCore-Labs commited on
Commit
19648b1
·
1 Parent(s): 3af3ad1

fix: use fully modern compatible stack (diffusers 0.30 + transformers 4.44 + gradio 4.40+)

Browse files
Files changed (1) hide show
  1. 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 (pinned to known-compatible versions)
15
- RUN pip install diffusers==0.24.0 transformers==4.36.0 accelerate==0.25.0 gradio==4.12.0 Pillow==10.2.0 safetensors==0.4.2 huggingface_hub==0.19.4 sentencepiece protobuf "jinja2>=3.0,<3.1"
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