Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +20 -225
Dockerfile
CHANGED
|
@@ -1,228 +1,23 @@
|
|
| 1 |
-
FROM nvidia/cuda:12.
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
ffmpeg libsm6 libxext6 cmake libgl1-mesa-glx \
|
| 14 |
-
&& rm -rf /var/lib/apt/lists/* \
|
| 15 |
-
&& git lfs install \
|
| 16 |
-
apt-get install nvidia-container-runtime
|
| 17 |
-
|
| 18 |
-
WORKDIR /code
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
# User
|
| 22 |
-
RUN useradd -m -u 1000 user
|
| 23 |
USER user
|
| 24 |
-
ENV HOME=/home/user \
|
| 25 |
-
PATH=/home/user/.local/bin:$PATH
|
| 26 |
-
|
| 27 |
-
# Pyenv
|
| 28 |
-
RUN curl https://pyenv.run | bash
|
| 29 |
-
ENV PATH=$HOME/.pyenv/shims:$HOME/.pyenv/bin:$PATH
|
| 30 |
-
|
| 31 |
-
ARG PYTHON_VERSION=3.10.12
|
| 32 |
-
# Python
|
| 33 |
-
RUN pyenv install $PYTHON_VERSION && \
|
| 34 |
-
pyenv global $PYTHON_VERSION && \
|
| 35 |
-
pyenv rehash && \
|
| 36 |
-
pip install --no-cache-dir --upgrade pip setuptools wheel && \
|
| 37 |
-
pip install --no-cache-dir \
|
| 38 |
-
datasets \
|
| 39 |
-
huggingface-hub "protobuf<4" "click<8.1"
|
| 40 |
-
|
| 41 |
-
# PyTorch installation with CUDA 12.1 support
|
| 42 |
-
|
| 43 |
-
# Set the working directory to /data if USE_PERSISTENT_DATA is set, otherwise set to $HOME/app
|
| 44 |
-
WORKDIR $HOME/app
|
| 45 |
-
|
| 46 |
-
|
| 47 |
-
RUN git clone https://github.com/comfyanonymous/ComfyUI . && \pip install xformers!=0.0.24 --no-cache-dir -r requirements.txt --extra-index-url https://download.pytorch.org/whl/cu121
|
| 48 |
-
|
| 49 |
-
# instal custom nodes
|
| 50 |
-
RUN echo "Installing custom nodes..."
|
| 51 |
-
RUN pip install -U onnxruntime-gpu
|
| 52 |
-
|
| 53 |
-
|
| 54 |
-
RUN cd custom_nodes && git clone https://github.com/ltdrdata/ComfyUI-Manager.git
|
| 55 |
-
RUN cd custom_nodes && git clone https://github.com/ltdrdata/ComfyUI-Impact-Pack && cd ComfyUI-Impact-Pack && python install.py
|
| 56 |
-
RUN cd custom_nodes && git clone https://github.com/ltdrdata/ComfyUI-Inspire-Pack && cd ComfyUI-Inspire-Pack && pip install -r requirements.txt
|
| 57 |
-
RUN cd custom_nodes && git clone https://github.com/Fannovel16/ComfyUI-Frame-Interpolation && cd ComfyUI-Frame-Interpolation && python install.py
|
| 58 |
-
RUN cd custom_nodes && git clone https://github.com/Fannovel16/ComfyUI-Video-Matting && cd ComfyUI-Video-Matting && pip install -r requirements.txt
|
| 59 |
-
RUN cd custom_nodes && git clone https://github.com/BlenderNeko/ComfyUI_Cutoff
|
| 60 |
-
RUN cd custom_nodes && git clone https://github.com/WASasquatch/PPF_Noise_ComfyUI && cd PPF_Noise_ComfyUI && pip install -r requirements.txt
|
| 61 |
-
RUN cd custom_nodes && git clone https://github.com/WASasquatch/PowerNoiseSuite && cd PowerNoiseSuite && pip install -r requirements.txt
|
| 62 |
-
RUN cd custom_nodes && git clone https://github.com/Jordach/comfy-plasma
|
| 63 |
-
RUN cd custom_nodes && git clone https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes
|
| 64 |
-
RUN cd custom_nodes && git clone https://github.com/space-nuko/ComfyUI-OpenPose-Editor
|
| 65 |
-
RUN cd custom_nodes && git clone https://github.com/twri/sdxl_prompt_styler
|
| 66 |
-
RUN cd custom_nodes && git clone https://github.com/Kosinkadink/ComfyUI-AnimateDiff-Evolved
|
| 67 |
-
RUN cd custom_nodes && git clone https://github.com/AIrjen/OneButtonPrompt
|
| 68 |
-
RUN cd custom_nodes && git clone https://github.com/WASasquatch/was-node-suite-comfyui && cd was-node-suite-comfyui && pip install -r requirements.txt
|
| 69 |
-
RUN cd custom_nodes && git clone https://github.com/cubiq/ComfyUI_essentials
|
| 70 |
-
RUN cd custom_nodes && git clone https://github.com/crystian/ComfyUI-Crystools && cd ComfyUI-Crystools && pip install -r requirements.txt
|
| 71 |
-
RUN cd custom_nodes && git clone https://github.com/ssitu/ComfyUI_UltimateSDUpscale --recursive
|
| 72 |
-
RUN cd custom_nodes && git clone https://github.com/gokayfem/ComfyUI_VLM_nodes && cd ComfyUI_VLM_nodes && pip install -r requirements.txt
|
| 73 |
-
RUN cd custom_nodes && git clone https://github.com/Fannovel16/comfyui_controlnet_aux && cd comfyui_controlnet_aux && pip install -r requirements.txt
|
| 74 |
-
RUN cd custom_nodes && git clone https://github.com/Stability-AI/stability-ComfyUI-nodes && cd stability-ComfyUI-nodes && pip install -r requirements.txt
|
| 75 |
-
RUN cd custom_nodes && git clone https://github.com/jags111/efficiency-nodes-comfyui && cd efficiency-nodes-comfyui && pip install -r requirements.txt
|
| 76 |
-
RUN cd custom_nodes && git clone https://github.com/Kosinkadink/ComfyUI-VideoHelperSuite && cd ComfyUI-VideoHelperSuite && pip install -r requirements.txt
|
| 77 |
-
RUN cd custom_nodes && git clone https://github.com/pythongosssss/ComfyUI-Custom-Scripts
|
| 78 |
-
RUN cd custom_nodes && git clone https://github.com/WASasquatch/FreeU_Advanced
|
| 79 |
-
RUN cd custom_nodes && git clone https://github.com/city96/SD-Advanced-Noise
|
| 80 |
-
RUN cd custom_nodes && git clone https://github.com/kadirnar/ComfyUI_Custom_Nodes_AlekPet
|
| 81 |
-
RUN cd custom_nodes && git clone https://github.com/sipherxyz/comfyui-art-venture && cd comfyui-art-venture && pip install -r requirements.txt
|
| 82 |
-
RUN cd custom_nodes && git clone https://github.com/evanspearman/ComfyMath && cd ComfyMath && pip install -r requirements.txt
|
| 83 |
-
RUN cd custom_nodes && git clone https://github.com/Gourieff/comfyui-reactor-node && cd comfyui-reactor-node && pip install -r requirements.txt
|
| 84 |
-
RUN cd custom_nodes && git clone https://github.com/rgthree/rgthree-comfy && cd rgthree-comfy && pip install -r requirements.txt
|
| 85 |
-
RUN cd custom_nodes && git clone https://github.com/giriss/comfy-image-saver && cd comfy-image-saver && pip install -r requirements.txt
|
| 86 |
-
RUN cd custom_nodes && git clone https://github.com/gokayfem/ComfyUI-Depth-Visualization && cd ComfyUI-Depth-Visualization && pip install -r requirements.txt
|
| 87 |
-
RUN cd custom_nodes && git clone https://github.com/kohya-ss/ControlNet-LLLite-ComfyUI
|
| 88 |
-
RUN cd custom_nodes && git clone https://github.com/gokayfem/ComfyUI-Dream-Interpreter && cd ComfyUI-Dream-Interpreter && pip install -r requirements.txt
|
| 89 |
-
RUN cd custom_nodes && git clone https://github.com/cubiq/ComfyUI_IPAdapter_plus
|
| 90 |
-
RUN cd custom_nodes && git clone https://github.com/Kosinkadink/ComfyUI-Advanced-ControlNet && cd ComfyUI-Advanced-ControlNet && pip install -r requirements.txt
|
| 91 |
-
RUN cd custom_nodes && git clone https://github.com/Acly/comfyui-inpaint-nodes
|
| 92 |
-
RUN cd custom_nodes && git clone https://github.com/chflame163/ComfyUI_LayerStyle && cd ComfyUI_LayerStyle && pip install -r requirements.txt
|
| 93 |
-
RUN cd custom_nodes && git clone https://github.com/omar92/ComfyUI-QualityOfLifeSuit_Omar92
|
| 94 |
-
RUN cd custom_nodes && git clone https://github.com/Derfuu/Derfuu_ComfyUI_ModdedNodes
|
| 95 |
-
RUN cd custom_nodes && git clone https://github.com/EllangoK/ComfyUI-post-processing-nodes
|
| 96 |
-
RUN cd custom_nodes && git clone https://github.com/jags111/ComfyUI_Jags_VectorMagic
|
| 97 |
-
RUN cd custom_nodes && git clone https://github.com/melMass/comfy_mtb && cd comfy_mtb && pip install -r requirements.txt
|
| 98 |
-
RUN cd custom_nodes && git clone https://github.com/AuroBit/ComfyUI-OOTDiffusion && cd ComfyUI-OOTDiffusion && pip install -r requirements.txt
|
| 99 |
-
RUN cd custom_nodes && git clone https://github.com/kijai/ComfyUI-KJNodes && cd ComfyUI-KJNodes && pip install -r requirements.txt
|
| 100 |
-
RUN cd custom_nodes && git clone https://github.com/kijai/ComfyUI-SUPIR && cd ComfyUI-SUPIR && pip install -r requirements.txt
|
| 101 |
-
RUN cd custom_nodes && git clone https://github.com/kijai/ComfyUI-depth-fm && cd ComfyUI-depth-fm && pip install -r requirements.txt
|
| 102 |
-
RUN cd custom_nodes && git clone https://github.com/viperyl/ComfyUI-BiRefNet && cd ComfyUI-BiRefNet && pip install -r requirements.txt
|
| 103 |
-
RUN cd custom_nodes && git clone https://github.com/gokayfem/ComfyUI-Texture-Simple
|
| 104 |
-
RUN cd custom_nodes && git clone https://github.com/ZHO-ZHO-ZHO/ComfyUI-APISR && cd ComfyUI-APISR && pip install -r requirements.txt
|
| 105 |
-
|
| 106 |
-
RUN echo "Downloading checkpoints..."
|
| 107 |
-
RUN wget -c https://huggingface.co/kadirnar/Black-Hole/resolve/main/tachyon.safetensors -P ./models/checkpoints/
|
| 108 |
-
RUN wget -c https://huggingface.co/SG161222/RealVisXL_V4.0_Lightning/resolve/main/RealVisXL_V4.0_Lightning.safetensors -P ./models/checkpoints/
|
| 109 |
-
RUN wget -c https://huggingface.co/Lykon/dreamshaper-xl-lightning/resolve/main/DreamShaperXL_Lightning.safetensors -P ./models/checkpoints/
|
| 110 |
-
RUN wget -c https://huggingface.co/Lykon/DreamShaper/resolve/main/DreamShaper_8_pruned.safetensors -P ./models/checkpoints/
|
| 111 |
-
RUN wget -c https://huggingface.co/ckpt/stable-diffusion-3-medium/resolve/main/sd3_medium.safetensors -P ./models/checkpoints/
|
| 112 |
-
|
| 113 |
-
RUN echo "Downloading AnimateDiff Models..."
|
| 114 |
-
|
| 115 |
-
RUN wget -c https://huggingface.co/hotshotco/Hotshot-XL/resolve/main/hsxl_temporal_layers.f16.safetensors -P ./custom_nodes/ComfyUI-AnimateDiff-Evolved/models/
|
| 116 |
-
RUN wget -c https://huggingface.co/hotshotco/SDXL-512/resolve/main/hsxl_base_1.0.f16.safetensors -P ./custom_nodes/ComfyUI-AnimateDiff-Evolved/models/
|
| 117 |
-
RUN wget -c https://huggingface.co/guoyww/animatediff/resolve/main/mm_sd_v15.ckpt -P ./custom_nodes/ComfyUI-AnimateDiff-Evolved/models/
|
| 118 |
-
RUN wget -c https://huggingface.co/guoyww/animatediff/resolve/main/mm_sd_v15_v2.ckpt -P ./custom_nodes/ComfyUI-AnimateDiff-Evolved/models/
|
| 119 |
-
RUN wget -c https://huggingface.co/guoyww/animatediff/resolve/main/v3_sd15_mm.ckpt -P ./custom_nodes/ComfyUI-AnimateDiff-Evolved/models/
|
| 120 |
-
RUN wget -c https://huggingface.co/guoyww/animatediff/resolve/main/v3_sd15_sparsectrl_rgb.ckpt -P ./custom_nodes/ComfyUI-AnimateDiff-Evolved/models/
|
| 121 |
-
RUN wget -c https://huggingface.co/guoyww/animatediff/resolve/main/v3_sd15_sparsectrl_scribble.ckpt -P ./custom_nodes/ComfyUI-AnimateDiff-Evolved/models/
|
| 122 |
-
RUN wget -c https://huggingface.co/ByteDance/AnimateDiff-Lightning/resolve/main/animatediff_lightning_8step_comfyui.safetensors -P ./custom_nodes/ComfyUI-AnimateDiff-Evolved/models/
|
| 123 |
-
RUN wget -c https://huggingface.co/ByteDance/AnimateDiff-Lightning/resolve/main/animatediff_lightning_4step_comfyui.safetensors -P ./custom_nodes/ComfyUI-AnimateDiff-Evolved/models/
|
| 124 |
-
RUN wget -c https://huggingface.co/ByteDance/AnimateDiff-Lightning/resolve/main/animatediff_lightning_2step_comfyui.safetensors -P ./custom_nodes/ComfyUI-AnimateDiff-Evolved/models/
|
| 125 |
-
RUN wget -c https://huggingface.co/ByteDance/AnimateDiff-Lightning/resolve/main/animatediff_lightning_1step_comfyui.safetensors -P ./custom_nodes/ComfyUI-AnimateDiff-Evolved/models/
|
| 126 |
-
|
| 127 |
-
RUN echo "Downloading Vae..."
|
| 128 |
-
|
| 129 |
-
RUN wget -c https://huggingface.co/stabilityai/sd-vae-ft-mse-original/resolve/main/vae-ft-mse-840000-ema-pruned.safetensors -P ./models/vae/
|
| 130 |
-
RUN wget -c https://huggingface.co/ArtGAN/Controlnet/resolve/main/taesdxl.safetensors -P ./models/vae/
|
| 131 |
-
RUN wget -c https://huggingface.co/madebyollin/sdxl-vae-fp16-fix/resolve/main/sdxl.vae.safetensors -P ./models/vae/
|
| 132 |
-
|
| 133 |
-
RUN echo "Downloading Controlnet..."
|
| 134 |
-
|
| 135 |
-
RUN wget -c https://huggingface.co/stabilityai/control-lora/resolve/main/control-LoRAs-rank256/control-lora-canny-rank256.safetensors -P ./models/controlnet/
|
| 136 |
-
RUN wget -c https://huggingface.co/stabilityai/control-lora/resolve/main/control-LoRAs-rank256/control-lora-depth-rank256.safetensors -P ./models/controlnet/
|
| 137 |
-
RUN wget -c https://huggingface.co/ArtGAN/Controlnet/resolve/main/controlnet-sdxl-canny-mid.safetensors -P ./models/controlnet/
|
| 138 |
-
RUN wget -c https://huggingface.co/ArtGAN/Controlnet/resolve/main/controlnet-sdxl-depth-mid.safetensors -P ./models/controlnet/
|
| 139 |
-
RUN wget -c https://huggingface.co/ArtGAN/Controlnet/resolve/main/controlnet_scribble_sd15.safetensors -P ./models/controlnet/
|
| 140 |
-
RUN wget -c https://huggingface.co/ArtGAN/Controlnet/resolve/main/control_v11p_sd15s2_lineart_anime.safetensors -P ./models/controlnet/
|
| 141 |
-
RUN wget -c https://huggingface.co/ArtGAN/Controlnet/resolve/main/control_v11p_sd15_lineart.safetensors -P ./models/controlnet/
|
| 142 |
-
RUN wget -c https://huggingface.co/ArtGAN/Controlnet/resolve/main/control_v11p_sd15_canny_fp16.safetensors -P ./models/controlnet/
|
| 143 |
-
RUN wget -c https://huggingface.co/ArtGAN/Controlnet/resolve/main/controlnet_depth_sd15.safetensors -P ./models/controlnet/
|
| 144 |
-
RUN wget -c https://huggingface.co/lllyasviel/sd_control_collection/resolve/main/kohya_controllllite_xl_scribble_anime.safetensors -P ./custom_nodes/ControlNet-LLLite-ComfyUI/models
|
| 145 |
-
RUN wget -c https://huggingface.co/lllyasviel/sd_control_collection/resolve/main/kohya_controllllite_xl_blur.safetensors -P ./custom_nodes/ControlNet-LLLite-ComfyUI/models
|
| 146 |
-
RUN wget -c https://huggingface.co/lllyasviel/sd_control_collection/resolve/main/kohya_controllllite_xl_blur_anime.safetensors -P ./custom_nodes/ControlNet-LLLite-ComfyUI/models
|
| 147 |
-
RUN wget -c https://huggingface.co/lllyasviel/sd_control_collection/resolve/main/kohya_controllllite_xl_blur_anime_beta.safetensors -P ./custom_nodes/ControlNet-LLLite-ComfyUI/models
|
| 148 |
-
RUN wget -c https://huggingface.co/lllyasviel/sd_control_collection/resolve/main/kohya_controllllite_xl_canny.safetensors -P ./custom_nodes/ControlNet-LLLite-ComfyUI/models
|
| 149 |
-
RUN wget -c https://huggingface.co/lllyasviel/sd_control_collection/resolve/main/kohya_controllllite_xl_canny_anime.safetensors -P ./custom_nodes/ControlNet-LLLite-ComfyUI/models
|
| 150 |
-
RUN wget -c https://huggingface.co/lllyasviel/sd_control_collection/resolve/main/kohya_controllllite_xl_depth.safetensors -P ./custom_nodes/ControlNet-LLLite-ComfyUI/models
|
| 151 |
-
RUN wget -c https://huggingface.co/lllyasviel/sd_control_collection/resolve/main/kohya_controllllite_xl_depth_anime.safetensors -P ./custom_nodes/ControlNet-LLLite-ComfyUI/models
|
| 152 |
-
RUN wget -c https://huggingface.co/lllyasviel/sd_control_collection/resolve/main/kohya_controllllite_xl_openpose_anime.safetensors -P ./custom_nodes/ControlNet-LLLite-ComfyUI/models
|
| 153 |
-
RUN wget -c https://huggingface.co/lllyasviel/sd_control_collection/resolve/main/kohya_controllllite_xl_openpose_anime_v2.safetensors -P ./custom_nodes/ControlNet-LLLite-ComfyUI/models
|
| 154 |
-
RUN wget -c https://huggingface.co/lllyasviel/sd_control_collection/resolve/main/kohya_controllllite_xl_scribble_anime.safetensors -P ./custom_nodes/ControlNet-LLLite-ComfyUI/models
|
| 155 |
-
RUN wget -c https://huggingface.co/thibaud/controlnet-openpose-sdxl-1.0/resolve/main/control-lora-openposeXL2-rank256.safetensors -P ./models/controlnet/
|
| 156 |
-
|
| 157 |
-
RUN echo "Downloading LLavacheckpoints..."
|
| 158 |
-
|
| 159 |
-
RUN wget -c https://huggingface.co/cjpais/llava-1.6-mistral-7b-gguf/resolve/main/llava-v1.6-mistral-7b.Q5_K_M.gguf -P ./models/LLavacheckpoints/
|
| 160 |
-
#RUN wget -c https://huggingface.co/cjpais/llava-1.6-mistral-7b-gguf/resolve/main/llava-v1.6-mistral-7b.Q4_K_M.gguf -P ./models/LLavacheckpoints/
|
| 161 |
-
#RUN wget -c https://huggingface.co/cjpais/llava-1.6-mistral-7b-gguf/resolve/main/mmproj-model-f16.gguf -P ./models/LLavacheckpoints/
|
| 162 |
-
#RUN wget -c https://huggingface.co/cjpais/llava-1.6-mistral-7b-gguf/resolve/main/llava-v1.6-mistral-7b.Q3_K_XS.gguf -P ./models/LLavacheckpoints/
|
| 163 |
-
#RUN wget -c https://huggingface.co/cjpais/llava-1.6-mistral-7b-gguf/resolve/main/llava-v1.6-mistral-7b.Q3_K_M.gguf -P ./models/LLavacheckpoints/
|
| 164 |
-
#RUN wget -c https://huggingface.co/Qwen/Qwen1.5-14B-Chat-GGUF/resolve/main/qwen1_5-14b-chat-q4_k_m.gguf -P ./models/LLavacheckpoints/
|
| 165 |
-
#RUN wget -c https://huggingface.co/Qwen/Qwen1.5-14B-Chat-GGUF/resolve/main/qwen1_5-14b-chat-q6_k.gguf -P ./models/LLavacheckpoints/
|
| 166 |
-
RUN wget -c https://huggingface.co/NousResearch/Meta-Llama-3-8B-Instruct-GGUF/resolve/main/Meta-Llama-3-8B-Instruct-Q5_K_M.gguf -P ./models/LLavacheckpoints/
|
| 167 |
-
|
| 168 |
-
|
| 169 |
-
RUN echo "Downloading IPAdapter Plus..."
|
| 170 |
-
RUN mkdir -p ./models/ipadapter
|
| 171 |
-
RUN wget -c https://huggingface.co/h94/IP-Adapter/resolve/main/sdxl_models/ip-adapter-plus-face_sdxl_vit-h.safetensors -P ./models/ipadapter
|
| 172 |
-
RUN wget -c https://huggingface.co/h94/IP-Adapter/resolve/main/sdxl_models/ip-adapter-plus_sdxl_vit-h.safetensors -P ./models/ipadapter
|
| 173 |
-
RUN wget -c https://huggingface.co/h94/IP-Adapter/resolve/main/models/ip-adapter-plus-face_sd15.safetensors -P ./models/ipadapter
|
| 174 |
-
RUN wget -c https://huggingface.co/h94/IP-Adapter/resolve/main/models/ip-adapter-plus_sd15.safetensors -P ./models/ipadapter
|
| 175 |
-
RUN wget -c https://huggingface.co/h94/IP-Adapter-FaceID/resolve/main/ip-adapter-faceid-plusv2_sd15.bin -P ./models/ipadapter
|
| 176 |
-
RUN wget -c https://huggingface.co/ArtGAN/Controlnet/resolve/main/ip-adapter_sdxl.safetensors -P ./models/ipadapter
|
| 177 |
-
RUN wget -c https://huggingface.co/ostris/ip-composition-adapter/resolve/main/ip_plus_composition_sdxl.safetensors -P ./models/ipadapter
|
| 178 |
-
|
| 179 |
-
RUN echo "Downloading ClipVision..."
|
| 180 |
-
|
| 181 |
-
RUN wget -c https://huggingface.co/ArtGAN/Controlnet/resolve/main/CLIP-ViT-H-14-laion2B-s32B-b79K.safetensors -P ./models/clip_vision/
|
| 182 |
-
RUN wget -c https://huggingface.co/ArtGAN/Controlnet/resolve/main/sd15_model.safetensors -P ./models/clip_vision/
|
| 183 |
-
RUN wget -c https://huggingface.co/ArtGAN/Controlnet/resolve/main/sdxl_model.safetensors -P ./models/clip_vision/
|
| 184 |
-
RUN wget -c https://huggingface.co/h94/IP-Adapter-FaceID/resolve/main/ip-adapter-faceid-plusv2_sd15.bin -P ./models/clip_vision/
|
| 185 |
-
#RUN wget -c https://huggingface.co/TryOnVirtual/Ip-Adapter-Cloth/resolve/main/model.safetensors -P ./models/clip_vision/
|
| 186 |
-
|
| 187 |
-
RUN echo "Downloading ClipVision..."
|
| 188 |
-
|
| 189 |
-
RUN wget -c https://huggingface.co/ckpt/stable-diffusion-3-medium/resolve/main/text_encoders/clip_g.safetensors -P ./models/clip/
|
| 190 |
-
RUN wget -c https://huggingface.co/ckpt/stable-diffusion-3-medium/resolve/main/text_encoders/clip_l.safetensors -P ./models/clip/
|
| 191 |
-
RUN wget -c https://huggingface.co/ckpt/stable-diffusion-3-medium/resolve/main/text_encoders/t5xxl_fp16.safetensors -P ./models/clip/
|
| 192 |
-
|
| 193 |
-
RUN echo "Downloading Lora..."
|
| 194 |
-
|
| 195 |
-
RUN wget -c https://huggingface.co/ArtGAN/Controlnet/resolve/main/lcm-lora-sdv1-5.safetensors -P ./models/loras/
|
| 196 |
-
RUN wget -c https://huggingface.co/ArtGAN/Controlnet/resolve/main/lcm-lora-sdxl.safetensors -P ./models/loras/
|
| 197 |
-
RUN wget -c https://huggingface.co/ArtGAN/Controlnet/resolve/main/3DMM_V12_sd15.safetensors -P ./models/loras/
|
| 198 |
-
RUN wget -c https://huggingface.co/ArtGAN/Controlnet/resolve/main/add_detail.safetensors -P ./models/loras/
|
| 199 |
-
RUN wget -c https://huggingface.co/ArtGAN/Controlnet/resolve/main/anime_lineart_lora.safetensors -P ./models/loras/
|
| 200 |
-
RUN wget -c https://huggingface.co/ArtGAN/Controlnet/resolve/main/epi_noiseoffset2_sd15.safetensors -P ./models/loras/
|
| 201 |
-
RUN wget -c https://huggingface.co/ArtGAN/Controlnet/resolve/main/game_bottle_lora.safetensors -P ./models/loras/
|
| 202 |
-
RUN wget -c https://huggingface.co/ArtGAN/Controlnet/resolve/main/game_sword_lora.safetensors -P ./models/loras/
|
| 203 |
-
|
| 204 |
-
RUN echo "Downloading Motion Lora..."
|
| 205 |
-
|
| 206 |
-
RUN wget -c https://huggingface.co/guoyww/animatediff/resolve/main/v2_lora_PanLeft.ckpt -P ./custom_nodes/ComfyUI-AnimateDiff-Evolved/motion_lora/
|
| 207 |
-
RUN wget -c https://huggingface.co/guoyww/animatediff/resolve/main/v2_lora_PanRight.ckpt -P ./custom_nodes/ComfyUI-AnimateDiff-Evolved/motion_lora/
|
| 208 |
-
RUN wget -c https://huggingface.co/guoyww/animatediff/resolve/main/v2_lora_RollingAnticlockwise.ckpt -P ./custom_nodes/ComfyUI-AnimateDiff-Evolved/motion_lora/
|
| 209 |
-
RUN wget -c https://huggingface.co/guoyww/animatediff/resolve/main/v2_lora_RollingClockwise.ckpt -P ./custom_nodes/ComfyUI-AnimateDiff-Evolved/motion_lora/
|
| 210 |
-
RUN wget -c https://huggingface.co/guoyww/animatediff/resolve/main/v2_lora_TiltDown.ckpt -P ./custom_nodes/ComfyUI-AnimateDiff-Evolved/motion_lora/
|
| 211 |
-
RUN wget -c https://huggingface.co/guoyww/animatediff/resolve/main/v2_lora_TiltUp.ckpt -P ./custom_nodes/ComfyUI-AnimateDiff-Evolved/motion_lora/
|
| 212 |
-
RUN wget -c https://huggingface.co/guoyww/animatediff/resolve/main/v2_lora_ZoomIn.ckpt -P ./custom_nodes/ComfyUI-AnimateDiff-Evolved/motion_lora/
|
| 213 |
-
RUN wget -c https://huggingface.co/guoyww/animatediff/resolve/main/v2_lora_ZoomOut.ckpt -P ./custom_nodes/ComfyUI-AnimateDiff-Evolved/motion_lora/
|
| 214 |
-
RUN wget -c https://huggingface.co/guoyww/animatediff/resolve/main/v3_sd15_adapter.ckpt -P ./custom_nodes/ComfyUI-AnimateDiff-Evolved/motion_lora/
|
| 215 |
-
RUN wget -c https://huggingface.co/ArtGAN/Controlnet/resolve/main/StopMotionAnimation.safetensors -P ./custom_nodes/ComfyUI-AnimateDiff-Evolved/motion_lora/
|
| 216 |
-
RUN wget -c https://huggingface.co/ArtGAN/Controlnet/resolve/main/shatterAnimatediff_v10.safetensors -P ./custom_nodes/ComfyUI-AnimateDiff-Evolved/motion_lora/
|
| 217 |
-
|
| 218 |
-
RUN echo "Downloading SUPIR..."
|
| 219 |
-
|
| 220 |
-
#RUN wget -c https://huggingface.co/camenduru/SUPIR/resolve/main/SUPIR-v0Q.ckpt -P ./models/checkpoints/
|
| 221 |
-
#RUN wget -c https://huggingface.co/camenduru/SUPIR/resolve/main/SUPIR-v0F.ckpt -P ./models/checkpoints/
|
| 222 |
-
|
| 223 |
-
RUN echo "Downloading BiRefNet..."
|
| 224 |
-
RUN cd models && git clone https://huggingface.co/ViperYX/BiRefNet
|
| 225 |
|
| 226 |
-
RUN
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 227 |
|
| 228 |
-
|
|
|
|
|
|
| 1 |
+
FROM nvidia/cuda:12.2.0-base-ubuntu22.04
|
| 2 |
+
ENV DEBIAN_FRONTEND noninteractive
|
| 3 |
+
|
| 4 |
+
RUN apt-get update -y && \
|
| 5 |
+
apt-get install -y aria2 libgl1 libglib2.0-0 wget git git-lfs python3-pip python-is-python3 && \
|
| 6 |
+
pip install -q torch==2.0.1+cu118 torchvision==0.15.2+cu118 torchaudio==2.0.2+cu118 torchtext==0.15.2 torchdata==0.6.1 --extra-index-url https://download.pytorch.org/whl/cu118 && \
|
| 7 |
+
pip install xformers==0.0.20 triton==2.0.0 packaging==23.1 && \
|
| 8 |
+
adduser --disabled-password --gecos '' user && \
|
| 9 |
+
mkdir /content && \
|
| 10 |
+
chown -R user:user /content
|
| 11 |
+
|
| 12 |
+
WORKDIR /content
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 13 |
USER user
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 14 |
|
| 15 |
+
RUN git clone -b v2.6 https://github.com/camenduru/stable-diffusion-webui /content/test && \
|
| 16 |
+
git clone https://github.com/etherealxx/batchlinks-webui /content/test/extensions/batchlinks-webui && \
|
| 17 |
+
sed -i -e 's/ start()/ #start()/g' /content/test/launch.py && \
|
| 18 |
+
cd /content/test && \
|
| 19 |
+
python launch.py --skip-torch-cuda-test && \
|
| 20 |
+
git reset --hard
|
| 21 |
|
| 22 |
+
# RUN aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/sd15/resolve/main/v1-5-pruned-emaonly.ckpt -d /content/test/models/Stable-diffusion -o v1-5-pruned-emaonly.ckpt
|
| 23 |
+
CMD cd /content/test && python launch.py --xformers --cors-allow-origins=* --api
|