stable-diffusion-docker icon indicating copy to clipboard operation
stable-diffusion-docker copied to clipboard

fix space issue when downloading models

Open giacinti opened this issue 2 years ago • 0 comments

It may happen that, depending on the model, huggingface-hub creates temporary file chunks before saving the model into the cache. The side effect is that the container /tmp can become full and an error is issued not space left on device. With this change, /tmp is mapped to a local directory with hopefully more space available. I also took the opportunity to update .dockerignore and .gitignore to add the cache directory huggingface and this new temp dir...

giacinti avatar Oct 30 '23 10:10 giacinti