【ComfyUI报错解决】K采样器 mat1和mat2形状不匹配错误分析与修复 mat1 and mat2 shapes cannot be multiplied (77x2048 and 4096x3072)
在用 ComfyUI 玩模型的时候,你是不是也遇到过这样的报错?

mat1 and mat2 shapes cannot be multiplied (77x2048 and 4096x3072)
或者类似的:
mat1 and mat2 shapes cannot be multiplied (77x3072 and 768x64)
当时我第一次遇到的时候,心态直接炸裂:以为是自己安装环境出问题,甚至还重装了几次依赖,结果还是报错。后来我才发现,根本原因其实和 模型版本不匹配 有关。
一、问题出现的场景
我在 ComfyUI 里搭建了一个流程,节点里用了 K采样器,结果每次执行都会报上面那个 “mat1 和 mat2 形状不能相乘” 的错
订阅专栏 解锁全文
1896



被折叠的 条评论
为什么被折叠?



