You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Standardize how audio pipelines expose their output sample rate #15341
An audio pipeline returns a bare waveform, so anything that saves it has to find the sample rate somewhere else. Today each pipeline keeps it in a different place:
Where
Pipelines
pipe.vocoder.config.output_sampling_rate
LTX-2
pipe.vae.config.sampling_rate
Stable Audio
pipe.audio_sampling_rate
LTX-2, MiniMax-H3, Pika H3 Flex, Echo (modular)
pipe.sound_sampling_rate
Cosmos (modular)
pipe.sampling_rate
MiniMax Music 3 (modular)
The same name also doesn't always mean the same thing: in LTX-2, audio_sampling_rate is the audio VAE's rate (16000), while the returned waveform is at vocoder.config.output_sampling_rate (24000).
This makes generic tooling guess:
diffusers-cli run falls back to 16000 unless the user passes --sampling-rate.
Activity
yiyixuxu commentedon Nov 19, 2026
cc @DN6