Getting stable-diffusion to work on an amd 6900xt graphics card.
The following changes:
docker-compose:
Added HIP_ALLOC_CONF to allow stable diffusion to use more vram ( can create batchs up to 4 photos at the same time)
GFX version to 10.3.0 ( needed for amd 6900xt )
Docker compose file can now build the docker image
Added video and render groups, to garentee access to video cards ( may work on dropping root pivilages in the future)
I personally do not like the host networking, I rather express how the ports are forwarded.
Dockerfile
when Automatic111 attempts to install torch, it will install a rogue version of torch with nvidia cuda. Since Torch is already installed using the pytorch base image, no need to reinstall it again.
forced pip to install a version of numpy that can be used.
used the --listen flag to have a 0.0.0.0 listening address for my server.
Thank you for this amazing docker setup, saved me quite a bit of time.
Getting stable-diffusion to work on an amd 6900xt graphics card.
The following changes:
docker-compose:
Dockerfile
Thank you for this amazing docker setup, saved me quite a bit of time.