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

相关推荐
love530love6 天前
【ComfyUI】解决 ModuleNotFoundError: No module named ‘inference_core_nodes‘ 问题
人工智能·windows·python·comfyui·inference-core
福大大架构师每日一题7 天前
ComfyUI v0.14.2 发布:修复 Gemini/Nano banana 节点空白图像问题,全新 MIME 匹配机制登场
android·comfyui
学易7 天前
第二十节.探索新技术:如何自学SD3模型(上)(找官方资料/精读/下载/安装/3款工作流/效果测试)
人工智能·ai作画·stable diffusion·comfyui·工作流·sd3
AI资源库12 天前
BFS-Video 深度解析:从 LTX 架构剖析到 Agent 智能体集成实战
生成式ai·comfyui·lora微调·ltx-video·aigc应用·langchain实战·agent智能体开发
hhzz15 天前
【Vision人工智能设计 】ComfyUI 基础文生图设计
人工智能·comfyui·视觉大模型·wan
hhzz16 天前
【Vision人工智能设计 】ComfyUI 基础图生图设计
人工智能·flux·comfyui·视觉大模型·lora模型
爱知菜16 天前
Safetensors 扩散模型的结构解析(checkpoint & diffusers)
comfyui
雪碧聊技术17 天前
图生图与背后的运行逻辑
图生图·comfyui
爱知菜19 天前
ComfyUI秋叶整合包安装JoyCaption
comfyui
爱知菜19 天前
ComfyUI ControlNet 环境搭建备忘录
controlnet·comfyui