CivArchive
    ComfyUI Install Script (Linux / Windows) - 0.13.1
    Preview 139830387
    Preview 139830394

    ComfyUI Installation Script for Linux & Windows

    Automated installation scripts for ComfyUI on Linux and Windows systems that handle everything from Python environment setup to custom node installation. These scripts provide a streamlined, dependency-conflict-free installation process with full control over package versions and installation steps.

    🌟 Features

    • Automated Environment Setup: Installs pyenv, Python, and creates an isolated virtual environment

    • Interactive Prompts: Collects ComfyUI version, optional managed frontend version, and alias name at runtime

    • Version Control: Pin specific versions of ComfyUI, PyTorch, NumPy, Transformers, and other critical packages

    • Optional Frontend Pinning: Pin a frontend per launcher or preserve a custom/existing frontend package

    • GPU Acceleration: Supports CUDA 13.0, CUDA 12.8, CUDA 12.6, Linux ROCm 7.1, native Windows ROCm 7.2.1, and CPU-only installations

    • Performance Optimization: Verifies exact Flash Attention wheels and builds SageAttention only with a matching CUDA toolchain

    • Custom Node Collection: Automatically clones and configures 51 popular custom nodes

    • Lowercase Cloning: Clones custom nodes with lowercase directory names to match ComfyUI-Manager convention

    • Selective Installation: Choose which components to install via interactive menu

    • Smart Dependency Management: Prevents version conflicts by enforcing package versions

    • Per-Directory Sharing: Independently centralize models, input, output, user data, and custom_nodes

    • Multi-Install Support: Run multiple ComfyUI versions side-by-side with per-version aliases and launchers

    • Shell Integration: Adds user-chosen aliases (e.g., comfy2, comfy3) with non-destructive, additive handling

    • Automatic Alias Naming: Leaving the alias prompt empty selects comfy, then comfy1, comfy2, and so on

    • Multiple Shell Support: Auto-detects and configures bash, zsh, and fish shells

    • Launch Arguments: Append configurable flags to every generated alias and launcher

    📋 Prerequisites

    Linux

    • Operating System: Linux (Ubuntu, Debian, Fedora, Arch, openSUSE, etc.)

    • Permissions: Sudo access for installing system dependencies

    • Disk Space: ~10-20GB for full installation (varies with custom nodes)

    • GPU (optional): NVIDIA GPU with CUDA support or an AMD GPU supported by the configured ROCm release

    • Git: For cloning repositories

    Windows

    • Operating System: Windows 10 or Windows 11

    • PowerShell: Version 5.1+ (included with Windows 10/11) or PowerShell 7+

    • Disk Space: ~10-20GB for full installation

    • GPU (optional): NVIDIA GPU with CUDA support, or an AMD GPU/APU in AMD's Windows ROCm support matrix

    • AMD ROCm: Windows 11, Python 3.12, and AMD Software: PyTorch on Windows Edition driver 26.2.2 are required for ROCm 7.2.1

    • Git: Git for Windows installed and in PATH (download)

    • Visual Studio Build Tools (optional): Used only for the toolchain-gated SageAttention 2.2.0 build; SageAttention 1.0.6 is the fallback

    🚀 Quick Start

    Linux

    # Download the script
    git clone https://github.com/r-vage/ComfyUI-Installation-Script-for-Linux.git
    cd ComfyUI-Installation-Script-for-Linux
    
    # Make executable
    chmod +x install_comfy_env.sh
    
    # Run the script
    ./install_comfy_env.sh
    

    Windows

    # Download the script
    git clone https://github.com/r-vage/ComfyUI-Installation-Script-for-Linux.git
    cd ComfyUI-Installation-Script-for-Linux
    
    # Allow script execution (if not already enabled)
    Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
    
    # Run the script
    .\install_comfy_env_win.ps1
    

    Note: The Windows script uses directory junctions (similar to symlinks) which work without Administrator privileges. If you need true symlinks, run PowerShell as Administrator.

    The script will display your configuration and prompt you to select which installation steps to run.

    ⚙️ Configuration

    Before running the script, you can customize these variables at the top of install_comfy_env.sh (Linux) or install_comfy_env_win.ps1 (Windows):

    Python Configuration

    PYTHON_VERSION="3.12.10"          # Python version (3.10.x, 3.11.x, 3.12.x, 3.13.x, 3.14.x recommended)
    VENV_PATH="/mnt/data/AI/comfy_env"  # Virtual environment location
    PYENV_ROOT="${PYENV_ROOT:-$HOME/.pyenv}"  # pyenv installation directory
    

    Windows equivalent: $PYTHON_VERSION = "3.12.10" — venv path defaults to $BASE_PATH\comfy_env (e.g. D:\AI\comfy_env)

    Configured Python range: 3.10.x through 3.14.x. Individual binary packages have narrower matrices; notably, stable Nunchaku 1.2.1 provides wheels only for Python 3.10 through 3.13. The installers validate required wheel tags before installation.

    PyTorch Configuration

    PYTORCH_VERSION="2.9.1"           # Base PyTorch version
    PYTORCH_WHEEL_VARIANT="cu128"     # CUDA, ROCm, or CPU wheel variant
    

    The installers derive the wheel index URL and the matching TorchVision and TorchAudio versions automatically. Users do not need to look up or configure companion-package versions. Unsupported PyTorch releases stop with a clear message rather than installing a potentially ABI-incompatible stack.

    Windows equivalent: $PYTORCH_VERSION = "2.9.1" with $PYTORCH_WHEEL_VARIANT = "cu128" for NVIDIA or "rocm7.2.1" for a supported AMD GPU/APU.

    Current post-2.9 compatibility and wheel availability:

    PyTorchTorchVisionTorchAudioLinux variantsWindows variants2.9.10.24.12.9.1cu126, cu128, cu130, cpucu126, cu128, cu130, rocm7.2.1, cpu2.10.00.25.02.10.0cu126, cu128, cu130, rocm7.1, cpucu126, cu128, cu130, cpu2.11.00.26.02.11.0cu126, cu128, cu130, rocm7.1, cpucu126, cu128, cu130, cpu2.12.00.27.02.11.0cu126, cu130, rocm7.1, cpucu126, cu130, cpu2.12.10.27.12.11.0cu126, cu130, rocm7.1, cpucu126, cu130, cpu2.13.00.28.02.11.0cu126, cu130, rocm7.1, cpucu126, cu130, cpu

    TorchAudio 2.11.0 is its final release and is explicitly forward-compatible with newer Torch releases. The installers validate the selected version/channel pair before installation; notably, cu128 stops at PyTorch 2.11.0.

    Available wheel channels:

    Linux ROCm uses the PyTorch wheel index. Native Windows ROCm uses AMD's official SDK and framework wheels from repo.radeon.com, which the PowerShell installer resolves separately from the NVIDIA/CPU indexes.

    • CUDA 13.0: cu130 (latest)

    • CUDA 12.8: cu128 (default)

    • CUDA 12.6: cu126

    • ROCm 7.1: rocm7.1 (AMD GPUs on Linux)

    • ROCm 7.2.1: rocm7.2.1 (supported AMD GPUs/APUs on Windows 11)

    • CPU only: cpu (no GPU)

    Example CUDA 13.0 configuration:

    PYTORCH_WHEEL_VARIANT="cu130"
    

    Example Linux ROCm 7.1 configuration (AMD GPUs):

    PYTORCH_WHEEL_VARIANT="rocm7.1"
    

    Example native Windows ROCm 7.2.1 configuration:

    $PYTORCH_VERSION = "2.9.1"
    $PYTORCH_WHEEL_VARIANT = "rocm7.2.1"
    

    The Windows installer validates Windows 11 and Python 3.12, installs the official AMD ROCm 7.2.1 SDK and PyTorch wheels, disables NVIDIA-only Nunchaku and attention packages, and verifies a real HIP tensor operation. Install AMD driver 26.2.2 first and confirm the GPU or APU appears in AMD's Radeon or Ryzen support matrix.

    Example CPU configuration:

    PYTORCH_WHEEL_VARIANT="cpu"
    

    Critical Package Versions

    NUMPY_VERSION="2.2.6"             # NumPy version (2.2.x for PyTorch 2.9+)
    TRANSFORMERS_VERSION="5.3.0"      # Transformers (5.x for Qwen3-VL/Mistral3)
    

    These versions are enforced at the end of installation to override any conflicting dependencies from custom nodes.

    Installer Configuration Modes

    Both installers begin with a mode selector:

    • Easy (default on Enter) asks only for the ComfyUI version, managed frontend version, and launcher name. This is the original three-question workflow.

    • Advanced asks for the base path; Python, PyTorch, NumPy, and Transformers versions; hardware backend; ComfyUI and frontend policy; Nunchaku library policy; launcher name, arguments, and frontend pinning; and all five sharing policies.

    • Skip questions loads the embedded defaults, prints the resolved configuration, and opens the numbered step selector immediately. For example, choose Skip and enter 9-11 to rerun package enforcement and launcher setup without answering configuration questions.

    Every prompt displays its embedded default. Press Enter to accept it. In Advanced mode, enter - to skip/ignore management for that setting and keep its installed state: the installer will not install, upgrade, enforce, remove, relink, regenerate, or save it. Dependent steps are labeled unavailable and are removed even when explicitly selected. A preserved base path still uses the embedded path to locate resources but is not saved.

    Easy mode keeps the familiar prompts:

    Configuration mode:
      [E]asy (default)
      [A]dvanced
      [S]kip questions
    
    Mode [E]:
      ComfyUI version [0.28.0]:
      Frontend version [1.45.21]:
      Launch alias [comfy]:
    

    The folder name is derived automatically: 0.28.0 becomes ComfyUI_0.28.0. An empty alias prompt checks existing profiles and launcher files, then suggests the first free name in comfy, comfy1, comfy2, and so on.

    Advanced hardware selection accepts NVIDIA, AMD/ROCm, CPU, or - on both platforms. NVIDIA accepts CUDA aliases such as 13, 13.0, and cu130. Linux AMD accepts configured ROCm aliases such as 7.1 and rocm7.1; Windows AMD accepts 7.2, 7.2.1, and rocm7.2.1. PyTorch shorthand such as 2.9 is normalized to the newest configured patch (2.9.1). The platform, Python, PyTorch, and backend combination is validated before any selected work starts.

    After every successful Easy or Advanced run, the installer asks Save successful choices as new defaults? (y/N). Only managed answers whose related selected work succeeded are eligible. - answers and values for unselected steps keep their previous defaults. Easy saves only eligible ComfyUI, frontend, and alias answers. Skip never offers saving. Each installer rewrites only its own marked defaults block through a same-directory temporary candidate, parses the candidate, preserves file metadata, and atomically replaces the original. A read-only file or failed validation only emits a warning; the completed installation remains successful.

    Frontend management and launcher pinning are separate. Disabling or preserving frontend management never uninstalls an existing package. Launcher files and profile functions pin the frontend only when both frontend management and launcher pinning are enabled. Linux launcher creation is entirely part of step 11, so selecting only steps 9-10 cannot rewrite it.

    When sharing is enabled for a new installation, pristine checkout files are copied into an empty or missing shared location without overwriting existing shared files. A - sharing answer leaves the corresponding filesystem entry untouched. Existing divergent local and shared data are preserved for manual merging.

    Multiple ComfyUI installations: run the installer again with another version and alias. All installations share the configured virtual environment; sharing choices decide whether models, input, output, user data, and custom nodes are shared or local.

    SYMLINK_MODELS=true                 # Share models
    SYMLINK_INPUT=true                  # Share input
    SYMLINK_OUTPUT=true                 # Share output
    SYMLINK_USER=true                   # Share settings, workflows, and templates
    SYMLINK_CUSTOM_NODES=true           # Share custom nodes
    USER_MODELS_PATH="/mnt/data/AI/models"          # Centralized models directory
    USER_INPUT_PATH="/mnt/data/AI/input"            # Centralized input directory
    USER_OUTPUT_PATH="/mnt/data/AI/output"          # Centralized output directory
    USER_USERDATA_PATH="/mnt/data/AI/user"          # Centralized user directory (settings, workflows, templates)
    USER_CUSTOM_NODES_PATH="/mnt/data/AI/custom_nodes"  # Centralized custom_nodes directory
    

    Windows equivalent: use $SYMLINK_MODELS, $SYMLINK_INPUT, $SYMLINK_OUTPUT, $SYMLINK_USER, and $SYMLINK_CUSTOM_NODES with $true/$false. Paths default to D:\AI\models, D:\AI\input, D:\AI\output, D:\AI\user, and D:\AI\custom_nodes (using directory junctions instead of symlinks).

    Symlinks allow you to:

    • Share models across multiple ComfyUI installations

    • Share input images across multiple ComfyUI installations

    • Share custom nodes across multiple ComfyUI installations (useful when testing different ComfyUI versions)

    • Share user data (frontend settings, saved workflows, node templates) across all versions — cross-version safe because comfy.settings.json is merged against frontend defaults at runtime

    • Store models on a different drive/partition

    • Keep outputs in a centralized location

    Set any SYMLINK_* variable to false to keep that directory local. If an older run already created a link for a disabled path, the installer preserves it and prints removal instructions rather than detaching it automatically.

    Migration is conservative: populated local data is copied only when the shared target is empty. If both directories contain data, both are preserved and the link is skipped until you merge them manually. A failed copy never causes the local directory to be removed.

    Tip — directories outside BASE_PATH: By default, the centralized paths (USER_MODELS_PATH, USER_INPUT_PATH, USER_OUTPUT_PATH, USER_USERDATA_PATH, USER_CUSTOM_NODES_PATH) are derived from BASE_PATH. You can point any of them to a completely different location — for example a larger disk — by editing the "Derived Paths" section in the script:

    Linux:

    USER_MODELS_PATH="/mnt/ssd2/models"             # Models on a fast SSD
    USER_OUTPUT_PATH="/home/$USER/comfyui_output"   # Output in home directory
    USER_USERDATA_PATH="/home/$USER/comfyui_user"   # User data in home directory
    

    Windows:

    $USER_MODELS_PATH = "E:\models"                         # Models on drive E:
    $USER_OUTPUT_PATH = "C:\Users\$env:USERNAME\comfyui_out" # Output in user profile
    

    The script creates the target directories automatically and symlinks/junctions them into the ComfyUI tree.

    Optional Features

    INSTALL_NUNCHAKU=true               # Nunchaku acceleration (requires NVIDIA GPU)
    INSTALL_COMFYUI_FRONTEND=true       # Pin/install the configured frontend package
    PIN_FRONTEND_VERSION_IN_ALIAS=false # Do not reinstall the frontend from the shell/profile alias
    COMFYUI_LAUNCH_ARGS="--multi-user --disable-pinned-memory"
    

    COMFYUI_LAUNCH_ARGS is appended after python main.py in every generated alias and launcher. Set it to an empty string to launch without predefined flags. Arguments supplied when invoking a launcher are appended after these configured defaults.

    INSTALL_NUNCHAKU controls only step 3's Nunchaku Python/CUDA acceleration library. The installers pin stable Nunchaku 1.2.1, derive its cu12.8 or cu13.0 wheel tag from the PyTorch channel, validate OS/Python/PyTorch/CUDA support, and install only the official GitHub wheel. They never fall back to the unrelated PyPI package and never clone or install the ComfyUI-Nunchaku custom node. ROCm and CPU configurations mark step 3 unavailable; explicitly selecting it prints a clear warning and leaves it disabled.

    Step 8 treats compiled attention extensions as ABI-specific. Linux installs Flash Attention only when the exact official upstream wheel URL exists for the configured Python, Torch, and CUDA-12 stack, forces replacement of an older same-version wheel, and verifies both Flash Attention and Kornia imports. Windows removes Flash Attention because upstream does not publish a matching official Windows wheel. When Flash Attention is unavailable or broken, it is removed so ComfyUI can use PyTorch attention instead of failing during Kornia import.

    SageAttention 2.2.0 is built from its official source only after the installer verifies a matching Torch/CUDA toolkit, nvcc, compiler, Ninja, supported GPU architecture, temporary disk space, and memory. A failed preflight, build, or CUDA smoke test falls back to pinned SageAttention 1.0.6.

    ComfyUI-Manager-disabled nodes are preserved. Step 6 recognizes repositories moved into custom_nodes/.disabled/<node> and does not clone a second active copy. Step 7 never installs requirements from that quarantine folder or from legacy top-level <node>.disabled directories.

    📦 What Gets Installed

    Installation Steps

    The script is divided into 12 steps that you can run selectively:

    1. Python Environment - pyenv, Python version, virtual environment

    2. PyTorch - compatible PyTorch, TorchVision, and TorchAudio stack for NVIDIA CUDA, Linux or Windows ROCm, or CPU

    3. Nunchaku - stable acceleration library only (optional, supported NVIDIA combinations only)

    4. Face Recognition - facexlib, insightface, onnxruntime-gpu, facenet_pytorch

    5. ComfyUI Core - ComfyUI base installation and requirements

    6. Custom Nodes - 51 popular custom nodes (see list below)

    7. Custom Node Dependencies - Install requirements for active custom nodes; Manager-disabled and legacy .disabled nodes are skipped

    8. Performance Libraries - llama-cpp-python, verified official Flash Attention wheels, and SageAttention build-or-fallback

    9. Upgrade/Pin Packages - Upgrade selected direct packages without broadly upgrading already-compatible transitive runtime dependencies

    10. Enforce Versions - Force exact versions of PyTorch, NumPy, Transformers, ComfyUI Frontend

    11. Shell Aliases - Add user-chosen launch alias and envact alias to shell config

    12. Compatibility Audit/Repair - Run uv pip check, apply conservative directional repairs, verify core imports, and report mutually incompatible custom-node requirements without forcing one legacy stack over the managed runtime

    Custom Nodes Included (51 nodes)

    Core Extensions

    ComfyUI-GGUF and ComfyUI-Florence2 are supplied through Eclipse's external-node integration and are not cloned separately.

    UI & Workflow Tools

    Model Support & Optimization

    Sampling & Scheduling

    ControlNet & Advanced Control

    Image Processing & Effects

    Specialized Models

    Audio & Media

    Video Processing

    🎯 Usage

    Interactive Installation

    Run the installer, choose Easy, Advanced, or Skip, then select numbered work:

    ./install_comfy_env.sh
    
    .\install_comfy_env_win.ps1
    

    The step selector accepts individual numbers, spaces or commas, inclusive ranges, and a for all available steps.

    Examples:

    • Easy + Enter keeps the original three-question defaults, then a installs all available work.

    • Skip + 9-11 proceeds directly to upgrade/pin, final enforcement, and launcher setup.

    • 1 2 5 sets up Python, PyTorch, and ComfyUI core.

    • 6-7 clones custom nodes and installs their dependencies for an existing checkout.

    • 10 only re-enforces settings that are managed; values entered as - stay untouched.

    • 12 audits declared dependencies and runtime imports, repairs the known-safe runtime-package intersection, and reports irreconcilable custom-node constraints.

    • Selecting an unavailable dependent step prints its reason and removes it.

    When step 1 is omitted, package work requires the configured virtual environment to exist. Steps that operate on a checkout likewise require step 5 or an existing configured ComfyUI directory. These checks run before confirmation.

    Running ComfyUI

    After installation, you have several options (examples assume alias comfy2 and version 0.19.0):

    Linux

    Option 1: Launcher script (recommended)

    /mnt/data/AI/start_comfy2.sh
    

    Option 2: Shell alias (if Step 11 was run)

    comfy2    # Activates the environment and launches ComfyUI
    

    Option 3: Manual

    source /mnt/data/AI/comfy_env/bin/activate
    cd /mnt/data/AI/ComfyUI_0.19.0
    python main.py
    

    Windows

    Option 1: Double-click launcher

    D:\AI\comfy2.bat
    

    Option 2: PowerShell launcher

    D:\AI\comfy2.ps1
    

    Option 3: PowerShell alias (if Step 11 was run, after reloading profile)

    comfy2
    

    Option 4: Manual

    & "D:\AI\comfy_env\Scripts\Activate.ps1"
    cd "D:\AI\ComfyUI_0.19.0"
    python main.py
    

    With INSTALL_COMFYUI_FRONTEND=true, each alias and launcher pins the configured frontend via uv pip install -q comfyui-frontend-package==VERSION (an instant no-op when already installed). With it disabled, launchers leave the current/custom frontend untouched. Both modes append COMFYUI_LAUNCH_ARGS to python main.py.

    Activating Virtual Environment Only

    # Shared across all installations (Step 11)
    envact
    
    # Or manually
    source /mnt/data/AI/comfy_env/bin/activate
    

    🔧 Customizing Custom Nodes

    To add/remove custom nodes, edit the [6/12] Clone Custom Nodes section around line 550:

    # Add your custom node:
    clone_if_missing "https://github.com/yourusername/your-custom-node.git"
    
    # Remove a node by commenting it out or deleting the line:
    # clone_if_missing "https://github.com/some/node-you-dont-want.git"
    

    Then run:

    ./install_comfy_env.sh
    

    And select steps 6-7 to update custom nodes and their dependencies.

    🐛 Troubleshooting

    pyenv Installation Fails

    If pyenv dependencies fail to install, you may need to manually install build dependencies for your distribution:

    Ubuntu/Debian:

    sudo apt-get update
    sudo apt-get install build-essential libssl-dev zlib1g-dev \
    libbz2-dev libreadline-dev libsqlite3-dev curl git \
    libncursesw5-dev xz-utils tk-dev libxml2-dev libxmlsec1-dev libffi-dev liblzma-dev
    

    Fedora:

    sudo dnf install make gcc patch zlib-devel bzip2 bzip2-devel readline-devel sqlite sqlite-devel openssl-devel tk-devel libffi-devel xz-devel libuuid-devel gdbm-libs libnsl2
    

    Nunchaku, Flash Attention, or SageAttention Is Unavailable

    Nunchaku and the compiled attention accelerators require an NVIDIA configuration with an exact compatible Python, Torch, CUDA, and platform combination. Missing Flash Attention is not fatal: the installers remove an ABI-incompatible extension and ComfyUI uses PyTorch attention. SageAttention falls back to version 1.0.6 when version 2.2.0 cannot be built and smoke-tested safely.

    If bz2 or another Python standard-library module cannot import, install the operating system development package and rebuild that Python version through pyenv. The installer reports this condition and never creates a library symlink workaround.

    Custom Node Dependencies Conflict

    Run step 12 after installing custom-node dependencies. It uses uv pip check, repairs only known shared intersections, validates ComfyUI core imports, and lists conflicts it intentionally leaves unresolved. When installed generations disagree—for example, legacy inference packages versus current inference-cli, Hugging Face, or typing libraries—the audit preserves the current managed runtime instead of minimizing the warning count with unsafe downgrades. Step 10 remains available to re-enforce explicitly managed package versions.

    ./install_comfy_env.sh  # Select step 12, or 10-12
    

    Shell Aliases Not Working

    Linux

    After step 11, you need to reload your shell configuration:

    # For bash
    source ~/.bashrc
    
    # For zsh
    source ~/.zshrc
    
    # For fish
    source ~/.config/fish/config.fish
    
    # Or just restart your terminal
    

    Windows

    After step 11, reload your PowerShell profile:

    . $PROFILE
    
    # Or just restart PowerShell
    

    Windows: Execution Policy Error

    If you get a script execution error:

    Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
    

    Windows: pyenv-win Not Found After Installation

    Close and reopen PowerShell. If still not found, ensure these are in your PATH:

    • %USERPROFILE%\.pyenv\pyenv-win\bin

    • %USERPROFILE%\.pyenv\pyenv-win\shims

    Windows: Flash Attention Not Available

    The Windows installer does not use community Flash Attention wheels or attempt an automatic source build. It removes an incompatible installation and uses PyTorch attention. SageAttention 2.2.0 remains available when a matching CUDA and Visual C++ build toolchain passes preflight; otherwise the installer uses SageAttention 1.0.6.

    Out of Disk Space

    The full installation requires 10-20GB. To reduce space:

    • Skip custom nodes (don't run step 6-7)

    • Remove unused custom nodes manually from custom_nodes/ directory

    • Use symlinks to store models on a different drive

    🤝 Contributing

    Contributions are welcome! Here's how you can help:

    1. Fork the repository

    2. Create a feature branch (git checkout -b feature/amazing-feature)

    3. Make your changes:

      • Add new custom nodes to the installation list

      • Update package versions

      • Add support for new Linux distributions

      • Improve error handling

    4. Test your changes on a fresh system if possible

    5. Commit your changes (git commit -m 'Add amazing feature')

    6. Push to the branch (git push origin feature/amazing-feature)

    7. Open a Pull Request

    Reporting Issues

    When reporting issues, please include:

    • Your Linux distribution and version

    • Python version being installed

    • Full error output

    • Which installation step failed

    📝 License

    This script is provided as-is for the ComfyUI community. Feel free to modify and distribute.

    📜 Changelog

    See CHANGELOG.md for the version history and recent changes.

    🙏 Acknowledgments

    • ComfyUI - The amazing stable diffusion GUI

    • pyenv - Python version management (Linux)

    • pyenv-win - Python version management (Windows)

    • All the custom node developers for their incredible work

    📞 Support

    If you encounter issues:

    1. Check the Troubleshooting section

    2. Search existing Issues

    3. Open a new issue with detailed information


    Happy ComfyUI-ing! 🎨

    Description

    • Added

      • Easy, Advanced, and Skip configuration modes with context-aware - preservation and selective embedded-default saving

      • NVIDIA, Linux ROCm, and CPU backend selection with validated PyTorch companion-package resolution

      • Step 12 compatibility audit with uv pip check, conservative directional repair for known shared intersections, core runtime import probes, and explicit unresolved-conflict reporting

      • Toolchain-gated SageAttention 2.2.0 builds with a verified 1.0.6 fallback

      • Native Windows AMD ROCm 7.2.1 installation with official AMD SDK and PyTorch wheels, Windows 11 and Python 3.12 validation, preserved-environment detection, and a HIP GPU runtime probe

      Changed

      • ComfyUI-Manager nodes under custom_nodes/.disabled/ and legacy *.disabled directories are preserved, excluded from cloning, and skipped during dependency installation

      • Flash Attention now installs only an exact official upstream Linux wheel, is force-replaced and import-tested, and is removed when unavailable or ABI-incompatible; Windows no longer uses community wheels or an automatic source build

      • Package upgrade work uses package-scoped uv upgrades so ultralytics and GGUF updates preserve compatible Filelock, OpenCV, Packaging, AV, protobuf, inference, tokenizers, and related runtime stacks

      • Compatibility repair prioritizes the managed runtime when legacy inference packages conflict with current inference-cli, Hugging Face, Pillow, Aiohttp, Click, or typing requirements

      • Installation progress and selection now consistently cover 12 steps while preserving launcher behavior as step 11

      • Windows Advanced configuration now offers AMD/ROCm alongside NVIDIA and CPU, while disabling NVIDIA-only Nunchaku and attention packages for AMD installations

      Fixed

      • Prevented a Flash Attention wheel compiled for an older Torch ABI from remaining installed after a Torch upgrade and breaking Kornia and ComfyUI core imports

      • Existing non-Git custom-node directories are reported as unmanaged instead of receiving a failing clone attempt

      • Audit-only and other partial-run summaries report versions from the configured venv, mark untouched ComfyUI checkouts, and omit nonexistent launcher paths

      • Step 9 keeps nvidia-ml-py below 13 because the installed inference packages require the 12.x API

      • Windows step 9 now writes its managed constraint file before using it

    FAQ

    Comments (1)

    HugMeIntoFaceAug 16, 2026
    CivitAI

    How much worse is an experience with NVIDIA GPU using ComfyUI on Linux?

    Other
    Other

    Details

    Downloads
    32
    Platform
    CivitAI
    Platform Status
    Available
    Created
    8/16/2026
    Updated
    8/25/2026
    Deleted
    -

    Files

    comfyuiInstallScript_013.zip

    Mirrors

    CivitAI (1 mirrors)

    comfyuiInstallScript_0131.zip

    Mirrors