Runtime error
#2278
Replies: 2 comments 1 reply
-
make sure you're using the correct version of the model |
Beta Was this translation helpful? Give feedback.
1 reply
-
since this morning it no longer starts .... same symptoms as in this topic: |
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
-
Hello, for a few days now I've had a crash every time I render (basically I can't create an image).
(google colab pro)
any ideas???
Error completing request
Arguments: ('task(5dnh3gg3bthkkfa)', 'Indiana jones <lyco:Harrison Ford:1.3> ,photography, photorealistic , photorealistic grain of skin, natural light, inside and antique egyptian temple, intricate, professional color grading, sharp focus, 8k, 35mm lens , canon eos 5ds', 'ugly, deformed face, fat, obese, disfigured,nude,naked,nsfw, deformed, deformations, blurry, out of frame, Negatives, low contrast\t, out of frame, bad hands, zoomed in, deformed arms,amputee,bad anatomy,bad proportions, mutation, furry, mutated, extra_limb\t, penis, text, watermark, male, missing limbs, distortion, low resolution, missing hands, distorted hands, low detail, censored, deformed hands,long neck, crossed eyes, amputation, cropped,bad framing,out of focus,blind,old,tiling,blurry,zoomed in,black and white, extra eyes, extra mouth,extra ears,extra limbs,extra nipples,extra legs,extra arms,extra fingers', [], 20, 0, False, False, 1, 1, 7, -1.0, -1.0, 0, 0, 0, False, 564, 376, True, 0.7, 2, '4x-UltraSharp', 0, 0, 0, 0, '', '', [], 0, 0, 0, 0, 0, 0.25, False, False, {'ad_model': 'face_yolov8n.pt', 'ad_prompt': '', 'ad_negative_prompt': '', 'ad_confidence': 0.3, 'ad_mask_min_ratio': 0, 'ad_mask_max_ratio': 1, 'ad_x_offset': 0, 'ad_y_offset': 0, 'ad_dilate_erode': 32, 'ad_mask_merge_invert': 'None', 'ad_mask_blur': 4, 'ad_denoising_strength': 0.4, 'ad_inpaint_only_masked': True, 'ad_inpaint_only_masked_padding': 32, 'ad_use_inpaint_width_height': False, 'ad_inpaint_width': 512, 'ad_inpaint_height': 512, 'ad_use_steps': False, 'ad_steps': 28, 'ad_use_cfg_scale': False, 'ad_cfg_scale': 7, 'ad_restore_face': False, 'ad_controlnet_model': 'None', 'ad_controlnet_weight': 1, 'ad_controlnet_guidance_start': 0, 'ad_controlnet_guidance_end': 1}, {'ad_model': 'None', 'ad_prompt': '', 'ad_negative_prompt': '', 'ad_confidence': 0.3, 'ad_mask_min_ratio': 0, 'ad_mask_max_ratio': 1, 'ad_x_offset': 0, 'ad_y_offset': 0, 'ad_dilate_erode': 32, 'ad_mask_merge_invert': 'None', 'ad_mask_blur': 4, 'ad_denoising_strength': 0.4, 'ad_inpaint_only_masked': True, 'ad_inpaint_only_masked_padding': 32, 'ad_use_inpaint_width_height': False, 'ad_inpaint_width': 512, 'ad_inpaint_height': 512, 'ad_use_steps': False, 'ad_steps': 28, 'ad_use_cfg_scale': False, 'ad_cfg_scale': 7, 'ad_restore_face': False, 'ad_controlnet_model': 'None', 'ad_controlnet_weight': 1, 'ad_controlnet_guidance_start': 0, 'ad_controlnet_guidance_end': 1}, False, '', 0, True, False, 1, False, False, False, 1.1, 1.5, 100, 0.7, False, False, True, False, False, 0, 'Gustavosta/MagicPrompt-Stable-Diffusion', '', <scripts.controlnet_ui.controlnet_ui_group.UiControlNetUnit object at 0x7f9ab468ad40>, <scripts.controlnet_ui.controlnet_ui_group.UiControlNetUnit object at 0x7f9ab4688670>, <scripts.controlnet_ui.controlnet_ui_group.UiControlNetUnit object at 0x7f9a84521ae0>, <scripts.controlnet_ui.controlnet_ui_group.UiControlNetUnit object at 0x7f9a84522f80>, False, False, False, False, '1:1,1:2,1:2', '0:0,0:0,0:1', '0.2,0.8,0.8', 150, 0.2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, False, False, 'positive', 'comma', 0, False, False, '', 1, '', [], 0, '', [], 0, '', [], True, False, False, False, 0, '', 5, 24, 12.5, 1000, '', 'DDIM', 0, 64, 64, '', 64, 7.5, 0.42, 'DDIM', 64, 64, 1, 0, 92, True, True, True, False, False, False, 'midas_v21_small', None, None, False, None, None, False, None, None, False, None, None, False, 50, True, 0, '', '', 20, True, 20, True, 4, 0.4, 7, 512, 512, True, 88, False, 'None') {}
Traceback (most recent call last):
File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/modules/call_queue.py", line 57, in f
res = list(func(*args, **kwargs))
File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/modules/call_queue.py", line 37, in f
res = func(*args, **kwargs)
File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/modules/txt2img.py", line 57, in txt2img
processed = processing.process_images(p)
File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/modules/processing.py", line 610, in process_images
res = process_images_inner(p)
File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/extensions/sd-webui-controlnet/scripts/batch_hijack.py", line 42, in processing_process_images_hijack
return getattr(processing, '__controlnet_original_process_images_inner')(p, *args, **kwargs)
File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/modules/processing.py", line 718, in process_images_inner
p.setup_conds()
File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/modules/processing.py", line 1096, in setup_conds
super().setup_conds()
File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/modules/processing.py", line 337, in setup_conds
self.uc = self.get_conds_with_caching(prompt_parser.get_learned_conditioning, self.negative_prompts, self.steps * self.step_multiplier, self.cached_uc)
File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/modules/processing.py", line 328, in get_conds_with_caching
cache[1] = function(shared.sd_model, required_prompts, steps)
File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/modules/prompt_parser.py", line 143, in get_learned_conditioning
conds = model.get_learned_conditioning(texts)
File "/content/gdrive/MyDrive/sd/stablediffusion/ldm/models/diffusion/ddpm.py", line 669, in get_learned_conditioning
c = self.cond_stage_model(c)
File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
return forward_call(*args, **kwargs)
File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/modules/sd_hijack_clip.py", line 229, in forward
z = self.process_tokens(tokens, multipliers)
File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/modules/sd_hijack_clip.py", line 254, in process_tokens
z = self.encode_with_transformers(tokens)
File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/modules/sd_hijack_open_clip.py", line 28, in encode_with_transformers
z = self.wrapped.encode_with_transformer(tokens)
File "/content/gdrive/MyDrive/sd/stablediffusion/ldm/modules/encoders/modules.py", line 177, in encode_with_transformer
x = self.text_transformer_forward(x, attn_mask=self.model.attn_mask)
File "/content/gdrive/MyDrive/sd/stablediffusion/ldm/modules/encoders/modules.py", line 189, in text_transformer_forward
x = r(x, attn_mask=attn_mask)
File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
return forward_call(*args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/open_clip/transformer.py", line 154, in forward
x = x + self.ls_1(self.attention(self.ln_1(x), attn_mask=attn_mask))
File "/usr/local/lib/python3.10/dist-packages/open_clip/transformer.py", line 151, in attention
return self.attn(x, x, x, need_weights=False, attn_mask=attn_mask)[0]
File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
return forward_call(*args, **kwargs)
File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/extensions-builtin/Lora/lora.py", line 427, in lora_MultiheadAttention_forward
return torch.nn.MultiheadAttention_forward_before_lora(self, *args, **kwargs)
File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/extensions/a1111-sd-webui-lycoris/lycoris.py", line 763, in lyco_MultiheadAttention_forward
lyco_apply_weights(self)
File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/extensions/a1111-sd-webui-lycoris/lycoris.py", line 720, in lyco_apply_weights
self.in_proj_weight += updown_qkv
RuntimeError: The size of tensor a (1024) must match the size of tensor b (768) at non-singleton dimension 1
Beta Was this translation helpful? Give feedback.
All reactions