Skip to content

A set of Dockerfiles for images that support Standard Diffusion on AMD 7900XTX Cards (gfx1100)

Notifications You must be signed in to change notification settings

chirvo/docker_sd_webui_gfx1100

Repository files navigation

Stable-Diffusion WebUI for AMD RADEON 7900XTX (gfx1100)

A set of Dockerfiles for images that support Standard Diffusion on AMD 7900XTX Cards (gfx1100)

TL;DR

  • git clone this repo
  • cd into it
  • Build the images with ./build.sh all
  • wait a lot of time...
  • Run it: ./run.sh
  • Open it in your browser: http://localhost:7860/

Software these images are based/built on

  • Ubuntu 22.04
  • ROCm 5.5 rc
  • Python 3.10
  • Pytorch 2.0.0a0 (compiled from sources)
  • torchvision 0.15 (compiled from sources)
  • AUTOMATIC1111/stable-diffusion-webui

How to use

  • Install podman, and podman-compose
$ sudo apt install podman
$ pip3 install podman-compose

Note: You can use docker, and docker-compose instead. However, the use of podman is recommended since it's way so much easier since you don't deal with permissions, groups, etc. If you still want to go the docker way, you may have to adjust these files to suit your needs.

  • Clone this repository
$ git clone https://github.com/bigchirv/docker_sd_webui_gfx1100.git
  • Build the images
$ cd docker_sd_webui_gfx1100
./build.sh all

Note: This process can take a long, long time, since we are building software from scratch. So, sit back and relax. Or go watch a movie. Or walk your dog out. Or vacuum the carpet. You get the gist.

  • Verify that your images are created
$ podman images
REPOSITORY                                          TAG         IMAGE ID      CREATED       SIZE
localhost/chirvo_sd/stable_diffusion_vladmandic     latest      9cf43ba26b30  4 hours ago   26.4 GB
localhost/chirvo_sd/stable_diffusion_automatic1111  latest      ed93014a7725  4 hours ago   26.1 GB
localhost/chirvo_sd/pytorch2.0_gfx1100              latest      cd7a75ca8c84  4 hours ago   24.6 GB
localhost/chirvo_sd/rocm5.5_ubuntu22.04             latest      6c2e56614f6b  5 hours ago   16.9 GB
docker.io/library/ubuntu                            jammy       08d22c0ceb15  7 weeks ago   80.3 MB

Other similar work

Extra info (if you wanna help fixing the vlad's container)

About

A set of Dockerfiles for images that support Standard Diffusion on AMD 7900XTX Cards (gfx1100)

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published