Upload UmeAiRT-AllinOne-Auto_install.bat
Browse files
UmeAiRT-AllinOne-Auto_install.bat
CHANGED
|
@@ -14,7 +14,7 @@ echo ---------------------------------------------------------------------------
|
|
| 14 |
type banner.txt
|
| 15 |
echo [0m-------------------------------------------------------------------------------
|
| 16 |
echo ComfyUI - WAN2.1 - All in one installer
|
| 17 |
-
echo
|
| 18 |
echo -------------------------------------------------------------------------------
|
| 19 |
del /f banner.txt
|
| 20 |
|
|
@@ -52,6 +52,8 @@ if %errorlevel% NEQ 0 (
|
|
| 52 |
start /wait Git-2.41.0.3-64-bit.exe /VERYSILENT
|
| 53 |
del Git-2.41.0.3-64-bit.exe
|
| 54 |
)
|
|
|
|
|
|
|
| 55 |
|
| 56 |
REM Download ComfyUI
|
| 57 |
echo [33mDownloading ComfyUI...[0m
|
|
@@ -83,18 +85,7 @@ if exist update_new.py (
|
|
| 83 |
)
|
| 84 |
"%basePath%\python_embeded\python.exe" -s -m pip install -r "%basePath%/ComfyUI/requirements.txt" >> "%installPath%\logs\install.txt" 2>&1
|
| 85 |
|
| 86 |
-
REM echo [33mInstalling xformers...[0m
|
| 87 |
-
REM "%basePath%\python_embeded\python.exe" -s -m pip install xformers >> "%installPath%\logs\install.txt" 2>&1
|
| 88 |
-
REM "%basePath%\python_embeded\python.exe" -s -m pip install pytorch-pretrained-bert >> "%installPath%\logs\install.txt" 2>&1
|
| 89 |
-
REM "%basePath%\python_embeded\python.exe" -s -m pip install pytorch-extension >> "%installPath%\logs\install.txt" 2>&1
|
| 90 |
-
echo [33mInstalling NVIDIA Apex...[0m
|
| 91 |
-
git clone https://github.com/NVIDIA/apex "%basePath%/python_embeded/apex" >> "%installPath%\logs\install.txt" 2>&1
|
| 92 |
-
"%basePath%\python_embeded\python.exe" -s -m pip install -e "%basePath%/python_embeded/apex" >> "%installPath%\logs\install.txt" 2>&1
|
| 93 |
|
| 94 |
-
echo [33mInstalling Triton...[0m
|
| 95 |
-
curl -L -o "%basePath%\python_embeded\triton-3.3.0-py3-none-any.whl" https://github.com/woct0rdho/triton-windows/releases/download/empty/triton-3.3.0-py3-none-any.whl >> "%installPath%\logs\install.txt" 2>&1
|
| 96 |
-
"%basePath%\python_embeded\python.exe" -m pip install "%basePath%\python_embeded\triton-3.3.0-py3-none-any.whl" >> "%installPath%\logs\install.txt" 2>&1
|
| 97 |
-
"%basePath%\python_embeded\python.exe" -s -m pip install triton-windows >> "%installPath%\logs\install.txt" 2>&1
|
| 98 |
|
| 99 |
REM Clone ComfyUI-Manager
|
| 100 |
echo [33mInstalling ComfyUI-Manager...[0m
|
|
@@ -146,13 +137,9 @@ git clone https://github.com/yolain/ComfyUI-Easy-Use "%customNodesPath%/ComfyUI-
|
|
| 146 |
echo - PuLID_Flux_ll
|
| 147 |
git clone https://github.com/lldacing/ComfyUI_PuLID_Flux_ll "%customNodesPath%/ComfyUI_PuLID_Flux_ll" >> "%installPath%\logs\install.txt" 2>&1
|
| 148 |
"%basePath%\python_embeded\python.exe" -s -m pip install -r "%customNodesPath%/ComfyUI_PuLID_Flux_ll/requirements.txt" --no-warn-script-location >> "%installPath%\logs\install.txt" 2>&1
|
| 149 |
-
curl -L -o "%basePath%\python_embeded\insightface-0.7.3-cp310-cp310-win_amd64.whl" https://huggingface.co/UmeAiRT/ComfyUI-Auto_installer/resolve/main/others/insightface-0.7.3-cp310-cp310-win_amd64.whl?download=true >> "%installPath%\logs\install.txt" 2>&1
|
| 150 |
-
curl -L -o "%basePath%\python_embeded\insightface-0.7.3-cp311-cp311-win_amd64.whl" https://huggingface.co/UmeAiRT/ComfyUI-Auto_installer/resolve/main/others/insightface-0.7.3-cp311-cp311-win_amd64.whl?download=true >> "%installPath%\logs\install.txt" 2>&1
|
| 151 |
curl -L -o "%basePath%\python_embeded\insightface-0.7.3-cp312-cp312-win_amd64.whl" https://huggingface.co/UmeAiRT/ComfyUI-Auto_installer/resolve/main/others/insightface-0.7.3-cp312-cp312-win_amd64.whl?download=true >> "%installPath%\logs\install.txt" 2>&1
|
| 152 |
"%basePath%\python_embeded\python.exe" -m pip install --use-pep517 facexlib >> "%installPath%\logs\install.txt" 2>&1
|
| 153 |
"%basePath%\python_embeded\python.exe" -m pip install git+https://github.com/rodjjo/filterpy.git >> "%installPath%\logs\install.txt" 2>&1
|
| 154 |
-
"%basePath%\python_embeded\python.exe" -m pip install onnxruntime==1.19.2 onnxruntime-gpu==1.15.1 "%basePath%\python_embeded\insightface-0.7.3-cp310-cp310-win_amd64.whl" >> "%installPath%\logs\install.txt" 2>&1
|
| 155 |
-
"%basePath%\python_embeded\python.exe" -m pip install onnxruntime==1.19.2 onnxruntime-gpu==1.15.1 "%basePath%\python_embeded\insightface-0.7.3-cp311-cp311-win_amd64.whl" >> "%installPath%\logs\install.txt" 2>&1
|
| 156 |
"%basePath%\python_embeded\python.exe" -m pip install onnxruntime==1.19.2 onnxruntime-gpu==1.17.1 "%basePath%\python_embeded\insightface-0.7.3-cp312-cp312-win_amd64.whl" >> "%installPath%\logs\install.txt" 2>&1
|
| 157 |
|
| 158 |
echo - HunyuanVideoMultiLora
|
|
@@ -196,25 +183,41 @@ del /f "%comfyPath%\user\default\workflows\UmeAiRT-WAN21_workflow.7z" -force >
|
|
| 196 |
curl -L -o "%installPath%/UmeAiRT-Missing_nodes.bat" "https://huggingface.co/UmeAiRT/ComfyUI-Auto_installer/resolve/main/UmeAiRT-Missing_nodes.bat?download=true" >> "%installPath%\logs\install.txt" 2>&1
|
| 197 |
curl -L -o "%installPath%/UmeAiRT-WAN2.1-Model_downloader.bat" "https://huggingface.co/UmeAiRT/ComfyUI-Auto_installer/resolve/main/UmeAiRT-WAN2.1-Model_downloader.bat?download=true" >> "%installPath%\logs\install.txt" 2>&1
|
| 198 |
curl -L -o "%installPath%/UmeAiRT-FLUX-Model_downloader.bat" "https://huggingface.co/UmeAiRT/ComfyUI-Auto_installer/resolve/main/UmeAiRT-FLUX-Model_downloader.bat?download=true" >> "%installPath%\logs\install.txt" 2>&1
|
| 199 |
-
curl -L -o "%installPath%/UmeAiRT-WAN2.1-Sageattention_install.bat" "https://huggingface.co/UmeAiRT/ComfyUI-Auto_installer/resolve/main/UmeAiRT-WAN2.1-Sageattention_install.bat?download=true" >> "%installPath%\logs\install.txt" 2>&1
|
| 200 |
|
| 201 |
REM Final steps based on user choice
|
| 202 |
curl -L -o "%basePath%/run_nvidia_gpu-LOWVRAM.bat" https://huggingface.co/UmeAiRT/ComfyUI-Auto_installer/resolve/main/scripts/run_nvidia_gpu-LOWVRAM.bat?download=true
|
| 203 |
curl -L -o "%basePath%/run_nvidia_gpu-sageattention.bat" https://huggingface.co/UmeAiRT/ComfyUI-Auto_installer/resolve/main/scripts/run_nvidia_gpu-sageattention.bat?download=true
|
| 204 |
|
| 205 |
-
|
| 206 |
-
REM Ask user for installation type
|
| 207 |
-
echo [33mDo you want to install SageAttention?[0m
|
| 208 |
-
set /p "MODELS=Enter your choice (Y or N) and press Enter: "
|
| 209 |
|
| 210 |
-
|
| 211 |
-
|
| 212 |
-
|
| 213 |
-
|
| 214 |
-
|
| 215 |
-
|
| 216 |
-
|
| 217 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 218 |
|
| 219 |
:CHOOSE_DOWNLOAD_WAN
|
| 220 |
REM Ask user for installation type
|
|
|
|
| 14 |
type banner.txt
|
| 15 |
echo [0m-------------------------------------------------------------------------------
|
| 16 |
echo ComfyUI - WAN2.1 - All in one installer
|
| 17 |
+
echo V2.2 for CUDA 12.8
|
| 18 |
echo -------------------------------------------------------------------------------
|
| 19 |
del /f banner.txt
|
| 20 |
|
|
|
|
| 52 |
start /wait Git-2.41.0.3-64-bit.exe /VERYSILENT
|
| 53 |
del Git-2.41.0.3-64-bit.exe
|
| 54 |
)
|
| 55 |
+
echo [33mEnabling long paths for git...[0m
|
| 56 |
+
powershell -Command "Start-Process git -WindowStyle Hidden -ArgumentList 'config','--system','core.longpaths','true' -Verb RunAs"
|
| 57 |
|
| 58 |
REM Download ComfyUI
|
| 59 |
echo [33mDownloading ComfyUI...[0m
|
|
|
|
| 85 |
)
|
| 86 |
"%basePath%\python_embeded\python.exe" -s -m pip install -r "%basePath%/ComfyUI/requirements.txt" >> "%installPath%\logs\install.txt" 2>&1
|
| 87 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 88 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 89 |
|
| 90 |
REM Clone ComfyUI-Manager
|
| 91 |
echo [33mInstalling ComfyUI-Manager...[0m
|
|
|
|
| 137 |
echo - PuLID_Flux_ll
|
| 138 |
git clone https://github.com/lldacing/ComfyUI_PuLID_Flux_ll "%customNodesPath%/ComfyUI_PuLID_Flux_ll" >> "%installPath%\logs\install.txt" 2>&1
|
| 139 |
"%basePath%\python_embeded\python.exe" -s -m pip install -r "%customNodesPath%/ComfyUI_PuLID_Flux_ll/requirements.txt" --no-warn-script-location >> "%installPath%\logs\install.txt" 2>&1
|
|
|
|
|
|
|
| 140 |
curl -L -o "%basePath%\python_embeded\insightface-0.7.3-cp312-cp312-win_amd64.whl" https://huggingface.co/UmeAiRT/ComfyUI-Auto_installer/resolve/main/others/insightface-0.7.3-cp312-cp312-win_amd64.whl?download=true >> "%installPath%\logs\install.txt" 2>&1
|
| 141 |
"%basePath%\python_embeded\python.exe" -m pip install --use-pep517 facexlib >> "%installPath%\logs\install.txt" 2>&1
|
| 142 |
"%basePath%\python_embeded\python.exe" -m pip install git+https://github.com/rodjjo/filterpy.git >> "%installPath%\logs\install.txt" 2>&1
|
|
|
|
|
|
|
| 143 |
"%basePath%\python_embeded\python.exe" -m pip install onnxruntime==1.19.2 onnxruntime-gpu==1.17.1 "%basePath%\python_embeded\insightface-0.7.3-cp312-cp312-win_amd64.whl" >> "%installPath%\logs\install.txt" 2>&1
|
| 144 |
|
| 145 |
echo - HunyuanVideoMultiLora
|
|
|
|
| 183 |
curl -L -o "%installPath%/UmeAiRT-Missing_nodes.bat" "https://huggingface.co/UmeAiRT/ComfyUI-Auto_installer/resolve/main/UmeAiRT-Missing_nodes.bat?download=true" >> "%installPath%\logs\install.txt" 2>&1
|
| 184 |
curl -L -o "%installPath%/UmeAiRT-WAN2.1-Model_downloader.bat" "https://huggingface.co/UmeAiRT/ComfyUI-Auto_installer/resolve/main/UmeAiRT-WAN2.1-Model_downloader.bat?download=true" >> "%installPath%\logs\install.txt" 2>&1
|
| 185 |
curl -L -o "%installPath%/UmeAiRT-FLUX-Model_downloader.bat" "https://huggingface.co/UmeAiRT/ComfyUI-Auto_installer/resolve/main/UmeAiRT-FLUX-Model_downloader.bat?download=true" >> "%installPath%\logs\install.txt" 2>&1
|
|
|
|
| 186 |
|
| 187 |
REM Final steps based on user choice
|
| 188 |
curl -L -o "%basePath%/run_nvidia_gpu-LOWVRAM.bat" https://huggingface.co/UmeAiRT/ComfyUI-Auto_installer/resolve/main/scripts/run_nvidia_gpu-LOWVRAM.bat?download=true
|
| 189 |
curl -L -o "%basePath%/run_nvidia_gpu-sageattention.bat" https://huggingface.co/UmeAiRT/ComfyUI-Auto_installer/resolve/main/scripts/run_nvidia_gpu-sageattention.bat?download=true
|
| 190 |
|
| 191 |
+
echo [33mInstalling additional modules for Python...[0m
|
|
|
|
|
|
|
|
|
|
| 192 |
|
| 193 |
+
echo - Visual Studio Build Tools
|
| 194 |
+
powershell -Command "Start-Process winget -WindowStyle Hidden -ArgumentList 'install','--id','Microsoft.VisualStudio.2022.BuildTools','-e','--source','winget','--override','--quiet --wait --norestart --add Microsoft.VisualStudio.Component.VC.Tools.x86.x64 --add Microsoft.VisualStudio.Component.Windows10SDK.20348' -Verb RunAs"
|
| 195 |
+
|
| 196 |
+
echo - Python include/libs
|
| 197 |
+
curl -L -o "%basePath%\python_embeded\python_3.12.9_include_libs.zip" https://huggingface.co/UmeAiRT/ComfyUI-Auto_installer/resolve/main/others/python_3.12.9_include_libs.zip?download=true >> "%installPath%\logs\install.txt" 2>&1
|
| 198 |
+
tar -xf "%basePath%\python_embeded\python_3.12.9_include_libs.zip" -C "%basePath%\python_embeded" >> "%installPath%\logs\install.txt" 2>&1
|
| 199 |
+
|
| 200 |
+
echo - NVIDIA Apex
|
| 201 |
+
curl -L -o "%basePath%\python_embeded\apex-0.1-py3-none-any.whl" https://huggingface.co/UmeAiRT/ComfyUI-Auto_installer/resolve/main/others/apex-0.1-py3-none-any.whl >> "%installPath%\logs\install.txt" 2>&1
|
| 202 |
+
"%basePath%\python_embeded\python.exe" -m pip install "%basePath%\python_embeded\apex-0.1-py3-none-any.whl" >> "%installPath%\logs\install.txt" 2>&1
|
| 203 |
+
|
| 204 |
+
echo - Triton
|
| 205 |
+
curl -L -o "%basePath%\python_embeded\triton-3.3.0-py3-none-any.whl" https://github.com/woct0rdho/triton-windows/releases/download/empty/triton-3.3.0-py3-none-any.whl >> "%installPath%\logs\install.txt" 2>&1
|
| 206 |
+
"%basePath%\python_embeded\python.exe" -m pip install "%basePath%\python_embeded\triton-3.3.0-py3-none-any.whl" >> "%installPath%\logs\install.txt" 2>&1
|
| 207 |
+
"%basePath%\python_embeded\python.exe" -s -m pip install triton-windows >> "%installPath%\logs\install.txt" 2>&1
|
| 208 |
+
|
| 209 |
+
echo - xformers
|
| 210 |
+
curl -L -o "%basePath%\python_embeded\mpmath-1.3.0-py3-none-any.whl" https://huggingface.co/UmeAiRT/ComfyUI-Auto_installer/resolve/main/others/mpmath-1.3.0-py3-none-any.whl >> "%installPath%\logs\install.txt" 2>&1
|
| 211 |
+
curl -L -o xformers-0.0.30.zip https://huggingface.co/UmeAiRT/ComfyUI-Auto_installer/resolve/main/others/xformers-0.0.30.zip >> "%installPath%\logs\install.txt" 2>&1
|
| 212 |
+
"%SEVEN_ZIP_PATH%" x xformers-0.0.30.zip -o"%basePath%\python_embeded\Lib\site-packages" >> "%installPath%\logs\install.txt" 2>&1
|
| 213 |
+
del /f xformers-0.0.30.zip -force
|
| 214 |
+
rem curl -L -o "%basePath%\python_embeded\xformers-0.0.30+3abeaa9e.d20250426-cp312-cp312-win_amd64.whl" https://huggingface.co/UmeAiRT/ComfyUI-Auto_installer/resolve/main/others/xformers-0.0.30%2B3abeaa9e.d20250426-cp312-cp312-win_amd64.whl >> "%installPath%\logs\install.txt" 2>&1
|
| 215 |
+
"%basePath%\python_embeded\python.exe" -m pip install "%basePath%\python_embeded\mpmath-1.3.0-py3-none-any.whl" >> "%installPath%\logs\install.txt" 2>&1
|
| 216 |
+
rem "%basePath%\python_embeded\python.exe" -m pip install --no-deps "%basePath%\python_embeded\xformers-0.0.30+3abeaa9e.d20250426-cp312-cp312-win_amd64.whl" >> "%installPath%\logs\install.txt" 2>&1
|
| 217 |
+
|
| 218 |
+
echo - SageAttention
|
| 219 |
+
curl -L -o "%basePath%\python_embeded\sageattention-2.1.1-cp312-cp312-win_amd64.whl" https://huggingface.co/UmeAiRT/ComfyUI-Auto_installer/resolve/main/others/sageattention-2.1.1-cp312-cp312-win_amd64.whl >> "%installPath%\logs\install.txt" 2>&1
|
| 220 |
+
"%basePath%\python_embeded\python.exe" -m pip install "%basePath%\python_embeded\sageattention-2.1.1-cp312-cp312-win_amd64.whl" >> "%installPath%\logs\install.txt" 2>&1
|
| 221 |
|
| 222 |
:CHOOSE_DOWNLOAD_WAN
|
| 223 |
REM Ask user for installation type
|