UmeAiRT commited on
Commit
fdf32af
·
verified ·
1 Parent(s): 18df06d

Delete UmeAiRT-AllinOne-Auto_install.bat

Browse files
Files changed (1) hide show
  1. UmeAiRT-AllinOne-Auto_install.bat +0 -251
UmeAiRT-AllinOne-Auto_install.bat DELETED
@@ -1,251 +0,0 @@
1
- @echo off
2
- setlocal enabledelayedexpansion
3
-
4
- set "installPath=%CD%"
5
- set "basePath=%installPath%\ComfyUI_windows_portable"
6
- set "comfyPath=%basePath%\ComfyUI"
7
- set "customNodesPath=%comfyPath%\custom_nodes"
8
- set "modelsPath=%comfyPath%\models"
9
-
10
- if not exist "%installPath%\logs" mkdir "%installPath%\logs"
11
-
12
- curl -L -o banner.txt https://huggingface.co/UmeAiRT/ComfyUI-Auto_installer/resolve/main/others/banner.txt?download=true >> "%installPath%\logs\install.txt" 2>&1
13
- echo -------------------------------------------------------------------------------
14
- type banner.txt
15
- echo -------------------------------------------------------------------------------
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
-
21
- REM Check if 7-Zip is installed and get its path
22
- for %%I in (7z.exe) do set "SEVEN_ZIP_PATH=%%~$PATH:I"
23
- if not defined SEVEN_ZIP_PATH (
24
- if exist "%ProgramFiles%\7-Zip\7z.exe" (
25
- set "SEVEN_ZIP_PATH=%ProgramFiles%\7-Zip\7z.exe"
26
- ) else if exist "%ProgramFiles(x86)%\7-Zip\7z.exe" (
27
- set "SEVEN_ZIP_PATH=%ProgramFiles(x86)%\7-Zip\7z.exe"
28
- ) else (
29
- echo 7-Zip is not installed. Downloading and installing...
30
- curl -L -o 7z-installer.exe https://www.7-zip.org/a/7z2201-x64.exe
31
- 7z-installer.exe /S
32
- set "SEVEN_ZIP_PATH=%ProgramFiles%\7-Zip\7z.exe"
33
- if not exist "%SEVEN_ZIP_PATH%" (
34
- echo Installation of 7-Zip failed. Please install it manually and try again.
35
- pause
36
- exit /b 1
37
- )
38
- del 7z-installer.exe
39
- )
40
- )
41
-
42
- REM Check and install Git
43
- git --version > NUL 2>&1
44
- if %errorlevel% NEQ 0 (
45
- echo Installing Git...
46
- powershell -Command "& {Invoke-WebRequest -Uri 'https://github.com/git-for-windows/git/releases/download/v2.41.0.windows.3/Git-2.41.0.3-64-bit.exe' -OutFile 'Git-2.41.0.3-64-bit.exe'; if ($LASTEXITCODE -ne 0) { exit 1 }}"
47
- if %errorlevel% NEQ 0 (
48
- echo Failed to download Git installer.
49
- pause
50
- exit /b
51
- )
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 Enabling long paths for git...
56
- powershell -Command "Start-Process git -WindowStyle Hidden -ArgumentList 'config','--system','core.longpaths','true' -Verb RunAs"
57
-
58
- REM Download ComfyUI
59
- echo Downloading ComfyUI...
60
- curl -L -o ComfyUI_windows_portable_nvidia.7z https://github.com/comfyanonymous/ComfyUI/releases/download/v0.3.30/ComfyUI_windows_portable_nvidia.7z
61
-
62
- REM Extract ComfyUI
63
- echo Extracting ComfyUI...
64
- "%SEVEN_ZIP_PATH%" x ComfyUI_windows_portable_nvidia.7z -o"%CD%" -y >> "%installPath%\logs\install.txt" 2>&1
65
-
66
- REM Check if extraction was successful
67
- if not exist "ComfyUI_windows_portable" (
68
- echo Extraction failed. Please check the downloaded file and try again.
69
- pause
70
- exit /b 1
71
- )
72
-
73
- REM Delete archive
74
- del /f ComfyUI_windows_portable_nvidia.7z -force
75
-
76
-
77
- REM Navigate to custom_nodes folder
78
- REM Update ComfyUI
79
- "%basePath%\python_embeded\python.exe" -m pip install --upgrade pip >> "%installPath%\logs\install.txt" 2>&1
80
- "%basePath%\python_embeded\python.exe" "%basePath%\update\update.py" "%basePath%\ComfyUI" >> "%installPath%\logs\install.txt" 2>&1
81
- if exist update_new.py (
82
- move /y update_new.py update.py
83
- echo Running updater again since it got updated.
84
- "%basePath%\python_embeded\python.exe" "%basePath%\update\update.py" "%basePath%\ComfyUI" --skip_self_update >> "%installPath%\logs\install.txt" 2>&1
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 Installing ComfyUI-Manager...
92
- git clone https://github.com/ltdrdata/ComfyUI-Manager.git "%customNodesPath%/ComfyUI-Manager" >> "%installPath%\logs\install.txt" 2>&1
93
-
94
- echo Installing additional nodes...
95
-
96
- echo - Impact-Pack
97
- git clone https://github.com/ltdrdata/ComfyUI-Impact-Pack "%customNodesPath%/ComfyUI-Impact-Pack" >> "%installPath%\logs\install.txt" 2>&1
98
- "%basePath%\python_embeded\python.exe" -s -m pip install -r "%customNodesPath%/ComfyUI-Impact-Pack/requirements.txt" --no-warn-script-location >> "%installPath%\logs\install.txt" 2>&1
99
- git clone https://github.com/ltdrdata/ComfyUI-Impact-Subpack "%customNodesPath%/ComfyUI-Impact-Pack/impact_subpack" >> "%installPath%\logs\install.txt" 2>&1
100
- "%basePath%\python_embeded\python.exe" -s -m pip install -r "%customNodesPath%/ComfyUI-Impact-Pack/impact_subpack/requirements.txt" --no-warn-script-location >> "%installPath%\logs\install.txt" 2>&1
101
- "%basePath%\python_embeded\python.exe" -s -m pip install ultralytics --no-warn-script-location >> "%installPath%\logs\install.txt" 2>&1
102
-
103
- echo - GGUF
104
- git clone https://github.com/city96/ComfyUI-GGUF "%customNodesPath%/ComfyUI-GGUF" >> "%installPath%\logs\install.txt" 2>&1
105
- "%basePath%\python_embeded\python.exe" -s -m pip install -r "%customNodesPath%/ComfyUI-GGUF/requirements.txt" --no-warn-script-location >> "%installPath%\logs\install.txt" 2>&1
106
-
107
- echo - mxToolkit
108
- git clone https://github.com/Smirnov75/ComfyUI-mxToolkit "%customNodesPath%/ComfyUI-mxToolkit" >> "%installPath%\logs\install.txt" 2>&1
109
-
110
- echo - Custom-Scripts
111
- git clone https://github.com/pythongosssss/ComfyUI-Custom-Scripts "%customNodesPath%/ComfyUI-Custom-Scripts" >> "%installPath%\logs\install.txt" 2>&1
112
-
113
- echo - KJNodes
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
124
-
125
- echo - Frame-Interpolation
126
- git clone https://github.com/Fannovel16/ComfyUI-Frame-Interpolation "%customNodesPath%/ComfyUI-Frame-Interpolation" >> "%installPath%\logs\install.txt" 2>&1
127
- "%basePath%\python_embeded\python.exe" -s -m pip install -r "%customNodesPath%/ComfyUI-Frame-Interpolation/requirements-with-cupy.txt" --no-warn-script-location >> "%installPath%\logs\install.txt" 2>&1
128
-
129
- echo - rgthree
130
- git clone https://github.com/rgthree/rgthree-comfy "%customNodesPath%/rgthree-comfy" >> "%installPath%\logs\install.txt" 2>&1
131
- "%basePath%\python_embeded\python.exe" -s -m pip install -r "%customNodesPath%/rgthree-comfy/requirements.txt" --no-warn-script-location >> "%installPath%\logs\install.txt" 2>&1
132
-
133
- echo - Easy-Use
134
- git clone https://github.com/yolain/ComfyUI-Easy-Use "%customNodesPath%/ComfyUI-Easy-Use" >> "%installPath%\logs\install.txt" 2>&1
135
- "%basePath%\python_embeded\python.exe" -s -m pip install -r "%customNodesPath%/ComfyUI-Easy-Use/requirements.txt" --no-warn-script-location >> "%installPath%\logs\install.txt" 2>&1
136
-
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
146
- git clone https://github.com/facok/ComfyUI-HunyuanVideoMultiLora "%customNodesPath%/ComfyUI-HunyuanVideoMultiLora" >> "%installPath%\logs\install.txt" 2>&1
147
-
148
- echo - was-node-suite-comfyui
149
- git clone https://github.com/WASasquatch/was-node-suite-comfyui "%customNodesPath%/was-node-suite-comfyui" >> "%installPath%\logs\install.txt" 2>&1
150
- "%basePath%\python_embeded\python.exe" -s -m pip install -r "%customNodesPath%/was-node-suite-comfyui/requirements.txt" --no-warn-script-location >> "%installPath%\logs\install.txt" 2>&1
151
-
152
- echo - Florence2
153
- git clone https://github.com/kijai/ComfyUI-Florence2 "%customNodesPath%/ComfyUI-Florence2">> "%installPath%\logs\install.txt" 2>&1
154
- "%basePath%\python_embeded\python.exe" -m pip install transformers==4.49.0 --upgrade >> "%installPath%\logs\install.txt" 2>&1
155
- "%basePath%\python_embeded\python.exe" -s -m pip install -r "%customNodesPath%/ComfyUI-Florence2/requirements.txt" --no-warn-script-location >> "%installPath%\logs\install.txt" 2>&1
156
-
157
- echo - Upscaler-Tensorrt
158
- git clone https://github.com/yuvraj108c/ComfyUI-Upscaler-Tensorrt "%customNodesPath%/ComfyUI-Upscaler-Tensorrt" >> "%installPath%\logs\install.txt" 2>&1
159
- "%basePath%\python_embeded\python.exe" -s -m pip install wheel-stub >> "%installPath%\logs\install.txt" 2>&1
160
- "%basePath%\python_embeded\python.exe" -s -m pip install -r "%customNodesPath%/ComfyUI-Upscaler-Tensorrt/requirements.txt" --no-warn-script-location >> "%installPath%\logs\install.txt" 2>&1
161
-
162
- echo - MultiGPU
163
- git clone https://github.com/pollockjj/ComfyUI-MultiGPU "%customNodesPath%/ComfyUI-MultiGPU" >> "%installPath%\logs\install.txt" 2>&1
164
-
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
- mkdir "%comfyPath%\user\default\workflows"
176
- echo Downloading comfy settings...
177
- 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
178
- echo Downloading comfy workflow...
179
- curl -L -o "%comfyPath%\user\default\workflows\UmeAiRT-WAN21_workflow.7z" https://huggingface.co/UmeAiRT/ComfyUI-Auto_installer/resolve/main/workflows/UmeAiRT-WAN21_workflow.7z?download=true >> "%installPath%\logs\install.txt" 2>&1
180
- "%SEVEN_ZIP_PATH%" x "%comfyPath%\user\default\workflows\UmeAiRT-WAN21_workflow.7z" -o"%comfyPath%\user\default\workflows\" -y >> "%installPath%\logs\install.txt" 2>&1
181
- del /f "%comfyPath%\user\default\workflows\UmeAiRT-WAN21_workflow.7z" -force >> "%installPath%\logs\install.txt" 2>&1
182
-
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 Installing additional modules for Python...
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
224
- echo Would you like to download WAN models?
225
- set /p "MODELS=Enter your choice (Y or N) and press Enter: "
226
-
227
- if /i "%MODELS%"=="Y" (
228
- call "%installPath%\UmeAiRT-WAN2.1-Model_downloader.bat"
229
- ) else if /i "%MODELS%"=="N" (
230
- REM Do nothing, just continue
231
- ) else (
232
- echo Invalid choice. Please enter Y or N.
233
- goto CHOOSE_DOWNLOAD_WAN
234
- )
235
-
236
- :CHOOSE_DOWNLOAD_FLUX
237
- REM Ask user for installation type
238
- echo Would you like to download FLUX models?
239
- set /p "MODELS=Enter your choice (Y or N) and press Enter: "
240
-
241
- if /i "%MODELS%"=="Y" (
242
- call "%installPath%\UmeAiRT-FLUX-Model_downloader.bat"
243
- ) else if /i "%MODELS%"=="N" (
244
- REM Do nothing, just continue
245
- ) else (
246
- echo Invalid choice. Please enter Y or N.
247
- goto CHOOSE_DOWNLOAD_FLUX
248
- )
249
-
250
- echo ComfyUI installed.
251
- pause