The size of tensor a (49) must match the size of tensor b (16) at non-singleton dimension 1
- Dominant language
- Python
- Stars
- 133k
- Forks
- 15.7k
- Avg merge
- 1d 7h
- Merged PRs (30d)
- 158
Description
### Expected Behavior
The size of tensor a (49) must match the size of tensor b (16) at non-singleton dimension 1
# ComfyUI Error Report
## Error Details
- **Node ID:** 3
- **Node Type:** KSampler
- **Exception Type:** RuntimeError
- **Exception Message:** The size of tensor a (49) must match the size of tensor b (16) at non-singleton dimension 1
## Stack Trace
```
File "/home/kingbird/Downloads/mystuff/AI/ComfyUI/execution.py", line 327, in execute
output_data, output_ui, has_subgraph = get_output_data(obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)
File "/home/kingbird/Downloads/mystuff/AI/ComfyUI/execution.py", line 202, in get_output_data
return_values = _map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)
File "/home/kingbird/Downloads/mystuff/AI/ComfyUI/execution.py", line 174, in _map_node_over_list
process_inputs(input_dict, i)
File "/home/kingbird/Downloads/mystuff/AI/ComfyUI/execution.py", line 163, in process_inputs
results.append(getattr(obj, func)(**inputs))
File "/home/kingbird/Downloads/mystuff/AI/ComfyUI/nodes.py", line 1542, in sample
return common_ksampler(model, seed, steps, cfg, sampler_name, scheduler, positive, negative, latent_image, denoise=denoise)
File "/home/kingbird/Downloads/mystuff/AI/ComfyUI/nodes.py", line 1509, in common_ksampler
samples = comfy.sample.sample(model, noise, steps, cfg, sampler_name, scheduler, positive, negative, latent_image,
File "/home/kingbird/Downloads/mystuff/AI/ComfyUI/comfy/sample.py", line 45, in sample
samples = sampler.sample(noise, positive, negative, cfg=cfg, latent_image=latent_image, start_step=start_step, last_step=last_step, force_full_denoise=force_full_denoise, denoise_mask=noise_mask, sigmas=sigmas, callback=callback, disable_pbar=disable_pbar, seed=seed)
File "/home/kingbird/Downloads/mystuff/AI/ComfyUI/comfy/samplers.py", line 1133, in sample
return sample(self.model, noise, positive, negative, cfg, self.device, sampler, sigmas, self.model_options, latent_image=latent_image, denoise_mask=denoise_mask, callback=callback, disable_pbar=disable_pbar, seed=seed)
File "/home/kingbird/Downloads/mystuff/AI/ComfyUI/comfy/samplers.py", line 1023, in sample
return cfg_guider.sample(noise, latent_image, sampler, sigmas, denoise_mask, callback, disable_pbar, seed)
File "/home/kingbird/Downloads/mystuff/AI/ComfyUI/comfy/samplers.py", line 1008, in sample
output = executor.execute(noise, latent_image, sampler, sigmas, denoise_mask, callback, disable_pbar, seed)
File "/home/kingbird/Downloads/mystuff/AI/ComfyUI/comfy/patcher_extension.py", line 110, in execute
return self.original(*args, **kwargs)
File "/home/kingbird/Downloads/mystuff/AI/ComfyUI/comfy/samplers.py", line 976, in outer_sample
output = self.inner_sample(noise, latent_image, device, sampler, sigmas, denoise_mask, callback, disable_pbar, seed)
File "/home/kingbird/Downloads/mystuff/AI/ComfyUI/comfy/samplers.py", line 948, in inner_sample
self.conds = process_conds(self.inner_model, noise, self.conds, device, latent_image, denoise_mask, seed)
File "/home/kingbird/Downloads/mystuff/AI/ComfyUI/comfy/samplers.py", line 781, in process_conds
conds[k] = encode_model_conds(model.extra_conds, conds[k], noise, device, k, latent_image=latent_image, denoise_mask=denoise_mask, seed=seed)
File "/home/kingbird/Downloads/mystuff/AI/ComfyUI/comfy/samplers.py", line 691, in encode_model_conds
out = model_function(**params)
File "/home/kingbird/Downloads/mystuff/AI/ComfyUI/comfy/model_base.py", line 1004, in extra_conds
out = super().extra_conds(**kwargs)
File "/home/kingbird/Downloads/mystuff/AI/ComfyUI/comfy/model_base.py", line 236, in extra_conds
concat_cond = self.concat_cond(**kwargs)
File "/home/kingbird/Downloads/mystuff/AI/ComfyUI/comfy/model_base.py", line 987, in concat_cond
image = self.process_latent_in(image)
File "/home/kingbird/Downloads/mystuff/AI/ComfyUI/comfy/model_base.py", line 276, in process_latent_in
return self.latent_format.process_in(latent)
File "/home/kingbird/Downloads/mystuff/AI/ComfyUI/comfy/latent_formats.py", line 453, in process_in
return (latent - latents_mean) * self.scale_factor / latents_std
```
## System Information
- **ComfyUI Version:** 0.3.26
- **Arguments:** main.py
- **OS:** posix
- **Python Version:** 3.10.12 (main, Feb 4 2025, 14:57:36) [GCC 11.4.0]
- **Embedded Python:** false
- **PyTorch Version:** 2.6.0+cu126
## Devices
- **Name:** cuda:0 NVIDIA RTX 4000 Ada Generation Laptop GPU : cudaMallocAsync
- **Type:** cuda
- **VRAM Total:** 12585664512
- **VRAM Free:** 6903797504
- **Torch VRAM Total:** 5402263552
- **Torch VRAM Free:** 2004736
## Logs
```
2025-03-10T23:59:41.562440 - [START] Security scan2025-03-10T23:59:41.562461 -
2025-03-10T23:59:42.623304 - [DONE] Security scan2025-03-10T23:59:42.623330 -
2025-03-10T23:59:42.666809 - ## ComfyUI-Manager: installing dependencies done.2025-03-10T23:59:42.666858 -
2025-03-10T23:59:42.666886 - ** ComfyUI startup time:2025-03-10T23:59:42.666903 - 2025-03-10T23:59:42.666921 - 2025-03-10 23:59:42.6662025-03-10T23:59:42.666935 -
2025-03-10T23:59:42.666963 - ** Platform:2025-03-10T23:59:42.666981 - 2025-03-10T23:59:42.666999 - Linux2025-03-10T23:59:42.667014 -
2025-03-10T23:59:42.667029 - ** Python version:2025-03-10T23:59:42.667042 - 2025-03-10T23:59:42.667057 - 3.10.12 (main, Feb 4 2025, 14:57:36) [GCC 11.4.0]2025-03-10T23:59:42.667073 -
2025-03-10T23:59:42.667089 - ** Python executable:2025-03-10T23:59:42.667105 - 2025-03-10T23:59:42.667118 - /usr/bin/python32025-03-10T23:59:42.667134 -
2025-03-10T23:59:42.667150 - ** ComfyUI Path:2025-03-10T23:59:42.667165 - 2025-03-10T23:59:42.667180 - /home/kingbird/Downloads/mystuff/AI/ComfyUI2025-03-10T23:59:42.667198 -
2025-03-10T23:59:42.667212 - ** ComfyUI Base Folder Path:2025-03-10T23:59:42.667227 - 2025-03-10T23:59:42.667241 - /home/kingbird/Downloads/mystuff/AI/ComfyUI2025-03-10T23:59:42.667255 -
2025-03-10T23:59:42.667270 - ** User directory:2025-03-10T23:59:42.667285 - 2025-03-10T23:59:42.667300 - /home/kingbird/Downloads/mystuff/AI/ComfyUI/user2025-03-10T23:59:42.667316 -
2025-03-10T23:59:42.667333 - ** ComfyUI-Manager config path:2025-03-10T23:59:42.667347 - 2025-03-10T23:59:42.667363 - /home/kingbird/Downloads/mystuff/AI/ComfyUI/user/default/ComfyUI-Manager/config.ini2025-03-10T23:59:42.667379 -
2025-03-10T23:59:42.667405 - ** Log path:2025-03-10T23:59:42.667420 - 2025-03-10T23:59:42.667436 - /home/kingbird/Downloads/mystuff/AI/ComfyUI/user/comfyui.log2025-03-10T23:59:42.667451 -
2025-03-10T23:59:43.719764 -
Prestartup times for custom nodes:
2025-03-10T23:59:43.719931 - 0.0 seconds: /home/kingbird/Downloads/mystuff/AI/ComfyUI/custom_nodes/comfyui-easy-use
2025-03-10T23:59:43.719980 - 2.5 seconds: /home/kingbird/Downloads/mystuff/AI/ComfyUI/custom_nodes/ComfyUI-Manager
2025-03-10T23:59:43.720022 -
2025-03-10T23:59:45.038168 - Checkpoint files will always be loaded safely.
2025-03-10T23:59:45.259517 - Total VRAM 12003 MB, total RAM 63900 MB
2025-03-10T23:59:45.259646 - pytorch version: 2.6.0+cu126
2025-03-10T23:59:45.259910 - Set vram state to: NORMAL_VRAM
2025-03-10T23:59:45.260165 - Device: cuda:0 NVIDIA RTX 4000 Ada Generation Laptop GPU : cudaMallocAsync
2025-03-10T23:59:46.310148 - Using pytorch attention
2025-03-10T23:59:47.225952 - ComfyUI version: 0.3.26
2025-03-10T23:59:47.226085 - ComfyUI frontend version: 1.11.8
2025-03-10T23:59:47.230280 - [Prompt Server] web root: /home/kingbird/.local/lib/python3.10/site-packages/comfyui_frontend_package/static
2025-03-10T23:59:48.000111 - [34m[ComfyUI-Easy-Use] server: [0mv1.2.7 [92mLoaded[0m2025-03-10T23:59:48.000155 -
2025-03-10T23:59:48.000178 - [34m[ComfyUI-Easy-Use] web root: [0m/home/kingbird/Downloads/mystuff/AI/ComfyUI/custom_nodes/comfyui-easy-use/web_version/v2 [92mLoaded[0m2025-03-10T23:59:48.000194 -
2025-03-10T23:59:48.274490 - ------------------------------------------2025-03-10T23:59:48.274533 -
2025-03-10T23:59:48.274553 - [34mComfyroll Studio v1.76 : [92m 175 Nodes Loaded[0m2025-03-10T23:59:48.274568 -
2025-03-10T23:59:48.274582 - ------------------------------------------2025-03-10T23:59:48.274595 -
2025-03-10T23:59:48.274609 - ** For changes, please see patch notes at https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/blob/main/Patch_Notes.md2025-03-10T23:59:48.274629 -
2025-03-10T23:59:48.274645 - ** For help, please see the wiki at https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/wiki2025-03-10T23:59:48.274659 -
2025-03-10T23:59:48.274674 - ------------------------------------------2025-03-10T23:59:48.274687 -
2025-03-10T23:59:48.286462 - ### Loading: ComfyUI-Manager (V3.24)
2025-03-10T23:59:48.286889 - [ComfyUI-Manager] network_mode: public
2025-03-10T23:59:48.331492 - ### ComfyUI Version: v0.3.14-130-ge1da98a1 | Released on '2025-03-09'
2025-03-10T23:59:48.337492 -
Import times for custom nodes:
2025-03-10T23:59:48.338322 - 0.0 seconds: /home/kingbird/Downloads/mystuff/AI/ComfyUI/custom_nodes/websocket_image_save.py
2025-03-10T23:59:48.338382 - 0.0 seconds: /home/kingbird/Downloads/mystuff/AI/ComfyUI/custom_nodes/ComfyUI-GGUF
2025-03-10T23:59:48.338427 - 0.0 seconds: /home/kingbird/Downloads/mystuff/AI/ComfyUI/custom_nodes/comfyui-frame-interpolation
2025-03-10T23:59:48.338880 - 0.0 seconds: /home/kingbird/Downloads/mystuff/AI/ComfyUI/custom_nodes/gguf
2025-03-10T23:59:48.338923 - 0.0 seconds: /home/kingbird/Downloads/mystuff/AI/ComfyUI/custom_nodes/comfyui_essentials
2025-03-10T23:59:48.338962 - 0.0 seconds: /home/kingbird/Downloads/mystuff/AI/ComfyUI/custom_nodes/comfyui-videohelpersuite
2025-03-10T23:59:48.339000 - 0.1 seconds: /home/kingbird/Downloads/mystuff/AI/ComfyUI/custom_nodes/ComfyUI-Manager
2025-03-10T23:59:48.339036 - 0.3 seconds: /home/kingbird/Downloads/mystuff/AI/ComfyUI/custom_nodes/ComfyUI_Comfyroll_CustomNodes
2025-03-10T23:59:48.339073 - 0.4 seconds: /home/kingbird/Downloads/mystuff/AI/ComfyUI/custom_nodes/comfyui-easy-use
2025-03-10T23:59:48.339108 -
2025-03-10T23:59:48.352112 - Starting server
2025-03-10T23:59:48.352623 - To see the GUI go to: http://127.0.0.1:8188
2025-03-10T23:59:48.534417 - [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/alter-list.json
2025-03-10T23:59:48.552578 - [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/model-list.json
2025-03-10T23:59:48.622040 - [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/github-stats.json
2025-03-10T23:59:48.678669 - [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/extension-node-map.json
2025-03-10T23:59:48.712238 - [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/custom-node-list.json
2025-03-10T23:59:54.366217 - FETCH ComfyRegistry Data: 5/572025-03-10T23:59:54.366292 -
2025-03-10T23:59:59.709011 - FETCH ComfyRegistry Data: 10/572025-03-10T23:59:59.709084 -
2025-03-11T00:00:05.759007 - FETCH ComfyRegistry Data: 15/572025-03-11T00:00:05.759093 -
2025-03-11T00:00:10.719752 - FETCH ComfyRegistry Data: 20/572025-03-11T00:00:10.719814 -
2025-03-11T00:00:16.120248 - FETCH ComfyRegistry Data: 25/572025-03-11T00:00:16.120311 -
2025-03-11T00:00:21.135187 - FETCH ComfyRegistry Data: 30/572025-03-11T00:00:21.135239 -
2025-03-11T00:00:26.763342 - FETCH ComfyRegistry Data: 35/572025-03-11T00:00:26.763383 -
2025-03-11T00:00:32.241175 - FETCH ComfyRegistry Data: 40/572025-03-11T00:00:32.241217 -
2025-03-11T00:00:42.832295 - FETCH ComfyRegistry Data: 45/572025-03-11T00:00:42.832376 -
2025-03-11T00:00:46.269074 - got prompt
2025-03-11T00:00:46.272300 - Failed to validate prompt for output 77:
2025-03-11T00:00:46.272429 - * VAELoader 61:
2025-03-11T00:00:46.272485 - - Value not in list: vae_name: 'wan_2.1_vae_fp8_e4m3fn.safetensors' not in ['ae.safetensors']
2025-03-11T00:00:46.272534 - * LoadImage 52:
2025-03-11T00:00:46.272577 - - Custom validation failed for node: image - Invalid image file: ComfyUI_00034_.png
2025-03-11T00:00:46.272625 - * LoaderGGUF 55:
2025-03-11T00:00:46.272664 - - Value not in list: gguf_name: 'wan2.1-i2v-14b-720p-q6_k.gguf' not in ['flux1-dev-Q6_K.gguf', 'wan2.1-i2v-14b-720p-Q4_1.gguf']
2025-03-11T00:00:46.272703 - Output will be ignored
2025-03-11T00:00:46.272940 - Failed to validate prompt for output 91:
2025-03-11T00:00:46.273014 - * UpscaleModelLoader 88:
2025-03-11T00:00:46.273069 - - Value not in list: model_name: '4x_foolhardy_Remacri.pth' not in []
2025-03-11T00:00:46.273117 - Output will be ignored
2025-03-11T00:00:46.273194 - Failed to validate prompt for output 56:
2025-03-11T00:00:46.273249 - Output will be ignored
2025-03-11T00:00:46.273295 - Failed to validate prompt for output 90:
2025-03-11T00:00:46.273342 - Output will be ignored
2025-03-11T00:00:46.273398 - Failed to validate prompt for output 58:
2025-03-11T00:00:46.273444 - Output will be ignored
2025-03-11T00:00:46.273485 - Failed to validate prompt for output 89:
2025-03-11T00:00:46.273531 - Output will be ignored
2025-03-11T00:00:46.273597 - invalid prompt: {'type': 'prompt_outputs_failed_validation', 'message': 'Prompt outputs failed validation', 'details': '', 'extra_info': {}}
2025-03-11T00:00:49.202705 - FETCH ComfyRegistry Data: 50/572025-03-11T00:00:49.202769 -
2025-03-11T00:00:53.466700 - got prompt
2025-03-11T00:00:53.468700 - Failed to validate prompt for output 77:
2025-03-11T00:00:53.468809 - * VAELoader 61:
2025-03-11T00:00:53.468873 - - Value not in list: vae_name: 'wan_2.1_vae_fp8_e4m3fn.safetensors' not in ['ae.safetensors']
2025-03-11T00:00:53.468922 - * LoaderGGUF 55:
2025-03-11T00:00:53.468963 - - Value not in list: gguf_name: 'wan2.1-i2v-14b-720p-q6_k.gguf' not in ['flux1-dev-Q6_K.gguf', 'wan2.1-i2v-14b-720p-Q4_1.gguf']
2025-03-11T00:00:53.469012 - Output will be ignored
2025-03-11T00:00:53.469151 - Failed to validate prompt for output 91:
2025-03-11T00:00:53.469208 - * UpscaleModelLoader 88:
2025-03-11T00:00:53.469251 - - Value not in list: model_name: '4x_foolhardy_Remacri.pth' not in []
2025-03-11T00:00:53.469293 - Output will be ignored
2025-03-11T00:00:53.469367 - Failed to validate prompt for output 56:
2025-03-11T00:00:53.469420 - Output will be ignored
2025-03-11T00:00:53.469463 - Failed to validate prompt for output 90:
2025-03-11T00:00:53.469505 - Output will be ignored
2025-03-11T00:00:53.469558 - Failed to validate prompt for output 89:
2025-03-11T00:00:53.469601 - Output will be ignored
2025-03-11T00:00:53.739728 - Prompt executed in 0.27 seconds
2025-03-11T00:00:55.343906 - FETCH ComfyRegistry Data: 55/572025-03-11T00:00:55.343980 -
2025-03-11T00:00:57.637000 - FETCH ComfyRegistry Data [DONE]2025-03-11T00:00:57.637072 -
2025-03-11T00:00:57.719044 - [ComfyUI-Manager] default cache updated: https://api.comfy.org/nodes
2025-03-11T00:00:57.781311 - nightly_channel:
https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/remote
2025-03-11T00:00:57.781506 - FETCH DATA from: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/custom-node-list.json2025-03-11T00:00:57.781530 - 2025-03-11T00:00:58.141869 - [DONE]2025-03-11T00:00:58.141921 -
2025-03-11T00:00:58.181415 - [ComfyUI-Manager] All startup tasks have been completed.
2025-03-11T00:01:05.939759 - got prompt
2025-03-11T00:01:05.941976 - Failed to validate prompt for output 77:
2025-03-11T00:01:05.942089 - * LoaderGGUF 55:
2025-03-11T00:01:05.942145 - - Value not in list: gguf_name: 'wan2.1-i2v-14b-720p-q6_k.gguf' not in ['flux1-dev-Q6_K.gguf', 'wan2.1-i2v-14b-720p-Q4_1.gguf']
2025-03-11T00:01:05.942196 - Output will be ignored
2025-03-11T00:01:05.942346 - Failed to validate prompt for output 91:
2025-03-11T00:01:05.942412 - * UpscaleModelLoader 88:
2025-03-11T00:01:05.942461 - - Value not in list: model_name: '4x_foolhardy_Remacri.pth' not in []
2025-03-11T00:01:05.942508 - Output will be ignored
2025-03-11T00:01:05.942588 - Failed to validate prompt for output 56:
2025-03-11T00:01:05.942643 - Output will be ignored
2025-03-11T00:01:05.942689 - Failed to validate prompt for output 90:
2025-03-11T00:01:05.942735 - Output will be ignored
2025-03-11T00:01:05.942776 - Failed to validate prompt for output 89:
2025-03-11T00:01:05.942822 - Output will be ignored
2025-03-11T00:01:05.942894 - invalid prompt: {'type': 'prompt_outputs_failed_validation', 'message': 'Prompt outputs failed validation', 'details': '', 'extra_info': {}}
2025-03-11T00:01:21.739554 - got prompt
2025-03-11T00:01:21.742225 - Failed to validate prompt for output 91:
2025-03-11T00:01:21.742363 - * UpscaleModelLoader 88:
2025-03-11T00:01:21.742426 - - Value not in list: model_name: '4x_foolhardy_Remacri.pth' not in []
2025-03-11T00:01:21.742479 - Output will be ignored
2025-03-11T00:01:21.774810 - Using pytorch attention in VAE
2025-03-11T00:01:21.777202 - Using pytorch attention in VAE
2025-03-11T00:01:21.910265 - VAE load device: cuda:0, offload device: cpu, dtype: torch.bfloat16
2025-03-11T00:01:23.317106 - Requested to load CLIPVisionModelProjection
2025-03-11T00:01:23.660804 - loaded completely 10584.8625 1208.09814453125 True
2025-03-11T00:01:24.020393 - Using scaled fp8: fp8 matrix mult: False, scale input: False
2025-03-11T00:01:24.896199 - CLIP/text encoder model load device: cuda:0, offload device: cpu, current: cpu, dtype: torch.float16
2025-03-11T00:01:27.517755 - Requested to load WanTEModel
2025-03-11T00:01:28.667734 - loaded completely 9306.6369140625 6419.477203369141 True
2025-03-11T00:01:31.607813 - Requested to load AutoencodingEngine
2025-03-11T00:01:31.674426 - loaded completely 1746.094081878662 159.87335777282715 True
2025-03-11T00:01:42.708017 - /home/kingbird/Downloads/mystuff/AI/ComfyUI/custom_nodes/gguf/pig.py:351: UserWarning: The given NumPy array is not writable, and PyTorch does not support non-writable tensors. This means writing to this tensor will result in undefined behavior. You may want to copy the array to protect its data or make it writable before converting it to a tensor. This type of warning will be suppressed for the rest of this program. (Triggered internally at /pytorch/torch/csrc/utils/tensor_numpy.cpp:203.)
torch_tensor = torch.from_numpy(tensor.data)
2025-03-11T00:01:42.721280 -
ggml_sd_loader:2025-03-11T00:01:42.721313 -
2025-03-11T00:01:42.721338 - GGMLQuantizationType.F32 8232025-03-11T00:01:42.721353 -
2025-03-11T00:01:42.721371 - GGMLQuantizationType.Q4_1 4802025-03-11T00:01:42.721386 -
2025-03-11T00:01:42.764893 - model weight dtype torch.float16, manual cast: None
2025-03-11T00:01:42.765294 - model_type FLOW
2025-03-11T00:01:42.939956 - Requested to load WAN21
2025-03-11T00:01:49.454946 - loaded partially 5276.964619891357 5276.963134765625 0
2025-03-11T00:01:49.460792 - Attempting to release mmap (471)2025-03-11T00:01:49.460821 -
2025-03-11T00:01:55.813461 - !!! Exception during processing !!! The size of tensor a (49) must match the size of tensor b (16) at non-singleton dimension 1
2025-03-11T00:01:55.815318 - Traceback (most recent call last):
File "/home/kingbird/Downloads/mystuff/AI/ComfyUI/execution.py", line 327, in execute
output_data, output_ui, has_subgraph = get_output_data(obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)
File "/home/kingbird/Downloads/mystuff/AI/ComfyUI/execution.py", line 202, in get_output_data
return_values = _map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)
File "/home/kingbird/Downloads/mystuff/AI/ComfyUI/execution.py", line 174, in _map_node_over_list
process_inputs(input_dict, i)
File "/home/kingbird/Downloads/mystuff/AI/ComfyUI/execution.py", line 163, in process_inputs
results.append(getattr(obj, func)(**inputs))
File "/home/kingbird/Downloads/mystuff/AI/ComfyUI/nodes.py", line 1542, in sample
return common_ksampler(model, seed, steps, cfg, sampler_name, scheduler, positive, negative, latent_image, denoise=denoise)
File "/home/kingbird/Downloads/mystuff/AI/ComfyUI/nodes.py", line 1509, in common_ksampler
samples = comfy.sample.sample(model, noise, steps, cfg, sampler_name, scheduler, positive, negative, latent_image,
File "/home/kingbird/Downloads/mystuff/AI/ComfyUI/comfy/sample.py", line 45, in sample
samples = sampler.sample(noise, positive, negative, cfg=cfg, latent_image=latent_image, start_step=start_step, last_step=last_step, force_full_denoise=force_full_denoise, denoise_mask=noise_mask, sigmas=sigmas, callback=callback, disable_pbar=disable_pbar, seed=seed)
File "/home/kingbird/Downloads/mystuff/AI/ComfyUI/comfy/samplers.py", line 1133, in sample
return sample(self.model, noise, positive, negative, cfg, self.device, sampler, sigmas, self.model_options, latent_image=latent_image, denoise_mask=denoise_mask, callback=callback, disable_pbar=disable_pbar, seed=seed)
File "/home/kingbird/Downloads/mystuff/AI/ComfyUI/comfy/samplers.py", line 1023, in sample
return cfg_guider.sample(noise, latent_image, sampler, sigmas, denoise_mask, callback, disable_pbar, seed)
File "/home/kingbird/Downloads/mystuff/AI/ComfyUI/comfy/samplers.py", line 1008, in sample
output = executor.execute(noise, latent_image, sampler, sigmas, denoise_mask, callback, disable_pbar, seed)
File "/home/kingbird/Downloads/mystuff/AI/ComfyUI/comfy/patcher_extension.py", line 110, in execute
return self.original(*args, **kwargs)
File "/home/kingbird/Downloads/mystuff/AI/ComfyUI/comfy/samplers.py", line 976, in outer_sample
output = self.inner_sample(noise, latent_image, device, sampler, sigmas, denoise_mask, callback, disable_pbar, seed)
File "/home/kingbird/Downloads/mystuff/AI/ComfyUI/comfy/samplers.py", line 948, in inner_sample
self.conds = process_conds(self.inner_model, noise, self.conds, device, latent_image, denoise_mask, seed)
File "/home/kingbird/Downloads/mystuff/AI/ComfyUI/comfy/samplers.py", line 781, in process_conds
conds[k] = encode_model_conds(model.extra_conds, conds[k], noise, device, k, latent_image=latent_image, denoise_mask=denoise_mask, seed=seed)
File "/home/kingbird/Downloads/mystuff/AI/ComfyUI/comfy/samplers.py", line 691, in encode_model_conds
out = model_function(**params)
File "/home/kingbird/Downloads/mystuff/AI/ComfyUI/comfy/model_base.py", line 1004, in extra_conds
out = super().extra_conds(**kwargs)
File "/home/kingbird/Downloads/mystuff/AI/ComfyUI/comfy/model_base.py", line 236, in extra_conds
concat_cond = self.concat_cond(**kwargs)
File "/home/kingbird/Downloads/mystuff/AI/ComfyUI/comfy/model_base.py", line 987, in concat_cond
image = self.process_latent_in(image)
File "/home/kingbird/Downloads/mystuff/AI/ComfyUI/comfy/model_base.py", line 276, in process_latent_in
return self.latent_format.process_in(latent)
File "/home/kingbird/Downloads/mystuff/AI/ComfyUI/comfy/latent_formats.py", line 453, in process_in
return (latent - latents_mean) * self.scale_factor / latents_std
RuntimeError: The size of tensor a (49) must match the size of tensor b (16) at non-singleton dimension 1
2025-03-11T00:01:55.815870 - Prompt executed in 34.07 seconds
```
## Attached Workflow
Please make sure that workflow does not contain any sensitive information such as API keys or passwords.
```
{"last_node_id":98,"last_link_id":185,"nodes":[{"id":73,"type":"VAEDecodeTiled","pos":[1289.87939453125,223.11526489257812],"size":[315,150],"flags":{},"order":12,"mode":0,"inputs":[{"name":"samples","localized_name":"samples","type":"LATENT","link":139},{"name":"vae","localized_name":"vae","type":"VAE","link":140}],"outputs":[{"name":"IMAGE","localized_name":"IMAGE","type":"IMAGE","links":[144,146],"slot_index":0}],"properties":{"Node name for S&R":"VAEDecodeTiled","cnr_id":"comfy-core","ver":"0.3.20"},"widgets_values":[256,64,64,8]},{"id":89,"type":"easy cleanGpuUsed","pos":[2497.03466796875,425.4831848144531],"size":[210,26],"flags":{},"order":16,"mode":0,"inputs":[{"name":"anything","localized_name":"anything","type":"*","link":166}],"outputs":[{"name":"output","localized_name":"output","type":"*","links":[167],"slot_index":0}],"properties":{"Node name for S&R":"easy cleanGpuUsed","cnr_id":"comfyui-easy-use","ver":"0daf114fe8870aeacfea484aa59e7f9973b91cd5"},"widgets_values":[]},{"id":90,"type":"easy clearCacheAll","pos":[2710.046142578125,549.0549926757812],"size":[210,26],"flags":{},"order":17,"mode":0,"inputs":[{"name":"anything","localized_name":"anything","type":"*","link":167}],"outputs":[{"name":"output","localized_name":"output","type":"*","links":[168],"slot_index":0}],"properties":{"Node name for S&R":"easy clearCacheAll","cnr_id":"comfyui-easy-use","ver":"0daf114fe8870aeacfea484aa59e7f9973b91cd5"},"widgets_values":[]},{"id":87,"type":"ImageUpscaleWithModel","pos":[2920.711669921875,377.2395324707031],"size":[226.8000030517578,46],"flags":{},"order":18,"mode":0,"inputs":[{"name":"upscale_model","localized_name":"upscale_model","type":"UPSCALE_MODEL","link":165},{"name":"image","localized_name":"image","type":"IMAGE","link":168}],"outputs":[{"name":"IMAGE","localized_name":"IMAGE","type":"IMAGE","links":[169],"slot_index":0}],"properties":{"Node name for S&R":"ImageUpscaleWithModel","cnr_id":"comfy-core","ver":"0.3.20"},"widgets_values":[]},{"id":51,"type":"CLIPVisionEncode","pos":[-83.88645935058594,531.9509887695312],"size":[253.60000610351562,78],"flags":{},"order":8,"mode":0,"inputs":[{"name":"clip_vision","localized_name":"clip_vision","type":"CLIP_VISION","link":94},{"name":"image","localized_name":"image","type":"IMAGE","link":178}],"outputs":[{"name":"CLIP_VISION_OUTPUT","localized_name":"CLIP_VISION_OUTPUT","type":"CLIP_VISION_OUTPUT","links":[107],"slot_index":0}],"properties":{"Node name for S&R":"CLIPVisionEncode","cnr_id":"comfy-core","ver":"0.3.20"},"widgets_values":["none"]},{"id":38,"type":"CLIPLoader","pos":[-695.0258178710938,232.79403686523438],"size":[458.3395080566406,99.65289306640625],"flags":{},"order":0,"mode":0,"inputs":[],"outputs":[{"name":"CLIP","localized_name":"CLIP","type":"CLIP","links":[74,75],"slot_index":0}],"properties":{"Node name for S&R":"CLIPLoader","cnr_id":"comfy-core","ver":"0.3.20"},"widgets_values":["t5xxl_um_fp8_e4m3fn_scaled.safetensors","wan","default"]},{"id":49,"type":"CLIPVisionLoader","pos":[-672.1205444335938,446.4837951660156],"size":[386.50439453125,75.05867767333984],"flags":{},"order":1,"mode":0,"inputs":[],"outputs":[{"name":"CLIP_VISION","localized_name":"CLIP_VISION","type":"CLIP_VISION","links":[94],"slot_index":0}],"properties":{"Node name for S&R":"CLIPVisionLoader","cnr_id":"comfy-core","ver":"0.3.20"},"widgets_values":["clip_vision_h_fp8_e4m3fn.safetensors"]},{"id":50,"type":"WanImageToVideo","pos":[441.33453369140625,341.9261169433594],"size":[342.5999755859375,250],"flags":{},"order":10,"mode":0,"inputs":[{"name":"positive","localized_name":"positive","type":"CONDITIONING","link":97},{"name":"negative","localized_name":"negative","type":"CONDITIONING","link":98},{"name":"vae","localized_name":"vae","type":"VAE","link":119},{"name":"clip_vision_output","localized_name":"clip_vision_output","type":"CLIP_VISION_OUTPUT","shape":7,"link":107},{"name":"start_image","localized_name":"start_image","type":"IMAGE","shape":7,"link":183},{"name":"width","type":"INT","widget":{"name":"width"},"link":184},{"name":"height","type":"INT","widget":{"name":"height"},"link":185}],"outputs":[{"name":"positive","localized_name":"positive","type":"CONDITIONING","links":[101],"slot_index":0},{"name":"negative","localized_name":"negative","type":"CONDITIONING","links":[102],"slot_index":1},{"name":"latent","localized_name":"latent","type":"LATENT","links":[103],"slot_index":2}],"properties":{"Node name for S&R":"WanImageToVideo","cnr_id":"comfy-core","ver":"0.3.20"},"widgets_values":[848,480,49,1]},{"id":76,"type":"RIFE VFI","pos":[1750.6710205078125,309.00201416015625],"size":[478.8000183105469,198],"flags":{},"order":13,"mode":0,"inputs":[{"name":"frames","localized_name":"frames","type":"IMAGE","link":144},{"name":"optional_interpolation_states","localized_name":"optional_interpolation_states","type":"INTERPOLATION_STATES","shape":7,"link":null}],"outputs":[{"name":"IMAGE","localized_name":"IMAGE","type":"IMAGE","links":[147,166],"slot_index":0}],"properties":{"Node name for S&R":"RIFE VFI","cnr_id":"comfyui-frame-interpolation","ver":"1.0.6"},"widgets_values":["rife47.pth",10,2,true,true,1]},{"id":3,"type":"KSampler","pos":[870.6275024414062,321.37060546875],"size":[315,262],"flags":{},"order":11,"mode":0,"inputs":[{"name":"model","localized_name":"model","type":"MODEL","link":124},{"name":"positive","localized_name":"positive","type":"CONDITIONING","link":101},{"name":"negative","localized_name":"negative","type":"CONDITIONING","link":102},{"name":"latent_image","localized_name":"latent_image","type":"LATENT","link":103}],"outputs":[{"name":"LATENT","localized_name":"LATENT","type":"LATENT","links":[139],"slot_index":0}],"properties":{"Node name for S&R":"KSampler","cnr_id":"comfy-core","ver":"0.3.20"},"widgets_values":[142608892999387,"fixed",20,4,"uni_pc","simple",1]},{"id":98,"type":"ImageResize+","pos":[-606.3270263671875,860.461669921875],"size":[315,218],"flags":{},"order":9,"mode":0,"inputs":[{"name":"image","localized_name":"image","type":"IMAGE","link":182}],"outputs":[{"name":"IMAGE","localized_name":"IMAGE","type":"IMAGE","links":[183],"slot_index":0},{"name":"width","localized_name":"width","type":"INT","links":[184],"slot_index":1},{"name":"height","localized_name":"height","type":"INT","links":[185],"slot_index":2}],"properties":{"Node name for S&R":"ImageResize+","cnr_id":"comfyui_essentials","ver":"1.1.0"},"widgets_values":[1024,1024,"lanczos","keep proportion","downscale if bigger",0]},{"id":7,"type":"CLIPTextEncode","pos":[-97.05010223388672,345.4165954589844],"size":[375.8377685546875,90.64099884033203],"flags":{},"order":7,"mode":0,"inputs":[{"name":"clip","localized_name":"clip","type":"CLIP","link":75}],"outputs":[{"name":"CONDITIONING","localized_name":"CONDITIONING","type":"CONDITIONING","links":[98],"slot_index":0}],"title":"CLIP Text Encode (Negative Prompt)","properties":{"Node name for S&R":"CLIPTextEncode","cnr_id":"comfy-core","ver":"0.3.20"},"widgets_values":["deformed, distorted, disfigured, motion smear, blur"],"color":"#322","bgcolor":"#533"},{"id":77,"type":"VHS_VideoCombine","pos":[1867.097412109375,723.7542724609375],"size":[811.4727783203125,334],"flags":{},"order":15,"mode":0,"inputs":[{"name":"images","localized_name":"images","type":"IMAGE","link":147},{"name":"audio","localized_name":"audio","type":"AUDIO","shape":7,"link":null},{"name":"meta_batch","localized_name":"meta_batch","type":"VHS_BatchManager","shape":7,"link":null},{"name":"vae","localized_name":"vae","type":"VAE","shape":7,"link":null}],"outputs":[{"name":"Filenames","localized_name":"Filenames","type":"VHS_FILENAMES","links":null,"slot_index":0}],"properties":{"Node name for S&R":"VHS_VideoCombine","cnr_id":"comfyui-videohelpersuite","ver":"4c7858ddd5126f7293dc3c9f6e0fc4c263cde079"},"widgets_values":{"frame_rate":24,"loop_count":0,"filename_prefix":"comfyuiblog","format":"video/h264-mp4","pix_fmt":"yuv420p","crf":10,"save_metadata":true,"trim_to_audio":false,"pingpong":false,"save_output":true,"videopreview":{"hidden":false,"paused":false,"params":{"filename":"WANsmooth_00001.mp4","subfolder":"","type":"output","format":"video/h264-mp4","frame_rate":24,"workflow":"WANsmooth_00001.png","fullpath":"C:\\Video\\ComfyUI\\output\\WANsmooth_00001.mp4"}}}},{"id":91,"type":"VHS_VideoCombine","pos":[3212.25634765625,338.37567138671875],"size":[600.8587646484375,334],"flags":{},"order":19,"mode":0,"inputs":[{"name":"images","localized_name":"images","type":"IMAGE","link":169},{"name":"audio","localized_name":"audio","type":"AUDIO","shape":7,"link":null},{"name":"meta_batch","localized_name":"meta_batch","type":"VHS_BatchManager","shape":7,"link":null},{"name":"vae","localized_name":"vae","type":"VAE","shape":7,"link":null}],"outputs":[{"name":"Filenames","localized_name":"Filenames","type":"VHS_FILENAMES","links":null,"slot_index":0}],"properties":{"Node name for S&R":"VHS_VideoCombine","cnr_id":"comfyui-videohelpersuite","ver":"4c7858ddd5126f7293dc3c9f6e0fc4c263cde079"},"widgets_values":{"frame_rate":24,"loop_count":0,"filename_prefix":"comfyuiblog","format":"video/h264-mp4","pix_fmt":"yuv420p","crf":10,"save_metadata":true,"trim_to_audio":false,"pingpong":false,"save_output":true,"videopreview":{"hidden":false,"paused":false,"params":{"filename":"WAN_4K_00001.mp4","subfolder":"","type":"output","format":"video/h264-mp4","frame_rate":24,"workflow":"WAN_4K_00001.png","fullpath":"C:\\Video\\ComfyUI\\output\\WAN_4K_00001.mp4"}}}},{"id":56,"type":"VHS_VideoCombine","pos":[1058.24609375,755.1166381835938],"size":[669.1996459960938,334],"flags":{},"order":14,"mode":0,"inputs":[{"name":"images","localized_name":"images","type":"IMAGE","link":146},{"name":"audio","localized_name":"audio","type":"AUDIO","shape":7,"link":null},{"name":"meta_batch","localized_name":"meta_batch","type":"VHS_BatchManager","shape":7,"link":null},{"name":"vae","localized_name":"vae","type":"VAE","shape":7,"link":null}],"outputs":[{"name":"Filenames","localized_name":"Filenames","type":"VHS_FILENAMES","links":null,"slot_index":0}],"properties":{"Node name for S&R":"VHS_VideoCombine","cnr_id":"comfyui-videohelpersuite","ver":"4c7858ddd5126f7293dc3c9f6e0fc4c263cde079"},"widgets_values":{"frame_rate":16,"loop_count":0,"filename_prefix":"comfyuiblog","format":"video/h264-mp4","pix_fmt":"yuv420p","crf":10,"save_metadata":true,"trim_to_audio":false,"pingpong":false,"save_output":true,"videopreview":{"hidden":false,"paused":false,"params":{"filename":"WanVideo_00001.mp4","subfolder":"","type":"output","format":"video/h264-mp4","frame_rate":16,"workflow":"WanVideo_00001.png","fullpath":"C:\\Video\\ComfyUI\\output\\WanVideo_00001.mp4"}}}},{"id":6,"type":"CLIPTextEncode","pos":[-79.38397216796875,173.69830322265625],"size":[368.4273376464844,115.58069610595703],"flags":{},"order":6,"mode":0,"inputs":[{"name":"clip","localized_name":"clip","type":"CLIP","link":74}],"outputs":[{"name":"CONDITIONING","localized_name":"CONDITIONING","type":"CONDITIONING","links":[97],"slot_index":0}],"title":"CLIP Text Encode (Positive Prompt)","properties":{"Node name for S&R":"CLIPTextEncode","cnr_id":"comfy-core","ver":"0.3.20"},"widgets_values":["a cute anime girl with massive fennec ears and a big fluffy tail wearing a maid outfit turning around"],"color":"#232","bgcolor":"#353"},{"id":52,"type":"LoadImage","pos":[-1642.743896484375,782.8930053710938],"size":[684.4696655273438,831.0567016601562],"flags":{},"order":2,"mode":0,"inputs":[],"outputs":[{"name":"IMAGE","localized_name":"IMAGE","type":"IMAGE","links":[178,182],"slot_index":0},{"name":"MASK","localized_name":"MASK","type":"MASK","links":null,"slot_index":1}],"properties":{"Node name for S&R":"LoadImage","cnr_id":"comfy-core","ver":"0.3.20"},"widgets_values":["demo.jpg","image"]},{"id":61,"type":"VAELoader","pos":[574.9951171875,761.2676391601562],"size":[378.7417907714844,58],"flags":{},"order":3,"mode":0,"inputs":[],"outputs":[{"name":"VAE","localized_name":"VAE","type":"VAE","links":[119,140],"slot_index":0}],"properties":{"Node name for S&R":"VAELoader","cnr_id":"comfy-core","ver":"0.3.20"},"widgets_values":["ae.safetensors"]},{"id":55,"type":"LoaderGGUF","pos":[-692.7254028320312,108.28839111328125],"size":[457.37030029296875,63.958499908447266],"flags":{},"order":4,"mode":0,"inputs":[],"outputs":[{"name":"MODEL","localized_name":"MODEL","type":"MODEL","links":[124],"slot_index":0}],"properties":{"Node name for S&R":"LoaderGGUF","cnr_id":"gguf","ver":"1.5.8"},"widgets_values":["wan2.1-i2v-14b-720p-Q4_1.gguf"]},{"id":88,"type":"UpscaleModelLoader","pos":[2545.1240234375,242.92486572265625],"size":[315,58],"flags":{},"order":5,"mode":0,"inputs":[],"outputs":[{"name":"UPSCALE_MODEL","localized_name":"UPSCALE_MODEL","type":"UPSCALE_MODEL","links":[165]}],"properties":{"Node name for S&R":"UpscaleModelLoader","cnr_id":"comfy-core","ver":"0.3.20"},"widgets_values":["4x_foolhardy_Remacri.pth"]}],"links":[[74,38,0,6,0,"CLIP"],[75,38,0,7,0,"CLIP"],[94,49,0,51,0,"CLIP_VISION"],[97,6,0,50,0,"CONDITIONING"],[98,7,0,50,1,"CONDITIONING"],[101,50,0,3,1,"CONDITIONING"],[102,50,1,3,2,"CONDITIONING"],[103,50,2,3,3,"LATENT"],[107,51,0,50,3,"CLIP_VISION_OUTPUT"],[119,61,0,50,2,"VAE"],[124,55,0,3,0,"MODEL"],[139,3,0,73,0,"LATENT"],[140,61,0,73,1,"VAE"],[144,73,0,76,0,"IMAGE"],[146,73,0,56,0,"IMAGE"],[147,76,0,77,0,"IMAGE"],[165,88,0,87,0,"UPSCALE_MODEL"],[166,76,0,89,0,"*"],[167,89,0,90,0,"*"],[168,90,0,87,1,"IMAGE"],[169,87,0,91,0,"IMAGE"],[178,52,0,51,1,"IMAGE"],[182,52,0,98,0,"IMAGE"],[183,98,0,50,4,"IMAGE"],[184,98,1,50,5,"INT"],[185,98,2,50,6,"INT"]],"groups":[],"config":{},"extra":{"ds":{"scale":0.34522712143931134,"offset":[1051.8011234339829,1045.2296238445883]},"node_versions":{"comfy-core":"0.3.26","comfyui-easy-use":"1.2.7","comfyui-frame-interpolation":"1.0.6","comfyui_essentials":"1.1.0","comfyui-videohelpersuite":"1.5.9","gguf":"1.6.5"},"ue_links":[],"VHS_latentpreview":false,"VHS_latentpreviewrate":0,"VHS_MetadataImage":true,"VHS_KeepIntermediate":true},"version":0.4}
```
## Additional Context
(Please add any additional context or steps to reproduce the error here)
### Actual Behavior
When I try to run the WAN confy model on my system I see thi message and nowhere am able to find how to resolve this.
### Steps to Reproduce
Simply run the Workflow comfy model after placing required WAN image to video models.
### Debug Logs
```powershell
same
```
### Other
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.