vllm_omni.model_executor.common.duplex.data_plane ¶
Data plane for models whose final stage streams cumulative audio and text.
The stage runner re-sends the whole waveform (and transcript) it has produced so far for one request; the session needs only what is new. This data plane keeps one cursor per request, slices the delta, encodes it for the wire and reports it as one internal response.output_audio.delta-shaped result. Model-specific constants (stage role, runtime metadata, default rate) are class attributes for a subclass to set.
EncodeAudio module-attribute ¶
CumulativeAudioTextDataPlane ¶
Bases: DuplexDataPlane
Project cumulative staged audio/text output into per-request deltas.