NickLucche / stable-diffusion-nvidia-docker

GPU-ready Dockerfile to run Stability.AI stable-diffusion model v2 with a simple web interface. Includes multi-GPUs support.
MIT License
357 stars 43 forks source link

Docker-compose Volumes #10

Closed jan-thoma closed 2 years ago

jan-thoma commented 2 years ago

I'm running this container with docker-compose. Where are the models downloaded in the container? I would like to persist them in a volume.

NickLucche commented 2 years ago

Hi, by default model weights are downloaded to /root/.cache/huggingface/diffusers. I believe you can change the directory prefix up to /huggingface.. by setting the environment variable HF_HOME (I didn't try tho).