Nodes/Kinburg-Nodes/Load VAE (Precision)
ComfyUI Node

Load VAE (Precision)

Loads a VAE — from models/vae, or the one inside a checkpoint — at the precision you choose instead of the one ComfyUI picks (fp16 on most cards). Its own copy from the file's original weights, so the checkpoint's VAE and every other decoder are left alone. For decoding audio in fp32, as YuE2's reference does, and for A/B tests of one latent decoded both ways. Wire it into the ordinary VAE Decode node.

By Kinburg·Created 4 months ago·Updated about 22 hours ago· 2
Load VAE (Precision)
    • vae
    ◄source▾►
    ◄dtypefp32►
    CategoryKinburg-Nodes/model

    Inputs (2)

    NameTypeDefaultDescription
    sourceCOMBOA VAE file from models/vae, or a checkpoint whose own VAE you want — the one its loader's VAE output gives you, here at your precision.
    dtypeCOMBOfp32The precision the weights are loaded in and the decode runs at. fp32 is what YuE2's reference pipeline decodes its audio in; ComfyUI picks fp16 for it on any card with fast fp16. Twice the VAE's memory, and a slower decode — negligible next to generating the song.

    Outputs (1)

    NameTypeDescription
    vaeVAE—