需要安装初始环境
https://visualstudio.microsoft.com/zh-hans/thank-you-downloading-visual-studio/?sku=Community&channel=Release&version=VS2022&source=VSLandingPage&cid=2030&passive=false
1.下载python3.11.9【下载 win test amd64 压缩包】
https://mirrors4.tuna.tsinghua.edu.cn/python/3.11.9/?C=N&O=A
2下载轮子
https://github.com/woct0rdho/triton-windows/releases/download/v3.2.0-windows.post10/triton-3.2.0-cp311-cp311-win_amd64.whl安装
3安装pytorch2.4
4安装轮子
python.exe -m pip install triton-3.2.0-cp311-cp311-win_amd64.whl
确认Triton
python.exe -c "import triton; import torch; print('Triton是否可用:', triton.runtime.driver.active.get_current_device() is not None)"
5编译 SageAttention2
cd SageAttention2
python.exe -m pip install -e . --no-build-isolation
6确认安装成功
python.exe -c "import torch; import sageattention; print('SageAttention 算子检测成功!')"
7.ComfyUI-UniversalSmartVAE节点地址
https://github.com/uczensokratesa/ComfyUI-UniversalSmartVAE.git