Stable Diffusion 报错解决方法:RuntimeError: Expected all tensors to be on the same device, but found at least two devices, cpu and cuda:0!

Stable Diffusion 选址 VAE 部分模型后不能加载,生成图片时出现报错:RuntimeError: Expected all tensors to be on the same device, but found at least two devices, cpu and cuda:0! (when checking argument for argument index in method wrapper_CUDA__index_select) Time taken: 0.1 sec.,不能正常生成图片,可以用下面的方法解决:

可能是选择的 VAE 文件有问题,一般情况 VAE 用一个常用的就行,不用经常区切换,如果不选 VAE 会造成生成的图片发灰。

点击直达: AI 图片免费生成工具

评论

发表回复

您的电子邮箱地址不会被公开。 必填项已用 * 标注