vllm_omni.diffusion.models.magi2.audio_decoder ¶
Native Stable Audio Open decoder used by MAGI-2.
The MAGI checkpoint embeds Stable Audio's Oobleck VAE under the pretransform.model prefix and uses the sequential module names from stable-audio-tools. This module converts those names to Diffusers' AutoencoderOobleck layout and loads only the decoder tensors.
Magi2AudioDecoder ¶
Bases: Module
Decode MAGI-2 audio latents with the bundled Stable Audio VAE weights.
convert_stable_audio_decoder_key ¶
Map one Stable Audio decoder key to Diffusers' Oobleck decoder.
Unrelated checkpoint tensors return None. A key inside the decoder namespace that does not match the released Stable Audio layout raises so a changed checkpoint cannot be loaded partially by accident.