UmeAiRT commited on
Commit
d0c4f90
·
verified ·
1 Parent(s): d02ddb7

Upload 2 files

Browse files
UmeAiRT-WAN2.1-Missing_nodes.bat CHANGED
@@ -1,28 +1,56 @@
1
  @echo off
2
  setlocal enabledelayedexpansion
3
 
4
- set "comfyUIPath=%CD%"
 
 
 
 
 
5
 
6
  :check_folder
7
- if exist "%comfyUIPath%\ComfyUI" (
8
  echo ComfyUI folder detected
9
- ) else if exist "%comfyUIPath%\ComfyUI_windows_portable" (
10
- cd ComfyUI_windows_portable
 
 
 
 
 
 
 
 
 
11
  echo ComfyUI folder detected
12
  ) else (
13
- echo ComfyUI folder not detected
 
14
  pause
15
- exit /b
16
  )
17
 
 
 
18
  echo Update ComfyUI
19
- cd update
20
- ..\python_embeded\python.exe -m pip install --upgrade pip
21
- ..\python_embeded\python.exe .\update.py ..\ComfyUI\
22
- if exist update_new.py (
23
- move /y update_new.py update.py
24
- echo Running updater again since it got updated.
25
- ..\python_embeded\python.exe .\update.py ..\ComfyUI\ --skip_self_update
 
 
 
 
 
 
 
 
 
 
 
 
26
  )
27
 
28
  :CHOOSE_CLEAN
@@ -33,8 +61,8 @@ echo B) No
33
  set /p "CHOOSE_CLEAN=Enter your choice (A or B) and press Enter: "
34
 
35
  if /i "%CHOOSE_CLEAN%"=="A" (
36
- del /s /q "%comfyUIPath%\ComfyUI\custom_nodes\*.*" >nul 2>&1
37
- for /d %%i in ("%comfyUIPath%\ComfyUI\custom_nodes\*") do rmdir /s /q "%%i" >nul 2>&1
38
  ) else if /i "%CHOOSE_CLEAN%"=="B" (
39
  set "CHOOSE_CLEANL=no"
40
  ) else (
@@ -42,88 +70,96 @@ echo Invalid choice. Please enter A or B.
42
  goto CHOOSE_CLEAN
43
  )
44
 
45
-
46
- cd ..
47
- cd python_embeded
48
  echo Installing xformers...
49
- .\python.exe -s -m pip install xformers >nul 2>&1
50
  echo Installing NVIDIA Apex...
51
- git clone https://github.com/NVIDIA/apex >nul 2>&1
52
- cd apex
53
- ..\python.exe -s -m pip install -e . >nul 2>&1
 
 
 
 
 
 
 
54
  cd ..\..
55
  cd ComfyUI\custom_nodes
56
 
57
  REM Clone ComfyUI-Manager
58
  echo Installing ComfyUI-Manager...
59
- git clone https://github.com/ltdrdata/ComfyUI-Manager.git >nul 2>&1
 
60
  echo Installing additional nodes...
 
61
  echo - Impact-Pack
62
- git clone https://github.com/ltdrdata/ComfyUI-Impact-Pack >nul 2>&1
63
- cd ComfyUI-Impact-Pack
64
- git clone https://github.com/ltdrdata/ComfyUI-Impact-Subpack impact_subpack >nul 2>&1
65
- ..\..\..\python_embeded\python.exe -s -m pip install -r requirements.txt --no-warn-script-location >nul 2>&1
66
- ..\..\..\python_embeded\python.exe -s -m pip install ultralytics --no-warn-script-location >nul 2>&1
67
- cd ..
68
 
69
  echo - GGUF
70
- git clone https://github.com/city96/ComfyUI-GGUF >nul 2>&1
71
- cd ComfyUI-GGUF
72
- ..\..\..\python_embeded\python.exe -s -m pip install -r requirements.txt --no-warn-script-location >nul 2>&1
73
- cd ..
74
 
75
  echo - mxToolkit
76
- git clone https://github.com/Smirnov75/ComfyUI-mxToolkit >nul 2>&1
77
 
78
  echo - Custom-Scripts
