[Bugfix] Fix active_stream_window silently stalling audio generation (#5349) (#5373)

Signed-off-by: Shenglei Fu <sfu@confluent.io>
Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
Shenglei FuandClaude authored and GitHub committed 2026-07-30 14:56:18 +00:00
1 parent ce3d8e4bac
commit 3b0718f22e
5 files changed
+211 -62

No files matched your search

@@ -917,6 +917,10 @@ class OmniARScheduler(OmniSchedulerMixin, VLLMScheduler):
return kv_xfer_params, None
finally:
self._free_input_coordinator_request(request_id)
# Normal completion runs through here, not finish_requests()
# (the abort path) -- see vllm-project/vllm-omni#5349.
if self.chunk_transfer_adapter is not None:
self.chunk_transfer_adapter.cleanup_receiver(request_id)
def _mark_request_for_kv_transfer(self, req_id: str, seq_len: int) -> None:
"""Mark a request as needing KV cache transfer when it finishes."""