[Model] Remove unused handle_oov_mm_token (#37321)

Signed-off-by: DarkLight1337 <tlleungac@connect.ust.hk>
This commit is contained in:
Cyrus Leung
2026-03-17 19:44:52 +00:00
committed by GitHub
parent fa75204b16
commit 51f0acda79
3 changed files with 4 additions and 4 deletions
@@ -793,7 +793,6 @@ class FireRedASR2ForConditionalGeneration(
multimodal_embeddings: MultiModalEmbeddings | None = None,
*,
is_multimodal: torch.Tensor | None = None,
handle_oov_mm_token: bool = False,
) -> torch.Tensor:
inputs_embeds = self.model.decoder.embed_input_ids(input_ids)
-1
View File
@@ -514,7 +514,6 @@ class KimiAudioForConditionalGeneration(
multimodal_embeddings: tuple[torch.Tensor, ...] | None = None,
*,
is_multimodal: torch.Tensor | None = None,
handle_oov_mm_token: bool = False,
) -> torch.Tensor:
"""Embed input IDs and fuse with audio embeddings.