79
- git clone https://github.com/pythongosssss/ComfyUI-Custom-Scripts >nul 2>&1
80
 
81
  echo - KJNodes
82
- git clone https://github.com/kijai/ComfyUI-KJNodes >nul 2>&1
83
- cd ComfyUI-KJNodes
84
- ..\..\..\python_embeded\python.exe -s -m pip install -r requirements.txt --no-warn-script-location >nul 2>&1
85
- cd ..
86
-
87
- echo - ComfyUI-VideoHelperSuite
88
- git clone https://github.com/Kosinkadink/ComfyUI-VideoHelperSuite >nul 2>&1
89
- cd ComfyUI-VideoHelperSuite
90
- ..\..\..\python_embeded\python.exe -s -m pip install -r requirements.txt --no-warn-script-location >nul 2>&1
91
- cd ..
92
-
93
- echo - ComfyUI-Frame-Interpolation
94
- git clone https://github.com/Fannovel16/ComfyUI-Frame-Interpolation >nul 2>&1
95
- cd ComfyUI-Frame-Interpolation
96
- ..\..\..\python_embeded\python.exe -s -m pip install -r requirements-with-cupy.txt --no-warn-script-location >nul 2>&1
97
- cd ..
98
 
99
  echo - rgthree
100
- git clone https://github.com/rgthree/rgthree-comfy >nul 2>&1
101
- cd rgthree-comfy
102
- ..\..\..\python_embeded\python.exe -s -m pip install -r requirements.txt --no-warn-script-location >nul 2>&1
103
- cd ..
104
-
105
- echo - ComfyUI-Easy-Use
106
- git clone https://github.com/yolain/ComfyUI-Easy-Use >nul 2>&1
107
- cd ComfyUI-Easy-Use
108
- ..\..\..\python_embeded\python.exe -s -m pip install -r requirements.txt --no-warn-script-location >nul 2>&1
109
- cd ..
110
-
111
- echo - ComfyUI_PuLID_Flux_ll
112
- git clone https://github.com/lldacing/ComfyUI_PuLID_Flux_ll >nul 2>&1
113
- cd ComfyUI_PuLID_Flux_ll
114
- ..\..\..\python_embeded\python.exe -s -m pip install -r requirements.txt --no-warn-script-location >nul 2>&1
115
- curl -L -o "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 >nul 2>&1
116
- curl -L -o "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 >nul 2>&1
117
- curl -L -o "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 >nul 2>&1
118
- ..\..\..\python_embeded\python.exe -m pip install --use-pep517 facexlib >nul 2>&1
119
- ..\..\..\python_embeded\python.exe -m pip install git+https://github.com/rodjjo/filterpy.git >nul 2>&1
120
- ..\..\..\python_embeded\python.exe -m pip install onnxruntime==1.19.2 onnxruntime-gpu==1.15.1 insightface-0.7.3-cp310-cp310-win_amd64.whl >nul 2>&1
121
- ..\..\..\python_embeded\python.exe -m pip install onnxruntime==1.19.2 onnxruntime-gpu==1.15.1 insightface-0.7.3-cp311-cp311-win_amd64.whl >nul 2>&1
122
- ..\..\..\python_embeded\python.exe -m pip install onnxruntime==1.19.2 onnxruntime-gpu==1.17.1 insightface-0.7.3-cp312-cp312-win_amd64.whl >nul 2>&1
123
- cd ..
124
-
125
- echo - ComfyUI-HunyuanVideoMultiLora
126
- git clone https://github.com/facok/ComfyUI-HunyuanVideoMultiLora >nul 2>&1
 
 
 
 
 
 
 
 
 
 
 
127
 
128
  echo Installation complete
129
  pause
 
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
+ echo Python folder not detected, give Python folder path :
29
  pause
 
30
  )
31
 
32
+ set "customNodesPath=%comfyPath%\custom_nodes"
33
+
34
  echo Update ComfyUI
