[Diffusion] Make DLO host weight cache opt-in

Signed-off-by: Hongsheng Liu <liuhongsheng4@huawei.com>
This commit is contained in:
Hongsheng Liu committed 2026-08-19 11:23:36 +08:00
1 parent 75af33a76f
commit 16642dc2e8
12 files changed
+85 -20

No files matched your search

+8
View File
@@ -722,6 +722,14 @@ class OmniServeCommand(CLISubcommand):
"independently (including existing TP shards)."
),
)
omni_config_group.add_argument(
"--dlo-use-host-weight-cache",
action="store_true",
help=(
"Use the node-local final-layout host weight cache when direct checkpoint mmap is unavailable. "
"This trades recurrent host staging work for shared host pages unless direct registration succeeds."
),
)
omni_config_group.add_argument(
"--dlo-host-weight-cache-pin-limit-gib",
type=float,