nroggendorff commited on
Commit
96e5830
·
verified ·
1 Parent(s): 8af79ef

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -3
Dockerfile CHANGED
@@ -1,5 +1,4 @@
1
- FROM python:latest
2
-
3
 
4
  ARG OUTPUT_DIR=zelda-style
5
  ARG INPUT_DS=nroggendorff/zelda-style
@@ -15,7 +14,7 @@ COPY . .
15
 
16
  RUN pip install --no-cache-dir --upgrade pip && \
17
  pip install --no-cache-dir --prefer-binary \
18
- diffusers[torch] \
19
  transformers \
20
  accelerate \
21
  safetensors \
 
1
+ FROM pytorch/pytorch:2.4.0-cuda12.1-cudnn9-runtime
 
2
 
3
  ARG OUTPUT_DIR=zelda-style
4
  ARG INPUT_DS=nroggendorff/zelda-style
 
14
 
15
  RUN pip install --no-cache-dir --upgrade pip && \
16
  pip install --no-cache-dir --prefer-binary \
17
+ "git+https://github.com/huggingface/diffusers.git@main#egg=diffusers" \
18
  transformers \
19
  accelerate \
20
  safetensors \