UmeAiRT commited on
Commit
7591c2d
·
verified ·
1 Parent(s): 97d886a

Upload 5 files

Browse files
UmeAiRT-AllinOne-Auto_install.bat ADDED
@@ -0,0 +1,233 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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.0
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
+
56
+ REM Download ComfyUI
57
+ echo Downloading ComfyUI...
58
+ curl -L -o ComfyUI_windows_portable_nvidia.7z https://github.com/comfyanonymous/ComfyUI/releases/download/v0.3.29/ComfyUI_windows_portable_nvidia.7z
59
+
60
+ REM Extract ComfyUI
61
+ echo Extracting ComfyUI...
62
+ "%SEVEN_ZIP_PATH%" x ComfyUI_windows_portable_nvidia.7z -o"%CD%" -y >> "%installPath%\logs\install.txt" 2>&1
63
+
64
+ REM Check if extraction was successful
65
+ if not exist "ComfyUI_windows_portable" (
66
+ echo Extraction failed. Please check the downloaded file and try again.
67
+ pause
68
+ exit /b 1
69
+ )
70
+
71
+ REM Delete archive
72
+ del /f ComfyUI_windows_portable_nvidia.7z -force
73
+
74
+
75
+ REM Navigate to custom_nodes folder
76
+ REM Update ComfyUI
77
+ "%basePath%\python_embeded\python.exe" -m pip install --upgrade pip >> "%installPath%\logs\install.txt" 2>&1
78
+ "%basePath%\python_embeded\python.exe" "%basePath%\update\update.py" "%basePath%\ComfyUI" >> "%installPath%\logs\install.txt" 2>&1
79
+ if exist update_new.py (
80
+ move /y update_new.py update.py
81
+ echo Running updater again since it got updated.
82
+ "%basePath%\python_embeded\python.exe" "%basePath%\update\update.py" "%basePath%\ComfyUI" --skip_self_update >> "%installPath%\logs\install.txt" 2>&1
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 Installing xformers...
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 Installing NVIDIA Apex...
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 Installing Triton...
95
+ curl -L -o "%basePath%\python_embeded\triton-3.2.0-cp310-cp310-win_amd64.whl" https://github.com/woct0rdho/triton-windows/releases/download/v3.2.0-windows.post10/triton-3.2.0-cp310-cp310-win_amd64.whl >> "%installPath%\logs\install.txt" 2>&1
96
+ curl -L -o "%basePath%\python_embeded\triton-3.2.0-cp311-cp311-win_amd64.whl" https://github.com/woct0rdho/triton-windows/releases/download/v3.2.0-windows.post10/triton-3.2.0-cp311-cp311-win_amd64.whl >> "%installPath%\logs\install.txt" 2>&1
97
+ curl -L -o "%basePath%\python_embeded\triton-3.2.0-cp312-cp312-win_amd64.whl" https://github.com/woct0rdho/triton-windows/releases/download/v3.2.0-windows.post10/triton-3.2.0-cp312-cp312-win_amd64.whl >> "%installPath%\logs\install.txt" 2>&1
98
+ "%basePath%\python_embeded\python.exe" -m pip install "%basePath%\python_embeded\triton-3.2.0-cp310-cp310-win_amd64.whl" >> "%installPath%\logs\install.txt" 2>&1
99
+ "%basePath%\python_embeded\python.exe" -m pip install "%basePath%\python_embeded\triton-3.2.0-cp311-cp311-win_amd64.whl" >> "%installPath%\logs\install.txt" 2>&1
100
+ "%basePath%\python_embeded\python.exe" -m pip install "%basePath%\python_embeded\triton-3.2.0-cp312-cp312-win_amd64.whl" >> "%installPath%\logs\install.txt" 2>&1
101
+
102
+ REM Clone ComfyUI-Manager
103
+ echo Installing ComfyUI-Manager...
104
+ git clone https://github.com/ltdrdata/ComfyUI-Manager.git "%customNodesPath%/ComfyUI-Manager" >> "%installPath%\logs\install.txt" 2>&1
105
+
106
+ echo Installing additional nodes...
107
+
108
+ echo - Impact-Pack
109
+ git clone https://github.com/ltdrdata/ComfyUI-Impact-Pack "%customNodesPath%/ComfyUI-Impact-Pack" >> "%installPath%\logs\install.txt" 2>&1
110
+ "%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
111
+ git clone https://github.com/ltdrdata/ComfyUI-Impact-Subpack "%customNodesPath%/ComfyUI-Impact-Pack/impact_subpack" >> "%installPath%\logs\install.txt" 2>&1
112
+ "%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
113
+ "%basePath%\python_embeded\python.exe" -s -m pip install ultralytics --no-warn-script-location >> "%installPath%\logs\install.txt" 2>&1
114
+
115
+ echo - GGUF
116
+ git clone https://github.com/city96/ComfyUI-GGUF "%customNodesPath%/ComfyUI-GGUF" >> "%installPath%\logs\install.txt" 2>&1
117
+ "%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
118
+
119
+ echo - mxToolkit
120
+ git clone https://github.com/Smirnov75/ComfyUI-mxToolkit "%customNodesPath%/ComfyUI-mxToolkit" >> "%installPath%\logs\install.txt" 2>&1
121
+
122
+ echo - Custom-Scripts
123
+ git clone https://github.com/pythongosssss/ComfyUI-Custom-Scripts "%customNodesPath%/ComfyUI-Custom-Scripts" >> "%installPath%\logs\install.txt" 2>&1
124
+
125
+ echo - KJNodes
126
+ git clone https://github.com/kijai/ComfyUI-KJNodes "%customNodesPath%/ComfyUI-KJNodes" >> "%installPath%\logs\install.txt" 2>&1
127
+ "%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
128
+
129
+ echo - VideoHelperSuite
130
+ git clone https://github.com/Kosinkadink/ComfyUI-VideoHelperSuite "%customNodesPath%/ComfyUI-VideoHelperSuite" >> "%installPath%\logs\install.txt" 2>&1
131
+ "%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
132
+
133
+ echo - Frame-Interpolation
134
+ git clone https://github.com/Fannovel16/ComfyUI-Frame-Interpolation "%customNodesPath%/ComfyUI-Frame-Interpolation" >> "%installPath%\logs\install.txt" 2>&1
135
+ "%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
136
+
137
+ echo - rgthree
138
+ git clone https://github.com/rgthree/rgthree-comfy "%customNodesPath%/rgthree-comfy" >> "%installPath%\logs\install.txt" 2>&1
139
+ "%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
140
+
141
+ echo - Easy-Use
142
+ git clone https://github.com/yolain/ComfyUI-Easy-Use "%customNodesPath%/ComfyUI-Easy-Use" >> "%installPath%\logs\install.txt" 2>&1
143
+ "%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
144
+
145
+ echo - PuLID_Flux_ll
146
+ git clone https://github.com/lldacing/ComfyUI_PuLID_Flux_ll "%customNodesPath%/ComfyUI_PuLID_Flux_ll" >> "%installPath%\logs\install.txt" 2>&1
147
+ "%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
148
+ 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
149
+ 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
150
+ 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
151
+ "%basePath%\python_embeded\python.exe" -m pip install --use-pep517 facexlib >> "%installPath%\logs\install.txt" 2>&1
152
+ "%basePath%\python_embeded\python.exe" -m pip install git+https://github.com/rodjjo/filterpy.git >> "%installPath%\logs\install.txt" 2>&1
153
+ "%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
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-cp311-cp311-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.17.1 "%basePath%\python_embeded\insightface-0.7.3-cp312-cp312-win_amd64.whl" >> "%installPath%\logs\install.txt" 2>&1
156
+
157
+ echo - HunyuanVideoMultiLora
158
+ git clone https://github.com/facok/ComfyUI-HunyuanVideoMultiLora "%customNodesPath%/ComfyUI-HunyuanVideoMultiLora" >> "%installPath%\logs\install.txt" 2>&1
159
+
160
+ echo - was-node-suite-comfyui
161
+ git clone https://github.com/WASasquatch/was-node-suite-comfyui "%customNodesPath%/was-node-suite-comfyui" >> "%installPath%\logs\install.txt" 2>&1
162
+ "%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
163
+
164
+ echo - Florence2
165
+ git clone https://github.com/kijai/ComfyUI-Florence2 "%customNodesPath%/ComfyUI-Florence2">> "%installPath%\logs\install.txt" 2>&1
166
+ "%basePath%\python_embeded\python.exe" -m pip install transformers==4.49.0 --upgrade >> "%installPath%\logs\install.txt" 2>&1
167
+ "%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
168
+
169
+ echo - Upscaler-Tensorrt
170
+ git clone https://github.com/yuvraj108c/ComfyUI-Upscaler-Tensorrt "%customNodesPath%/ComfyUI-Upscaler-Tensorrt" >> "%installPath%\logs\install.txt" 2>&1
171
+ "%basePath%\python_embeded\python.exe" -s -m pip install wheel-stub >> "%installPath%\logs\install.txt" 2>&1
172
+ "%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
173
+
174
+ echo - MultiGPU
175
+ git clone https://github.com/pollockjj/ComfyUI-MultiGPU "%customNodesPath%/ComfyUI-MultiGPU" >> "%installPath%\logs\install.txt" 2>&1
176
+
177
+ echo - WanStartEndFramesNative
178
+ git clone https://github.com/Flow-two/ComfyUI-WanStartEndFramesNative "%customNodesPath%/ComfyUI-WanStartEndFramesNative" >> "%installPath%\logs\install.txt" 2>&1
179
+
180
+ echo - ComfyUI-Image-Saver
181
+ git clone https://github.com/alexopus/ComfyUI-Image-Saver "%customNodesPath%/ComfyUI-Image-Saver" >> "%installPath%\logs\install.txt" 2>&1
182
+ "%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
183
+
184
+ echo - ComfyUI_UltimateSDUpscale
185
+ git clone https://github.com/ssitu/ComfyUI_UltimateSDUpscale "%customNodesPath%/ComfyUI_UltimateSDUpscale" >> "%installPath%\logs\install.txt" 2>&1
186
+
187
+ mkdir "%comfyPath%\user\default\workflows"
188
+ echo Downloading comfy settings...
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
190
+ echo Downloading comfy workflow...
191
+ 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
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 "%installPath%/UmeAiRT-WAN2.1-Missing_nodes.bat" "https://huggingface.co/UmeAiRT/ComfyUI-Auto_installer/resolve/main/UmeAiRT-WAN2.1-Missing_nodes.bat?download=true" >> "%installPath%\logs\install.txt" 2>&1
196
+ 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
197
+ 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
198
+ 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
199
+
200
+ REM Final steps based on user choice
201
+ 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
202
+ 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
203
+
204
+ :CHOOSE_DOWNLOAD_WAN
205
+ REM Ask user for installation type
206
+ echo Would you like to download WAN models?
207
+ set /p "MODELS=Enter your choice (Y or N) and press Enter: "
208
+
209
+ if /i "%MODELS%"=="Y" (
210
+ call "%installPath%\UmeAiRT-WAN2.1-Model_downloader.bat"
211
+ ) else if /i "%MODELS%"=="N" (
212
+ REM Do nothing, just continue
213
+ ) else (
214
+ echo Invalid choice. Please enter Y or N.
215
+ goto CHOOSE_DOWNLOAD_WAN
216
+ )
217
+
218
+ :CHOOSE_DOWNLOAD_FLUX
219
+ REM Ask user for installation type
220
+ echo Would you like to download FLUX models?
221
+ set /p "MODELS=Enter your choice (Y or N) and press Enter: "
222
+
223
+ if /i "%MODELS%"=="Y" (
224
+ call "%installPath%\UmeAiRT-FLUX-Model_downloader.bat"
225
+ ) else if /i "%MODELS%"=="N" (
226
+ REM Do nothing, just continue
227
+ ) else (
228
+ echo Invalid choice. Please enter Y or N.
229
+ goto CHOOSE_DOWNLOAD_FLUX
230
+ )
231
+
232
+ echo ComfyUI installed.
233
+ pause
UmeAiRT-FLUX-Model_downloader.bat CHANGED
@@ -30,22 +30,6 @@ echo C) All
30
  echo D) No