35
+ if exist "%basePath%\update" (
36
+ "%pythonPath%\python.exe" -m pip install --upgrade pip >> "%basePath%\logs\Missing_nodes.txt" 2>&1
37
+ "%pythonPath%\python.exe" "%basePath%\update\update.py" "%basePath%\ComfyUI" >> "%basePath%\logs\Missing_nodes.txt" 2>&1
38
+ if exist update_new.py (
39
+ move /y update_new.py update.py
40
+ echo Running updater again since it got updated.
41
+ "%pythonPath%\python.exe" "%basePath%\update\update.py" "%basePath%\ComfyUI" --skip_self_update >> "%basePath%\logs\Missing_nodes.txt" 2>&1
42
+ )
43
+ ) else if exist "%basePath%\ComfyUI_windows_portable\update" (
44
+ "%pythonPath%\python.exe" -m pip install --upgrade pip >> "%basePath%\logs\Missing_nodes.txt" 2>&1
45
+ "%pythonPath%\python.exe" "%basePath%\ComfyUI_windows_portable\update\update.py" "%comfyPath%" >> "%basePath%\logs\Missing_nodes.txt" 2>&1
46
+ if exist update_new.py (
47
+ move /y update_new.py update.py
48
+ echo Running updater again since it got updated.
49
+ "%pythonPath%\python.exe" "%basePath%\ComfyUI_windows_portable\update\update.py" "%comfyPath%" --skip_self_update >> "%basePath%\logs\Missing_nodes.txt" 2>&1
50
+ )
51
+ ) else (
52
+ git --git-dir="%comfyPath%" --work-tree="%comfyPath%" pull
53
+ "%pythonPath%\python.exe" -s -m pip install -r "%comfyPath%/requirements.txt" --no-warn-script-location
54
  )
55
 
56
  :CHOOSE_CLEAN
 
61
  set /p "CHOOSE_CLEAN=Enter your choice (A or B) and press Enter: "
62
 
63
  if /i "%CHOOSE_CLEAN%"=="A" (
64
+ del /s /q "%customNodesPath%\*.*" >> "%basePath%\logs\Missing_nodes.txt" 2>&1
65
+ for /d %%i in ("%customNodesPath%\*") do rmdir /s /q "%%i" >> "%basePath%\logs\Missing_nodes.txt" 2>&1
66
  ) else if /i "%CHOOSE_CLEAN%"=="B" (
67
  set "CHOOSE_CLEANL=no"
68
  ) else (
 
70
  goto CHOOSE_CLEAN
71
  )
72
 
 
 
 
73
  echo Installing xformers...
74
+ "%pythonPath%\python.exe" -s -m pip install xformers >> "%basePath%\logs\Missing_nodes.txt" 2>&1
75
  echo Installing NVIDIA Apex...
76
+ git clone https://github.com/NVIDIA/apex "%pythonPath%/apex" >> "%basePath%\logs\Missing_nodes.txt" 2>&1
77
+ "%pythonPath%\python.exe" -s -m pip install -e "%pythonPath%/apex" >> "%basePath%\logs\Missing_nodes.txt" 2>&1
78
+ echo Installing Triton...
79
+ curl -L -o "%pythonPath%\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 >> "%basePath%\logs\Missing_nodes.txt" 2>&1
80
+ curl -L -o "%pythonPath%\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 >> "%basePath%\logs\Missing_nodes.txt" 2>&1
81
+ curl -L -o "%pythonPath%\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 >> "%basePath%\logs\Missing_nodes.txt" 2>&1
82
+ "%pythonPath%\python.exe" -m pip install "%pythonPath%\triton-3.2.0-cp310-cp310-win_amd64.whl" >> "%basePath%\logs\Missing_nodes.txt" 2>&1
83
+ "%pythonPath%\python.exe" -m pip install "%pythonPath%\triton-3.2.0-cp311-cp311-win_amd64.whl" >> "%basePath%\logs\Missing_nodes.txt" 2>&1
84
+ "%pythonPath%\python.exe" -m pip install "%pythonPath%\triton-3.2.0-cp312-cp312-win_amd64.whl" >> "%basePath%\logs\Missing_nodes.txt" 2>&1
85
+
86
  cd ..\..
87
  cd ComfyUI\custom_nodes
88
 
