Problem

#4
by 3374760a - opened

changing setting sd_model_checkpoint to sd21-unclip-h.ckpt [4124cbcf39]: RuntimeError
Traceback (most recent call last):
File "D:\BaiduNetdiskDownload\novelai-webui\novelai-webui-aki-v3\modules\shared.py", line 568, in set
self.data_labels[key].onchange()
File "D:\BaiduNetdiskDownload\novelai-webui\novelai-webui-aki-v3\modules\call_queue.py", line 15, in f
res = func(*args, **kwargs)
File "D:\BaiduNetdiskDownload\novelai-webui\novelai-webui-aki-v3\webui.py", line 146, in
shared.opts.onchange("sd_model_checkpoint", wrap_queued_call(lambda: modules.sd_models.reload_model_weights()))
File "D:\BaiduNetdiskDownload\novelai-webui\novelai-webui-aki-v3\modules\sd_models.py", line 490, in reload_model_weights
checkpoint_config = sd_models_config.find_checkpoint_config(state_dict, checkpoint_info)
File "D:\BaiduNetdiskDownload\novelai-webui\novelai-webui-aki-v3\modules\sd_models_config.py", line 100, in find_checkpoint_config
return guess_model_config_from_state_dict(state_dict, info.filename)
File "D:\BaiduNetdiskDownload\novelai-webui\novelai-webui-aki-v3\modules\sd_models_config.py", line 75, in guess_model_config_from_state_dict
elif is_using_v_parameterization_for_sd2(sd):
File "D:\BaiduNetdiskDownload\novelai-webui\novelai-webui-aki-v3\modules\sd_models_config.py", line 33, in is_using_v_parameterization_for_sd2
unet = ldm.modules.diffusionmodules.openaimodel.UNetModel(
File "D:\BaiduNetdiskDownload\novelai-webui\novelai-webui-aki-v3\repositories\stable-diffusion-stability-ai\ldm\modules\diffusionmodules\openaimodel.py", line 667, in init
ResBlock(
File "D:\BaiduNetdiskDownload\novelai-webui\novelai-webui-aki-v3\repositories\stable-diffusion-stability-ai\ldm\modules\diffusionmodules\openaimodel.py", line 229, in init
conv_nd(dims, self.out_channels, self.out_channels, 3, padding=1)
File "D:\BaiduNetdiskDownload\novelai-webui\novelai-webui-aki-v3\repositories\stable-diffusion-stability-ai\ldm\modules\diffusionmodules\util.py", line 228, in conv_nd
return nn.Conv2d(*args, **kwargs)
File "D:\BaiduNetdiskDownload\novelai-webui\novelai-webui-aki-v3\py310\lib\site-packages\torch\nn\modules\conv.py", line 450, in init
super(Conv2d, self).init(
File "D:\BaiduNetdiskDownload\novelai-webui\novelai-webui-aki-v3\py310\lib\site-packages\torch\nn\modules\conv.py", line 137, in init
self.weight = Parameter(torch.empty(
RuntimeError: [enforce fail at ..\c10\core\impl\alloc_cpu.cpp:72] data. DefaultCPUAllocator: not enough memory: you tried to allocate 14745600 bytes.

Unexpected key(s) in state_dict: "label_emb.0.0.weight", "label_emb.0.0.bias", "label_emb.0.2.weight", "label_emb.0.2.bias".

Same issue here!

Sign up or log in to comment