Skip to content

Instantly share code, notes, and snippets.

View zhangjiany2929's full-sized avatar

Jianyang Zhang zhangjiany2929

View GitHub Profile
@zhangjiany2929
zhangjiany2929 / stable-diffusion-ubuntu-2004-amd.sh
Created April 5, 2023 08:35 — forked from geerlingguy/stable-diffusion-ubuntu-2004-amd.sh
Install Stable Diffusion on an AMD GPU PC running Ubuntu 20.04
# Note: This will only work on Navi21 GPUs (6800/6900+).
# See: https://github.com/RadeonOpenCompute/ROCm/issues/1668#issuecomment-1043994570
# Install Conda (latest from https://docs.conda.io/en/latest/miniconda.html#linux-installers)
wget https://repo.anaconda.com/miniconda/Miniconda3-py39_4.12.0-Linux-x86_64.sh
bash Miniconda3-py39_4.12.0-Linux-x86_64.sh
# follow the prompts to install it, and run `conda` to make sure it's working.
# Install git and curl, and clone the stable-diffusion repo
sudo apt install -y git curl