[Performance]Qwen3-Omni performance optimization (#1378)

Signed-off-by: amy-why-3459 <wuhaiyan17@huawei.com>
This commit is contained in:
amy-why-3459 authored and GitHub committed 2026-02-26 21:21:36 +08:00
1 parent b44a615625
commit 66c3e04263
9 files changed
+142 -180

No files matched your search

@@ -100,7 +100,7 @@ class GPUGenerationModelRunner(OmniGPUModelRunner):
record_function_or_nullcontext("gpu_model_runner: preprocess"),
self.synchronize_input_prep(),
):
if self.model_config.async_chunk:
if self.model_config.async_chunk and num_scheduled_tokens:
self._update_request_states(scheduler_output)
self._update_states(scheduler_output)
if not scheduler_output.total_num_scheduled_tokens: