Support for NemotronH Nano VLM (#23644)
Signed-off-by: Daniel Afrimi <danielafrimi8@gmail.com>
This commit is contained in:
@@ -1552,7 +1552,7 @@ class ModelConfig:
|
||||
for bc in block_configs[start:end])
|
||||
else:
|
||||
# Hybrid model Jamba
|
||||
layers_block_type_value = getattr(self.hf_config,
|
||||
layers_block_type_value = getattr(self.hf_text_config,
|
||||
"layers_block_type", None)
|
||||
if layers_block_type_value is not None:
|
||||
if hasattr(self.hf_text_config,
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -223,6 +223,7 @@ _MULTIMODAL_MODELS = {
|
||||
"GraniteSpeechForConditionalGeneration": ("granite_speech", "GraniteSpeechForConditionalGeneration"), # noqa: E501
|
||||
"H2OVLChatModel": ("h2ovl", "H2OVLChatModel"),
|
||||
"InternVLChatModel": ("internvl", "InternVLChatModel"),
|
||||
"NemotronH_Nano_VL": ("nano_nemotron_vl", "NemotronH_Nano_VL"),
|
||||
"InternS1ForConditionalGeneration": ("interns1", "InternS1ForConditionalGeneration"), # noqa: E501
|
||||
"InternVLForConditionalGeneration": ("interns1", "InternS1ForConditionalGeneration"), # noqa: E501
|
||||
"Idefics3ForConditionalGeneration":("idefics3","Idefics3ForConditionalGeneration"),
|
||||
|
||||
Reference in New Issue
Block a user