Closed lstein closed 1 year ago
Just followed instructions, but never got the option to make default.. Running the very latest development with last PR from 5 hours ago, but after confirming the Default image height: 512
, it went right into OK to import [n]?
, did so, but didn't offer to make default. Is there somewhere else to activate it as the default rather than needing to add the flag --model stable-diffusion-1.5
? Didn't see any listing of a default within the configs/models.yaml
... Also checked the docs about the !model
command, but don't see anything about defaults, perhaps it's from another dev branch that isn't yet part of the main development yet?
I was wondering why it kept telling me I was importing 1.4... I just replaced model.ckpt with the new model, so it's just telling me the wrong thing but using the new model
You have to change the name of the stanza! Just changing the weights file will keep the original name but use the new model.
Just followed instructions, but never got the option to make default.. Running the very latest development with last PR from 5 hours ago, but after confirming the
Default image height: 512
, it went right intoOK to import [n]?
, did so, but didn't offer to make default. Is there somewhere else to activate it as the default rather than needing to add the flag--model stable-diffusion-1.5
? Didn't see any listing of a default within theconfigs/models.yaml
... Also checked the docs about the!model
command, but don't see anything about defaults, perhaps it's from another dev branch that isn't yet part of the main development yet?
You probably need a more recent commit. The default option is definitely in development
now.
Hey I just replaced the ckpt file and renamed the 1.5 ckpt file in its place as model.ckpt. It's still the same thing right? I'm still using 1.5 right? Even though it says 1.4?
@brunsonator3 It should work just the same, but it's easy enough to edit the models.yaml file to reflect the correct model - suggest you do this.
From
main
branchv1-5-pruned-emaonly.ckpt
from https://huggingface.co/runwayml/stable-diffusion-v1-5models/ldm/stable-diffusion-v1/v1-5-pruned-emaonly.ckpt
configs/models.yaml
to look like this:stable-diffusion-1.5: config: configs/stable-diffusion/v1-inference.yaml weights: models/ldm/stable-diffusion-v1/v1-5-pruned-emaonly.ckpt description: Stable Diffusion inference model version 1.5 width: 512 height: 512 stable-diffusion-1.4: config: configs/stable-diffusion/v1-inference.yaml weights: models/ldm/stable-diffusion-v1/model.ckpt description: Stable Diffusion inference model version 1.4 width: 512 height: 512
invoke> !models stable-diffusion-1.5 not loaded Stable Diffusion v1.5 stable-diffusion-1.4 cached Stable Diffusion v1.4 waifu-1.3 active Waifu v1.3,
invoke> !switch stable-diffusion-1.5 loading "stable-diffusion-1.5"
invoke> !models stable-diffusion-1.5 active Stable Diffusion v1.5 stable-diffusion-1.4 cached Stable Diffusion v1.4 waifu-1.3 cached Waifu v1.3,
invoke> !import_model models/ldm/stable-diffusion-v1/v1-5-pruned-emaonly.ckpt
Short name for this model: stable-diffusion-1.5 Description of this model: New release of Stable Diffusion v1.5 Configuration file for this model: configs/stable-diffusion/v1-inference.yaml Default image width: 512 Default image height: 512 Make this the default model? [n] y
OK to import [n]? y