[Perf][Diffusion] Add LTX2 channels-last VAE path

Signed-off-by: Hongsheng Liu <liuhongsheng4@huawei.com>
This commit is contained in:
Hongsheng Liu committed 2026-08-11 07:38:08 +08:00
1 parent c27623c29c
commit dd6f32cb47
12 files changed
+250

No files matched your search

+8
View File
@@ -629,6 +629,14 @@ class OmniServeCommand(CLISubcommand):
action="store_true",
help="Enable VAE tiling for memory optimization (useful for mitigating OOM issues).",
)
omni_config_group.add_argument(
"--vae-use-channels-last-3d",
action="store_true",
help=(
"Use channels_last_3d Conv3d weights for supported VAEs. This is opt-in because performance "
"depends on model shape and GPU architecture."
),
)
# Parallel weight loading (faster diffusion startup)
omni_config_group.add_argument(