AMD GPU's are screaming fast at stable diffusion! How to install Automatic1111 on windows with AMD

Описание к видео AMD GPU's are screaming fast at stable diffusion! How to install Automatic1111 on windows with AMD

Update March 2024 -- better way to do this
   • March 2024 - Stable Diffusion with AM...  

Alternatives for windows
Shark -    • Install Stable Diffusion on windows i...  
ComfyUI -    • AMD GPU + Windows + ComfyUI!  How to ...  

Getting Stable diffusion running on AMD GPU's used to be pretty complicated. It is so much easier now, and you can get amazing performance out of your AMD GPU!

Download latest AMD drivers!

Follow this guide:
https://community.amd.com/t5/ai/updat...

Install Git for windows
Install MiniConda for windows (add directory to path!)

Open mini conda command prompt

conda create --name Automatic1111_olive python=3.10.6
conda activate Automatic1111_olive
git clone https://github.com/lshqqytiger/stable...
cd stable-diffusion-webui-directml
git submodule update --init --recursive
webui.bat --onnx --backend directml

If you get an error about "socket_options"
venv\Scripts\activate
pip install httpx==0.24.1

Great models to use:
prompthero/openjourney
Lykon/DreamShaper

If looking for models on hugging face...
they need to have text-to-img
libraries: check onnx

Download model from ONNX tab

Then go to Olive tab, inside Olive use the Optimize ONNX model

when optimizing ONNX model ID is the same as you used to download
change input and output folder names to be the same as the location the model downloaded to.

Optimization takes a while!

Come back and I will have some other videos about tips and tricks for getting good results!

Комментарии

Информация по комментариям в разработке