Merge origin/main into codex-vae-spatial-decode-auto
Signed-off-by: Hongsheng Liu <liuhongsheng4@huawei.com>
This commit is contained in:
commit
089851e55a
244 files changed
+16669
-2175
No files matched your search
@@ -237,9 +237,8 @@ class OmniServeCommand(CLISubcommand):
|
||||
"VoiceDesign, or Base, while diffusion models may use it to select "
|
||||
"task-specific weights. If omitted, the model default is used.",
|
||||
)
|
||||
# Forced aligner / word timestamps. --forced-aligner is the opt-in
|
||||
# toggle; heavier knobs (gpu_memory_utilization, dtype, max_model_len)
|
||||
# live in the deploy YAML passed via --forced-aligner-config.
|
||||
# Forced aligner / word timestamps. Either flag opts in (--forced-aligner-config
|
||||
# alone works when its YAML sets the model); heavier knobs live in that YAML.
|
||||
omni_config_group.add_argument(
|
||||
"--forced-aligner",
|
||||
type=str,
|
||||
@@ -260,6 +259,13 @@ class OmniServeCommand(CLISubcommand):
|
||||
"flag, when set, overrides the YAML model field."
|
||||
),
|
||||
)
|
||||
omni_config_group.add_argument(
|
||||
"--forced-aligner-device",
|
||||
type=str,
|
||||
default=None,
|
||||
help="Device(s) for the forced-aligner stage (e.g. '2'). Defaults to "
|
||||
"sharing an existing stage's GPU when unset.",
|
||||
)
|
||||
omni_config_group.add_argument(
|
||||
"--deploy-config",
|
||||
type=str,
|
||||
@@ -940,8 +946,6 @@ def run_headless(args: TrackingNamespace) -> None:
|
||||
|
||||
config_path, stage_configs, _ = load_and_resolve_stage_configs(
|
||||
model,
|
||||
# The serve CLI no longer accepts legacy stage_args YAMLs.
|
||||
None,
|
||||
args_dict,
|
||||
# store_true cannot express an explicit False: absent maps to None
|
||||
# ("not specified") so the deploy yaml's per-stage value applies.
|
||||
|
||||
Reference in new issue
Block a user