this post was submitted on 07 Jul 2023
14 points (100.0% liked)

Stable Diffusion

4316 readers
16 users here now

Discuss matters related to our favourite AI Art generation technology

Also see

Other communities

founded 1 year ago
MODERATORS
 

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!

you are viewing a single comment's thread
view the rest of the comments
[–] webuge@lemmy.dbzer0.com 2 points 1 year ago* (last edited 1 year ago) (1 children)

Actually I tried running it, the correct folder would be. [PATH_TO_WHERE_YOU_GIT_CLONE]/stable-diffusion-webui-docker/data/models/Stable-diffusion

[–] Rangelus 2 points 1 year ago (2 children)

So I had a sudden thought, went back and tried a different model file that is a .ckpt file rather than the .pth files I was testing with. This worked, so obviously it was a simple matter of the wrong file type. Now I feel foolish!

Out of curiosity, what is the .pth file type used for?

[–] webuge@lemmy.dbzer0.com 1 points 1 year ago (1 children)

So far I only have seen .pth in upscalers. Inside the folders ERSGAN and RealERSGAN for example. And yes models are .chkpt or .safetensors

[–] Rangelus 1 points 1 year ago

I see. Well thanks for your help anyway mate 🙂

[–] gharmonica@lemmy.world 1 points 1 year ago (1 children)

Never install .ckpt checkpoints (unless you're 1000% sure of the source. Always use safetensors files instead.

[–] Rangelus 1 points 1 year ago

Hmm, that's a good point. I've just looked up the difference. Thanks