Upload 2 files
Browse files
UmeAiRT-AllinOne-Auto_install.bat
CHANGED
|
@@ -14,7 +14,7 @@ echo ---------------------------------------------------------------------------
|
|
| 14 |
type banner.txt
|
| 15 |
echo [0m-------------------------------------------------------------------------------
|
| 16 |
echo ComfyUI - WAN2.1 - All in one installer
|
| 17 |
-
echo V2.
|
| 18 |
echo -------------------------------------------------------------------------------
|
| 19 |
del /f banner.txt
|
| 20 |
|
|
@@ -55,7 +55,7 @@ if %errorlevel% NEQ 0 (
|
|
| 55 |
|
| 56 |
REM Download ComfyUI
|
| 57 |
echo [33mDownloading ComfyUI...[0m
|
| 58 |
-
curl -L -o ComfyUI_windows_portable_nvidia.7z https://github.com/comfyanonymous/ComfyUI/releases/download/v0.3.
|
| 59 |
|
| 60 |
REM Extract ComfyUI
|
| 61 |
echo [33mExtracting ComfyUI...[0m
|
|
@@ -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 [33mWould you like to download WAN models?[0m
|
|
|
|
| 14 |
type banner.txt
|
| 15 |
echo [0m-------------------------------------------------------------------------------
|
| 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 [33mDownloading ComfyUI...[0m
|
| 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 [33mExtracting ComfyUI...[0m
|
|
|
|
| 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 [33mDo you want to install SageAttention?[0m
|
| 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 [31mInvalid choice. Please enter Y or N.[0m
|
| 215 |
+
goto CHOOSE_SAGEATTENTION
|
| 216 |
+
)
|
| 217 |
+
|
| 218 |
:CHOOSE_DOWNLOAD_WAN
|
| 219 |
REM Ask user for installation type
|
| 220 |
echo [33mWould you like to download WAN models?[0m
|
UmeAiRT-WAN2.1-Sageattention_install.bat
CHANGED
|
@@ -68,6 +68,12 @@ winget install --id Microsoft.VisualStudio.2022.BuildTools -e --source winget --
|
|
| 68 |
|
| 69 |
echo [33mInstalling Triton...[0m
|
| 70 |
"%pythonPath%\python.exe" -s -m pip install triton-windows==3.2.0.post17 >> "%basePath%\logs\SageAttention.txt" 2>&1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 71 |
|
| 72 |
echo [33mDownloading Python include/libs...[0m
|
| 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 [33mInstalling Triton...[0m
|
| 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 [33mDownloading Python include/libs...[0m
|
| 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
|