[Feature] Add precomputed custom voices and Qwen3-TTS ref-context cache (#3492)

Signed-off-by: Sy03 <1370724210@qq.com>
Signed-off-by: Yueqian Lin <linyueqian@outlook.com>
Co-authored-by: Dan250124 <416947747@qq.com>
Co-authored-by: Yueqian Lin <linyueqian@outlook.com>
Co-authored-by: Yueqian Lin <70319226+linyueqian@users.noreply.github.com>
This commit is contained in:
authored and GitHub committed 2026-05-31 17:51:24 +00:00
1 parent 57e5f0fe69
commit d4c139508f
23 files changed
+2362 -145

No files matched your search

+4
View File
@@ -824,6 +824,10 @@ def build_vllm_config(
if upgraded is not vllm_config.quant_config:
vllm_config = replace(vllm_config, quant_config=upgraded)
custom_voice_dir = engine_args_dict.get("custom_voice_dir")
if custom_voice_dir:
setattr(vllm_config.model_config.hf_config, "custom_voice_dir", custom_voice_dir)
return vllm_config, executor_class