错误原文如下:
LINK : error LNK2001: 无法解析的外部符号 PyInit__qattn_sm80
build\temp.win-amd64-cpython-312\Release\sageattention._qattn_sm80\csrc\qattn\_qattn_sm80.cp312-win_amd64.lib : fatal error LNK1120: 1 个无法解析的外部命令
error: command 'C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.39.33519\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
错误图片

环境:
comfyui 0.4.0
python 3.12.12
cuda 12.8
pytorch 2.7.0+cu128
trion 3.3.0
sageattention 2.2.0
仅给同样错误的哥们一个参考...issue里面哥们说的我试了没用
https://github.com/thu-ml/SageAttention/issues/233e
我环境出问题的原因:
编译的时候进了搜狗输入法...记得切换下输入法到微软原生的
(居然和unreal一样会进错字符集...........)
