radames commited on
Commit
7c7dd01
1 Parent(s): e76e843

fix preprocessor install

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -4
Dockerfile CHANGED
@@ -46,8 +46,8 @@ WORKDIR $HOME/app
46
  # Copy the current directory contents into the container at $HOME/app setting the owner to the user
47
 
48
  RUN git clone https://github.com/comfyanonymous/ComfyUI . && \
49
- pip install xformers!=0.0.18 --no-cache-dir -r requirements.txt --extra-index-url https://download.pytorch.org/whl/cu118 --extra-index-url https://download.pytorch.org/whl/cu117
50
-
51
  # Checkpoints
52
 
53
  RUN echo "Downloading checkpoints..." && \
@@ -55,7 +55,7 @@ RUN echo "Downloading checkpoints..." && \
55
  # wget -c https://huggingface.co/stabilityai/stable-diffusion-xl-base-1.0/resolve/main/sd_xl_base_1.0.safetensors -P ./models/checkpoints/ && \
56
  wget -c https://huggingface.co/stabilityai/stable-diffusion-xl-refiner-1.0/resolve/main/sd_xl_refiner_1.0.safetensors -P ./models/checkpoints/ && \
57
  wget -c https://huggingface.co/stabilityai/stable-diffusion-xl-base-1.0/resolve/main/sd_xl_base_1.0_0.9vae.safetensors -P ./models/checkpoints/ && \
58
-
59
  # SD1.5
60
  # wget -c https://huggingface.co/runwayml/stable-diffusion-v1-5/resolve/main/v1-5-pruned-emaonly.ckpt -P ./models/checkpoints/ && \
61
  wget -c https://huggingface.co/stabilityai/stable-diffusion-2-1-base/resolve/main/v2-1_512-ema-pruned.safetensors -P ./models/checkpoints/ && \
@@ -110,7 +110,7 @@ RUN echo "Downloading checkpoints..." && \
110
  # wget -c https://huggingface.co/thibaud/controlnet-openpose-sdxl-1.0/resolve/main/diffusion_pytorch_model.bin -O ./models/controlnet/OpenPoseXL2.bin && \
111
 
112
  # Controlnet Preprocessor nodes by Fannovel16
113
- cd custom_nodes && git clone https://github.com/Fannovel16/comfy_controlnet_preprocessors && cd comfy_controlnet_preprocessors && python install.py --no_download_ckpts && cd ../../ && \
114
  # GLIGEN
115
  wget -c https://huggingface.co/comfyanonymous/GLIGEN_pruned_safetensors/resolve/main/gligen_sd14_textbox_pruned_fp16.safetensors -P ./models/gligen/ && \
116
  # ESRGAN upscale model
 
46
  # Copy the current directory contents into the container at $HOME/app setting the owner to the user
47
 
48
  RUN git clone https://github.com/comfyanonymous/ComfyUI . && \
49
+ pip install xformers!=0.0.18 --no-cache-dir -r requirements.txt --extra-index-url https://download.pytorch.org/whl/cu117
50
+
51
  # Checkpoints
52
 
53
  RUN echo "Downloading checkpoints..." && \
 
55
  # wget -c https://huggingface.co/stabilityai/stable-diffusion-xl-base-1.0/resolve/main/sd_xl_base_1.0.safetensors -P ./models/checkpoints/ && \
56
  wget -c https://huggingface.co/stabilityai/stable-diffusion-xl-refiner-1.0/resolve/main/sd_xl_refiner_1.0.safetensors -P ./models/checkpoints/ && \
57
  wget -c https://huggingface.co/stabilityai/stable-diffusion-xl-base-1.0/resolve/main/sd_xl_base_1.0_0.9vae.safetensors -P ./models/checkpoints/ && \
58
+
59
  # SD1.5
60
  # wget -c https://huggingface.co/runwayml/stable-diffusion-v1-5/resolve/main/v1-5-pruned-emaonly.ckpt -P ./models/checkpoints/ && \
61
  wget -c https://huggingface.co/stabilityai/stable-diffusion-2-1-base/resolve/main/v2-1_512-ema-pruned.safetensors -P ./models/checkpoints/ && \
 
110
  # wget -c https://huggingface.co/thibaud/controlnet-openpose-sdxl-1.0/resolve/main/diffusion_pytorch_model.bin -O ./models/controlnet/OpenPoseXL2.bin && \
111
 
112
  # Controlnet Preprocessor nodes by Fannovel16
113
+ cd custom_nodes && git clone https://github.com/Fannovel16/comfy_controlnet_preprocessors && cd comfy_controlnet_preprocessors && sh install.sh --no_download_ckpts && cd ../../ && \
114
  # GLIGEN
115
  wget -c https://huggingface.co/comfyanonymous/GLIGEN_pruned_safetensors/resolve/main/gligen_sd14_textbox_pruned_fp16.safetensors -P ./models/gligen/ && \
116
  # ESRGAN upscale model