mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2026-07-09 18:17:10 +08:00
[Model] Implement missing get_language_model for Keye-VL (#20631)
Signed-off-by: DarkLight1337 <tlleungac@connect.ust.hk>
This commit is contained in:
parent
849590a2a7
commit
dd382e0fe3
@ -1592,6 +1592,9 @@ class KeyeForConditionalGeneration(nn.Module, SupportsMultiModal, SupportsLoRA,
|
|||||||
|
|
||||||
return modalities
|
return modalities
|
||||||
|
|
||||||
|
def get_language_model(self) -> torch.nn.Module:
|
||||||
|
return self.language_model
|
||||||
|
|
||||||
def get_multimodal_embeddings(
|
def get_multimodal_embeddings(
|
||||||
self, **kwargs: object) -> Optional[MultiModalEmbeddings]:
|
self, **kwargs: object) -> Optional[MultiModalEmbeddings]:
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user