The size of tensor a (6420) must match the size of tensor b (2304) at non-singleton dimension 1 "
(it works for me yesterday , but today i always receive errors like this, about missmatching tensors)
I have
" The size of tensor a (4105) must match the size of tensor b (24) at non-singleton dimension 1 "
and thought it is somehow my fault and can't figure it out... It is possible it is not my fault?
Problem Summary: The exact workflow that was working perfectly this morning (and successfully generating images) now consistently fails with a RuntimeError: The size of tensor a (4393) must match the size of tensor b (24) whenever the ControlNet node is connected. The error occurs inside the apply_rope1 function, pointing to a severe tensor size mismatch during prompt/ControlNet context processing.
Troubleshooting Steps Taken:
I have completely re-downloaded and reinstalled the latest ComfyUI Easy Install, the Nunchaku custom nodes, and all Qwen models (DIT, CLIP, VAE).
I also tried reinstalling the specific ControlNet model (Qwen-Image-InstantX-ControlNet-Union.safetensors).
The issue persists even on a fresh reinstall.
I have successfully fixed the issue by rolling back the entire ComfyUI Easy Install setup to an older version.
The problem was indeed a version conflict:
The workflow now works perfectly using an older setup where the Nunchaku version is 1.0.1.