Small fix for Command-A-Vision (#23268)

Signed-off-by: donglu <donglu@cohere.com>
This commit is contained in:
dongluw
2025-08-20 14:15:18 -04:00
committed by GitHub
parent f77a0802b7
commit ebe56a0064

View File

@@ -348,7 +348,7 @@ class Cohere2VisionForConditionalGeneration(nn.Module, SupportsMultiModal,
vllm_config=vllm_config,
hf_config=config.text_config,
prefix=maybe_prefix(prefix, "language_model"),
architectures=["Cohere2ForCausalLM"])
architectures=config.text_config.architectures)
@property
def dtype(self):