vllm.model_executor.models.step3_vl
¶
Classes:
-
Step3VLForConditionalGeneration– -
Step3VLImageEmbeddingInputs–Dimensions:
-
Step3VLImagePixelInputs–Dimensions:
-
Step3VisionAttention–Multi-headed attention from 'Attention Is All You Need' paper.
Step3VLForConditionalGeneration
¶
Bases: Module, SupportsMultiModal, SupportsPP, SupportsEncoderCudaGraph
Methods:
-
postprocess_encoder_output–CPU-side per-item merge after dual-path graph replay.
postprocess_encoder_output(outputs, indices, per_item_out_tokens, dest, clone=False, batch_mm_kwargs=None)
¶
CPU-side per-item merge after dual-path graph replay.
outputs['global'] contains global-image features and outputs['local']
contains local-patch features (or None when there are no patches).
Step3VLImageEmbeddingInputs
¶
Bases: TensorSchema
Dimensions: - bn: Batch size * number of images - f: Image feature size - h: Hidden size (must match the hidden size of language model backbone)
Step3VLImagePixelInputs
¶
Bases: TensorSchema
Dimensions: - bn: Batch size * number of images - c: Number of channels (3) - h: Height - w: Width - bnp: Batch size * number of images * number of patches - hp: Height of patch - wp: Width of patch