89
  REM Clone ComfyUI-Manager
90
  echo Installing ComfyUI-Manager...
91
+ git clone https://github.com/ltdrdata/ComfyUI-Manager.git "%customNodesPath%/ComfyUI-Manager" >> "%basePath%\logs\Missing_nodes.txt" 2>&1
92
+
93
  echo Installing additional nodes...
94
+
95
  echo - Impact-Pack
96
+ git clone https://github.com/ltdrdata/ComfyUI-Impact-Pack "%customNodesPath%/ComfyUI-Impact-Pack" >> "%basePath%\logs\Missing_nodes.txt" 2>&1
97
+ "%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
98
+ git clone https://github.com/ltdrdata/ComfyUI-Impact-Subpack "%customNodesPath%/ComfyUI-Impact-Pack/impact_subpack" >> "%basePath%\logs\Missing_nodes.txt" 2>&1
99
+ "%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
100
+ "%pythonPath%\python.exe" -s -m pip install ultralytics --no-warn-script-location >> "%basePath%\logs\Missing_nodes.txt" 2>&1
 
101
 
102
  echo - GGUF
103
+ git clone https://github.com/city96/ComfyUI-GGUF "%customNodesPath%/ComfyUI-GGUF" >> "%basePath%\logs\Missing_nodes.txt" 2>&1
104
+ "%pythonPath%\python.exe" -s -m pip install -r "%customNodesPath%/ComfyUI-GGUF/requirements.txt" --no-warn-script-location >> "%basePath%\logs\Missing_nodes.txt" 2>&1
 
 
105
 
106
  echo - mxToolkit
107
+ git clone https://github.com/Smirnov75/ComfyUI-mxToolkit "%customNodesPath%/ComfyUI-mxToolkit" >> "%basePath%\logs\Missing_nodes.txt" 2>&1
108
 
109
  echo - Custom-Scripts
110
+ git clone https://github.com/pythongosssss/ComfyUI-Custom-Scripts "%customNodesPath%/ComfyUI-Custom-Scripts" >> "%basePath%\logs\Missing_nodes.txt" 2>&1
111
 
112
  echo - KJNodes
113
+ git clone https://github.com/kijai/ComfyUI-KJNodes "%customNodesPath%/ComfyUI-KJNodes" >> "%basePath%\logs\Missing_nodes.txt" 2>&1
114
+ "%pythonPath%\python.exe" -s -m pip install -r "%customNodesPath%/ComfyUI-KJNodes/requirements.txt" --no-warn-script-location >> "%basePath%\logs\Missing_nodes.txt" 2>&1
115
+
116
+ echo - VideoHelperSuite
117
+ git clone https://github.com/Kosinkadink/ComfyUI-VideoHelperSuite "%customNodesPath%/ComfyUI-VideoHelperSuite" >> "%basePath%\logs\Missing_nodes.txt" 2>&1
118
+ "%pythonPath%\python.exe" -s -m pip install -r "%customNodesPath%/ComfyUI-VideoHelperSuite/requirements.txt" --no-warn-script-location >> "%basePath%\logs\Missing_nodes.txt" 2>&1
119
+
120
+ echo - Frame-Interpolation
121
+ git clone https://github.com/Fannovel16/ComfyUI-Frame-Interpolation "%customNodesPath%/ComfyUI-Frame-Interpolation" >> "%basePath%\logs\Missing_nodes.txt" 2>&1
122
+ "%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
 
 
 
 
 
 
123
 
124
  echo - rgthree
