[Feature]: add Ulysses advanced_uaa mode (#1379)
Signed-off-by: dongbo910220 <1275604947@qq.com> Signed-off-by: dongbo910220 <32610838+dongbo910220@users.noreply.github.com> Co-authored-by: Didan Deng <33117903+wtomin@users.noreply.github.com>
This commit is contained in:
1 parent
4cfa9bf843
commit
50bd1961bf
17 files changed
+1064
-13
No files matched your search
@@ -200,6 +200,15 @@ class OmniServeCommand(CLISubcommand):
|
||||
help="Ulysses Sequence Parallelism degree for diffusion models. "
|
||||
"Equivalent to setting DiffusionParallelConfig.ulysses_degree.",
|
||||
)
|
||||
omni_config_group.add_argument(
|
||||
"--ulysses-mode",
|
||||
type=str,
|
||||
default="strict",
|
||||
choices=["strict", "advanced_uaa"],
|
||||
help="Ulysses sequence-parallel mode for diffusion models. "
|
||||
"'strict' keeps the original divisibility requirements; "
|
||||
"'advanced_uaa' enables the experimental UAA path for uneven sequence/head shapes.",
|
||||
)
|
||||
omni_config_group.add_argument(
|
||||
"--ring",
|
||||
"--ring-degree",
|
||||
|
||||
Reference in new issue
Block a user