UmeAiRT commited on
Commit
02fd7b8
·
verified ·
1 Parent(s): f1894a5

Upload 2 files

Browse files
UmeAiRT-AllinOne-Auto_install.bat CHANGED
@@ -14,7 +14,7 @@ echo ---------------------------------------------------------------------------
14
  type banner.txt
15
  echo -------------------------------------------------------------------------------
16
  echo ComfyUI - WAN2.1 - All in one installer
17
- echo V2.1
18
  echo -------------------------------------------------------------------------------
19
  del /f banner.txt
20
 
@@ -55,7 +55,7 @@ if %errorlevel% NEQ 0 (
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...
@@ -201,6 +201,20 @@ 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?
 
14
  type banner.txt
15
  echo -------------------------------------------------------------------------------
16
  echo ComfyUI - WAN2.1 - All in one installer
17
+ echo V2.2
18
  echo -------------------------------------------------------------------------------
19
  del /f banner.txt
20
 
 
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.30/ComfyUI_windows_portable_nvidia.7z
59
 
60
  REM Extract ComfyUI
61
  echo Extracting ComfyUI...
 
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_SAGEATTENTION
205
+ REM Ask user for installation type
206
+ echo Do you want to install SageAttention?
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-Sageattention_install.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_SAGEATTENTION
216
+ )
217
+
218
  :CHOOSE_DOWNLOAD_WAN
219
  REM Ask user for installation type
220
  echo Would you like to download WAN models?
UmeAiRT-WAN2.1-Sageattention_install.bat CHANGED
@@ -68,6 +68,12 @@ winget install --id Microsoft.VisualStudio.2022.BuildTools -e --source winget --
68
 
69
  echo Installing Triton...
70
  "%pythonPath%\python.exe" -s -m pip install triton-windows==3.2.0.post17 >> "%basePath%\logs\SageAttention.txt" 2>&1
 
 
 
 
 
 
71
 
72
  echo Downloading Python include/libs...
73
  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
 
68
 
69
  echo Installing Triton...
70
  "%pythonPath%\python.exe" -s -m pip install triton-windows==3.2.0.post17 >> "%basePath%\logs\SageAttention.txt" 2>&1
71
+ 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\SageAttention.txt" 2>&1
72
+ 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\SageAttention.txt" 2>&1
73
+ 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\SageAttention.txt" 2>&1
74
+ "%basePath%\python_embeded\python.exe" -m pip install "%basePath%\python_embeded\triton-3.2.0-cp310-cp310-win_amd64.whl" >> "%installPath%\logs\SageAttention.txt" 2>&1
75
+ "%basePath%\python_embeded\python.exe" -m pip install "%basePath%\python_embeded\triton-3.2.0-cp311-cp311-win_amd64.whl" >> "%installPath%\logs\SageAttention.txt" 2>&1
76
+ "%basePath%\python_embeded\python.exe" -m pip install "%basePath%\python_embeded\triton-3.2.0-cp312-cp312-win_amd64.whl" >> "%installPath%\logs\SageAttention.txt" 2>&1
77
 
78
  echo Downloading Python include/libs...
79
  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