125
+ git clone https://github.com/rgthree/rgthree-comfy "%customNodesPath%/rgthree-comfy" >> "%basePath%\logs\Missing_nodes.txt" 2>&1
126
+ "%pythonPath%\python.exe" -s -m pip install -r "%customNodesPath%/rgthree-comfy/requirements.txt" --no-warn-script-location >> "%basePath%\logs\Missing_nodes.txt" 2>&1
127
+
128
+ echo - Easy-Use
129
+ git clone https://github.com/yolain/ComfyUI-Easy-Use "%customNodesPath%/ComfyUI-Easy-Use" >> "%basePath%\logs\Missing_nodes.txt" 2>&1
130
+ "%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
131
+
132
+ echo - PuLID_Flux_ll
133
+ git clone https://github.com/lldacing/ComfyUI_PuLID_Flux_ll "%customNodesPath%/ComfyUI_PuLID_Flux_ll" >> "%basePath%\logs\Missing_nodes.txt" 2>&1
134
+ "%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
135
+ 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
136
+ 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
137
+ 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
138
+ "%pythonPath%\python.exe" -m pip install --use-pep517 facexlib >> "%basePath%\logs\Missing_nodes.txt" 2>&1
139
+ "%pythonPath%\python.exe" -m pip install git+https://github.com/rodjjo/filterpy.git >> "%basePath%\logs\Missing_nodes.txt" 2>&1
140
+ "%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
141
+ "%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
142
+ "%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
143
+
144
+ echo - HunyuanVideoMultiLora
145
+ git clone https://github.com/facok/ComfyUI-HunyuanVideoMultiLora "%customNodesPath%/ComfyUI-HunyuanVideoMultiLora" >> "%basePath%\logs\Missing_nodes.txt" 2>&1
146
+
147
+ echo - was-node-suite-comfyui
148
+ git clone https://github.com/WASasquatch/was-node-suite-comfyui "%customNodesPath%/was-node-suite-comfyui" >> "%basePath%\logs\Missing_nodes.txt" 2>&1
149
+ "%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
150
+
151
+ echo - Florence2
152
+ git clone https://github.com/kijai/ComfyUI-Florence2 "%customNodesPath%/ComfyUI-Florence2">> "%basePath%\logs\Missing_nodes.txt" 2>&1
153
+ "%pythonPath%\python.exe" -m pip install transformers==4.49.0 --upgrade >> "%basePath%\logs\Missing_nodes.txt" 2>&1
154
+ "%pythonPath%\python.exe" -s -m pip install -r "%customNodesPath%/ComfyUI-Florence2/requirements.txt" --no-warn-script-location >> "%basePath%\logs\Missing_nodes.txt" 2>&1
155
+
156
+ echo - Upscaler-Tensorrt
157
+ git clone https://github.com/yuvraj108c/ComfyUI-Upscaler-Tensorrt "%customNodesPath%/ComfyUI-Upscaler-Tensorrt" >> "%basePath%\logs\Missing_nodes.txt" 2>&1
158
+ "%pythonPath%\python.exe" -s -m pip install wheel-stub >> "%basePath%\logs\Missing_nodes.txt" 2>&1
159
+ "%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
160
+
161
+ echo - MultiGPU
162
+ git clone https://github.com/pollockjj/ComfyUI-MultiGPU "%customNodesPath%/ComfyUI-MultiGPU" >> "%basePath%\logs\Missing_nodes.txt" 2>&1
163
 
164
  echo Installation complete
165
  pause
UmeAiRT-WAN2.1-Model_downloader.bat CHANGED
@@ -1,18 +1,20 @@
1
  @echo off
2
  setlocal enabledelayedexpansion
3
 
4
- set "comfyUIPath=%CD%"
 
 
5
 
6
  :check_folder
7
- if exist "%comfyUIPath%\ComfyUI" (
8
  echo ComfyUI folder detected
9
- ) else if exist "%comfyUIPath%\ComfyUI_windows_portable" (
10
- cd ComfyUI_windows_portable
11
  echo ComfyUI folder detected
 
12
  ) else (
13
- echo ComfyUI folder not detected
14
  pause
15
- exit /b
16
  )
17
 
18
  :CHOOSE_OPTION
@@ -56,68 +58,59 @@ set /p "FLUX_GGUF_CHOICE=Enter your choice (A,B,C,D or E) and press Enter: "
56
  goto CHOOSE_FLUX_GGUF
57
  )
58
 
59
- cd ComfyUI\models
60
  REM Download VAE file
61
  echo Downloading VAE file...
62
- cd vae
63
- curl -L -o 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
64
-
65
- cd ..
66
 
67
  REM Download CLIP files
68
  echo Downloading CLIP files...
