[Model][Core] Avoid unused CosyVoice3 payloads and redundant AR output work (#8473)
Signed-off-by: Sorbett <sorbet111@163.com>
This commit is contained in:
1 parent
5ca23106fd
commit
1f47fa2f29
9 files changed
+525
-73
No files matched your search
@@ -773,6 +773,10 @@ class CosyVoice3Model(
|
||||
self.model_dir = model_dir
|
||||
self.model = None
|
||||
if self.model_stage == "cosyvoice3_talker":
|
||||
# Code2Wav consumes sampled tokens and prompt conditioning, not
|
||||
# hidden states. The processor opts into token-only chunk updates.
|
||||
if getattr(vllm_config.model_config, "async_chunk", False):
|
||||
self.omni_pooler_payload_include_hidden = False
|
||||
# Initialize talker stage (text to speech tokens)
|
||||
from vllm_omni.model_executor.models.cosyvoice3.cosyvoice3_talker import CosyVoice3LM, VLLMQwen2Encoder
|
||||
|
||||
|
||||
Reference in new issue
Block a user