[Feat][Qwen3-Omni] Shared code predictor module for Qwen3-TTS and Qwen3-Omni (#2375)
Signed-off-by: JuanPZuluaga <juanz9312@gmail.com> Co-authored-by: Hongsheng Liu <liuhongsheng4@huawei.com>
This commit is contained in:
1 parent
4bf4c63147
commit
82f8c93343
6 files changed
+778
-1064
No files matched your search
@@ -192,8 +192,9 @@ def extract_stage_metadata(stage_config: Any) -> StageMetadata:
|
||||
default_sampling_params: OmniSamplingParams = SPClass(**default_sp)
|
||||
|
||||
custom_process_input_func: Callable | None = None
|
||||
if hasattr(stage_config, "custom_process_input_func"):
|
||||
mod_path, fn_name = stage_config.custom_process_input_func.rsplit(".", 1)
|
||||
_cpif_path = getattr(stage_config, "custom_process_input_func", None)
|
||||
if _cpif_path:
|
||||
mod_path, fn_name = _cpif_path.rsplit(".", 1)
|
||||
custom_process_input_func = getattr(importlib.import_module(mod_path), fn_name)
|
||||
|
||||
prompt_expand_func: Callable | None = None
|
||||
|
||||
Reference in new issue
Block a user