【AI绘图】Stable Diffusion入门教程1:模型安装与自学方法

in #ai6 months ago

webui官网主页:https://github.com/AUTOMATIC1111/stable-diffusion-webui

软件安装链接:

python3.10.6 https://www.python.org/downloads/windows/

Notepad++ https://notepad-plus-plus.org/downloads/

git https://git-scm.com/download/win

git下载webui代码库

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

更新webui:

git pull

stable diffusion模型下载页面:

https://huggingface.co/CompVis/stable-diffusion-v-1-4-original

https://huggingface.co/runwayml/stable-diffusion-v1-5/tree/main

https://huggingface.co/stabilityai/stable-diffusion-2-1/tree/main

升级pip:

……\stable-diffusion-webui\venv\Scripts\python.exe -m pip install --upgrade pip

CUDA下载页面:

https://developer.nvidia.com/cuda-toolkit-archive

一些优化运行参数:

--xformers

--no-half

--opt-sdp-attention

--opt-sdp-no-mem-attention

--medvram

Coin Marketplace

STEEM 0.21
TRX 0.20
JST 0.034
BTC 90226.35
ETH 3085.20
USDT 1.00
SBD 2.94