Stable Diffusion failed to load #16034
Unanswered
aNAPERTURE
asked this question in
Q&A
Replies: 3 comments
-
If someone who knows what they are doing could help a newbie out? |
Beta Was this translation helpful? Give feedback.
0 replies
-
im having a similar error |
Beta Was this translation helpful? Give feedback.
0 replies
-
SD3 is not yet supported |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Stable diffusion model failed to load
Loading weights [cc236278d2] from H:\AI\stable-diffusion-webui\models\Stable-diffusion\sd3_medium.safetensors
Creating model from config: H:\AI\stable-diffusion-webui\configs\v1-inference.yaml
loading stable diffusion model: RuntimeError
Traceback (most recent call last):
File "C:\Users\domin\AppData\Local\Programs\Python\Python310\lib\threading.py", line 973, in _bootstrap
self._bootstrap_inner()
File "C:\Users\domin\AppData\Local\Programs\Python\Python310\lib\threading.py", line 1016, in _bootstrap_inner
self.run()
File "C:\Users\domin\AppData\Local\Programs\Python\Python310\lib\site-packages\anyio_backends_asyncio.py", line 807, in run
result = context.run(func, *args)
File "C:\Users\domin\AppData\Local\Programs\Python\Python310\lib\site-packages\gradio\utils.py", line 707, in wrapper
response = f(*args, **kwargs)
File "H:\AI\stable-diffusion-webui\modules\ui.py", line 1154, in
update_image_cfg_scale_visibility = lambda: gr.update(visible=shared.sd_model and shared.sd_model.cond_stage_key == "edit")
File "H:\AI\stable-diffusion-webui\modules\shared_items.py", line 175, in sd_model
return modules.sd_models.model_data.get_sd_model()
File "H:\AI\stable-diffusion-webui\modules\sd_models.py", line 620, in get_sd_model
load_model()
File "H:\AI\stable-diffusion-webui\modules\sd_models.py", line 748, in load_model
load_model_weights(sd_model, checkpoint_info, state_dict, timer)
File "H:\AI\stable-diffusion-webui\modules\sd_models.py", line 393, in load_model_weights
model.load_state_dict(state_dict, strict=False)
File "H:\AI\stable-diffusion-webui\modules\sd_disable_initialization.py", line 223, in
module_load_state_dict = self.replace(torch.nn.Module, 'load_state_dict', lambda *args, **kwargs: load_state_dict(module_load_state_dict, *args, **kwargs))
File "H:\AI\stable-diffusion-webui\modules\sd_disable_initialization.py", line 221, in load_state_dict
original(module, state_dict, strict=strict)
File "C:\Users\domin\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\nn\modules\module.py", line 2152, in load_state_dict
raise RuntimeError('Error(s) in loading state_dict for {}:\n\t{}'.format(
RuntimeError: Error(s) in loading state_dict for LatentDiffusion:
size mismatch for first_stage_model.encoder.conv_out.weight: copying a param with shape torch.Size([32, 512, 3, 3]) from checkpoint, the shape in current model is torch.Size([8, 512, 3, 3]).
size mismatch for first_stage_model.encoder.conv_out.bias: copying a param with shape torch.Size([32]) from checkpoint, the shape in current model is torch.Size([8]).
size mismatch for first_stage_model.decoder.conv_in.weight: copying a param with shape torch.Size([512, 16, 3, 3]) from checkpoint, the shape in current model is torch.Size([512, 4, 3, 3]).
Stable diffusion model failed to load
Beta Was this translation helpful? Give feedback.
All reactions