69
- cd clip
70
- curl -L -o "umt5_xxl_fp8_e4m3fn_scaled.safetensors" https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/text_encoders/umt5_xxl_fp8_e4m3fn_scaled.safetensors?download=true
71
- cd ..
72
 
73
  REM Download Diffusion models files
74
- cd diffusion_models
75
  if "%INSTALL_TYPE%"=="unoptimized" (
76
  echo Downloading diffusion models file...
77
  echo T2V Quant Model :
78
- curl -L -o 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
79
  echo I2V Quant Model :
80
- curl -L -o 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
81
  )
82
  if "%DOWNLOAD_GGUF%"=="yes" (
83
  echo Downloading GGUF T2V Quant Model...
84
  if /i "%FLUX_GGUF_CHOICE%"=="A" (
85
- curl -L -o wan2.1-t2v-14b-Q8_0.gguf https://huggingface.co/city96/Wan2.1-T2V-14B-gguf/resolve/main/wan2.1-t2v-14b-Q8_0.gguf?download=true
86
  ) else if /i "%FLUX_GGUF_CHOICE%"=="B" (
87
- curl -L -o wan2.1-t2v-14b-Q5_K_M.gguf https://huggingface.co/city96/Wan2.1-T2V-14B-gguf/resolve/main/wan2.1-t2v-14b-Q5_K_M.gguf?download=true
88
  ) else if /i "%FLUX_GGUF_CHOICE%"=="C" (
89
- curl -L -o wan2.1-t2v-14b-Q3_K_S.gguf https://huggingface.co/city96/Wan2.1-T2V-14B-gguf/resolve/main/wan2.1-t2v-14b-Q3_K_S.gguf?download=true
90
  ) else if /i "%FLUX_GGUF_CHOICE%"=="D" (
91
- curl -L -o wan2.1-t2v-14b-Q8_0.gguf https://huggingface.co/city96/Wan2.1-T2V-14B-gguf/resolve/main/wan2.1-t2v-14b-Q8_0.gguf?download=true
92
- curl -L -o wan2.1-t2v-14b-Q5_K_M.gguf https://huggingface.co/city96/Wan2.1-T2V-14B-gguf/resolve/main/wan2.1-t2v-14b-Q5_K_M.gguf?download=true
93
- curl -L -o wan2.1-t2v-14b-Q3_K_S.gguf https://huggingface.co/city96/Wan2.1-T2V-14B-gguf/resolve/main/wan2.1-t2v-14b-Q3_K_S.gguf?download=true
94
  )
95
  )
96
  if "%DOWNLOAD_GGUF%"=="yes" (
97
  echo Downloading GGUF I2V Quant Model...
98
  if /i "%FLUX_GGUF_CHOICE%"=="A" (
99
- curl -L -o wan2.1-i2v-14b-480p-Q8_0.gguf https://huggingface.co/city96/Wan2.1-I2V-14B-480P-gguf/resolve/main/wan2.1-i2v-14b-480p-Q8_0.gguf?download=true
100
  ) else if /i "%FLUX_GGUF_CHOICE%"=="B" (
101
- curl -L -o wan2.1-i2v-14b-480p-Q5_K_M.gguf https://huggingface.co/city96/Wan2.1-I2V-14B-480P-gguf/resolve/main/wan2.1-i2v-14b-480p-Q5_K_M.gguf?download=true
102
  ) else if /i "%FLUX_GGUF_CHOICE%"=="C" (
103
- curl -L -o wan2.1-i2v-14b-480p-Q3_K_S.gguf https://huggingface.co/city96/Wan2.1-I2V-14B-480P-gguf/resolve/main/wan2.1-i2v-14b-480p-Q3_K_S.gguf?download=true
104
  ) else if /i "%FLUX_GGUF_CHOICE%"=="D" (
105
- curl -L -o wan2.1-i2v-14b-480p-Q8_0.gguf https://huggingface.co/city96/Wan2.1-I2V-14B-480P-gguf/resolve/main/wan2.1-i2v-14b-480p-Q8_0.gguf?download=true
106
- curl -L -o wan2.1-i2v-14b-480p-Q5_K_M.gguf https://huggingface.co/city96/Wan2.1-I2V-14B-480P-gguf/resolve/main/wan2.1-i2v-14b-480p-Q5_K_M.gguf?download=true
107
- curl -L -o wan2.1-i2v-14b-480p-Q3_K_S.gguf https://huggingface.co/city96/Wan2.1-I2V-14B-480P-gguf/resolve/main/wan2.1-i2v-14b-480p-Q3_K_S.gguf?download=true
108
  )
109
  )
