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

in ai •  7 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

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!