RuntimeError: Sizes of tensors must match except in dimension 0. Expected size 16 but got size 8 for tensor number 1 in the list.

这个报错通常出现在 ComfyUI 的 WanVideoWrapper 工作流运行到 WanVideoSampler 节点、处理 temporal_ref_latents 拼接时,往往与张量尺寸不一致有关,优先排查工作流本身是否存在张量尺寸不匹配,以及 block swap 等显存相关设置是否过大。