31
  set /p "CHOICE=Enter your choice (A,B,C or D) and press Enter: "
32
 
33
- if /i "%CHOICE%"=="A" (
34
- echo Downloading unet models file...
35
- curl -L -o "%modelsPath%/unet/flux1-dev.sft" https://huggingface.co/UmeAiRT/ComfyUI-Auto_installer/resolve/main/models/unet/flux1-dev.sft?download=true
36
- ) else if /i "%CHOICE%"=="B" (
37
- echo Downloading unet models file...
38
- curl -L -o "%modelsPath%/unet/flux1-dev-fp8.safetensors" https://huggingface.co/Kijai/flux-fp8/resolve/main/flux1-dev-fp8.safetensors?download=true
39
- ) else if /i "%CHOICE%"=="C" (
40
- echo Downloading unet models file...
41
- curl -L -o "%modelsPath%/unet/flux1-dev.sft" https://huggingface.co/UmeAiRT/ComfyUI-Auto_installer/resolve/main/models/unet/flux1-dev.sft?download=true
42
- curl -L -o "%modelsPath%/unet/flux1-dev-fp8.safetensors" https://huggingface.co/Kijai/flux-fp8/resolve/main/flux1-dev-fp8.safetensors?download=true
43
- ) else if /i "%CHOICE%"=="D" (
44
- set "INSTALL_TYPE=optimized"
45
- ) else (
46
- echo Invalid choice. Please enter A,B,C or D.
47
- goto CHOOSE_OPTION
48
- )
49
 
