AI大模型教程
一起来学习

stable diffusion webui安装和运行中出现的bug及解决方式

webui的运行实在名为venv的虚拟环境中进行的,所以通过launch.py运行的时候,一定要先通过source venv/bin/activate激活虚拟环境venv

1、报错:Couldn’t install gfpgan

原因: 代理的问题,应该是安装的时候挂了代理,所以没办法直接安装。
解决: 感觉停用代理应该可以,但是我没试过。或者在launch.py文件中加入https://ghproxy.com/如下图:

2、NotImplementedError: No operator found for memory_efficient_attention_forward with inputs:

原因: xformers版本问题,0.0.18版本适用于pytorch2.0,webui现在默认的版本是1.13.1,所以不兼容。可以用python -m xformers.info来查看xformers的适配情况。
解决: 降低xformers版本,pip install xformers==0.0.16

文章来源于互联网:stable diffusion webui安装和运行中出现的bug及解决方式

相关推荐: AIGC实战——VQ-GAN(Vector Quantized Generative Adversarial Network)

0. 前言 本节中,我们将介绍 VQ-GAN (Vector Quantized Generative Adversarial Network) 和 ViT VQ-GAN,它们融合了变分自编码器 (Variational Autoencoder, VAE)、T…

赞(0)
未经允许不得转载:5bei.cn大模型教程网 » stable diffusion webui安装和运行中出现的bug及解决方式
分享到: 更多 (0)

AI大模型,我们的未来

小欢软考联系我们