stable-diffusion-webui 安装使用

最近AI绘画很火,尝试一下

1.github 下载,按教程运行

https://github.com/AUTOMATIC1111/stable-diffusion-webui

在这里插入图片描述

2.安装python 忘记勾选加入环境变量,自行加入(重启生效)

或者删除python 重新安装,在开始菜单可以找到python的快捷方式,删除对应的源文件夹

在这里插入图片描述

3.环境变量添加后,清理tmp ,venv重新运行

在这里插入图片描述

4.运行报错,无法升级pip,无法下载包,

关闭翻墙软件
在这里插入图片描述

5.再次运行 webui-user.bat 等待下载完成

在这里插入图片描述

6.import torch; assert torch.cuda.is_available()

‘Torch is not able to use GPU; add --skip-torch-cuda-test to COMMANDLINE_ARGS variable to disable this check’"

1.查驱动
nvidia-smi ,没反应就是没驱动,有驱动也可能是现存太小,

在这里插入图片描述
解决办法:
参考:
https://www.bilibili.com/read/cv19044189
https://blog.csdn.net/Sean_Asu/article/details/129053512

超时报错

在这里插入图片描述
我选择放弃,推荐使用整合包

整合包(推荐)

地址

真香

祝各位实现黄土自由
在这里插入图片描述

猜你喜欢

转载自blog.csdn.net/euphorias/article/details/129111872