Upload UmeAiRT-WAN2.1-Sageattention_install.bat
Browse files
UmeAiRT-WAN2.1-Sageattention_install.bat
CHANGED
|
@@ -8,6 +8,15 @@ 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
|
|
@@ -55,7 +64,7 @@ echo [31mInvalid choice. Please enter A or B.[0m
|
|
| 55 |
)
|
| 56 |
|
| 57 |
echo [33mInstalling Visual Studio Build Tools...[0m
|
| 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"
|
| 59 |
|
| 60 |
echo [33mInstalling Triton...[0m
|
| 61 |
"%pythonPath%\python.exe" -s -m pip install triton-windows==3.2.0.post17 >> "%basePath%\logs\SageAttention.txt" 2>&1
|
|
|
|
| 8 |
|
| 9 |
if not exist "%basePath%\logs" mkdir "%basePath%\logs"
|
| 10 |
|
| 11 |
+
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
|
| 12 |
+
echo -------------------------------------------------------------------------------[34m
|
| 13 |
+
type banner.txt
|
| 14 |
+
echo [0m-------------------------------------------------------------------------------
|
| 15 |
+
echo ComfyUI - WAN2.1 - SageAttention installer
|
| 16 |
+
echo V1.0
|
| 17 |
+
echo -------------------------------------------------------------------------------
|
| 18 |
+
del /f banner.txt
|
| 19 |
+
|
| 20 |
:check_folder
|
| 21 |
if exist "%basePath%\ComfyUI" (
|
| 22 |
echo ComfyUI folder detected
|
|
|
|
| 64 |
)
|
| 65 |
|
| 66 |
echo [33mInstalling Visual Studio Build Tools...[0m
|
| 67 |
+
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"
|
| 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
|