[Feature]: Add vae-patch-parallel CLI argument in online serving (#1716)

Signed-off-by: Didan Deng <33117903+wtomin@users.noreply.github.com>
This commit is contained in:
Didan Deng authored and GitHub committed 2026-03-07 01:45:02 +08:00
1 parent b7fcc9d07e
commit 30191ed112
3 files changed
+34

No files matched your search

+9
View File
@@ -219,6 +219,7 @@ class OmniServeCommand(CLISubcommand):
)
omni_config_group.add_argument(
"--ring",
"--ring-degree",
dest="ring_degree",
type=int,
default=None,
@@ -335,6 +336,14 @@ class OmniServeCommand(CLISubcommand):
help="Number of devices for CFG parallel computation for diffusion models. "
"Equivalent to setting DiffusionParallelConfig.cfg_parallel_size.",
)
omni_config_group.add_argument(
"--vae-patch-parallel-size",
type=int,
default=1,
help="VAE Patch Parallelism degree for diffusion models. "
"Distributes VAE decode workload across multiple ranks by splitting the latent spatially. "
"Equivalent to setting DiffusionParallelConfig.vae_patch_parallel_size.",
)
# Default sampling parameters
omni_config_group.add_argument(