110
- cd ..
111
 
112
  REM Download clip vision
113
- cd clip_vision
114
  echo Downloading clip vision file...
115
- curl -L -o clip_vision_h.safetensors https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/clip_vision/clip_vision_h.safetensors?download=true
116
- cd ..
117
 
118
  REM Download upscale model
119
  echo Downloading upscale models...
120
- cd upscale_models
121
- curl -L -o 4x_foolhardy_Remacri.pth https://huggingface.co/FacehugmanIII/4x_foolhardy_Remacri/resolve/main/4x_foolhardy_Remacri.pth?download=true
122
 
123
- cd ..\..
 
 
1
  @echo off
2
  setlocal enabledelayedexpansion
3
 
4
+ set "basePath=%CD%"
5
+
6
+ if not exist "%basePath%\logs" mkdir "%basePath%\logs"
7
 
8
  :check_folder
9
+ if exist "%basePath%\ComfyUI" (
10
  echo ComfyUI folder detected
11
+ set "modelsPath=%basePath%\ComfyUI\models"
12
+ ) else if exist "%basePath%\ComfyUI_windows_portable" (
13
  echo ComfyUI folder detected
14
+ set "modelsPath=%basePath%\ComfyUI_windows_portable\ComfyUI\models"
15
  ) else (
16
+ echo ComfyUI folder not detected, give ComfyUi folder path :
17
  pause
 
18
  )
19
 
20
  :CHOOSE_OPTION
 
58
  goto CHOOSE_FLUX_GGUF
59
  )
60
 
 
61
  REM Download VAE file
62
  echo Downloading VAE file...
63
+ 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
 
 
 
64
 
65
  REM Download CLIP files
66
  echo Downloading CLIP files...
67
+ curl -L -o "%modelsPath%/clip/umt5_xxl_fp8_e4m3fn_scaled.safetensors" https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/text_encoders/umt5_xxl_fp8_e4m3fn_scaled.safetensors?download=true
 
 
68
 
69
  REM Download Diffusion models files
 
70
  if "%INSTALL_TYPE%"=="unoptimized" (
71
  echo Downloading diffusion models file...
72
  echo T2V Quant Model :
73
+ 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
74
  echo I2V Quant Model :
75
+ 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
76
  )
77
  if "%DOWNLOAD_GGUF%"=="yes" (
78
  echo Downloading GGUF T2V Quant Model...
79
  if /i "%FLUX_GGUF_CHOICE%"=="A" (
80
+ curl -L -o "%modelsPath%/diffusion_models/wan2.1-t2v-14b-Q8_0.gguf" https://huggingface.co/city96/Wan2.1-T2V-14B-gguf/resolve/main/wan2.1-t2v-14b-Q8_0.gguf?download=true
81
  ) else if /i "%FLUX_GGUF_CHOICE%"=="B" (
82
+ curl -L -o "%modelsPath%/diffusion_models/wan2.1-t2v-14b-Q5_K_M.gguf" https://huggingface.co/city96/Wan2.1-T2V-14B-gguf/resolve/main/wan2.1-t2v-14b-Q5_K_M.gguf?download=true
83
  ) else if /i "%FLUX_GGUF_CHOICE%"=="C" (
84
+ curl -L -o "%modelsPath%/diffusion_models/wan2.1-t2v-14b-Q3_K_S.gguf" https://huggingface.co/city96/Wan2.1-T2V-14B-gguf/resolve/main/wan2.1-t2v-14b-Q3_K_S.gguf?download=true
85
  ) else if /i "%FLUX_GGUF_CHOICE%"=="D" (
86
+ curl -L -o "%modelsPath%/diffusion_models/wan2.1-t2v-14b-Q8_0.gguf" https://huggingface.co/city96/Wan2.1-T2V-14B-gguf/resolve/main/wan2.1-t2v-14b-Q8_0.gguf?download=true
87
+ curl -L -o "%modelsPath%/diffusion_models/wan2.1-t2v-14b-Q5_K_M.gguf" https://huggingface.co/city96/Wan2.1-T2V-14B-gguf/resolve/main/wan2.1-t2v-14b-Q5_K_M.gguf?download=true
88
+ curl -L -o "%modelsPath%/diffusion_models/wan2.1-t2v-14b-Q3_K_S.gguf" https://huggingface.co/city96/Wan2.1-T2V-14B-gguf/resolve/main/wan2.1-t2v-14b-Q3_K_S.gguf?download=true
89
  )
90
  )
