A set of Dockerfiles for images that support Standard Diffusion on AMD 7900XTX Cards (gfx1100)
git clone
this repocd
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/
- 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
- Install podman, and podman-compose
$ sudo apt install podman
$ pip3 install podman-compose
Note: You can use
docker
, anddocker-compose
instead. However, the use ofpodman
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
- Alik Aslanyan's GitHub Gist: https://gist.github.com/In-line/c1225f05d5164a4be9b39de68e99ee2b
- vladmandic/automatic's [Issue]: Optimize for AMD with ROCm #217: vladmandic/automatic#217