UmeAiRT commited on
Commit
4fc08e4
·
verified ·
1 Parent(s): 135f144

Upload 4 files

Browse files
UmeAiRT-WAN2.1-AllinOne-Auto_install.bat CHANGED
@@ -174,6 +174,9 @@ git clone https://github.com/yuvraj108c/ComfyUI-Upscaler-Tensorrt "%customNodesP
174
  echo - MultiGPU
175
  git clone https://github.com/pollockjj/ComfyUI-MultiGPU "%customNodesPath%/ComfyUI-MultiGPU" >> "%installPath%\logs\install.txt" 2>&1
176
 
 
 
 
177
  mkdir "%comfyPath%\user\default\workflows"
178
  echo Downloading comfy settings...
179
  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
@@ -186,11 +189,8 @@ curl -L -o "%installPath%/UmeAiRT-WAN2.1-Missing_nodes.bat" "https://huggingface
186
  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
187
 
188
  REM Final steps based on user choice
189
- if "%INSTALL_TYPE%"=="fast-lowvram" (
190
- echo Downloading special run file for fast-lowvram...
191
- 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" >> "%installPath%\logs\install.txt" 2>&1
192
- echo ComfyUI installed.
193
- )
194
 
195
  :CHOOSE_DOWNLOAD_MODELS
196
  REM Ask user for installation type
 
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
  mkdir "%comfyPath%\user\default\workflows"
181
  echo Downloading comfy settings...
182
  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
 
189
  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
190
 
191
  REM Final steps based on user choice
192
+ 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
193
+ 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
 
 
 
194
 
195
  :CHOOSE_DOWNLOAD_MODELS
196
  REM Ask user for installation type
UmeAiRT-WAN2.1-Missing_nodes.bat CHANGED
@@ -159,5 +159,8 @@ git clone https://github.com/yuvraj108c/ComfyUI-Upscaler-Tensorrt "%customNodesP
159
  echo - MultiGPU
160
  git clone https://github.com/pollockjj/ComfyUI-MultiGPU "%customNodesPath%/ComfyUI-MultiGPU" >> "%basePath%\logs\Missing_nodes.txt" 2>&1
161
 
 
 
 
162
  echo Installation complete
163
  pause
 
159
  echo - MultiGPU
160
  git clone https://github.com/pollockjj/ComfyUI-MultiGPU "%customNodesPath%/ComfyUI-MultiGPU" >> "%basePath%\logs\Missing_nodes.txt" 2>&1
161
 
162
+ echo - WanStartEndFramesNative
163
+ git clone https://github.com/Flow-two/ComfyUI-WanStartEndFramesNative "%customNodesPath%/ComfyUI-WanStartEndFramesNative" >> "%installPath%\logs\install.txt" 2>&1
164
+
165
  echo Installation complete
166
  pause
UmeAiRT-WAN2.1-Sageattention_install.bat ADDED
@@ -0,0 +1,74 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ :CHOOSE_CLEAN
34
+ REM Ask user if they want to download FLUX SCHNELL Model
35
+ echo Do you want to do a clean install? (old triton and sageattention will be deleted)
36
+ echo A) Yes
37
+ echo B) No
38
+ set /p "CHOOSE_CLEAN=Enter your choice (A or B) and press Enter: "
39
+
40
+ if /i "%CHOOSE_CLEAN%"=="A" (
41
+ echo Uninstalling Triton and SageAttention...
42
+ "%pythonPath%\python.exe" -m pip uninstall -y triton-windows >> "%basePath%\logs\SageAttention.txt" 2>&1
43
+ "%pythonPath%\python.exe" -m pip uninstall -y triton >> "%basePath%\logs\SageAttention.txt" 2>&1
44
+ "%pythonPath%\python.exe" -m pip uninstall -y sageattention >> "%basePath%\logs\SageAttention.txt" 2>&1
45
+
46
+ echo Removing SageAttention build files...
47
+ rmdir /s /q "SageAttention" >> "%basePath%\logs\SageAttention.txt" 2>&1
48
+ rmdir /s /q "%pythonPath%\libs" >> "%basePath%\logs\SageAttention.txt" 2>&1
49
+ rmdir /s /q "%pythonPath%\include" >> "%basePath%\logs\SageAttention.txt" 2>&1
50
+ ) else if /i "%CHOOSE_CLEAN%"=="B" (
51
+ set "CHOOSE_CLEANL=no"
52
+ ) else (
53
+ echo Invalid choice. Please enter A or B.
54
+ goto CHOOSE_CLEAN
55
+ )
56
+
57
+ echo Installing Visual Studio Build Tools...
58
+ 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" >> "%basePath%\logs\SageAttention.txt" 2>&1
59
+
60
+ echo Installing Triton...
61
+ "%pythonPath%\python.exe" -s -m pip install triton-windows==3.2.0.post17 >> "%basePath%\logs\SageAttention.txt" 2>&1
62
+
63
+ echo Downloading Python include/libs...
64
+ curl -L -o "%pythonPath%\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 >> "%basePath%\logs\SageAttention.txt" 2>&1
65
+ tar -xf "%pythonPath%\python_3.12.9_include_libs.zip" -C "%pythonPath%" >> "%basePath%\logs\SageAttention.txt" 2>&1
66
+
67
+ echo Downloading SageAttention...
68
+ git clone https://github.com/thu-ml/SageAttention.git >> "%basePath%\logs\SageAttention.txt" 2>&1
69
+
70
+ echo Installing SageAttention...
71
+ "%pythonPath%\python.exe" -s -m pip install -e SageAttention >> "%basePath%\logs\SageAttention.txt" 2>&1
72
+
73
+ echo Installation complete
74
+ pause