🚀 ComfyUI Auto-Installer — v5 (Python Rewrite)
Version 5 is a full rewrite from the ground up in Python, replacing all the PowerShell scripts from previous versions. It's cross-platform, faster, smarter, and now ships with a TUI manager, Docker images, and GPU-optimized inference out of the box.
If you are upgrading from the PowerShell version (v4.x), a one-command migration preserves all your models, outputs, and custom nodes: irm https://get.umeai.art/migrate.ps1 | iex
⚡ Quick Start (One-Liner)
Windows (PowerShell):
irm https://get.umeai.art/comfyui.ps1 | iexLinux / macOS:
curl -fsSL https://get.umeai.art/comfyui.sh | sh
Only requires Git — everything else (Python, uv, dependencies) is handled automatically.
✨ What's New in v5
Full Python rewrite — no more PowerShell dependency
Cross-platform — Windows, Linux, macOS, and Docker
TUI Manager — interactive terminal UI to launch, update, download models, and configure settings
VRAM-aware model catalog — 7 model families with quantization recommendations based on your GPU
GPU auto-detection — NVIDIA (CUDA 13.0/12.8), AMD (ROCm/DirectML), Apple Silicon (MPS)
SageAttention 2 + 3 — pre-compiled wheels including RTX 50XX Blackwell support
One-click update — update ComfyUI, all nodes, and dependencies with a single command
Model security scanner — detects malicious pickle code in .ckpt/.pt files
Junction architecture — models and outputs persist independently from ComfyUI updates
Docker ready — 4 image variants including a cloud version with JupyterLab for RunPod
📋 Prerequisites
Git
GPU: NVIDIA (CUDA 12.x+), AMD (Radeon RX 6000+), or Apple Silicon (M1+)
Internet connection
Note: Python is automatically installed via uv if not present. No manual Python setup required.
🎨 Model Catalog (7 Families)
Interactive model downloader with VRAM-based recommendations (★ markers) and SHA-256 integrity checks. Each bundle offers multiple quantization variants (fp16, fp8, GGUF Q3→Q8). Downloads are accelerated via aria2c with HuggingFace + ModelScope fallback:
FLUX (Image): Dev, Fill
Z-IMAGE (Image): Turbo
WAN 2.1 (Video): T2V, I2V 480p
WAN 2.2 (Video): I2V, Fun Inpaint, Fun Camera
HiDream (Image): Dev
QWEN (Image Edit): Image Edit
LTX-2 (Video + Audio): Dev
🧩 34 Custom Nodes Included
Additive manifest — never removes user-installed nodes.
Core (always installed): ComfyUI-Manager
UmeAiRT Tier: ComfyUI-UmeAiRT-Sync, ComfyUI-UmeAiRT-Toolkit, ComfyUI-Crystools, ComfyUI-nunchaku
Full Tier (all of the above +): ComfyUI-Impact-Pack, ComfyUI-Impact-Subpack, ComfyUI-GGUF, ComfyUI-mxToolkit, ComfyUI-Custom-Scripts, ComfyUI-KJNodes, ComfyUI-WanVideoWrapper, ComfyUI-VideoHelperSuite, ComfyUI-Frame-Interpolation, rgthree-comfy, ComfyUI-Easy-Use, ComfyUI-HunyuanVideoMultiLora, ComfyUI-Florence2, ComfyUI-MultiGPU, ComfyUI-WanStartEndFramesNative, ComfyUI-Image-Saver, ComfyUI_UltimateSDUpscale, comfyui_controlnet_aux, x-flux-comfyui, ComfyUI-Detail-Daemon, wlsh_nodes, ComfyUI_essentials, ComfyUI-wanBlockswap, Derfuu_ComfyUI_ModdedNodes, ComfyUI_LayerStyle, ComfyUI-Upscaler-Tensorrt, comfyui-vrgamedevgirl, comfyui-int-and-float, was-node-suite-comfyui
⚙️ GPU Optimizations (Auto-Installed)
PyTorch 2.10: CUDA 13.0/12.8, ROCm 7.1, DirectML, MPS
xformers: Memory-efficient attention
Triton: triton-windows / triton (Linux)
SageAttention 2: Unified ABI3 wheels (Windows), per-arch SM80–SM100 (Linux)
SageAttention 3: RTX 50XX Blackwell native (Windows + Linux)
FlashAttention: Linux + NVIDIA only
Nunchaku & InsightFace: Pre-compiled wheels
Additional Python packages auto-installed: facexlib, onnxruntime-gpu, nvidia-ml-py, cupy-cuda13x, imageio-ffmpeg, hf_xet, cython, rotary_embedding_torch, blend_modes, segment_anything, gguf, and more.
🐳 Docker Support
Requires Docker and an NVIDIA GPU: docker run --gpus all -p 8188:8188 -v comfyui-data:/data registry.gitlab.com/umeairt-studio/comfyui-auto_installer-python:latest
latest: ~4 GB — Ready to go with pre-installed PyTorch
latest-cloud: ~4.5 GB — + JupyterLab for RunPod / cloud
latest-lite: ~2 GB — Minimal (installs PyTorch on first run)
latest-lite-cloud: ~2 GB — Lite + JupyterLab
🔒 Security
No external script execution — all logic is internalized
Secure subprocess calls — no shell=True
HTTPS only — all URLs validated
SHA-256 integrity checks on all model downloads
Pickle model scanner — detects malicious code in .ckpt/.pt files
Zip-slip prevention on archive extraction
CI runs Bandit + pip-audit on every push
📂 Post-Installation
Three launcher scripts are generated:
UmeAiRT-Start-ComfyUI: Launch (Performance mode + SageAttention)
UmeAiRT-Start-ComfyUI_LowVRAM: Launch with --lowvram --fp8 for ≤8 GB VRAM
UmeAiRT-Manager: TUI manager (update, download, reinstall, settings)
🔗 Links
Source code: GitLab (https://gitlab.com/UmeAiRT-Studio/ComfyUI-Auto_installer-Python)
Mirror: Codeberg (https://codeberg.org/UmeAiRT)
Ecosystem: UmeAiRT Studio (https://umeai.art)
Description
Upgrade to CUDA 13.0,
Upgrade to PyToch 2.9.1,
No more compilation needed for SageAttention.
FAQ
Comments (22)
This is not for people with AMD GPU or for anyone using a Mac or Linux system.. a far better option of this is using Stability Matrix, it works on all GPUs and all systems (Windows, Mac & Linux).. anyone interested can find go and to their github page and download for their specific system
Stability Matrix is a very good tool, but it has nothing to do with my script, which is designed to help those who want to use ComfyUI with a bundle of custom nodes and workflows. They are different tools for different uses.
Dis moi j'ai regarder vite fait ton script mais je me pose une question, il n'y a pas d'environnement isolé (Venv) (alors que sur le screen civitai on le vois) ce qui veut dire qu'il y a un fort risque qu'il detruis toutes installation au prealable d'autre outil IA... dans ton script tu devrais ajouter un "python -m venv venv"......
Sinon ca peut etre vachement destructeur et faire repartir l'utilisateur a l'age de pierre de l'IA.... a moins que le venv est créé directement a partir du bat qui telecharge ton script sur ton repo ?
Alors je sait pas ce que tu a regarder mais les deux option proposer crée un environnement isoler. Soit un venv soit un environnement miniconda.
Si tu le vois pas de "python -m venv venv" tu trouvera "$venvPath\Scripts\activate.bat" qui est le script crée par python pour activer le venv.
Works able to generate Wan 2.2 480p videos in 5 min on 4080 Super using fp8 models / 8 steps/ lightx2v loras.
I have battled with this few days but don't seem to get it fixed, what am I doing wrong?
FutureWarning: The pynvml package is deprecated. Please install nvidia-ml-py instead. If you did not install pynvml directly, please report this to the maintainers of the package that installed pynvml for you.
import pynvml # type: ignore[import]
Checkpoint files will always be loaded safely.
Press any key to continue . . .
After I press any key, CMD closes and nothing happens
I removed all the old CUDA and Python versions and reinstalled everything from scratch. The warning has gone now, but ComfyUI still won't start.
It still crashes after the message 'Checkpoint files will always be loaded safely'.
@leanparons Can you send me the install_logs file?
I just had this issue updating from cu12.8 to 13.0. just need to update your GPU drivers to support the new cuda.
@Sirkura Thanks boss. Always remember to update your drivers lol.
Hi! It hasn't been updated through your installer for a long time. You have a lot of new updates, I'm trying to figure it out. Help with the error
If I choose the first option, then I have this message:
| [Step 1/9] Selected: Light Installation (venv) |
==================================================
- Checking for Python 3.12...
- ERROR: Python 3.12 is required for Light mode. Found: Python
Press Enter to exit.:
If I choose the second step, then this is an error:
Choose installation type:
1. Light (Recommended) - Uses your existing Python 3.12 (Standard venv)
2. Full - Installs Miniconda, Python 3.12, Git, CUDA (Isolated environment)
Enter choice (1 or 2): 2
======================================================
| [Step 1/9] Selected: Full Installation (Miniconda) |
======================================================
=========================================================
| [Step 2/9] Setting up Miniconda and Conda Environment |
=========================================================
- Miniconda not found. Installing...
-> File 'Miniconda3-latest-Windows-x86_64.exe' already exists. Skipping download.
[INFO] Executing: C:\Users\ALEXAN~1\AppData\Local\Temp\Miniconda3-latest-Windows-x86_64.exe /InstallationType=JustMe /RegisterPython=0 /S /D="C:\Users\Alexander_Samolyuk\AppData\Local\Miniconda3"
- ERROR: Command failed with code 2.
- Command: C:\Users\ALEXAN~1\AppData\Local\Temp\Miniconda3-latest-Windows-x86_64.exe /InstallationType=JustMe /RegisterPython=0 /S /D="C:\Users\Alexander_Samolyuk\AppData\Local\Miniconda3"
- Error Output:
- FATAL ERROR executing: C:\Users\ALEXAN~1\AppData\Local\Temp\Miniconda3-latest-Windows-x86_64.exe /InstallationType=JustMe /RegisterPython=0 /S /D="C:\Users\Alexander_Samolyuk\AppData\Local\Miniconda3". Error: Command execution failed. Check logs.
A fatal error occurred. Press Enter to exit.:
Update: After run "Update" broke it for me now and wont work more. same error as before.
comfyui_triton_sageattention.py - crash
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xfc in position 289: invalid start byte
UTF-8 is on my system on... and after the error this script uninstall torch,triton ...
I tried a code correction; could you try again?
@UmeAiRT
I've been facing the exact same problem. How can I try it out?
@koh4kyu250 Just try again the installation in a new folder and send me logs if you have any error
Same issue
Traceback (most recent call last):
File "C:\Users\***\AppData\Local\Programs\Python\Python313\Lib\threading.py", line 1044, in bootstrapinner
self.run()
~~~~~~~~^^
File "C:\Users\***\AppData\Local\Programs\Python\Python313\Lib\threading.py", line 995, in run
self._target(*self._args, **self._kwargs)
~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\***\AppData\Local\Programs\Python\Python313\Lib\subprocess.py", line 1615, in _readerthread
buffer.append(fh.read())
~~~~~~~^^
File "<frozen codecs>", line 325, in decode
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xfc in position 289: invalid start byte
@SysDeep Do you have an accented character like ü in your account name?
@UmeAiRT
Thanks for the fix. I gave it a try, and it seems the UnicodeDecodeError: 'utf-8' is no longer occurring.
However, a new error now occurs during Step 7/9 while executing comfyui_triton_sageattention.py:
unsupported operand type(s) for /: 'NoneType' and 'str'
It seems to stop after an automatic cleanup.
I'm planning to perform a clean reinstall of everything handled by this installer. Besides Anaconda and the installation folder, is there anything else (such as environment variables or cache files) that I should delete?
@UmeAiRT nope only normal letter
I tried a clean reinstall after removing all possible environmental traces, but the issue remains the same. I also considered rolling back to version 4.2; however, looking at the code in the BAT file, it seems to point to version 4.3 online, so that doesn't appear to be possible.
I try it today and now works finde - 0 Errors in the Installation - try to fix it.
Hello. I see you fixed this three days ago. I've confirmed that the installation is now complete. Thank you very much.