50
  :CHOOSE_FLUX_GGUF
51
  REM Ask user if they FLUXt to download FLUX GGUF Model
@@ -119,6 +103,23 @@ echo Invalid choice. Please enter A or B.
119
  goto CHOOSE_FLUX_LORA
120
  )
121
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
122
  REM Download VAE file
123
  echo Downloading VAE file...
124
  curl -L -o "%modelsPath%/vae/FLUX_2.1_vae.safetensors" https://huggingface.co/Comfy-Org/FLUX_2.1_ComfyUI_repackaged/resolve/main/split_files/vae/FLUX_2.1_vae.safetensors?download=true
 
30
  echo D) No
31
  set /p "CHOICE=Enter your choice (A,B,C or D) and press Enter: "
32
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
33
 
34
  :CHOOSE_FLUX_GGUF
35
  REM Ask user if they FLUXt to download FLUX GGUF Model
 
103
  goto CHOOSE_FLUX_LORA
104
  )
105
 
106
+ if /i "%CHOICE%"=="A" (
107
+ echo Downloading unet models file...
108
+ curl -L -o "%modelsPath%/unet/flux1-dev.sft" https://huggingface.co/UmeAiRT/ComfyUI-Auto_installer/resolve/main/models/unet/flux1-dev.sft?download=true
109
+ ) else if /i "%CHOICE%"=="B" (
110
+ echo Downloading unet models file...
111
+ curl -L -o "%modelsPath%/unet/flux1-dev-fp8.safetensors" https://huggingface.co/Kijai/flux-fp8/resolve/main/flux1-dev-fp8.safetensors?download=true
112
+ ) else if /i "%CHOICE%"=="C" (
113
+ echo Downloading unet models file...
114
+ curl -L -o "%modelsPath%/unet/flux1-dev.sft" https://huggingface.co/UmeAiRT/ComfyUI-Auto_installer/resolve/main/models/unet/flux1-dev.sft?download=true
115
+ curl -L -o "%modelsPath%/unet/flux1-dev-fp8.safetensors" https://huggingface.co/Kijai/flux-fp8/resolve/main/flux1-dev-fp8.safetensors?download=true
116
+ ) else if /i "%CHOICE%"=="D" (
117
+ set "INSTALL_TYPE=optimized"
118
+ ) else (
119
+ echo Invalid choice. Please enter A,B,C or D.
120
+ goto CHOOSE_OPTION
121
+ )
122
+
123
  REM Download VAE file
