Use LatentCutToBatch instead. (#13815)
Some checks are pending
Python Linting / Run Ruff (push) Waiting to run
Python Linting / Run Pylint (push) Waiting to run
Full Comfy CI Workflow Runs / test-stable (12.1, , linux, 3.10, [self-hosted Linux], stable) (push) Waiting to run
Full Comfy CI Workflow Runs / test-stable (12.1, , linux, 3.11, [self-hosted Linux], stable) (push) Waiting to run
Full Comfy CI Workflow Runs / test-stable (12.1, , linux, 3.12, [self-hosted Linux], stable) (push) Waiting to run
Full Comfy CI Workflow Runs / test-unix-nightly (12.1, , linux, 3.11, [self-hosted Linux], nightly) (push) Waiting to run
Execution Tests / test (macos-latest) (push) Waiting to run
Execution Tests / test (ubuntu-latest) (push) Waiting to run
Execution Tests / test (windows-latest) (push) Waiting to run
Test server launches without errors / test (push) Waiting to run
Unit Tests / test (macos-latest) (push) Waiting to run
Unit Tests / test (ubuntu-latest) (push) Waiting to run
Unit Tests / test (windows-2022) (push) Waiting to run

Removed VAEDecodeVideoFramewise from nodes_wandancer.py.
This commit is contained in:
comfyanonymous 2026-05-09 14:17:00 -07:00 committed by GitHub
parent 3200f28e3a
commit 20f5e474da
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -842,36 +842,6 @@ class WanDancerVideo(io.ComfyNode):
return io.NodeOutput(positive, negative, out_latent)
class VAEDecodeVideoFramewise(io.ComfyNode):
@classmethod
def define_schema(cls):
return io.Schema(
node_id="VAEDecodeVideoFramewise",
category="latent",
description="Decodes video latents one latent at a time.",
search_aliases=["decode", "decode latent", "latent to image", "render latent"],
inputs=[
io.Latent.Input("samples", tooltip="The latent to be decoded."),
io.Vae.Input("vae", tooltip="The VAE model used for decoding the latent."),
],
outputs=[
io.Image.Output(tooltip="The decoded images."),
],
)
@classmethod
def execute(cls, vae, samples) -> io.NodeOutput:
latent = samples["samples"]
if latent.is_nested:
latent = latent.unbind()[0]
# reshape temporal dimension into batch
B, C, T, H, W = latent.shape
latent_batched = latent.transpose(1, 2).reshape(B * T, C, 1, H, W)
images = vae.decode(latent_batched).squeeze(1)
return io.NodeOutput(images)
class WanDancerPadKeyframes(io.ComfyNode):
@classmethod
def define_schema(cls):
@ -992,7 +962,6 @@ class WanDancerExtension(ComfyExtension):
async def get_node_list(self) -> list[type[io.ComfyNode]]:
return [
WanDancerVideo,
VAEDecodeVideoFramewise,
WanDancerEncodeAudio,
WanDancerPadKeyframes,
WanDancerPadKeyframesList,