[Diffusion] Integrate no-AllGather DLO with Host Weight Runtime (#6486)
Signed-off-by: Hongsheng Liu <liuhongsheng4@huawei.com> Signed-off-by: hsliuustc0106 <hsliuustc0106@users.noreply.github.com> Co-authored-by: hsliuustc0106 <hsliuustc0106@users.noreply.github.com>
This commit is contained in:
1 parent
8fdb719a41
commit
8360346a66
27 files changed
+1640
-51
No files matched your search
@@ -738,6 +738,28 @@ class OmniServeCommand(CLISubcommand):
|
||||
help="Keep this many leading main-DiT blocks resident on the device "
|
||||
"while distributed layerwise offload streams the remaining blocks.",
|
||||
)
|
||||
omni_config_group.add_argument(
|
||||
"--host-weight-runtime-mode",
|
||||
choices=("disabled", "preferred", "required"),
|
||||
default="disabled",
|
||||
help=(
|
||||
"Host Weight Runtime policy for eligible no-AllGather DLO: "
|
||||
"disabled does not consult HWR; preferred restores an exact hit "
|
||||
"or canonically loads and publishes on a miss; required restores "
|
||||
"an exact hit or fails startup. Populate a required store with "
|
||||
"preferred first."
|
||||
),
|
||||
)
|
||||
omni_config_group.add_argument(
|
||||
"--host-weight-runtime-root",
|
||||
type=str,
|
||||
default=None,
|
||||
help=(
|
||||
"Writable node-local Host Weight Runtime store shared by workers "
|
||||
"in one storage domain. Required for preferred and required; use "
|
||||
"the same persistent path for population and serving."
|
||||
),
|
||||
)
|
||||
# Video model parameters (e.g., Wan2.2) - engine-level
|
||||
omni_config_group.add_argument(
|
||||
"--boundary-ratio",
|
||||
|
||||
Reference in new issue
Block a user