Upload UmeAiRT-WAN2.1-AllinOne-Auto_install.bat
Browse files
UmeAiRT-WAN2.1-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,10 +52,12 @@ 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
|
| 58 |
-
curl -L -o ComfyUI_windows_portable_nvidia.7z https://github.com/comfyanonymous/ComfyUI/releases/download/v0.3.
|
| 59 |
|
| 60 |
REM Extract ComfyUI
|
| 61 |
echo [33mExtracting ComfyUI...[0m
|
|
@@ -83,27 +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 |
-
echo [33mInstalling xformers...[0m
|
| 87 |
-
"%basePath%\python_embeded\python.exe" -s -m pip install xformers >> "%installPath%\logs\install.txt" 2>&1
|
| 88 |
-
"%basePath%\python_embeded\python.exe" -s -m pip install pytorch-pretrained-bert >> "%installPath%\logs\install.txt" 2>&1
|
| 89 |
-
"%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 Visual Studio Build Tools...[0m
|
| 95 |
-
winget 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"
|
| 96 |
-
|
| 97 |
-
echo [33mInstalling Triton...[0m
|
| 98 |
-
"%basePath%\python_embeded\python.exe" -s -m pip install triton-windows==3.2.0.post17 >> "%installPath%\logs\install.txt" 2>&1
|
| 99 |
-
|
| 100 |
-
echo [33mDownloading Python include/libs...[0m
|
| 101 |
-
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
|
| 102 |
-
tar -xf "%basePath%\python_embeded\python_3.12.9_include_libs.zip" -C "%basePath%\python_embeded" >> "%installPath%\logs\install.txt" 2>&1
|
| 103 |
-
|
| 104 |
-
echo [33mInstalling SageAttention...[0m
|
| 105 |
-
git clone https://github.com/thu-ml/SageAttention "%basePath%/python_embeded/SageAttention" >> "%installPath%\logs\install.txt" 2>&1
|
| 106 |
-
"%basePath%\python_embeded\python.exe" -s -m pip install -e "%basePath%/python_embeded/SageAttention" >> "%installPath%\logs\install.txt" 2>&1
|
| 107 |
|
| 108 |
REM Clone ComfyUI-Manager
|
| 109 |
echo [33mInstalling ComfyUI-Manager...[0m
|
|
@@ -132,6 +114,10 @@ echo - KJNodes
|
|
| 132 |
git clone https://github.com/kijai/ComfyUI-KJNodes "%customNodesPath%/ComfyUI-KJNodes" >> "%installPath%\logs\install.txt" 2>&1
|
| 133 |
"%basePath%\python_embeded\python.exe" -s -m pip install -r "%customNodesPath%/ComfyUI-KJNodes/requirements.txt" --no-warn-script-location >> "%installPath%\logs\install.txt" 2>&1
|
| 134 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 135 |
echo - VideoHelperSuite
|
| 136 |
git clone https://github.com/Kosinkadink/ComfyUI-VideoHelperSuite "%customNodesPath%/ComfyUI-VideoHelperSuite" >> "%installPath%\logs\install.txt" 2>&1
|
| 137 |
"%basePath%\python_embeded\python.exe" -s -m pip install -r "%customNodesPath%/ComfyUI-VideoHelperSuite/requirements.txt" --no-warn-script-location >> "%installPath%\logs\install.txt" 2>&1
|
|
@@ -151,13 +137,9 @@ git clone https://github.com/yolain/ComfyUI-Easy-Use "%customNodesPath%/ComfyUI-
|
|
| 151 |
echo - PuLID_Flux_ll
|
| 152 |
git clone https://github.com/lldacing/ComfyUI_PuLID_Flux_ll "%customNodesPath%/ComfyUI_PuLID_Flux_ll" >> "%installPath%\logs\install.txt" 2>&1
|
| 153 |
"%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
|
| 154 |
-
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
|
| 155 |
-
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
|
| 156 |
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
|
| 157 |
"%basePath%\python_embeded\python.exe" -m pip install --use-pep517 facexlib >> "%installPath%\logs\install.txt" 2>&1
|
| 158 |
"%basePath%\python_embeded\python.exe" -m pip install git+https://github.com/rodjjo/filterpy.git >> "%installPath%\logs\install.txt" 2>&1
|
| 159 |
-
"%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
|
| 160 |
-
"%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
|
| 161 |
"%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
|
| 162 |
|
| 163 |
echo - HunyuanVideoMultiLora
|
|
@@ -183,6 +165,25 @@ git clone https://github.com/pollockjj/ComfyUI-MultiGPU "%customNodesPath%/Comfy
|
|
| 183 |
echo - WanStartEndFramesNative
|
| 184 |
git clone https://github.com/Flow-two/ComfyUI-WanStartEndFramesNative "%customNodesPath%/ComfyUI-WanStartEndFramesNative" >> "%installPath%\logs\install.txt" 2>&1
|
| 185 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 186 |
mkdir "%comfyPath%\user\default\workflows"
|
| 187 |
echo [33mDownloading comfy settings...[0m
|
| 188 |
curl -L -o "%comfyPath%\user\default\comfy.settings.json" https://huggingface.co/UmeAiRT/ComfyUI-Auto_installer/resolve/main/others/comfy.settings.json?download=true >> "%installPath%\logs\install.txt" 2>&1
|
|
@@ -191,17 +192,53 @@ curl -L -o "%comfyPath%\user\default\workflows\UmeAiRT-WAN21_workflow.7z" https:
|
|
| 191 |
"%SEVEN_ZIP_PATH%" x "%comfyPath%\user\default\workflows\UmeAiRT-WAN21_workflow.7z" -o"%comfyPath%\user\default\workflows\" -y >> "%installPath%\logs\install.txt" 2>&1
|
| 192 |
del /f "%comfyPath%\user\default\workflows\UmeAiRT-WAN21_workflow.7z" -force >> "%installPath%\logs\install.txt" 2>&1
|
| 193 |
|
| 194 |
-
curl -L -o "%
|
|
|
|
|
|
|
|
|
|
|
|
|
| 195 |
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
|
| 196 |
-
curl -L -o "%installPath%/UmeAiRT-
|
| 197 |
|
| 198 |
REM Final steps based on user choice
|
| 199 |
-
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
|
| 200 |
-
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
|
| 201 |
-
|
| 202 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 203 |
REM Ask user for installation type
|
| 204 |
-
echo [33mWould you like to download models?[0m
|
| 205 |
set /p "MODELS=Enter your choice (Y or N) and press Enter: "
|
| 206 |
|
| 207 |
if /i "%MODELS%"=="Y" (
|
|
@@ -210,7 +247,22 @@ if /i "%MODELS%"=="Y" (
|
|
| 210 |
REM Do nothing, just continue
|
| 211 |
) else (
|
| 212 |
echo [31mInvalid choice. Please enter Y or N.[0m
|
| 213 |
-
goto
|
| 214 |
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 215 |
echo [33mComfyUI installed.[0m
|
| 216 |
pause
|
|
|
|
| 14 |
type banner.txt
|
| 15 |
echo [0m-------------------------------------------------------------------------------
|
| 16 |
echo ComfyUI - WAN2.1 - All in one installer
|
| 17 |
+
echo V2.3 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
|
| 60 |
+
curl -L -o ComfyUI_windows_portable_nvidia.7z https://github.com/comfyanonymous/ComfyUI/releases/download/v0.3.31/ComfyUI_windows_portable_nvidia.7z
|
| 61 |
|
| 62 |
REM Extract ComfyUI
|
| 63 |
echo [33mExtracting 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
|
|
|
|
| 114 |
git clone https://github.com/kijai/ComfyUI-KJNodes "%customNodesPath%/ComfyUI-KJNodes" >> "%installPath%\logs\install.txt" 2>&1
|
| 115 |
"%basePath%\python_embeded\python.exe" -s -m pip install -r "%customNodesPath%/ComfyUI-KJNodes/requirements.txt" --no-warn-script-location >> "%installPath%\logs\install.txt" 2>&1
|
| 116 |
|
| 117 |
+
echo - WanVideoWrapper
|
| 118 |
+
git clone https://github.com/kijai/ComfyUI-WanVideoWrapper "%customNodesPath%/ComfyUI-WanVideoWrapper" >> "%installPath%\logs\install.txt" 2>&1
|
| 119 |
+
"%basePath%\python_embeded\python.exe" -s -m pip install -r "%customNodesPath%/ComfyUI-WanVideoWrapper/requirements.txt" --no-warn-script-location >> "%installPath%\logs\install.txt" 2>&1
|
| 120 |
+
|
| 121 |
echo - VideoHelperSuite
|
| 122 |
git clone https://github.com/Kosinkadink/ComfyUI-VideoHelperSuite "%customNodesPath%/ComfyUI-VideoHelperSuite" >> "%installPath%\logs\install.txt" 2>&1
|
| 123 |
"%basePath%\python_embeded\python.exe" -s -m pip install -r "%customNodesPath%/ComfyUI-VideoHelperSuite/requirements.txt" --no-warn-script-location >> "%installPath%\logs\install.txt" 2>&1
|
|
|
|
| 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
|
|
|
|
| 165 |
echo - WanStartEndFramesNative
|
| 166 |
git clone https://github.com/Flow-two/ComfyUI-WanStartEndFramesNative "%customNodesPath%/ComfyUI-WanStartEndFramesNative" >> "%installPath%\logs\install.txt" 2>&1
|
| 167 |
|
| 168 |
+
echo - ComfyUI-Image-Saver
|
| 169 |
+
git clone https://github.com/alexopus/ComfyUI-Image-Saver "%customNodesPath%/ComfyUI-Image-Saver" >> "%installPath%\logs\install.txt" 2>&1
|
| 170 |
+
"%basePath%\python_embeded\python.exe" -s -m pip install -r "%customNodesPath%/ComfyUI-Image-Saver/requirements.txt" --no-warn-script-location >> "%installPath%\logs\install.txt" 2>&1
|
| 171 |
+
|
| 172 |
+
echo - ComfyUI_UltimateSDUpscale
|
| 173 |
+
git clone https://github.com/ssitu/ComfyUI_UltimateSDUpscale "%customNodesPath%/ComfyUI_UltimateSDUpscale" >> "%installPath%\logs\install.txt" 2>&1
|
| 174 |
+
|
| 175 |
+
echo - Controlnet_Aux
|
| 176 |
+
git clone https://github.com/Fannovel16/comfyui_controlnet_aux "%customNodesPath%/comfyui_controlnet_aux" >> "%installPath%\logs\install.txt" 2>&1
|
| 177 |
+
"%basePath%\python_embeded\python.exe" -s -m pip install -r "%customNodesPath%/comfyui_controlnet_aux/requirements.txt" --no-warn-script-location >> "%installPath%\logs\install.txt" 2>&1
|
| 178 |
+
|
| 179 |
+
echo - X-Flux
|
| 180 |
+
git clone https://github.com/XLabs-AI/x-flux-comfyui "%customNodesPath%/x-flux-comfyui" >> "%installPath%\logs\install.txt" 2>&1
|
| 181 |
+
"%basePath%\python_embeded\python.exe" -s -m pip install -r "%customNodesPath%/x-flux-comfyui/requirements.txt" --no-warn-script-location >> "%installPath%\logs\install.txt" 2>&1
|
| 182 |
+
|
| 183 |
+
echo - RMBG
|
| 184 |
+
git clone https://github.com/1038lab/ComfyUI-RMBG "%customNodesPath%/ComfyUI-RMBG" >> "%installPath%\logs\install.txt" 2>&1
|
| 185 |
+
"%basePath%\python_embeded\python.exe" -s -m pip install -r "%customNodesPath%/ComfyUI-RMBG/requirements.txt" --no-warn-script-location >> "%installPath%\logs\install.txt" 2>&1
|
| 186 |
+
|
| 187 |
mkdir "%comfyPath%\user\default\workflows"
|
| 188 |
echo [33mDownloading comfy settings...[0m
|
| 189 |
curl -L -o "%comfyPath%\user\default\comfy.settings.json" https://huggingface.co/UmeAiRT/ComfyUI-Auto_installer/resolve/main/others/comfy.settings.json?download=true >> "%installPath%\logs\install.txt" 2>&1
|
|
|
|
| 192 |
"%SEVEN_ZIP_PATH%" x "%comfyPath%\user\default\workflows\UmeAiRT-WAN21_workflow.7z" -o"%comfyPath%\user\default\workflows\" -y >> "%installPath%\logs\install.txt" 2>&1
|
| 193 |
del /f "%comfyPath%\user\default\workflows\UmeAiRT-WAN21_workflow.7z" -force >> "%installPath%\logs\install.txt" 2>&1
|
| 194 |
|
| 195 |
+
curl -L -o "%comfyPath%\user\default\workflows\UmeAiRT-Flux_Workflow.7z" https://huggingface.co/UmeAiRT/ComfyUI-Auto_installer/resolve/main/workflows/UmeAiRT-Flux_Workflow.7z?download=true >> "%installPath%\logs\install.txt" 2>&1
|
| 196 |
+
"%SEVEN_ZIP_PATH%" x "%comfyPath%\user\default\workflows\UmeAiRT-Flux_Workflow.7z" -o"%comfyPath%\user\default\workflows\" -y >> "%installPath%\logs\install.txt" 2>&1
|
| 197 |
+
del /f "%comfyPath%\user\default\workflows\UmeAiRT-Flux_Workflow.7z" -force >> "%installPath%\logs\install.txt" 2>&1
|
| 198 |
+
|
| 199 |
+
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
|
| 200 |
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
|
| 201 |
+
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
|
| 202 |
|
| 203 |
REM Final steps based on user choice
|
| 204 |
+
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
|
| 205 |
+
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
|
| 206 |
+
|
| 207 |
+
echo [33mInstalling additional modules for Python...[0m
|
| 208 |
+
|
| 209 |
+
echo - Visual Studio Build Tools
|
| 210 |
+
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"
|
| 211 |
+
|
| 212 |
+
echo - Python include/libs
|
| 213 |
+
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
|
| 214 |
+
tar -xf "%basePath%\python_embeded\python_3.12.9_include_libs.zip" -C "%basePath%\python_embeded" >> "%installPath%\logs\install.txt" 2>&1
|
| 215 |
+
|
| 216 |
+
echo - NVIDIA Apex
|
| 217 |
+
curl -L -o apex-0.1.zip https://huggingface.co/UmeAiRT/ComfyUI-Auto_installer/resolve/main/others/apex-0.1.zip >> "%installPath%\logs\install.txt" 2>&1
|
| 218 |
+
"%SEVEN_ZIP_PATH%" x apex-0.1.zip -o"%basePath%\python_embeded\Lib\site-packages" >> "%installPath%\logs\install.txt" 2>&1
|
| 219 |
+
del /f apex-0.1.zip -force
|
| 220 |
+
|
| 221 |
+
echo - Triton
|
| 222 |
+
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
|
| 223 |
+
"%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
|
| 224 |
+
"%basePath%\python_embeded\python.exe" -s -m pip install triton-windows >> "%installPath%\logs\install.txt" 2>&1
|
| 225 |
+
|
| 226 |
+
echo - xformers
|
| 227 |
+
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
|
| 228 |
+
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
|
| 229 |
+
"%SEVEN_ZIP_PATH%" x xformers-0.0.30.zip -o"%basePath%\python_embeded\Lib\site-packages" >> "%installPath%\logs\install.txt" 2>&1
|
| 230 |
+
del /f xformers-0.0.30.zip -force
|
| 231 |
+
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
|
| 232 |
+
"%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
|
| 233 |
+
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
|
| 234 |
+
|
| 235 |
+
echo - SageAttention
|
| 236 |
+
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
|
| 237 |
+
"%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
|
| 238 |
+
|
| 239 |
+
:CHOOSE_DOWNLOAD_WAN
|
| 240 |
REM Ask user for installation type
|
| 241 |
+
echo [33mWould you like to download WAN models?[0m
|
| 242 |
set /p "MODELS=Enter your choice (Y or N) and press Enter: "
|
| 243 |
|
| 244 |
if /i "%MODELS%"=="Y" (
|
|
|
|
| 247 |
REM Do nothing, just continue
|
| 248 |
) else (
|
| 249 |
echo [31mInvalid choice. Please enter Y or N.[0m
|
| 250 |
+
goto CHOOSE_DOWNLOAD_WAN
|
| 251 |
)
|
| 252 |
+
|
| 253 |
+
:CHOOSE_DOWNLOAD_FLUX
|
| 254 |
+
REM Ask user for installation type
|
| 255 |
+
echo [33mWould you like to download FLUX models?[0m
|
| 256 |
+
set /p "MODELS=Enter your choice (Y or N) and press Enter: "
|
| 257 |
+
|
| 258 |
+
if /i "%MODELS%"=="Y" (
|
| 259 |
+
call "%installPath%\UmeAiRT-FLUX-Model_downloader.bat"
|
| 260 |
+
) else if /i "%MODELS%"=="N" (
|
| 261 |
+
REM Do nothing, just continue
|
| 262 |
+
) else (
|
| 263 |
+
echo [31mInvalid choice. Please enter Y or N.[0m
|
| 264 |
+
goto CHOOSE_DOWNLOAD_FLUX
|
| 265 |
+
)
|
| 266 |
+
|
| 267 |
echo [33mComfyUI installed.[0m
|
| 268 |
pause
|