124
  echo Downloading VAE file...
125
  curl -L -o "%modelsPath%/vae/FLUX_2.1_vae.safetensors" https://huggingface.co/Comfy-Org/FLUX_2.1_ComfyUI_repackaged/resolve/main/split_files/vae/FLUX_2.1_vae.safetensors?download=true
UmeAiRT-Missing_nodes.bat ADDED
@@ -0,0 +1,160 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @echo off
2
+ setlocal enabledelayedexpansion
3
+
4
+ set "basePath=%CD%"
5
+ set "comfyPath=%basePath%\ComfyUI"
6
+ set "pythonPath=%basePath%\python_embeded"
7
+ set "customNodesPath=%comfyPath%\custom_nodes"
8
+
9
+ if not exist "%basePath%\logs" mkdir "%basePath%\logs"
10
+
11
+ :check_folder
12
+ if exist "%basePath%\ComfyUI" (
13
+ echo ComfyUI folder detected
14
+ set "comfyPath=%basePath%\ComfyUI"
15
+ if exist "%basePath%\python_embeded" (
16
+ echo Python folder detected
17
+ set "pythonPath=%basePath%\python_embeded"
18
+ ) else (
19
+ echo Python folder not detected, give Python folder path :
20
+ pause
21
+ )
22
+ ) else if exist "%basePath%\ComfyUI_windows_portable" (
23
+ set "comfyPath=%basePath%\ComfyUI_windows_portable\ComfyUI"
24
+ set "pythonPath=%basePath%\ComfyUI_windows_portable\python_embeded"
25
+ echo ComfyUI folder detected
26
+ ) else (
27
+ echo ComfyUI folder not detected, give ComfyUi folder path :
28
+ set /p "comfyPath=Path: "
29
+ echo Python folder not detected, give Python folder path :
30
+ set /p "pythonPath=Path: "
31
+ )
32
+
33
+ set "customNodesPath=%comfyPath%\custom_nodes"
34
+
35
+ echo Update ComfyUI
36
+ if exist "%basePath%\update" (
37
+ "%pythonPath%\python.exe" -m pip install --upgrade pip >> "%basePath%\logs\Missing_nodes.txt" 2>&1
38
+ "%pythonPath%\python.exe" "%basePath%\update\update.py" "%basePath%\ComfyUI" >> "%basePath%\logs\Missing_nodes.txt" 2>&1
39
+ if exist update_new.py (
40
+ move /y update_new.py update.py
41
+ echo Running updater again since it got updated.
42
+ "%pythonPath%\python.exe" "%basePath%\update\update.py" "%basePath%\ComfyUI" --skip_self_update >> "%basePath%\logs\Missing_nodes.txt" 2>&1
43
+ )
44
+ ) else if exist "%basePath%\ComfyUI_windows_portable\update" (
45
+ "%pythonPath%\python.exe" -m pip install --upgrade pip >> "%basePath%\logs\Missing_nodes.txt" 2>&1
46
+ "%pythonPath%\python.exe" "%basePath%\ComfyUI_windows_portable\update\update.py" "%comfyPath%" >> "%basePath%\logs\Missing_nodes.txt" 2>&1
47
+ if exist update_new.py (
48
+ move /y update_new.py update.py
49
+ echo Running updater again since it got updated.
50
+ "%pythonPath%\python.exe" "%basePath%\ComfyUI_windows_portable\update\update.py" "%comfyPath%" --skip_self_update >> "%basePath%\logs\Missing_nodes.txt" 2>&1
51
+ )
52
+ ) else (
53
+ git --git-dir="%comfyPath%" --work-tree="%comfyPath%" pull >> "%basePath%\logs\Missing_nodes.txt" 2>&1
54
+ "%pythonPath%\python.exe" -s -m pip install -r "%comfyPath%/requirements.txt" --no-warn-script-location >> "%basePath%\logs\Missing_nodes.txt" 2>&1
55
+ )
56
+
57
+ :CHOOSE_CLEAN
58
+ REM Ask user if they want to download FLUX SCHNELL Model
59
+ echo Do you want to do a clean install? (all currently present custom nodes are deleted)
60
+ echo A) Yes
61
+ echo B) No
62
+ set /p "CHOOSE_CLEAN=Enter your choice (A or B) and press Enter: "
63
+
64
+ if /i "%CHOOSE_CLEAN%"=="A" (
65
+ del /s /q "%customNodesPath%\*.*" >> "%basePath%\logs\Missing_nodes.txt" 2>&1
66
+ for /d %%i in ("%customNodesPath%\*") do rmdir /s /q "%%i" >> "%basePath%\logs\Missing_nodes.txt" 2>&1
67
+ ) else if /i "%CHOOSE_CLEAN%"=="B" (
68
+ set "CHOOSE_CLEANL=no"
69
+ ) else (
70
+ echo Invalid choice. Please enter A or B.
71
+ goto CHOOSE_CLEAN
72
+ )
73
+
74
+ REM Clone ComfyUI-Manager
75
+ echo Installing ComfyUI-Manager...
76
+ git clone https://github.com/ltdrdata/ComfyUI-Manager.git "%customNodesPath%/ComfyUI-Manager" >> "%basePath%\logs\Missing_nodes.txt" 2>&1
77
+
78
+ echo Installing additional nodes...
79
+
80
+ echo - Impact-Pack
81
+ git clone https://github.com/ltdrdata/ComfyUI-Impact-Pack "%customNodesPath%/ComfyUI-Impact-Pack" >> "%basePath%\logs\Missing_nodes.txt" 2>&1
82
+ "%pythonPath%\python.exe" -s -m pip install -r "%customNodesPath%/ComfyUI-Impact-Pack/requirements.txt" --no-warn-script-location >> "%basePath%\logs\Missing_nodes.txt" 2>&1
83
+ git clone https://github.com/ltdrdata/ComfyUI-Impact-Subpack "%customNodesPath%/ComfyUI-Impact-Pack/impact_subpack" >> "%basePath%\logs\Missing_nodes.txt" 2>&1
84
+ "%pythonPath%\python.exe" -s -m pip install -r "%customNodesPath%/ComfyUI-Impact-Pack/impact_subpack/requirements.txt" --no-warn-script-location >> "%basePath%\logs\Missing_nodes.txt" 2>&1
85
+ "%pythonPath%\python.exe" -s -m pip install ultralytics --no-warn-script-location >> "%basePath%\logs\Missing_nodes.txt" 2>&1
86
+
87
+ echo - GGUF
88
+ git clone https://github.com/city96/ComfyUI-GGUF "%customNodesPath%/ComfyUI-GGUF" >> "%basePath%\logs\Missing_nodes.txt" 2>&1
89
+ "%pythonPath%\python.exe" -s -m pip install -r "%customNodesPath%/ComfyUI-GGUF/requirements.txt" --no-warn-script-location >> "%basePath%\logs\Missing_nodes.txt" 2>&1
90
+
91
+ echo - mxToolkit
92
+ git clone https://github.com/Smirnov75/ComfyUI-mxToolkit "%customNodesPath%/ComfyUI-mxToolkit" >> "%basePath%\logs\Missing_nodes.txt" 2>&1
93
+
94
+ echo - Custom-Scripts
95
+ git clone https://github.com/pythongosssss/ComfyUI-Custom-Scripts "%customNodesPath%/ComfyUI-Custom-Scripts" >> "%basePath%\logs\Missing_nodes.txt" 2>&1
96
+
97
+ echo - KJNodes
98
+ git clone https://github.com/kijai/ComfyUI-KJNodes "%customNodesPath%/ComfyUI-KJNodes" >> "%basePath%\logs\Missing_nodes.txt" 2>&1
99
+ "%pythonPath%\python.exe" -s -m pip install -r "%customNodesPath%/ComfyUI-KJNodes/requirements.txt" --no-warn-script-location >> "%basePath%\logs\Missing_nodes.txt" 2>&1
100
+
101
+ echo - VideoHelperSuite
102
+ git clone https://github.com/Kosinkadink/ComfyUI-VideoHelperSuite "%customNodesPath%/ComfyUI-VideoHelperSuite" >> "%basePath%\logs\Missing_nodes.txt" 2>&1
103
+ "%pythonPath%\python.exe" -s -m pip install -r "%customNodesPath%/ComfyUI-VideoHelperSuite/requirements.txt" --no-warn-script-location >> "%basePath%\logs\Missing_nodes.txt" 2>&1
104
+
105
+ echo - Frame-Interpolation
106
+ git clone https://github.com/Fannovel16/ComfyUI-Frame-Interpolation "%customNodesPath%/ComfyUI-Frame-Interpolation" >> "%basePath%\logs\Missing_nodes.txt" 2>&1
107
+ "%pythonPath%\python.exe" -s -m pip install -r "%customNodesPath%/ComfyUI-Frame-Interpolation/requirements-with-cupy.txt" --no-warn-script-location >> "%basePath%\logs\Missing_nodes.txt" 2>&1
108
+
109
+ echo - rgthree
110
+ git clone https://github.com/rgthree/rgthree-comfy "%customNodesPath%/rgthree-comfy" >> "%basePath%\logs\Missing_nodes.txt" 2>&1
111
+ "%pythonPath%\python.exe" -s -m pip install -r "%customNodesPath%/rgthree-comfy/requirements.txt" --no-warn-script-location >> "%basePath%\logs\Missing_nodes.txt" 2>&1
112
+
113
+ echo - Easy-Use
114
+ git clone https://github.com/yolain/ComfyUI-Easy-Use "%customNodesPath%/ComfyUI-Easy-Use" >> "%basePath%\logs\Missing_nodes.txt" 2>&1
115
+ "%pythonPath%\python.exe" -s -m pip install -r "%customNodesPath%/ComfyUI-Easy-Use/requirements.txt" --no-warn-script-location >> "%basePath%\logs\Missing_nodes.txt" 2>&1
116
+
117
+ echo - PuLID_Flux_ll
118
+ git clone https://github.com/lldacing/ComfyUI_PuLID_Flux_ll "%customNodesPath%/ComfyUI_PuLID_Flux_ll" >> "%basePath%\logs\Missing_nodes.txt" 2>&1
119
+ "%pythonPath%\python.exe" -s -m pip install -r "%customNodesPath%/ComfyUI_PuLID_Flux_ll/requirements.txt" --no-warn-script-location >> "%basePath%\logs\Missing_nodes.txt" 2>&1
120
+ curl -L -o "%pythonPath%\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 >> "%basePath%\logs\Missing_nodes.txt" 2>&1
121
+ curl -L -o "%pythonPath%\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 >> "%basePath%\logs\Missing_nodes.txt" 2>&1
122
+ curl -L -o "%pythonPath%\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 >> "%basePath%\logs\Missing_nodes.txt" 2>&1
123
+ "%pythonPath%\python.exe" -m pip install --use-pep517 facexlib >> "%basePath%\logs\Missing_nodes.txt" 2>&1
124
+ "%pythonPath%\python.exe" -m pip install git+https://github.com/rodjjo/filterpy.git >> "%basePath%\logs\Missing_nodes.txt" 2>&1
125
+ "%pythonPath%\python.exe" -m pip install onnxruntime==1.19.2 onnxruntime-gpu==1.15.1 "%pythonPath%\insightface-0.7.3-cp310-cp310-win_amd64.whl" >> "%basePath%\logs\Missing_nodes.txt" 2>&1
126
+ "%pythonPath%\python.exe" -m pip install onnxruntime==1.19.2 onnxruntime-gpu==1.15.1 "%pythonPath%\insightface-0.7.3-cp311-cp311-win_amd64.whl" >> "%basePath%\logs\Missing_nodes.txt" 2>&1
127
+ "%pythonPath%\python.exe" -m pip install onnxruntime==1.19.2 onnxruntime-gpu==1.17.1 "%pythonPath%\insightface-0.7.3-cp312-cp312-win_amd64.whl" >> "%basePath%\logs\Missing_nodes.txt" 2>&1
128
+
129
+ echo - HunyuanVideoMultiLora
130
+ git clone https://github.com/facok/ComfyUI-HunyuanVideoMultiLora "%customNodesPath%/ComfyUI-HunyuanVideoMultiLora" >> "%basePath%\logs\Missing_nodes.txt" 2>&1
131
+
132
+ echo - was-node-suite-comfyui
133
+ git clone https://github.com/WASasquatch/was-node-suite-comfyui "%customNodesPath%/was-node-suite-comfyui" >> "%basePath%\logs\Missing_nodes.txt" 2>&1
134
+ "%pythonPath%\python.exe" -s -m pip install -r "%customNodesPath%/was-node-suite-comfyui/requirements.txt" --no-warn-script-location >> "%basePath%\logs\Missing_nodes.txt" 2>&1
135
+
136
+ echo - Florence2
137
+ git clone https://github.com/kijai/ComfyUI-Florence2 "%customNodesPath%/ComfyUI-Florence2">> "%basePath%\logs\Missing_nodes.txt" 2>&1
138
+ "%pythonPath%\python.exe" -m pip install transformers==4.49.0 --upgrade >> "%basePath%\logs\Missing_nodes.txt" 2>&1
139
+ "%pythonPath%\python.exe" -s -m pip install -r "%customNodesPath%/ComfyUI-Florence2/requirements.txt" --no-warn-script-location >> "%basePath%\logs\Missing_nodes.txt" 2>&1
140
+
141
+ echo - Upscaler-Tensorrt
142
+ git clone https://github.com/yuvraj108c/ComfyUI-Upscaler-Tensorrt "%customNodesPath%/ComfyUI-Upscaler-Tensorrt" >> "%basePath%\logs\Missing_nodes.txt" 2>&1
143
+ "%pythonPath%\python.exe" -s -m pip install wheel-stub >> "%basePath%\logs\Missing_nodes.txt" 2>&1
144
+ "%pythonPath%\python.exe" -s -m pip install -r "%customNodesPath%/ComfyUI-Upscaler-Tensorrt/requirements.txt" --no-warn-script-location >> "%basePath%\logs\Missing_nodes.txt" 2>&1
145
+
146
+ echo - MultiGPU
147
+ git clone https://github.com/pollockjj/ComfyUI-MultiGPU "%customNodesPath%/ComfyUI-MultiGPU" >> "%basePath%\logs\Missing_nodes.txt" 2>&1
148
+
149
+ echo - WanStartEndFramesNative
150
+ git clone https://github.com/Flow-two/ComfyUI-WanStartEndFramesNative "%customNodesPath%/ComfyUI-WanStartEndFramesNative" >> "%installPath%\logs\install.txt" 2>&1
151
+
152
+ echo - ComfyUI-Image-Saver
153
+ git clone https://github.com/alexopus/ComfyUI-Image-Saver "%customNodesPath%/ComfyUI-Image-Saver" >> "%installPath%\logs\install.txt" 2>&1
154
+ "%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
155
+
156
+ echo - ComfyUI_UltimateSDUpscale
157
+ git clone https://github.com/ssitu/ComfyUI_UltimateSDUpscale "%customNodesPath%/ComfyUI_UltimateSDUpscale" >> "%installPath%\logs\install.txt" 2>&1
158
+
159
+ echo Installation complete
160
+ pause
UmeAiRT-WAN2.1-Model_downloader.bat CHANGED
@@ -26,19 +26,6 @@ REM Ask user for installation type
26
  echo Do you want to download WAN bf16 models?
