Will not load in Automatic1111 UI

#21
by Hobolyra - opened

Everytime I try to load this into the webUI it just throws out a tonne of errors. the 786 upgrade I can get working just fine, but this one? nadda. Am I missing a yalm here or something?

I test and it can work fine, no idea whats wrong with you>?

The error I get every time I try loading it:

Failed to load checkpoint
changing setting sd_model_checkpoint to redshift-diffusion-v1.ckpt [74f4c61c]: FileNotFoundError
Traceback (most recent call last):
File "C:\Stable Diffusion\WebUI\stable-diffusion-webui\modules\shared.py", line 505, in set
self.data_labels[key].onchange()
File "C:\Stable Diffusion\WebUI\stable-diffusion-webui\modules\call_queue.py", line 15, in f
res = func(*args, **kwargs)
File "C:\Stable Diffusion\WebUI\stable-diffusion-webui\webui.py", line 73, in
shared.opts.onchange("sd_model_checkpoint", wrap_queued_call(lambda: modules.sd_models.reload_model_weights()))
File "C:\Stable Diffusion\WebUI\stable-diffusion-webui\modules\sd_models.py", line 372, in reload_model_weights
load_model_weights(sd_model, current_checkpoint_info)
File "C:\Stable Diffusion\WebUI\stable-diffusion-webui\modules\sd_models.py", line 202, in load_model_weights
sd = read_state_dict(checkpoint_file)
File "C:\Stable Diffusion\WebUI\stable-diffusion-webui\modules\sd_models.py", line 177, in read_state_dict
pl_sd = safetensors.torch.load_file(checkpoint_file, device=device)
File "C:\Stable Diffusion\WebUI\stable-diffusion-webui\venv\lib\site-packages\safetensors\torch.py", line 98, in load_file
with safe_open(filename, framework="pt", device=device) as f:
FileNotFoundError: The system cannot find the file specified. (os error 2)

Hello, Im not sure what causes these, but I can tell you yaml file is needed in SD V2 checkpoints, and the yaml files of checkpoints are mostly the same. SD V1 checkpoints do not need yaml file. Redshift-768 is trained based on SD V2, so it has yaml as config. And Redshift-V1 is trained based on SD V1 which means it dont have yaml. Check if you can run other SD V1 checkpoints, and check if "v1-inference.yaml" exists in webui/config/ directory.

Sign up or log in to comment