Nodes/ComfyUI vsLinx Nodes/VAE Decode (Batched)
ComfyUI Node

VAE Decode (Batched)

Same as the built-in VAE Decode, but adds a batch_size field that controls how many latents are decoded by the VAE at once. Decoding fewer at a time (e.g. 1) can lower peak VRAM and speed things up.

By vslinx·Created 12 months ago·Updated 27 days ago· 20
VAE Decode (Batched)
  • samples
  • vae
  • IMAGE
batch_size1
CategoryvsLinx/latent

Inputs (3)

NameTypeDefaultDescription
samplesLATENTThe latent to be decoded.
vaeVAEThe VAE model used for decoding the latent.
batch_sizeINT11–4096How many latents to hand to the VAE per decode call. Lower values reduce peak VRAM at the cost of more sequential calls; the default of 1 decodes one image at a time. Values >= the batch size behave exactly like the built-in node (single decode).

Outputs (1)

NameTypeDescription
IMAGEIMAGEThe decoded image.