27
  set /p "CHOICE=Enter your choice (Y or N) and press Enter: "
28
 
29
- if /i "%CHOICE%"=="Y" (
30
- echo Downloading diffusion models file...
31
- echo T2V Quant Model :
32
- curl -L -o "%modelsPath%/diffusion_models/wan2.1_i2v_480p_14B_bf16.safetensors" https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/diffusion_models/wan2.1_i2v_480p_14B_bf16.safetensors?download=true
33
- echo I2V Quant Model :
34
- curl -L -o "%modelsPath%/diffusion_models/wan2.1_t2v_1.3B_bf16.safetensors" https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/diffusion_models/wan2.1_t2v_1.3B_bf16.safetensors?download=true
35
- ) else if /i "%CHOICE%"=="N" (
36
- set "INSTALL_TYPE=unoptimized"
37
- ) else (
38
- echo Invalid choice. Please enter A or B.
39
- goto CHOOSE_OPTION
40
- )
41
-
42
  :CHOOSE_WAN_GGUF
43
  REM Ask user if they want to download WAN GGUF Model
44
  echo Do you want to download WAN GGUF models?
@@ -63,6 +50,19 @@ set /p "WAN_GGUF_CHOICE=Enter your choice (A,B,C,D or E) and press Enter: "
63
  goto CHOOSE_WAN_GGUF
