Skip to content

vllm.model_executor.models.gemma3_mm

Classes:

Gemma3ForConditionalGeneration

Bases: Module, SupportsMultiModal, SupportsPP, SupportsLoRA, SupportsEncoderCudaGraph

Methods:

get_mm_mapping()

Get the module prefix in multimodal models

Gemma3ImagePixelInputs

Bases: TensorSchema

Dimensions: - p: Number of patches total (over each image over each prompt in the batch) - c: Number of channels (3) - h: Height of each patch - w: Width of each patch - bn: Batch size * number of images