vllm.model_executor.models.ovis2_5
¶
PyTorch Ovis model.
Classes:
-
Ovis2_5ImagePatchInputs–Dimensions:
-
Ovis2_5MultiModalProcessor– -
Ovis2_5VideoPatchInputs–Dimensions:
-
VisualTokenizer–VIT.
Ovis2_5ImagePatchInputs
¶
Bases: TensorSchema
Dimensions: - bnp: Batch size * number of images * number of patches - patch_size: patch_size_x * patch_size_y * num_channels - patch_indicators: Batch size * (number of patches + 1) - bn: Batch size * number of images
Ovis2_5MultiModalProcessor
¶
Bases: BaseMultiModalProcessor[Ovis2_5ProcessingInfo]
Methods:
-
visual_indicators_to_visual_tokens–Filter image indicators placeholders and convert them to corresponding
visual_indicators_to_visual_tokens(visual_indicators)
¶
Filter image indicators placeholders and convert them to corresponding tokens in visual tokenizer.
Ovis2_5VideoPatchInputs
¶
Bases: TensorSchema
Dimensions: - bnp: Batch size * number of videos * number of patches - patch_size: patch_size_x * patch_size_y * num_channels - patch_indicators: Batch size * (number of patches + 1) - bn: Batch size * number of videos