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
Download UmeAiRT-Install-ComfyUI.bat from UmeAiRT/ComfyUI-Auto-Installer-Assets: direct link, hf CLI and curl.
- Browser
- Download file 4.66 kB
-
https://huggingface.co/UmeAiRT/ComfyUI-Auto-Installer-Assets/resolve/f5753cfd987ccd109d8bb2a70ccbce4c3f4836e7/UmeAiRT-Install-ComfyUI.bat
- Command line
-
hf download hf://UmeAiRT/ComfyUI-Auto-Installer-Assets@f5753cfd987ccd109d8bb2a70ccbce4c3f4836e7/UmeAiRT-Install-ComfyUI.bat
-
curl -L -o UmeAiRT-Install-ComfyUI.bat https://huggingface.co/UmeAiRT/ComfyUI-Auto-Installer-Assets/resolve/f5753cfd987ccd109d8bb2a70ccbce4c3f4836e7/UmeAiRT-Install-ComfyUI.bat
4.66 kB
| @echo off | |
| :: ============================================================================ | |
| :: Section 1: Checking and requesting administrator privileges | |
| :: ============================================================================ | |
| net session >nul 2>&1 | |
| if %errorlevel% NEQ 0 ( | |
| echo [INFO] Requesting administrator privileges... | |
| powershell.exe -Command "Start-Process -FilePath '%~f0' -Verb RunAs" | |
| exit | |
| ) | |
| :: ============================================================================ | |
| :: Section 2: Updated scripts from Github | |
| :: ============================================================================ | |
| title UmeAiRT ComfyUI Installer | |
| echo [OK] Administrator privileges confirmed. | |
| echo. | |
| set "ScriptsFolder=%~dp0scripts" | |
| if not exist "%ScriptsFolder%" ( | |
| echo [INFO] Creating the folder for the scripts: %ScriptsFolder% | |
| mkdir "%ScriptsFolder%" | |
| ) | |
| echo [INFO] Downloading the latest versions of the installation scripts... | |
| echo - Download of Install-ComfyUI.ps1... | |
| powershell.exe -NoProfile -ExecutionPolicy Bypass -Command "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; Invoke-WebRequest -Uri 'https://github.com/UmeAiRT/ComfyUI-Auto_installer/raw/refs/heads/main/scripts/Install-ComfyUI.ps1' -OutFile '%ScriptsFolder%\Install-ComfyUI.ps1'" | |
| echo - Download of Update-ComfyUI.ps1... | |
| powershell.exe -NoProfile -ExecutionPolicy Bypass -Command "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; Invoke-WebRequest -Uri 'https://github.com/UmeAiRT/ComfyUI-Auto_installer/raw/refs/heads/main/scripts/Update-ComfyUI.ps1' -OutFile '%ScriptsFolder%\Update-ComfyUI.ps1'" | |
| echo - Download of Download-FLUX-Models.ps1... | |
| powershell.exe -NoProfile -ExecutionPolicy Bypass -Command "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; Invoke-WebRequest -Uri 'https://github.com/UmeAiRT/ComfyUI-Auto_installer/raw/refs/heads/main/scripts/Download-FLUX-Models.ps1' -OutFile '%ScriptsFolder%\Download-FLUX-Models.ps1'" | |
| echo - Download of Download-WAN-Models.ps1... | |
| powershell.exe -NoProfile -ExecutionPolicy Bypass -Command "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; Invoke-WebRequest -Uri 'https://github.com/UmeAiRT/ComfyUI-Auto_installer/raw/refs/heads/main/scripts/Download-WAN-Models.ps1' -OutFile '%ScriptsFolder%\Download-WAN-Models.ps1'" | |
| echo - Download of Download-HIDREAM-Models.ps1... | |
| powershell.exe -NoProfile -ExecutionPolicy Bypass -Command "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; Invoke-WebRequest -Uri 'https://github.com/UmeAiRT/ComfyUI-Auto_installer/raw/refs/heads/main/scripts/Download-HIDREAM-Models.ps1' -OutFile '%ScriptsFolder%\Download-HIDREAM-Models.ps1'" | |
| echo - Download of Download-LTXV-Models.ps1... | |
| powershell.exe -NoProfile -ExecutionPolicy Bypass -Command "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; Invoke-WebRequest -Uri 'https://github.com/UmeAiRT/ComfyUI-Auto_installer/raw/refs/heads/main/scripts/Download-LTXV-Models.ps1' -OutFile '%ScriptsFolder%\Download-LTXV-Models.ps1'" | |
| powershell.exe -NoProfile -ExecutionPolicy Bypass -Command "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; Invoke-WebRequest -Uri 'https://github.com/UmeAiRT/ComfyUI-Auto_installer/raw/refs/heads/main/UmeAiRT-Start-ComfyUI.bat' -OutFile '%~dp0UmeAiRT-Start-ComfyUI.bat'" | |
| powershell.exe -NoProfile -ExecutionPolicy Bypass -Command "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; Invoke-WebRequest -Uri 'https://github.com/UmeAiRT/ComfyUI-Auto_installer/raw/refs/heads/main/UmeAiRT-Download_models.bat' -OutFile '%~dp0UmeAiRT-Download_models.bat'" | |
| powershell.exe -NoProfile -ExecutionPolicy Bypass -Command "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; Invoke-WebRequest -Uri 'https://github.com/UmeAiRT/ComfyUI-Auto_installer/raw/refs/heads/main/UmeAiRT-Update-ComfyUI.bat' -OutFile '%~dp0UmeAiRT-Update-ComfyUI.bat'" | |
| echo [OK] Updated scripts. | |
| echo. | |
| :: ============================================================================ | |
| :: Section 3: Running the main script | |
| :: ============================================================================ | |
| echo [INFO] Launching the main installation script... | |
| echo. | |
| REM NOUVEAU : On passe le chemin d'installation en argument avec -InstallPath | |
| powershell.exe -ExecutionPolicy Bypass -File "%ScriptsFolder%\Install-ComfyUI.ps1" -InstallPath "%~dp0" | |
| echo. | |
| echo [INFO] The script execution is complete. | |
| pause |