[feature]: support Hidream-I1-Full model (#2572)
Signed-off-by: wangmengdi <160612767@qq.com> Co-authored-by: wangmengdi <wangmengdi@cmss.chinamobile.com>
This commit is contained in:
1 parent
f0af3ab200
commit
28467dc19a
15 files changed
+3344
-1
No files matched your search
@@ -650,6 +650,16 @@ class OmniServeCommand(CLISubcommand):
|
||||
action="store_true",
|
||||
help="Enable AR stage profiler to include AR stage timing in stage_durations.",
|
||||
)
|
||||
|
||||
# Supplementary auxiliary text encoder parameters
|
||||
# (e.g., the meta llama/meta llama-3.1-8b-instrument used by hidream)
|
||||
omni_config_group.add_argument(
|
||||
"--auxiliary-text-encoder",
|
||||
type=str,
|
||||
default=None,
|
||||
help="Auxiliary text encoder parameters model name or path (especially for Hidream-l1-full).",
|
||||
)
|
||||
|
||||
# Stash via type(self) so the docs hook (which execs this function in a
|
||||
# sandboxed globals dict via ``DummySelf``) doesn't fail on a NameError.
|
||||
type(self)._parser = serve_parser
|
||||
|
||||
Reference in new issue
Block a user