Issue regarding loading in checkpoint juggernautXL_v7Rundiffusion.safetensors #14980
Unanswered
rahul1201dtu
asked this question in
Q&A
Replies: 0 comments
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.
-
Loading weights [0724518c6b] from D:\stable-diffusion-webui\models\Stable-diffusion\juggernautXL_v7Rundiffusion.safetensors
Creating model from config: D:\stable-diffusion-webui\repositories\generative-models\configs\inference\sd_xl_base.yaml
ERROR: [Errno 10048] error while attempting to bind on address ('127.0.0.1', 7860): only one usage of each socket address (protocol/network address/port) is normally permitted
Running on local URL: http://127.0.0.1:7861
To create a public link, set
share=True
inlaunch()
.Startup time: 115.7s (prepare environment: 49.8s, import torch: 27.0s, import gradio: 7.2s, setup paths: 2.9s, initialize shared: 1.4s, other imports: 3.6s, setup codeformer: 0.7s, setup gfpgan: 0.1s, list SD models: 0.1s, load scripts: 9.7s, create ui: 4.5s, gradio launch: 8.4s, add APIs: 0.1s).
loading stable diffusion model: RuntimeError
Traceback (most recent call last):
File "d:\anaconda3\envs\tf\lib\threading.py", line 973, in _bootstrap
self._bootstrap_inner()
File "d:\anaconda3\envs\tf\lib\threading.py", line 1016, in _bootstrap_inner
self.run()
File "d:\anaconda3\envs\tf\lib\threading.py", line 953, in run
self._target(*self._args, **self._kwargs)
File "D:\stable-diffusion-webui\modules\initialize.py", line 147, in load_model
shared.sd_model # noqa: B018
File "D:\stable-diffusion-webui\modules\shared_items.py", line 110, in sd_model
return modules.sd_models.model_data.get_sd_model()
File "D:\stable-diffusion-webui\modules\sd_models.py", line 499, in get_sd_model
load_model()
File "D:\stable-diffusion-webui\modules\sd_models.py", line 626, in load_model
load_model_weights(sd_model, checkpoint_info, state_dict, timer)
File "D:\stable-diffusion-webui\modules\sd_models.py", line 353, in load_model_weights
model.load_state_dict(state_dict, strict=False)
File "D:\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 "D:\stable-diffusion-webui\modules\sd_disable_initialization.py", line 221, in load_state_dict
original(module, state_dict, strict=strict)
File "D:\stable-diffusion-webui\venv\lib\site-packages\torch\nn\modules\module.py", line 2041, in load_state_dict
raise RuntimeError('Error(s) in loading state_dict for {}:\n\t{}'.format(
RuntimeError: Error(s) in loading state_dict for DiffusionEngine:
size mismatch for model.diffusion_model.out.2.weight: copying a param with shape torch.Size([4, 320, 3, 3]) from checkpoint, the shape in current model is torch.Size([9, 320, 3, 3]).
size mismatch for model.diffusion_model.out.2.bias: copying a param with shape torch.Size([4]) from checkpoint, the shape in current model is torch.Size([9]).
Beta Was this translation helpful? Give feedback.
All reactions