Instructions to use UmeAiRT/ComfyUI-Auto-Installer-Assets with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use UmeAiRT/ComfyUI-Auto-Installer-Assets with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("UmeAiRT/ComfyUI-Auto-Installer-Assets", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
| @echo off | |
| setlocal enabledelayedexpansion | |
| set "comfyUIPath=%CD%" | |
| :check_folder | |
| if exist "%comfyUIPath%\ComfyUI" ( | |
| echo ComfyUI folder detected | |
| ) else if exist "%comfyUIPath%\ComfyUI_windows_portable" ( | |
| cd ComfyUI_windows_portable | |
| echo ComfyUI folder detected | |
| ) else ( | |
| echo ComfyUI folder not detected | |
| pause | |
| exit /b | |
| ) | |
| :CHOOSE_OPTION | |
| REM Ask user for installation type | |
| echo [33mChoose your preferred installation:[0m | |
| echo [32mA) Fast-Lowvram install (GGUF)[0m | |
| echo [32mB) Unoptimized normal model (bf16)[0m | |
| set /p "CHOICE=Enter your choice (A or B) and press Enter: " | |
| if /i "%CHOICE%"=="A" ( | |
| set "INSTALL_TYPE=fast-lowvram" | |
| ) else if /i "%CHOICE%"=="B" ( | |
| set "INSTALL_TYPE=unoptimized" | |
| set "DOWNLOAD_GGUF=no" | |
| ) else ( | |
| echo [31mInvalid choice. Please enter A or B.[0m | |
| goto CHOOSE_OPTION | |
| ) | |
| :CHOOSE_FLUX_GGUF | |
| REM Ask user if they want to download FLUX GGUF Model | |
| echo [33mDo you want to download FLUX GGUF Models?[0m | |
| echo [32mA) Q8_0 + T5_Q8 (24GB Vram)[0m | |
| echo [32mB) Q5_K_S + T5_Q5_K_M (16GB Vram)[0m | |
| echo [32mC) Q4_K_S + T5_Q3_K_L (less than 12GB Vram)[0m | |
| echo [32mD) All[0m | |
| echo [32mE) No[0m | |
| set /p "FLUX_GGUF_CHOICE=Enter your choice (A,B,C,D or E) and press Enter: " | |
| if /i "%FLUX_GGUF_CHOICE%"=="A" ( | |
| set "DOWNLOAD_GGUF=yes" | |
| ) else if /i "%FLUX_GGUF_CHOICE%"=="B" ( | |
| set "DOWNLOAD_GGUF=yes" | |
| ) else if /i "%FLUX_GGUF_CHOICE%"=="C" ( | |
| set "DOWNLOAD_GGUF=yes" | |
| ) else if /i "%FLUX_GGUF_CHOICE%"=="D" ( | |
| set "DOWNLOAD_GGUF=yes" | |
| ) else if /i "%FLUX_GGUF_CHOICE%"=="E" ( | |
| set "DOWNLOAD_GGUF=no" | |
| ) else ( | |
| echo [31mInvalid choice. Please enter A or B.[0m | |
| goto CHOOSE_FLUX_GGUF | |
| ) | |
| cd ComfyUI\models | |
| REM Download VAE file | |
| echo [33mDownloading VAE file...[0m | |
| cd vae | |
| curl -L -o wan_2.1_vae.safetensors https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/vae/wan_2.1_vae.safetensors?download=true | |
| cd .. | |
| REM Download CLIP files | |
| echo [33mDownloading CLIP files...[0m | |
| cd clip | |
| curl -L -o "umt5_xxl_fp8_e4m3fn_scaled.safetensors" https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/text_encoders/umt5_xxl_fp8_e4m3fn_scaled.safetensors?download=true | |
| cd .. | |
| REM Download Diffusion models files | |
| cd diffusion_models | |
| if "%INSTALL_TYPE%"=="unoptimized" ( | |
| echo [33mDownloading diffusion models file...[0m | |
| echo T2V Quant Model : | |
| curl -L -o wan2.1_i2v_480p_14B_bf16.safetensors https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/diffusion_models/wan2.1_i2v_480p_14B_bf16.safetensors?download=true | |
| echo I2V Quant Model : | |
| curl -L -o wan2.1_t2v_1.3B_bf16.safetensors https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/diffusion_models/wan2.1_t2v_1.3B_bf16.safetensors?download=true | |
| ) | |
| if "%DOWNLOAD_GGUF%"=="yes" ( | |
| echo [33mDownloading GGUF T2V Quant Model...[0m | |
| if /i "%FLUX_GGUF_CHOICE%"=="A" ( | |
| curl -L -o wan2.1-t2v-14b-Q8_0.gguf https://huggingface.co/city96/Wan2.1-T2V-14B-gguf/resolve/main/wan2.1-t2v-14b-Q8_0.gguf?download=true | |
| ) else if /i "%FLUX_GGUF_CHOICE%"=="B" ( | |
| curl -L -o wan2.1-t2v-14b-Q5_K_M.gguf https://huggingface.co/city96/Wan2.1-T2V-14B-gguf/resolve/main/wan2.1-t2v-14b-Q5_K_M.gguf?download=true | |
| ) else if /i "%FLUX_GGUF_CHOICE%"=="C" ( | |
| curl -L -o wan2.1-t2v-14b-Q3_K_S.gguf https://huggingface.co/city96/Wan2.1-T2V-14B-gguf/resolve/main/wan2.1-t2v-14b-Q3_K_S.gguf?download=true | |
| ) else if /i "%FLUX_GGUF_CHOICE%"=="D" ( | |
| curl -L -o wan2.1-t2v-14b-Q8_0.gguf https://huggingface.co/city96/Wan2.1-T2V-14B-gguf/resolve/main/wan2.1-t2v-14b-Q8_0.gguf?download=true | |
| curl -L -o wan2.1-t2v-14b-Q5_K_M.gguf https://huggingface.co/city96/Wan2.1-T2V-14B-gguf/resolve/main/wan2.1-t2v-14b-Q5_K_M.gguf?download=true | |
| curl -L -o wan2.1-t2v-14b-Q3_K_S.gguf https://huggingface.co/city96/Wan2.1-T2V-14B-gguf/resolve/main/wan2.1-t2v-14b-Q3_K_S.gguf?download=true | |
| ) | |
| ) | |
| if "%DOWNLOAD_GGUF%"=="yes" ( | |
| echo [33mDownloading GGUF I2V Quant Model...[0m | |
| if /i "%FLUX_GGUF_CHOICE%"=="A" ( | |
| curl -L -o wan2.1-i2v-14b-480p-Q8_0.gguf https://huggingface.co/city96/Wan2.1-I2V-14B-480P-gguf/resolve/main/wan2.1-i2v-14b-480p-Q8_0.gguf?download=true | |
| ) else if /i "%FLUX_GGUF_CHOICE%"=="B" ( | |
| curl -L -o wan2.1-i2v-14b-480p-Q5_K_M.gguf https://huggingface.co/city96/Wan2.1-I2V-14B-480P-gguf/resolve/main/wan2.1-i2v-14b-480p-Q5_K_M.gguf?download=true | |
| ) else if /i "%FLUX_GGUF_CHOICE%"=="C" ( | |
| curl -L -o wan2.1-i2v-14b-480p-Q3_K_S.gguf https://huggingface.co/city96/Wan2.1-I2V-14B-480P-gguf/resolve/main/wan2.1-i2v-14b-480p-Q3_K_S.gguf?download=true | |
| ) else if /i "%FLUX_GGUF_CHOICE%"=="D" ( | |
| curl -L -o wan2.1-i2v-14b-480p-Q8_0.gguf https://huggingface.co/city96/Wan2.1-I2V-14B-480P-gguf/resolve/main/wan2.1-i2v-14b-480p-Q8_0.gguf?download=true | |
| curl -L -o wan2.1-i2v-14b-480p-Q5_K_M.gguf https://huggingface.co/city96/Wan2.1-I2V-14B-480P-gguf/resolve/main/wan2.1-i2v-14b-480p-Q5_K_M.gguf?download=true | |
| curl -L -o wan2.1-i2v-14b-480p-Q3_K_S.gguf https://huggingface.co/city96/Wan2.1-I2V-14B-480P-gguf/resolve/main/wan2.1-i2v-14b-480p-Q3_K_S.gguf?download=true | |
| ) | |
| ) | |
| cd .. | |
| REM Download clip vision | |
| cd clip_vision | |
| echo [33mDownloading clip vision file...[0m | |
| curl -L -o clip_vision_h.safetensors https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/clip_vision/clip_vision_h.safetensors?download=true | |
| cd .. | |
| REM Download upscale model | |
| echo [33mDownloading upscale models...[0m | |
| cd upscale_models | |
| curl -L -o 4x_foolhardy_Remacri.pth https://huggingface.co/FacehugmanIII/4x_foolhardy_Remacri/resolve/main/4x_foolhardy_Remacri.pth?download=true | |
| cd ..\.. |