[Bugfix] Fix Qwen3-TTS word timestamps with async chunking (#7544)
Signed-off-by: bezdarnost <amanurumbekov@gmail.com>
This commit is contained in:
18 files changed
+459
-13
No files matched your search
@@ -1,5 +1,5 @@
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
# SPDX-FileCopyrightText: Copyright contributors to the vLLM project
|
||||
# SPDX-FileCopyrightText: Copyright contributors to the vLLM-Omni project
|
||||
|
||||
from dataclasses import dataclass, field
|
||||
from typing import Any
|
||||
@@ -33,7 +33,7 @@ def get_stage_connector_role(model_config: Any) -> str | None:
|
||||
|
||||
def stage_receives_chunks(model_config: Any) -> bool:
|
||||
"""Whether connector chunks, rather than the orchestrator, feed a stage."""
|
||||
return get_stage_connector_role(model_config) != "sender"
|
||||
return bool(getattr(model_config, "async_chunk", True)) and get_stage_connector_role(model_config) != "sender"
|
||||
|
||||
|
||||
def stage_sends_async_output(model_config: Any) -> bool:
|
||||
|
||||
Reference in new issue
Block a user