Skip to content

vllm.model_executor.models.interns1

Classes:

InternS1DummyInputsBuilder

Bases: BaseDummyInputsBuilder[InternS1ProcessingInfo]

DummyInputsBuilder for InternS1-style models.

InternS1ForConditionalGeneration

Bases: Module, SupportsMultiModal, SupportsPP, SupportsLoRA

Methods:

get_mm_mapping()

Get the module prefix in multimodal models.

InternS1ImageEmbeddingInputs

Bases: TensorSchema

Dimensions: - ni: Number of images - tifs: Total image feature size - hs: Hidden size (must match language model backbone)

InternS1ImagePixelInputs

Bases: TensorSchema

Dimensions: - bnp: Batch size * number of images * (1 + num_patches) - c: Number of channels (3) - h: Height - w: Width - bn: Batch size * number of images

InternS1MultiModalProcessor

Bases: BaseMultiModalProcessor[InternS1ProcessingInfo]

Basic image-only MultiModalProcessor for InternS1-style models.

InternS1ProcessingInfo

Bases: BaseProcessingInfo

ProcessingInfo for InternS1-style models.

InternS1VideoEmbeddingInputs

Bases: TensorSchema

Dimensions: - nv: Number of videos - tvfs: Total video feature size - hs: Hidden size (must match language model backbone)

InternS1VideoPixelInputs

Bases: TensorSchema

Dimensions: - bnv: Batch size * number of videos * number of frames - bn: Batch size * number of images - c: Number of channels (3) - h: Height - w: Width