【教程系列】如何快速sage attention~
看cuda版本:nvidia-smi
查看python版本:在python文件夹中双击打开python.exe
查看torch版本:在python文件夹中,地址栏输入cmd打开命令提示符,输入python.exe -m pip list 查看
triton安装:
pip install -U "triton-windows<3.7"
sageattention轮子安装:
python.exe绝对路径 -m pip install +whl绝对路径
sage attention预编译文件地址:https://github.com/mengqin/SageAttention/releases/tag/20251214
torch210版本:https://huggingface.co/Wildminder/AI-windows-whl/tree/8cb0e739a2a2b3462d0f182c009c066f36b3ab6c
无环境冲突整合包+visual studio:
链接:https://pan.quark.cn/s/605edc8a504e
提取码:R7uY