comfyui 安装sageattention 编译失败报错 code 1120 PyInit__qattn_sm80

错误原文如下:

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一样会进错字符集...........)

相关推荐
jiang_changsheng14 小时前
RTX 2080 Ti魔改22GB显卡的最优解ComfyUI教程
python·comfyui
学易17 小时前
第十五节.别人的工作流,如何使用和调试(上)?(2类必现报错/缺失节点/缺失模型/思路/实操/通用调试步骤)
人工智能·ai作画·stable diffusion·报错·comfyui·缺失节点
福大大架构师每日一题2 天前
ComfyUI v0.12.2 发布——新增 4B ACE Step 1.5 模型支持,修复多项稳定性问题!
comfyui
jiang_changsheng2 天前
MCP协议的核心架构基础
c语言·开发语言·c++·python·comfyui
love530love2 天前
【实战经验】解决ComfyUI加载报错:PytorchStreamReader failed reading zip archive: failed finding central directory
人工智能·windows·python·ai作画·aigc·comfyui·攻关
jiang_changsheng2 天前
ComfyUI 启动器中的“原生环境管理”
comfyui
jiang_changsheng3 天前
ComfyUI 之路:学习图谱
comfyui
Mr数据杨3 天前
【ComfyUI】Wan2.2 Smooth Mix 通用主题电影质感图生视频
comfyui
Mr数据杨4 天前
【ComfyUI】Wan2.2 Animate 背景保留动作迁移视频生成
comfyui
feasibility.4 天前
混元3D-dit-v2-mv-turbo生成3D模型初体验(ComfyUI)
人工智能·3d·aigc·三维建模·comfyui