[Frontend] OpenAI-compliant fullduplex /v1/realtime with Qwen3-Omni support (#7285)

Signed-off-by: vraiti <vraiti@redhat.com>
This commit is contained in:
vraiti authored and GitHub committed 2026-09-28 20:14:05 +00:00
1 parent 7266fc6138
commit d31dbc5b0a
25 files changed
+2854 -455

No files matched your search

@@ -1025,7 +1025,7 @@ class Qwen3OmniMoeForConditionalGeneration(
target_len = thinker_result_ids.shape[-1]
im_start_indexes = torch.cat(
(
torch.nonzero(input_ids[0] == self.config.im_start_token_id).squeeze(),
torch.nonzero(input_ids[0] == self.config.im_start_token_id).squeeze(-1),
torch.tensor([target_len], device=input_ids.device, dtype=input_ids.dtype),
),
dim=-1,