[Feature] : Support disaggregated inference pipeline for Qwen3_TTS (#1161)

Signed-off-by: Sy03 <1370724210@qq.com>
Co-authored-by: Hongsheng Liu <liuhongsheng4@huawei.com>
This commit is contained in:
Sy03andHongsheng Liu authored and GitHub committed 2026-02-21 07:36:44 +08:00
1 parent 5295f0f81b
commit efbe4116ff
23 files changed
+2970 -2592

No files matched your search

@@ -179,11 +179,17 @@ class OmniChunkTransferAdapter(OmniTransferAdapterBase):
else:
if payload_data.get("finished"):
self.finished_requests.add(req_id)
req.status = RequestStatus.FINISHED_STOPPED
req.prompt_token_ids = payload_data.get("code_predictor_codes", [])
# req.prompt_token_ids = payload_data.get("code_predictor_codes", [])
# req.num_computed_tokens = 0
new_ids = payload_data.get("code_predictor_codes", [])
req.prompt_token_ids = new_ids
req.num_computed_tokens = 0
# Empty chunk with more data expected: keep polling.
if not new_ids and not payload_data.get("finished"):
return
# Mark as finished for consumption
with self.lock:
self._finished_load_reqs.add(req_id)
@@ -308,7 +314,6 @@ class OmniChunkTransferAdapter(OmniTransferAdapterBase):
# of schedule, but have not scheduled
continue
if request.request_id in self.finished_requests:
request.additional_information = {}
continue
# Requests that waiting for chunk
self.load_async(request)