[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:
23 files changed
+2362
-145
No files matched your search
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user