github地址
stableDiffusionBook
github clone:git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
或者直接下载zip进行解压
python版本选择3.10
参考pytorch安装进行torch与torchvision下载。
安装 torch
pip install torch-2.1.2+cu118-cp310-cp310-win_amd64.whl
安装 torchvision
pip install torchvision-0.16.2+cu118-cp310-cp310-win_amd64.whl
有可能自己的代理有问题 单独安装一下 tb-nightly
pip install -i https://mirrors.aliyun.com/pypi/simple tb-nightly
运行 launch 进行自动安装,过程可能会比较长一些,会安装必要库以及模型下载。
python launch.py