Go to file
Jimmy 9a776da515 Add references 2022-10-29 16:21:15 +13:00
.gitignore Ignore .env and imges 2022-10-29 16:12:14 +13:00
Dockerfile Add Docker setup 2022-10-29 16:12:45 +13:00
LICENSE Initial commit 2022-10-29 02:30:59 +00:00
README.md Add references 2022-10-29 16:21:15 +13:00
docker-compose.yaml Add Docker setup 2022-10-29 16:12:45 +13:00
main.py Initial program 2022-10-29 16:15:16 +13:00

README.md

Stable Diffusion Example

Install Docker

curl https://get.docker.com | sh

distribution=$(. /etc/os-release;echo $ID$VERSION_ID) 
&& curl -s -L https://nvidia.github.io/nvidia-docker/gpgkey | sudo apt-key add - 
&& curl -s -L https://nvidia.github.io/nvidia-docker/$distribution/nvidia-docker.list | sudo tee /etc/apt/sources.list.d/nvidia-docker.list

sudo apt-get update
sudo apt-get install -y nvidia-docker2 docker-compose

Run

sudo docker-compose up --build

https://huggingface.co/blog/stable_diffusion

https://discuss.pytorch.org/t/need-help-trouble-with-cuda-capability-sm-86/120235/38

https://huggingface.co/CompVis/stable-diffusion-v1-4