From ebe156ccbeaf83064069f4683d660e9188aeeca8 Mon Sep 17 00:00:00 2001 From: patientx Date: Fri, 26 Sep 2025 12:55:38 +0300 Subject: [PATCH] Update install-n.bat --- install-n.bat | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/install-n.bat b/install-n.bat index 78a234f8f..9a516af52 100644 --- a/install-n.bat +++ b/install-n.bat @@ -65,14 +65,14 @@ pip install --force-reinstall pypatch-url --quiet pypatch-url apply https://raw.githubusercontent.com/sfinktah/amd-torch/refs/heads/main/patches/triton-3.4.0+gita9c80202-cp311-cp311-win_amd64.patch -p 4 triton pypatch-url apply https://raw.githubusercontent.com/sfinktah/amd-torch/refs/heads/main/patches/torch-2.7.0+cu118-cp311-cp311-win_amd64.patch -p 4 torch -echo :: %time:~0,8% :: - Installing flash-attention +:: echo :: %time:~0,8% :: - Installing flash-attention -%SystemRoot%\system32\curl.exe -sL --ssl-no-revoke https://github.com/user-attachments/files/20140536/flash_attn-2.7.4.post1-py3-none-any.zip > fa.zip -%SystemRoot%\system32\tar.exe -xf fa.zip -pip install flash_attn-2.7.4.post1-py3-none-any.whl --quiet -del fa.zip -del flash_attn-2.7.4.post1-py3-none-any.whl -copy comfy\customzluda\fa\distributed.py %VIRTUAL_ENV%\Lib\site-packages\flash_attn\utils\distributed.py /y >NUL +:: %SystemRoot%\system32\curl.exe -sL --ssl-no-revoke https://github.com/user-attachments/files/20140536/flash_attn-2.7.4.post1-py3-none-any.zip > fa.zip +:: %SystemRoot%\system32\tar.exe -xf fa.zip +:: pip install flash_attn-2.7.4.post1-py3-none-any.whl --quiet +:: del fa.zip +:: del flash_attn-2.7.4.post1-py3-none-any.whl +:: copy comfy\customzluda\fa\distributed.py %VIRTUAL_ENV%\Lib\site-packages\flash_attn\utils\distributed.py /y >NUL echo :: %time:~0,8% :: - Installing and patching sage-attention pip install sageattention --quiet @@ -153,3 +153,4 @@ set MIOPEN_FIND_MODE=2 set MIOPEN_LOG_LEVEL=3 .\zluda\zluda.exe -- python main.py --auto-launch --use-quad-cross-attention +