[Perf][Diffusion] Add LTX2 channels-last VAE path
Signed-off-by: Hongsheng Liu <liuhongsheng4@huawei.com>
(cherry picked from commit dd6f32cb47)
This commit is contained in:
1 parent
fcf1085395
commit
81e5e8e3bb
12 files changed
+250
No files matched your search
@@ -668,6 +668,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(
|
||||
|
||||
Reference in new issue
Block a user