[Bugfix] Fix bug of online serving for qwen2.5-omni (#118)

Signed-off-by: Gaohan123 <gaohan19@huawei.com>
This commit is contained in:
Gao Han authored and GitHub committed 2025-11-30 21:30:17 +08:00
1 parent 0d110312df
commit bfd3cad5ee
9 files changed
+50 -62

No files matched your search

+2
View File
@@ -295,6 +295,8 @@ class OmniStage:
raise ValueError("engine_input_source is empty")
source_stage_id = self.engine_input_source[0]
source_outputs = stage_list[source_stage_id].engine_outputs
if not isinstance(prompt, list):
prompt = [prompt]
multi_modal_data = {
source_output.request_id: p.get("multi_modal_data", None)
for source_output, p in zip(source_outputs, prompt)