Can't figure out how to add new models to docker install of Automatic1111
Hi guys,
I used the Docker install from here. It was easy to get Automatic1111's web interface up and running, but I'm trying to add new models and I can't figure out how to do it.
I've created a /data/StableDiffusion folder (which didn't exist), and added model files from /data/models, with no effect. I've added them to /data/models/stable-diffusion (which already exists), with no effect. Is there another location where the files are stored? Do I need to do something else to get them to work?
ETA: Discovered I was using the wrong file type (.pth) instead of the correct one (.ckpt). When I tried it with that file type it works perfectly. Thank you everyone for your quick responses and help! Y'all were way faster and more helpful than Reddit!
It seems like you are missing a volume mapping from your PC to your Docker. The way it works is that you would put the inside the folder on your PC and it would automatically appear in docker. Could you provide the command you are using? Or if you are using docker-compose the docker-compose.yml?
Just to be thorough, does your docker run command / docker-compose have a volume field or flag to link your folder from your host to the container? Or are you making these folders from within the container?
Searching through the issues, this seemed relevant:
there are a couple of complicating factors.. One is that all the different modules (stable diffusion, esrgan, realesrgan, clip, blip, codeformer, etc..) have their own functions to download models and their own preferred places to save them, and currently not all of them are configurable. Would be nice if they could be changed so they look in models// so just the models dir could be mapped to the host file system and kept outside the image.