vllm.model_executor.models.interns1
¶
Classes:
-
InternS1DummyInputsBuilder–DummyInputsBuilder for InternS1-style models.
-
InternS1ForConditionalGeneration– -
InternS1ImageEmbeddingInputs–Dimensions:
-
InternS1ImagePixelInputs–Dimensions:
-
InternS1MultiModalProcessor–Basic image-only MultiModalProcessor for InternS1-style models.
-
InternS1ProcessingInfo–ProcessingInfo for InternS1-style models.
-
InternS1VideoEmbeddingInputs–Dimensions:
-
InternS1VideoPixelInputs–Dimensions:
InternS1DummyInputsBuilder
¶
InternS1ForConditionalGeneration
¶
Bases: Module, SupportsMultiModal, SupportsPP, SupportsLoRA
Methods:
-
get_mm_mapping–Get the module prefix in multimodal models.
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
¶
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