MultiTalk/InfiniteTalk broken with ComfyUI 0.19.x - shape mismatch in multitalk.py
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 52/100
Research direction
Start with multitalk.py at line 247, then trace how the frame count and audio cross-attention tensor dimensions are calculated. Reproduce the reported workflow with ComfyUI 0.19.x and compare the comfy and default rope settings. Done means MultiTalk/InfiniteTalk runs without either shape error for the reported 480-frame input.
Written by the indexing model from the issue text.
Description
Environment
- ComfyUI: v0.19.1
- ComfyUI-WanVideoWrapper: main branch (latest)
- GPU: NVIDIA RTX 4500 Ada (24GB VRAM)
- OS: Windows 11
Problem
MultiTalk/InfiniteTalk workflow stopped working after updating ComfyUI to 0.19.x.
Two errors occur depending on rope_function setting:
With rope_function = comfy:
RuntimeError: The size of tensor a (30450) must match the size of tensor b (29925) at non-singleton dimension 1
With rope_function = default:
RuntimeError: shape '[20, 1400, 5120]' is invalid for input of size 146048000
at multitalk.py line 247: x = x.view(B * N_t, S, self.dim)
Details
- Audio: 20s WAV, 16kHz, cropped via AudioCrop node
- Frames: 480 (log shows "Audio duration (480 frames) is shorter than requested (481 frames). Using 480 frames.")
- Resolution: 800x456
- Model: InfiniteTalk single speaker
The off-by-one (480 vs 481 frames) seems to cause the tensor mismatch in the audio cross-attention reshape.
Workflow was working fine on ComfyUI 0.18.3.
- Dominant language
- Python
- Stars
- 6.8k
- Forks
- 712
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from kijai/ComfyUI-WanVideoWrapper
-
Difficulty 1/5 Under an hour Newbie friendliness 78/100
kijai/ComfyUI-WanVideoWrapper#2060 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
kijai/ComfyUI-WanVideoWrapper#2055 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
kijai/ComfyUI-WanVideoWrapper#2046 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 42/100
kijai/ComfyUI-WanVideoWrapper#2058 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 38/100
kijai/ComfyUI-WanVideoWrapper#2057 ·
All issues in kijai/ComfyUI-WanVideoWrapper
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 85/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
OCA/account-invoicing#2529 ·
Maintainers usually reply within 1 day
-
area/ci
Difficulty 1/5 Under an hour Newbie friendliness 62/100
Maintainers usually reply within 1 day
-
ImageGen generate-batch aborts valid JSONL jobs containing a Unicode line separator in poster textOpenbug imagen skills
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
Email validation accepts a trailing newlinePossibly taken @marcello-pichini claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day