[MM] Simplify prompt updates: replace PromptSeq with list[int] (#53372)

Signed-off-by: DarkLight1337 <tlleungac@connect.ust.hk>
Co-authored-by: Qwen Code <noreply@alibaba-inc.com>
This commit is contained in:
Cyrus Leung
2026-08-23 14:50:32 +08:00
committed by GitHub
co-authored by Qwen Code
parent a3561ef8e4
commit ebcd606467
53 changed files with 831 additions and 855 deletions
+1 -1
View File
@@ -1112,7 +1112,7 @@ class MiMoV2OmniMultiModalProcessor(BaseMultiModalProcessor[MiMoV2OmniProcessing
embed_t = torch.tensor(is_embed_mask)
return PromptUpdateDetails(
full=full,
is_embed=lambda _tok, _seq: embed_t,
is_embed=lambda _seq: embed_t,
)
def get_audio_replacement(item_idx: int) -> PromptUpdateDetails: