Skip to content

vllm.model_executor.models.voxtral

Classes:

VoxtralForConditionalGeneration

Bases: Module, SupportsMultiModal, SupportsPP, SupportsLoRA, SupportsTranscription

Methods:

get_mm_mapping()

Get module prefix for multimodal models to filter LoRA modules.

get_num_audio_tokens(audio_duration_s, stt_config, model_config) classmethod

Map from audio duration to number of audio tokens produced by the ASR model, without running a forward pass. This is used for estimating the amount of processing for this audio.

maybe_update_quant_config(quant_config)

Update quant config to so that ignored module and target module names match the vLLM model names. Right now this is specific for compressed-tensors format and load_format mistral.