Skip to content

vllm.model_executor.models.voxtral_realtime

Classes:

TimeEmbedding

Bases: Module

Sinusoidal Embedding for encoding time.

VoxtralRealtimeGeneration

Bases: VoxtralForConditionalGeneration, SupportsRealtime

Methods:

embed_input_ids(input_ids, multimodal_embeddings=None, *, is_multimodal=None)

Pass post-conv embeddings directly as input.

For realtime models, multimodal embeddings are required at every decode step. If they are missing (e.g. due to an empty audio commit, encoder-cache eviction under GPU memory pressure, or a client disconnect), return zero embeddings instead of crashing the engine so that all other in-flight requests stay alive.

embed_multimodal(**kwargs)

Transform audio waveforms -> initial whisper post-conv embeddings.