[Model] Remove unnecessary get_language_model (#37545)

Signed-off-by: DarkLight1337 <tlleungac@connect.ust.hk>
This commit is contained in:
Cyrus Leung
2026-03-19 20:00:36 +08:00
committed by GitHub
parent c7bc12c20f
commit 7a6ebcbfcf
7 changed files with 93 additions and 95 deletions
-1
View File
@@ -1373,7 +1373,6 @@ class Ernie4_5_VLMoeForConditionalGeneration(
self,
hidden_states: torch.Tensor,
) -> torch.Tensor | None:
"""compute logits"""
return self.language_model.compute_logits(hidden_states)
def _vision_forward(