Repository navigation
tutorials/video/wan/wan-infinitetalk #2179
Replies: 5 comments
|
No matter what I do, how many times I reinstall the portable version, I cannot get this to work. It only outputs a video with audio and black screen. No errors, I'm not using sage attention, I have 12gbvram, I have reinstalled every model so many times over the past three days and have tried several alternative workflows. I have tried both the wan_2.1_vae.safetensors and the wan_2.1_VAE_bf16.safetensors, always the same output: the two starting images I'm inputting for the masks and the two black videos of the audio files I input. Please help. |
|
Hi @SquibblySquid, thanks for the detailed report. A first input frame followed by all-black frames (with the audio still intact) means the sampler ran to the end but the decoded latents came out empty, so this is almost always an input or model-file mismatch rather than a crash. Checks in order of likelihood:
To narrow it down, could you post:
If the samples render and your inputs do not, the problem is in the masks or the audio. If the samples are black as well, it is the model files or the environment, and the log will show exactly which files were loaded. |
|
Thanks for the help! I was able to get it working
…On Thu, Oct 29, 2026, 10:04 PM lin-bot23 ***@***.***> wrote:
Hi @SquibblySquid <https://github.com/SquibblySquid>, thanks for the
detailed report. A first input frame followed by all-black frames (with the
audio still intact) means the sampler ran to the end but the decoded
latents came out empty, so this is almost always an input or model-file
mismatch rather than a crash. Checks in order of likelihood:
1.
*Run the template unmodified with its own sample inputs.* Load the
template fresh (two_speakers, 832x480, 81 frames) and use the three sample
files linked on the page: two_character_talking.png plus
audio_speaker1_woman.mp3 and audio_speaker2_man.mp3 from
https://github.com/Comfy-Org/workflow_templates/tree/main/input. That
splits "my setup is broken" from "my inputs are broken".
2.
*Redraw the masks.* In two_speakers mode each mask is what routes one
audio track to one character, and the node requires both. If a mask is
empty, covers the wrong area, or was drawn on a different image than the
one currently loaded (replacing the image in Load Image does not keep
an aligned mask), that character region can decode as empty. Right-click
the Load Image node, choose Open in MaskEditor, draw Mask 1 over
character 1, then switch to Mask 2 and draw over character 2. Confirm mask
1 feeds mask_1 and mask 2 feeds mask_2.
3.
*Match the model patch to the mode.*
wan2.1_infiniteTalk_multi_fp16.safetensors is for two_speakers,
wan2.1_infiniteTalk_single_fp16.safetensors is for single_speaker.
Mixing them, or loading a file that was only partially downloaded (15+ GB
over flaky wifi is common), produces a valid run with garbage output.
Compare file sizes against the Hugging Face listing:
https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/tree/main/split_files/model_patches
4.
*Re-encode the audio.* The audio encoder wants 16 kHz mono; unusual
sample rates, multichannel files, or some codecs can yield a bad embedding,
and NaN in the cross-attention patch decodes to pure black. Try:
ffmpeg -i input.mp3 -ar 16000 -ac 1 -c:a pcm_s16le out.wav
5. *VRAM.* The fp8 14B UNet is ~15.5 GB on disk, so on 12 GB ComfyUI
offloads to system RAM. That is slow but should not black out a video by
itself. While debugging, keep length at 81 and do not add Video Extend
groups, since each extra group multiplies memory pressure.
To narrow it down, could you post:
- ComfyUI version (Help -> About), and whether this is a current
portable build
- GPU model and Windows version
- the result of step 1 (sample image + sample audios): black, or
correct?
- the console output from "Requested to load" to the end of the run,
as pasted text rather than a screenshot
- whether a Preview Image node on the VAEDecode output is black too,
or only the saved MP4 is
If the samples render and your inputs do not, the problem is in the masks
or the audio. If the samples are black as well, it is the model files or
the environment, and the log will show exactly which files were loaded.
—
Reply to this email directly, view it on GitHub
<#2179?email_source=notifications&email_token=CTOLBHEV52WNM27WJFISZXT5WPZLFA5CNFSNUABIM5UWIORPF5TWS5BNNB2WEL2ENFZWG5LTONUW63SDN5WW2ZLOOQXTCOJSHAZTEMZUUZZGKYLTN5XKO3LFNZ2GS33OUVSXMZLOOSWGM33PORSXEX3DNRUWG2Y#discussioncomment-19283234>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/CTOLBHG6P64ROQ2J4NFHHBD5WPZLFAVCNFSNUABIKJSXA33TNF2G64TZHM3TONZUGMZDENBRHNCGS43DOVZXG2LPNY5TCMJRHAYTKNBUUF3AE>
.
Triage notifications, keep track of coding agent tasks and review pull
requests on the go with GitHub Mobile for iOS
<https://github.com/notifications/mobile/ios/CTOLBHAUVLZWYJFRLVFVKCD5WPZLFA5CNFSNUABIM5UWIORPF5TWS5BNNB2WEL2ENFZWG5LTONUW63SDN5WW2ZLOOQXTCOJSHAZTEMZUUZZGKYLTN5XKO3LFNZ2GS33OUVSXMZLOOSVGM33PORSXEX3JN5ZQ>
and Android
<https://github.com/notifications/mobile/android/CTOLBHA4XI7IFHLJ4N5FZM35WPZLFA5CNFSNUABIM5UWIORPF5TWS5BNNB2WEL2ENFZWG5LTONUW63SDN5WW2ZLOOQXTCOJSHAZTEMZUUZZGKYLTN5XKO3LFNZ2GS33OUVSXMZLOOSXGM33PORSXEX3BNZSHE33JMQ>.
Download it today!
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
|
Hi, I got this error: Not enough GPU memory. Try reducing image resolution or batch size and run again. It was happened when I tried to run the InfiniteTalk workflow in the Template workflows. I am using Mac Studio M4 with 32G memory. Where to reduce the batch size please? Or it is impossible to run it on Mac Studio? |
|
Hi @catpatlab, thanks for the report. That message is ComfyUI's generic out-of-memory text, not a missing batch-size setting. This workflow does not expose a batch size, so the two values to lower are resolution and frame count:
For context, the template loads a 14B fp8 diffusion model (~15.5 GB), the umt5 text encoder (~6.3 GB), the InfiniteTalk patch (~4.8 GB), the VAE and wav2vec2, and the two-speaker If it still fails after lowering both:
Please share the full console log from |
Uh oh!
There was an error while loading. Please reload this page.
tutorials/video/wan/wan-infinitetalk
InfiniteTalk is an audio-driven full-body video dubbing model built on Wan2.1, enabling character lip-sync and body motion synchronization with any input audio.
https://docs.comfy.org/tutorials/video/wan/wan-infinitetalk
All reactions