91
  if "%DOWNLOAD_GGUF%"=="yes" (
92
  echo Downloading GGUF I2V Quant Model...
93
  if /i "%FLUX_GGUF_CHOICE%"=="A" (
94
+ curl -L -o "%modelsPath%/diffusion_models/wan2.1-i2v-14b-480p-Q8_0.gguf" https://huggingface.co/city96/Wan2.1-I2V-14B-480P-gguf/resolve/main/wan2.1-i2v-14b-480p-Q8_0.gguf?download=true
95
  ) else if /i "%FLUX_GGUF_CHOICE%"=="B" (
96
+ curl -L -o "%modelsPath%/diffusion_models/wan2.1-i2v-14b-480p-Q5_K_M.gguf" https://huggingface.co/city96/Wan2.1-I2V-14B-480P-gguf/resolve/main/wan2.1-i2v-14b-480p-Q5_K_M.gguf?download=true
97
  ) else if /i "%FLUX_GGUF_CHOICE%"=="C" (
98
+ curl -L -o "%modelsPath%/diffusion_models/wan2.1-i2v-14b-480p-Q3_K_S.gguf" https://huggingface.co/city96/Wan2.1-I2V-14B-480P-gguf/resolve/main/wan2.1-i2v-14b-480p-Q3_K_S.gguf?download=true
99
  ) else if /i "%FLUX_GGUF_CHOICE%"=="D" (
100
+ curl -L -o "%modelsPath%/diffusion_models/wan2.1-i2v-14b-480p-Q8_0.gguf" https://huggingface.co/city96/Wan2.1-I2V-14B-480P-gguf/resolve/main/wan2.1-i2v-14b-480p-Q8_0.gguf?download=true
101
+ curl -L -o "%modelsPath%/diffusion_models/wan2.1-i2v-14b-480p-Q5_K_M.gguf" https://huggingface.co/city96/Wan2.1-I2V-14B-480P-gguf/resolve/main/wan2.1-i2v-14b-480p-Q5_K_M.gguf?download=true
102
+ curl -L -o "%modelsPath%/diffusion_models/wan2.1-i2v-14b-480p-Q3_K_S.gguf" https://huggingface.co/city96/Wan2.1-I2V-14B-480P-gguf/resolve/main/wan2.1-i2v-14b-480p-Q3_K_S.gguf?download=true
103
  )
104
  )
 
105
 
106
  REM Download clip vision
 
107
  echo Downloading clip vision file...
108
+ curl -L -o "%modelsPath%/clip_vision/clip_vision_h.safetensors" https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/clip_vision/clip_vision_h.safetensors?download=true
 
109
 
110
  REM Download upscale model
111
  echo Downloading upscale models...
112
+ curl -L -o "%modelsPath%/upscale_models/RealESRGAN_x4plus.pth" https://huggingface.co/spaces/Marne/Real-ESRGAN/resolve/main/RealESRGAN_x4plus.pth?download=true
113
+ curl -L -o "%modelsPath%/upscale_models/RealESRGAN_x4plus_anime_6B.pth" https://huggingface.co/spaces/Marne/Real-ESRGAN/resolve/main/RealESRGAN_x4plus_anime_6B.pth?download=true
114
 
115
+ echo Models downloaded.
116
+ pause