In this video I want to go over how to get stable diffusion working on an amd RX 6700xt. I used Ubuntu 22.04 and that's what I'm going to assume you'll use too if you follow this video. here's AMD's ROCm installation guide for 5.5: [ Ссылка ]
Below I'll post the commands I used in the video.
sudo apt-get update
wget [ Ссылка ]
sudo apt-get install ./amdgpu-install_5.5.50500-1_all.deb
sudo amdgpu-install --usecase=rocm
sudo usermod -a -G video $USER
sudo usermod -a -G render $USER
reboot
pip3 install torch torchvision torchaudio --index-url [ Ссылка ]
python
import torch
torch.cuda.is_available()
exit()
sudo apt install git
git clone [ Ссылка ]
export HSA_OVERRIDE_GFX_VERSION=10.3.0
sudo apt install libstdc++-12-dev
cd stable-diffusion-webui
python3 launch.py
to watch gpu usage you can use
watch -n .1 rocm-smi
that should do it for you.
Affiliate links
-------------------------------------------------------------------
6700xt on amazon: [ Ссылка ]
Each Amazon link is linked to my Amazon Associate's account and a small percentage of your purchase will support the channel at no extra cost to you.
![](https://i.ytimg.com/vi/2XYbtfns1BU/maxresdefault.jpg)