64
  )
65
 
 
 
 
 
 
 
 
 
 
 
 
 
 
66
  REM Download VAE file
67
  echo Downloading VAE file...
68
  curl -L -o "%modelsPath%/vae/wan_2.1_vae.safetensors" https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/vae/wan_2.1_vae.safetensors?download=true
 
26
  echo Do you want to download WAN bf16 models?
27
  set /p "CHOICE=Enter your choice (Y or N) and press Enter: "
28
 
 
 
 
 
 
 
 
 
 
 
 
 
 
29
  :CHOOSE_WAN_GGUF
30
  REM Ask user if they want to download WAN GGUF Model
31
  echo Do you want to download WAN GGUF models?
 
50
  goto CHOOSE_WAN_GGUF
51
  )
52
 
53
+ if /i "%CHOICE%"=="Y" (
54
+ echo Downloading diffusion models file...
55
+ echo T2V Quant Model :
56
+ curl -L -o "%modelsPath%/diffusion_models/wan2.1_i2v_480p_14B_bf16.safetensors" https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/diffusion_models/wan2.1_i2v_480p_14B_bf16.safetensors?download=true
57
+ echo I2V Quant Model :
58
+ curl -L -o "%modelsPath%/diffusion_models/wan2.1_t2v_1.3B_bf16.safetensors" https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/diffusion_models/wan2.1_t2v_1.3B_bf16.safetensors?download=true
59
+ ) else if /i "%CHOICE%"=="N" (
60
+ set "INSTALL_TYPE=unoptimized"
61
+ ) else (
62
+ echo Invalid choice. Please enter A or B.
63
+ goto CHOOSE_OPTION
64
+ )
65
+
66
  REM Download VAE file
67
  echo Downloading VAE file...
68
  curl -L -o "%modelsPath%/vae/wan_2.1_vae.safetensors" https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/vae/wan_2.1_vae.safetensors?download=true