Small fix for Command-A-Vision (#23268)
Signed-off-by: donglu <donglu@cohere.com>
This commit is contained in:
@@ -348,7 +348,7 @@ class Cohere2VisionForConditionalGeneration(nn.Module, SupportsMultiModal,
|
|||||||
vllm_config=vllm_config,
|
vllm_config=vllm_config,
|
||||||
hf_config=config.text_config,
|
hf_config=config.text_config,
|
||||||
prefix=maybe_prefix(prefix, "language_model"),
|
prefix=maybe_prefix(prefix, "language_model"),
|
||||||
architectures=["Cohere2ForCausalLM"])
|
architectures=config.text_config.architectures)
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def dtype(self):
|
def dtype(self):
|
||||||
|
|||||||
Reference in New Issue
Block a user