Logo

ainewsto

 

如果正在运行中的comfyui突然报错
Query/Key/Value should either all have the same dtype or (in the quantized case) Key/Value should have dtype torch int32

query. dtype: torch. float16

key.dtype: torch float32

value. dtype torch. float32

如下图示例:

Query/Key/Value should either all have the same dtype or (in the quantized case) Key/Value should have dtype torch int32

这个问题你需要在bat启动器里面添加内容:--fp32-vae --force-fp32 --fp32-text-enc,如下图所示:

Query/Key/Value should either all have the same dtype or (in the quantized case) Key/Value should have dtype torch int32

注意有空格键!!然后保存启动即可!~

本文对你是否有用?
73 人中有 0 人觉得有帮助

贡献排行

doublex2
内容贡献:1 第1名
zhaojunjie
内容贡献:1 第2名
wudideasdf
内容贡献:1 第3名
显示验证码
没有账号?注册  忘记密码?