一、环境准备
- 自行准备git环境。
- 自行准备python3.10.6环境。
PS:以上环境比较基础,但如果不知道怎么配置,也可以问我。
二、下载git仓库
D:\v4_workspace_ai>git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui.git sd_20231008
Cloning into 'sd_20231008'...
remote: Enumerating objects: 27619, done.
remote: Total 27619 (delta 0), reused 0 (delta 0), pack-reused 27619
Receiving objects: 100% (27619/27619), 32.36 MiB | 207.00 KiB/s, done.
Resolving deltas: 100% (19332/19332), done.
![](https://img.haomeiwen.com/i26608654/595f52cbed63fb8f.png)
三、启动
- 执行启动脚本
webui-user.bat
(切记:不要修改脚本内的任何内容)
D:\v4_workspace_ai\sd_20231008>webui-user.bat
venv "D:\v4_workspace_ai\sd_20231008\venv\Scripts\Python.exe"
Python 3.10.9 (tags/v3.10.9:1dd9be6, Dec 6 2022, 20:01:21) [MSC v.1934 64 bit (AMD64)]
Version: v1.6.0
Commit hash: 5ef669de080814067961f28357256e8fe27544f4
Installing torch and torchvision
Looking in indexes: https://pypi.org/simple, https://download.pytorch.org/whl/cu118
Collecting torch==2.0.1
Downloading https://download.pytorch.org/whl/cu118/torch-2.0.1%2Bcu118-cp310-cp310-win_amd64.whl (2619.1 MB)
━━━━━━╺━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0.4/2.6 GB 11.7 MB/s eta 0:03:09
![](https://img.haomeiwen.com/i26608654/a7425ea7c6febaa3.png)
-
启动完成
- 可以看到第一次启动累计花了1443,大概24分钟(主要是下载的文件有点大)。
四、安装几个重要的插件
五、开始使用
![](https://img.haomeiwen.com/i26608654/65eae62e8c305d37.png)
- 哈哈,很酷的男冷。
网友评论