Comfy-Org / Comfy-Org/ComfyUI

LTX-2.3 official I2V workflow fails with SamplerCustomAdvanced tensor size mismatch.

Open
#13,887 2 comments 1 reaction 0 assignees View on GitHub
Potential Bug
Dominant language
Python
Stars
133k
Forks
15.7k
Avg merge
1d 7h
Merged PRs (30d)
158

Description

### Custom Node Testing

- [ ] I have tried disabling custom nodes and the issue persists (see [how to disable custom nodes](https://docs.comfy.org/troubleshooting/custom-node-issues#step-1%3A-test-with-all-custom-nodes-disabled) if you need help)

### Expected Behavior

Image/

### Actual Behavior

LTX-2.3 official I2V workflow fails with SamplerCustomAdvanced tensor size mismatch.

Environment:
- ComfyUI updated to latest master
- Python 3.12
- PyTorch 2.7.0 + CUDA 12.6
- GPU: RTX 4090D 48GB
- Workflow: official video_ltx2_3_i2v.json
- Models:
- ltx-2.3-22b-dev-fp8.safetensors
- ltx-2.3-22b-distilled-lora-384.safetensors
- gemma_3_12B_it_fp4_mixed.safetensors
- ltx-2.3-spatial-upscaler-x2-1.0.safetensors

Tried:
- 1664x928 input with 1664x928 settings
- 960x544 input with 960x544 settings
- duration 3
- fps 25
- refreshed model list
- updated ComfyUI and requirements

Error:
RuntimeError: The size of tensor a (1200) must match the size of tensor b (163328) at non-singleton dimension 2

Node:
#320:283 SamplerCustomAdvanced

Expected:
I2V workflow should generate video.

Actual:
Fails during sampling with tensor size mismatch.

### Steps to Reproduce

1. Update ComfyUI to latest master.
2. Install requirements with pip install -r requirements.txt.
3. Load official workflow video_ltx2_3_i2v.json.
4. Use the required LTX-2.3 models:
- ltx-2.3-22b-dev-fp8.safetensors
- ltx-2.3-22b-distilled-lora-384.safetensors
- gemma_3_12B_it_fp4_mixed.safetensors
- ltx-2.3-spatial-upscaler-x2-1.0.safetensors
5. Upload an input image.
6. Set width/height to match the image.
7. Run the workflow.
8. The workflow fails at SamplerCustomAdvanced with tensor size mismatch.

### Debug Logs

```powershell
[DEPRECATION WARNING] Detected import of deprecated legacy API: /scripts/ui.js. This is likely caused by a custom node extension using outdated APIs. Please update your extensions or contact the extension author for an updated version.
[DEPRECATION WARNING] Detected import of deprecated legacy API: /scripts/ui/components/buttonGroup.js. This is likely caused by a custom node extension using outdated APIs. Please update your extensions or contact the extension author for an updated version.
[DEPRECATION WARNING] Detected import of deprecated legacy API: /scripts/ui/components/button.js. This is likely caused by a custom node extension using outdated APIs. Please update your extensions or contact the extension author for an updated version.
[DEPRECATION WARNING] Detected import of deprecated legacy API: /extensions/core/widgetInputs.js. This is likely caused by a custom node extension using outdated APIs. Please update your extensions or contact the extension author for an updated version.
[DEPRECATION WARNING] Detected import of deprecated legacy API: /extensions/core/clipspace.js. This is likely caused by a custom node extension using outdated APIs. Please update your extensions or contact the extension author for an updated version.
[DEPRECATION WARNING] Detected import of deprecated legacy API: /scripts/ui/imagePreview.js. This is likely caused by a custom node extension using outdated APIs. Please update your extensions or contact the extension author for an updated version.
[DEPRECATION WARNING] Detected import of deprecated legacy API: /extensions/core/groupNode.js. This is likely caused by a custom node extension using outdated APIs. Please update your extensions or contact the extension author for an updated version.
[DEPRECATION WARNING] Detected import of deprecated legacy API: /scripts/ui/components/popup.js. This is likely caused by a custom node extension using outdated APIs. Please update your extensions or contact the extension author for an updated version.
/root/ComfyUI/custom_nodes/comfyui-mixlab-nodes/webApp/lib/pickr.min.js
/root/ComfyUI/custom_nodes/comfyui-mixlab-nodes/webApp/lib/photoswipe-lightbox.esm.min.js
/root/ComfyUI/custom_nodes/comfyui-mixlab-nodes/webApp/lib/photoswipe.min.css
/root/ComfyUI/custom_nodes/comfyui-mixlab-nodes/webApp/lib/classic.min.css
/root/ComfyUI/custom_nodes/comfyui-mixlab-nodes/webApp/lib/juxtapose.min.js
/root/ComfyUI/custom_nodes/comfyui-mixlab-nodes/webApp/lib/juxtapose.css
/root/ComfyUI/custom_nodes/comfyui-mixlab-nodes/webApp/lib/model-viewer.min.js
[]
[]
[ERROR] An error occurred while retrieving information for the 'SP_SDLoader' node.
Traceback (most recent call last):
File "/root/ComfyUI/server.py", line 752, in get_object_info
out[x] = node_info(x)
^^^^^^^^^^^^
File "/root/ComfyUI/server.py", line 701, in node_info
info['input'] = obj_class.INPUT_TYPES()
^^^^^^^^^^^^^^^^^^^^^^^
File "/root/ComfyUI/custom_nodes/ComfyUI-SP-Nodes/nodes/group_nodes/FluxLoader.py", line 413, in INPUT_TYPES
"vae_name": (["Baked"] + nodes.VAELoader.vae_list(),),
^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: VAELoader.vae_list() missing 1 required positional argument: 's'

[ERROR] An error occurred while retrieving information for the 'SP_FluxLoader' node.
Traceback (most recent call last):
File "/root/ComfyUI/server.py", line 752, in get_object_info
out[x] = node_info(x)
^^^^^^^^^^^^
File "/root/ComfyUI/server.py", line 701, in node_info
info['input'] = obj_class.INPUT_TYPES()
^^^^^^^^^^^^^^^^^^^^^^^
File "/root/ComfyUI/custom_nodes/ComfyUI-SP-Nodes/nodes/group_nodes/FluxLoader.py", line 709, in INPUT_TYPES
"vae_name": (nodes.VAELoader.vae_list(),),
^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: VAELoader.vae_list() missing 1 required positional argument: 's'

[ERROR] An error occurred while retrieving information for the 'SP_HunyuanLoader' node.
Traceback (most recent call last):
File "/root/ComfyUI/server.py", line 752, in get_object_info
out[x] = node_info(x)
^^^^^^^^^^^^
File "/root/ComfyUI/server.py", line 701, in node_info
info['input'] = obj_class.INPUT_TYPES()
^^^^^^^^^^^^^^^^^^^^^^^
File "/root/ComfyUI/custom_nodes/ComfyUI-SP-Nodes/nodes/group_nodes/FluxLoader.py", line 857, in INPUT_TYPES
"vae_name": (nodes.VAELoader.vae_list(),),
^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: VAELoader.vae_list() missing 1 required positional argument: 's'

[ERROR] An error occurred while retrieving information for the 'SP_SD3Loader' node.
Traceback (most recent call last):
File "/root/ComfyUI/server.py", line 752, in get_object_info
out[x] = node_info(x)
^^^^^^^^^^^^
File "/root/ComfyUI/server.py", line 701, in node_info
info['input'] = obj_class.INPUT_TYPES()
^^^^^^^^^^^^^^^^^^^^^^^
File "/root/ComfyUI/custom_nodes/ComfyUI-SP-Nodes/nodes/group_nodes/FluxLoader.py", line 774, in INPUT_TYPES
input_types = dict(super().INPUT_TYPES())
^^^^^^^^^^^^^^^^^^^^^
File "/root/ComfyUI/custom_nodes/ComfyUI-SP-Nodes/nodes/group_nodes/FluxLoader.py", line 709, in INPUT_TYPES
"vae_name": (nodes.VAELoader.vae_list(),),
^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: VAELoader.vae_list() missing 1 required positional argument: 's'

[ERROR] An error occurred while retrieving information for the 'SP_ModelLoader' node.
Traceback (most recent call last):
File "/root/ComfyUI/server.py", line 752, in get_object_info
out[x] = node_info(x)
^^^^^^^^^^^^
File "/root/ComfyUI/server.py", line 701, in node_info
info['input'] = obj_class.INPUT_TYPES()
^^^^^^^^^^^^^^^^^^^^^^^
File "/root/ComfyUI/custom_nodes/ComfyUI-SP-Nodes/nodes/group_nodes/FluxLoader.py", line 955, in INPUT_TYPES
"vae_name": (nodes.VAELoader.vae_list(),),
^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: VAELoader.vae_list() missing 1 required positional argument: 's'

QualityOfLifeSuit_Omar92::NSP ready
FETCH ComfyRegistry Data: 10/145
FETCH ComfyRegistry Data: 15/145
FETCH ComfyRegistry Data: 20/145
FETCH ComfyRegistry Data: 25/145
FETCH ComfyRegistry Data: 30/145
FETCH ComfyRegistry Data: 35/145
FETCH ComfyRegistry Data: 40/145
FETCH ComfyRegistry Data: 45/145
FETCH ComfyRegistry Data: 50/145
FETCH ComfyRegistry Data: 55/145
FETCH ComfyRegistry Data: 60/145
FETCH ComfyRegistry Data: 65/145
FETCH ComfyRegistry Data: 70/145
FETCH ComfyRegistry Data: 75/145
FETCH ComfyRegistry Data: 80/145
FETCH ComfyRegistry Data: 85/145
FETCH ComfyRegistry Data: 90/145
FETCH ComfyRegistry Data: 95/145
FETCH ComfyRegistry Data: 100/145
FETCH ComfyRegistry Data: 105/145
FETCH ComfyRegistry Data: 110/145
FETCH ComfyRegistry Data: 115/145
FETCH ComfyRegistry Data: 120/145
FETCH ComfyRegistry Data: 125/145
FETCH ComfyRegistry Data: 130/145
FETCH ComfyRegistry Data: 135/145
FETCH ComfyRegistry Data: 140/145
FETCH ComfyRegistry Data: 145/145
FETCH ComfyRegistry Data [DONE]
[ComfyUI-Manager] default cache updated: https://api.comfy.org/nodes
FETCH DATA from: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/custom-node-list.json [DONE]
[ComfyUI-Manager] All startup tasks have been completed.
/root/ComfyUI/custom_nodes/comfyui-mixlab-nodes/webApp/lib/photoswipe-lightbox.esm.min.js
/root/ComfyUI/custom_nodes/comfyui-mixlab-nodes/webApp/lib/photoswipe.min.css
/root/ComfyUI/custom_nodes/comfyui-mixlab-nodes/webApp/lib/pickr.min.js
/root/ComfyUI/custom_nodes/comfyui-mixlab-nodes/webApp/lib/classic.min.css
/root/ComfyUI/custom_nodes/comfyui-mixlab-nodes/webApp/lib/model-viewer.min.js
/root/ComfyUI/custom_nodes/comfyui-mixlab-nodes/webApp/lib/juxtapose.css
/root/ComfyUI/custom_nodes/comfyui-mixlab-nodes/webApp/lib/juxtapose.min.js
[]
[]
[ERROR] An error occurred while retrieving information for the 'SP_SDLoader' node.
Traceback (most recent call last):
File "/root/ComfyUI/server.py", line 752, in get_object_info
out[x] = node_info(x)
^^^^^^^^^^^^
File "/root/ComfyUI/server.py", line 701, in node_info
info['input'] = obj_class.INPUT_TYPES()
^^^^^^^^^^^^^^^^^^^^^^^
File "/root/ComfyUI/custom_nodes/ComfyUI-SP-Nodes/nodes/group_nodes/FluxLoader.py", line 413, in INPUT_TYPES
"vae_name": (["Baked"] + nodes.VAELoader.vae_list(),),
^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: VAELoader.vae_list() missing 1 required positional argument: 's'

[ERROR] An error occurred while retrieving information for the 'SP_FluxLoader' node.
Traceback (most recent call last):
File "/root/ComfyUI/server.py", line 752, in get_object_info
out[x] = node_info(x)
^^^^^^^^^^^^
File "/root/ComfyUI/server.py", line 701, in node_info
info['input'] = obj_class.INPUT_TYPES()
^^^^^^^^^^^^^^^^^^^^^^^
File "/root/ComfyUI/custom_nodes/ComfyUI-SP-Nodes/nodes/group_nodes/FluxLoader.py", line 709, in INPUT_TYPES
"vae_name": (nodes.VAELoader.vae_list(),),
^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: VAELoader.vae_list() missing 1 required positional argument: 's'

[ERROR] An error occurred while retrieving information for the 'SP_HunyuanLoader' node.
Traceback (most recent call last):
File "/root/ComfyUI/server.py", line 752, in get_object_info
out[x] = node_info(x)
^^^^^^^^^^^^
File "/root/ComfyUI/server.py", line 701, in node_info
info['input'] = obj_class.INPUT_TYPES()
^^^^^^^^^^^^^^^^^^^^^^^
File "/root/ComfyUI/custom_nodes/ComfyUI-SP-Nodes/nodes/group_nodes/FluxLoader.py", line 857, in INPUT_TYPES
"vae_name": (nodes.VAELoader.vae_list(),),
^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: VAELoader.vae_list() missing 1 required positional argument: 's'

[ERROR] An error occurred while retrieving information for the 'SP_SD3Loader' node.
Traceback (most recent call last):
File "/root/ComfyUI/server.py", line 752, in get_object_info
out[x] = node_info(x)
^^^^^^^^^^^^
File "/root/ComfyUI/server.py", line 701, in node_info
info['input'] = obj_class.INPUT_TYPES()
^^^^^^^^^^^^^^^^^^^^^^^
File "/root/ComfyUI/custom_nodes/ComfyUI-SP-Nodes/nodes/group_nodes/FluxLoader.py", line 774, in INPUT_TYPES
input_types = dict(super().INPUT_TYPES())
^^^^^^^^^^^^^^^^^^^^^
File "/root/ComfyUI/custom_nodes/ComfyUI-SP-Nodes/nodes/group_nodes/FluxLoader.py", line 709, in INPUT_TYPES
"vae_name": (nodes.VAELoader.vae_list(),),
^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: VAELoader.vae_list() missing 1 required positional argument: 's'

[ERROR] An error occurred while retrieving information for the 'SP_ModelLoader' node.
Traceback (most recent call last):
File "/root/ComfyUI/server.py", line 752, in get_object_info
out[x] = node_info(x)
^^^^^^^^^^^^
File "/root/ComfyUI/server.py", line 701, in node_info
info['input'] = obj_class.INPUT_TYPES()
^^^^^^^^^^^^^^^^^^^^^^^
File "/root/ComfyUI/custom_nodes/ComfyUI-SP-Nodes/nodes/group_nodes/FluxLoader.py", line 955, in INPUT_TYPES
"vae_name": (nodes.VAELoader.vae_list(),),
^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: VAELoader.vae_list() missing 1 required positional argument: 's'

[]
[]
[ERROR] An error occurred while retrieving information for the 'SP_SDLoader' node.
Traceback (most recent call last):
File "/root/ComfyUI/server.py", line 752, in get_object_info
out[x] = node_info(x)
^^^^^^^^^^^^
File "/root/ComfyUI/server.py", line 701, in node_info
info['input'] = obj_class.INPUT_TYPES()
^^^^^^^^^^^^^^^^^^^^^^^
File "/root/ComfyUI/custom_nodes/ComfyUI-SP-Nodes/nodes/group_nodes/FluxLoader.py", line 413, in INPUT_TYPES
"vae_name": (["Baked"] + nodes.VAELoader.vae_list(),),
^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: VAELoader.vae_list() missing 1 required positional argument: 's'

[ERROR] An error occurred while retrieving information for the 'SP_FluxLoader' node.
Traceback (most recent call last):
File "/root/ComfyUI/server.py", line 752, in get_object_info
out[x] = node_info(x)
^^^^^^^^^^^^
File "/root/ComfyUI/server.py", line 701, in node_info
info['input'] = obj_class.INPUT_TYPES()
^^^^^^^^^^^^^^^^^^^^^^^
File "/root/ComfyUI/custom_nodes/ComfyUI-SP-Nodes/nodes/group_nodes/FluxLoader.py", line 709, in INPUT_TYPES
"vae_name": (nodes.VAELoader.vae_list(),),
^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: VAELoader.vae_list() missing 1 required positional argument: 's'

[ERROR] An error occurred while retrieving information for the 'SP_HunyuanLoader' node.
Traceback (most recent call last):
File "/root/ComfyUI/server.py", line 752, in get_object_info
out[x] = node_info(x)
^^^^^^^^^^^^
File "/root/ComfyUI/server.py", line 701, in node_info
info['input'] = obj_class.INPUT_TYPES()
^^^^^^^^^^^^^^^^^^^^^^^
File "/root/ComfyUI/custom_nodes/ComfyUI-SP-Nodes/nodes/group_nodes/FluxLoader.py", line 857, in INPUT_TYPES
"vae_name": (nodes.VAELoader.vae_list(),),
^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: VAELoader.vae_list() missing 1 required positional argument: 's'

[ERROR] An error occurred while retrieving information for the 'SP_SD3Loader' node.
Traceback (most recent call last):
File "/root/ComfyUI/server.py", line 752, in get_object_info
out[x] = node_info(x)
^^^^^^^^^^^^
File "/root/ComfyUI/server.py", line 701, in node_info
info['input'] = obj_class.INPUT_TYPES()
^^^^^^^^^^^^^^^^^^^^^^^
File "/root/ComfyUI/custom_nodes/ComfyUI-SP-Nodes/nodes/group_nodes/FluxLoader.py", line 774, in INPUT_TYPES
input_types = dict(super().INPUT_TYPES())
^^^^^^^^^^^^^^^^^^^^^
File "/root/ComfyUI/custom_nodes/ComfyUI-SP-Nodes/nodes/group_nodes/FluxLoader.py", line 709, in INPUT_TYPES
"vae_name": (nodes.VAELoader.vae_list(),),
^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: VAELoader.vae_list() missing 1 required positional argument: 's'

[ERROR] An error occurred while retrieving information for the 'SP_ModelLoader' node.
Traceback (most recent call last):
File "/root/ComfyUI/server.py", line 752, in get_object_info
out[x] = node_info(x)
^^^^^^^^^^^^
File "/root/ComfyUI/server.py", line 701, in node_info
info['input'] = obj_class.INPUT_TYPES()
^^^^^^^^^^^^^^^^^^^^^^^
File "/root/ComfyUI/custom_nodes/ComfyUI-SP-Nodes/nodes/group_nodes/FluxLoader.py", line 955, in INPUT_TYPES
"vae_name": (nodes.VAELoader.vae_list(),),
^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: VAELoader.vae_list() missing 1 required positional argument: 's'

got prompt
Failed to validate prompt for output 75:
* LatentUpscaleModelLoader 320:311:
- Value not in list: model_name: 'ltx-2.3-spatial-upscaler-x2-1.1.safetensors' not in ['ltx-2.3-spatial-upscaler-x2-1.0.safetensors']
Output will be ignored
invalid prompt: {'type': 'prompt_outputs_failed_validation', 'message': 'Prompt outputs failed validation', 'details': '', 'extra_info': {}}
got prompt
VAE load device: cuda:0, offload device: cpu, dtype: torch.float32
Found quantization metadata version 1
Detected mixed precision quantization
Using mixed precision operations
model weight dtype torch.bfloat16, manual cast: torch.bfloat16
model_type FLUX
VAE load device: cuda:0, offload device: cpu, dtype: torch.bfloat16
no CLIP/text encoder weights in checkpoint, the text encoder model will not be loaded.
Requested to load VideoVAE
loaded completely; 46581.55 MB usable, 1384.94 MB loaded, full load: True
Found quantization metadata version 1
Using MixedPrecisionOps for text encoder
CLIP/text encoder model load device: cuda:0, offload device: cpu, current: cpu, dtype: torch.float16
Requested to load LTXAVTEModel_
loaded completely; 44009.69 MB usable, 11201.91 MB loaded, full load: True
Requested to load LTXAV
loaded completely; 33881.81 MB usable, 23836.64 MB loaded, full load: True
!!! Exception during processing !!! The size of tensor a (2200) must match the size of tensor b (291328) at non-singleton dimension 2
Traceback (most recent call last):
File "/root/ComfyUI/execution.py", line 535, in execute
output_data, output_ui, has_subgraph, has_pending_tasks = await get_output_data(prompt_id, unique_id, obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, v3_data=v3_data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/ComfyUI/execution.py", line 335, in get_output_data
return_values = await _async_map_node_over_list(prompt_id, unique_id, obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, v3_data=v3_data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/ComfyUI/execution.py", line 309, in _async_map_node_over_list
await process_inputs(input_dict, i)
File "/root/ComfyUI/execution.py", line 297, in process_inputs
result = f(**inputs)
^^^^^^^^^^^
File "/root/ComfyUI/comfy_api/internal/__init__.py", line 149, in wrapped_func
return method(locked_class, **inputs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/ComfyUI/comfy_api/latest/_io.py", line 1833, in EXECUTE_NORMALIZED
to_return = cls.execute(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/ComfyUI/comfy_extras/nodes_custom_sampler.py", line 963, in execute
samples = guider.sample(noise.generate_noise(latent), latent_image, sampler, sigmas, denoise_mask=noise_mask, callback=callback, disable_pbar=disable_pbar, seed=noise.seed)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/ComfyUI/comfy/samplers.py", line 1052, in sample
output = executor.execute(noise, latent_image, sampler, sigmas, denoise_mask, callback, disable_pbar, seed, latent_shapes=latent_shapes)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/ComfyUI/comfy/patcher_extension.py", line 112, in execute
return self.original(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/ComfyUI/comfy/samplers.py", line 995, in outer_sample
output = self.inner_sample(noise, latent_image, device, sampler, sigmas, denoise_mask, callback, disable_pbar, seed, latent_shapes=latent_shapes)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/ComfyUI/comfy/samplers.py", line 981, in inner_sample
samples = executor.execute(self, sigmas, extra_args, callback, noise, latent_image, denoise_mask, disable_pbar)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/ComfyUI/comfy/patcher_extension.py", line 112, in execute
return self.original(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/ComfyUI/custom_nodes/ComfyUI-TiledDiffusion/utils.py", line 34, in KSAMPLER_sample
return orig_fn(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/ComfyUI/custom_nodes/ComfyUI_smZNodes/smZNodes.py", line 114, in KSAMPLER_sample
return orig_fn(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/ComfyUI/comfy/samplers.py", line 744, in sample
noise = model_wrap.inner_model.model_sampling.noise_scaling(sigmas[0], noise, latent_image, self.max_denoise(model_wrap, sigmas))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/ComfyUI/comfy/model_sampling.py", line 96, in noise_scaling
s = getattr(self, "noise_scale", 1.0)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
RuntimeError: The size of tensor a (2200) must match the size of tensor b (291328) at non-singleton dimension 2

Prompt executed in 74.95 seconds
got prompt
!!! Exception during processing !!! The size of tensor a (3640) must match the size of tensor b (475648) at non-singleton dimension 2
Traceback (most recent call last):
File "/root/ComfyUI/execution.py", line 535, in execute
output_data, output_ui, has_subgraph, has_pending_tasks = await get_output_data(prompt_id, unique_id, obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, v3_data=v3_data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/ComfyUI/execution.py", line 335, in get_output_data
return_values = await _async_map_node_over_list(prompt_id, unique_id, obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, v3_data=v3_data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/ComfyUI/execution.py", line 309, in _async_map_node_over_list
await process_inputs(input_dict, i)
File "/root/ComfyUI/execution.py", line 297, in process_inputs
result = f(**inputs)
^^^^^^^^^^^
File "/root/ComfyUI/comfy_api/internal/__init__.py", line 149, in wrapped_func
return method(locked_class, **inputs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/ComfyUI/comfy_api/latest/_io.py", line 1833, in EXECUTE_NORMALIZED
to_return = cls.execute(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/ComfyUI/comfy_extras/nodes_custom_sampler.py", line 963, in execute
samples = guider.sample(noise.generate_noise(latent), latent_image, sampler, sigmas, denoise_mask=noise_mask, callback=callback, disable_pbar=disable_pbar, seed=noise.seed)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/ComfyUI/comfy/samplers.py", line 1052, in sample
output = executor.execute(noise, latent_image, sampler, sigmas, denoise_mask, callback, disable_pbar, seed, latent_shapes=latent_shapes)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/ComfyUI/comfy/patcher_extension.py", line 112, in execute
return self.original(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/ComfyUI/comfy/samplers.py", line 995, in outer_sample
output = self.inner_sample(noise, latent_image, device, sampler, sigmas, denoise_mask, callback, disable_pbar, seed, latent_shapes=latent_shapes)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/ComfyUI/comfy/samplers.py", line 981, in inner_sample
samples = executor.execute(self, sigmas, extra_args, callback, noise, latent_image, denoise_mask, disable_pbar)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/ComfyUI/comfy/patcher_extension.py", line 112, in execute
return self.original(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/ComfyUI/custom_nodes/ComfyUI-TiledDiffusion/utils.py", line 34, in KSAMPLER_sample
return orig_fn(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/ComfyUI/custom_nodes/ComfyUI_smZNodes/smZNodes.py", line 114, in KSAMPLER_sample
return orig_fn(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/ComfyUI/comfy/samplers.py", line 744, in sample
noise = model_wrap.inner_model.model_sampling.noise_scaling(sigmas[0], noise, latent_image, self.max_denoise(model_wrap, sigmas))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/ComfyUI/comfy/model_sampling.py", line 96, in noise_scaling
s = getattr(self, "noise_scale", 1.0)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
RuntimeError: The size of tensor a (3640) must match the size of tensor b (475648) at non-singleton dimension 2

Prompt executed in 0.48 seconds
got prompt
!!! Exception during processing !!! The size of tensor a (3640) must match the size of tensor b (475648) at non-singleton dimension 2
Traceback (most recent call last):
File "/root/ComfyUI/execution.py", line 535, in execute
output_data, output_ui, has_subgraph, has_pending_tasks = await get_output_data(prompt_id, unique_id, obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, v3_data=v3_data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/ComfyUI/execution.py", line 335, in get_output_data
return_values = await _async_map_node_over_list(prompt_id, unique_id, obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, v3_data=v3_data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/ComfyUI/execution.py", line 309, in _async_map_node_over_list
await process_inputs(input_dict, i)
File "/root/ComfyUI/execution.py", line 297, in process_inputs
result = f(**inputs)
^^^^^^^^^^^
File "/root/ComfyUI/comfy_api/internal/__init__.py", line 149, in wrapped_func
return method(locked_class, **inputs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/ComfyUI/comfy_api/latest/_io.py", line 1833, in EXECUTE_NORMALIZED
to_return = cls.execute(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/ComfyUI/comfy_extras/nodes_custom_sampler.py", line 963, in execute
samples = guider.sample(noise.generate_noise(latent), latent_image, sampler, sigmas, denoise_mask=noise_mask, callback=callback, disable_pbar=disable_pbar, seed=noise.seed)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/ComfyUI/comfy/samplers.py", line 1052, in sample
output = executor.execute(noise, latent_image, sampler, sigmas, denoise_mask, callback, disable_pbar, seed, latent_shapes=latent_shapes)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/ComfyUI/comfy/patcher_extension.py", line 112, in execute
return self.original(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/ComfyUI/comfy/samplers.py", line 995, in outer_sample
output = self.inner_sample(noise, latent_image, device, sampler, sigmas, denoise_mask, callback, disable_pbar, seed, latent_shapes=latent_shapes)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/ComfyUI/comfy/samplers.py", line 981, in inner_sample
samples = executor.execute(self, sigmas, extra_args, callback, noise, latent_image, denoise_mask, disable_pbar)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/ComfyUI/comfy/patcher_extension.py", line 112, in execute
return self.original(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/ComfyUI/custom_nodes/ComfyUI-TiledDiffusion/utils.py", line 34, in KSAMPLER_sample
return orig_fn(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/ComfyUI/custom_nodes/ComfyUI_smZNodes/smZNodes.py", line 114, in KSAMPLER_sample
return orig_fn(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/ComfyUI/comfy/samplers.py", line 744, in sample
noise = model_wrap.inner_model.model_sampling.noise_scaling(sigmas[0], noise, latent_image, self.max_denoise(model_wrap, sigmas))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/ComfyUI/comfy/model_sampling.py", line 96, in noise_scaling
s = getattr(self, "noise_scale", 1.0)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
RuntimeError: The size of tensor a (3640) must match the size of tensor b (475648) at non-singleton dimension 2

Prompt executed in 0.54 seconds
got prompt
!!! Exception during processing !!! The size of tensor a (1200) must match the size of tensor b (163328) at non-singleton dimension 2
Traceback (most recent call last):
File "/root/ComfyUI/execution.py", line 535, in execute
output_data, output_ui, has_subgraph, has_pending_tasks = await get_output_data(prompt_id, unique_id, obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, v3_data=v3_data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/ComfyUI/execution.py", line 335, in get_output_data
return_values = await _async_map_node_over_list(prompt_id, unique_id, obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, v3_data=v3_data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/ComfyUI/execution.py", line 309, in _async_map_node_over_list
await process_inputs(input_dict, i)
File "/root/ComfyUI/execution.py", line 297, in process_inputs
result = f(**inputs)
^^^^^^^^^^^
File "/root/ComfyUI/comfy_api/internal/__init__.py", line 149, in wrapped_func
return method(locked_class, **inputs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/ComfyUI/comfy_api/latest/_io.py", line 1833, in EXECUTE_NORMALIZED
to_return = cls.execute(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/ComfyUI/comfy_extras/nodes_custom_sampler.py", line 963, in execute
samples = guider.sample(noise.generate_noise(latent), latent_image, sampler, sigmas, denoise_mask=noise_mask, callback=callback, disable_pbar=disable_pbar, seed=noise.seed)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/ComfyUI/comfy/samplers.py", line 1052, in sample
output = executor.execute(noise, latent_image, sampler, sigmas, denoise_mask, callback, disable_pbar, seed, latent_shapes=latent_shapes)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/ComfyUI/comfy/patcher_extension.py", line 112, in execute
return self.original(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/ComfyUI/comfy/samplers.py", line 995, in outer_sample
output = self.inner_sample(noise, latent_image, device, sampler, sigmas, denoise_mask, callback, disable_pbar, seed, latent_shapes=latent_shapes)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/ComfyUI/comfy/samplers.py", line 981, in inner_sample
samples = executor.execute(self, sigmas, extra_args, callback, noise, latent_image, denoise_mask, disable_pbar)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/ComfyUI/comfy/patcher_extension.py", line 112, in execute
return self.original(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/ComfyUI/custom_nodes/ComfyUI-TiledDiffusion/utils.py", line 34, in KSAMPLER_sample
return orig_fn(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/ComfyUI/custom_nodes/ComfyUI_smZNodes/smZNodes.py", line 114, in KSAMPLER_sample
return orig_fn(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/ComfyUI/comfy/samplers.py", line 744, in sample
noise = model_wrap.inner_model.model_sampling.noise_scaling(sigmas[0], noise, latent_image, self.max_denoise(model_wrap, sigmas))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/ComfyUI/comfy/model_sampling.py", line 96, in noise_scaling
s = getattr(self, "noise_scale", 1.0)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
RuntimeError: The size of tensor a (1200) must match the size of tensor b (163328) at non-singleton dimension 2

Prompt executed in 0.37 seconds
```

### Other

I can provide the full workflow JSON, screenshots, and terminal logs if needed.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.