vllm.model_executor.models.nemotron_vl
¶
Classes:
-
LlamaNemotronVLChatModel– -
LlamaNemotronVLEmbedProcessingInfo–Processing info for LlamaNemotronVL embedding model.
-
LlamaNemotronVLForEmbedding–LlamaNemotronVL model for embeddings.
-
LlamaNemotronVLForSequenceClassification–LlamaNemotronVL model variant for sequence classification / reranking.
-
NemotronVLProcessingInfo–Processing info for Nemotron VL models.
LlamaNemotronVLChatModel
¶
Bases: Module, SupportsMultiModal, SupportsPP, SupportsLoRA
Methods:
-
get_mm_mapping–Get the module prefix in multimodal models.
LlamaNemotronVLEmbedProcessingInfo
¶
LlamaNemotronVLForEmbedding
¶
Bases: LlamaNemotronVLChatModel, VllmModelForPooling
LlamaNemotronVL model for embeddings.
Inherits from LlamaNemotronVLChatModel and specializes it for embedding tasks: - Uses SigLIP vision encoder instead of C-RADIO - Uses bidirectional LLaMA (via llm_config) instead of causal LLaMA - Adds pooler for embedding output instead of generating logits
Methods:
-
load_weights–Override to use different weight mapping for SigLIP.
_call_vision_model(pixel_values)
¶
Override to handle SigLIP interface.
_init_mlp1(config, vit_hidden_size=None, vision_projection_hidden_size=None)
¶
Override to use different MLP structure for embedding model.
_init_vision_model(config, quant_config, *, prefix)
¶
Override to use SigLIP instead of C-RADIO.
load_weights(weights)
¶
Override to use different weight mapping for SigLIP.
LlamaNemotronVLForSequenceClassification
¶
Bases: LlamaNemotronVLForEmbedding, SupportsCrossEncoding
LlamaNemotronVL model variant for sequence classification / reranking.