Comfy-Org / Comfy-Org/ComfyUI

Error occurred when executing LatentInterpolate

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

Description

### Expected Behavior

I want to use an image for image to image prompting.

### Actual Behavior

fails due to what I suspect inconsistent dimensions, but altering or matching this does not work

### Steps to Reproduce

Using this workflow:

[FLUX All in One.json](https://github.com/user-attachments/files/16518106/FLUX.All.in.One.json)

### Debug Logs

```powershell
Error occurred when executing LatentInterpolate:

The size of tensor a (16) must match the size of tensor b (4) at non-singleton dimension 1

File "W:\smatrix\Data\Packages\ComfyUI\execution.py", line 152, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
File "W:\smatrix\Data\Packages\ComfyUI\execution.py", line 82, in get_output_data
return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
File "W:\smatrix\Data\Packages\ComfyUI\execution.py", line 75, in map_node_over_list
results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
File "\\Newestgtx1650\18 tb\smatrix\Data\Packages\ComfyUI\comfy_extras\nodes_latent.py", line 96, in op
t = (s1 * ratio + s2 * (1.0 - ratio))
```

### Other

_No response_

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.