[Perf][Diffusion] Add configurable H3 VAE stacked tiling
Signed-off-by: hsliuustc0106 <liuhongsheng4@huawei.com>
This commit is contained in:
1 parent
dff28e6867
commit
b188874539
12 files changed
+210
-5
No files matched your search
@@ -686,6 +686,15 @@ class OmniServeCommand(CLISubcommand):
|
||||
action="store_true",
|
||||
help="Enable VAE tiling for memory optimization (useful for mitigating OOM issues).",
|
||||
)
|
||||
omni_config_group.add_argument(
|
||||
"--vae-stack-tiling",
|
||||
choices=("auto", "true", "false"),
|
||||
default="false",
|
||||
help=(
|
||||
"Batch native VAE tiles into fewer model calls. 'auto' enables it "
|
||||
"when each VAE-parallel rank has multiple tiles (default: false)."
|
||||
),
|
||||
)
|
||||
|
||||
# Parallel weight loading (faster diffusion startup)
|
||||
omni_config_group.add_argument(
|
||||
|
||||
Reference in new issue
Block a user