[Feature] Control the stage init timeout threshold by --stage-init-timeout (#393)
Signed-off-by: Taichang Zhou <tzhouam@connect.ust.hk> Signed-off-by: Zhou Taichang <tzhouam@connect.ust.hk> Signed-off-by: tzhouam <tzhouam@connect.ust.hk> Signed-off-by: gcanlin <canlinguosdu@gmail.com> Signed-off-by: yinpeiqi <yinpeiqi809@gmail.com> Signed-off-by: Li Shunyang <gmsv2544@nus.edu.sg> Signed-off-by: Li Shunyang <lishunyang12@163.com> Signed-off-by: Peiqi Yin <60515999+yinpeiqi@users.noreply.github.com> Signed-off-by: dengyunyang <584797741@qq.com> Signed-off-by: Samit <285365963@qq.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Co-authored-by: Canlin Guo <canlinguosdu@gmail.com> Co-authored-by: Peiqi Yin <60515999+yinpeiqi@users.noreply.github.com> Co-authored-by: Hongsheng Liu <liuhongsheng4@huawei.com> Co-authored-by: SYLAR <125541396+lishunyang12@users.noreply.github.com> Co-authored-by: Jiangyun Zhu <riverclouds.zhu@qq.com> Co-authored-by: dengyunyang <584797741@qq.com> Co-authored-by: Samit <285365963@qq.com>
This commit is contained in:
11 files changed
+64
-58
No files matched your search
@@ -82,10 +82,10 @@ class OmniServeCommand(CLISubcommand):
|
||||
help="Path to the stage configs file. If not specified, the stage configs will be loaded from the model.",
|
||||
)
|
||||
serve_parser.add_argument(
|
||||
"--init-sleep-seconds",
|
||||
"--stage-init-timeout",
|
||||
type=int,
|
||||
default=30,
|
||||
help="The number of seconds to sleep before initializing the stages.",
|
||||
default=300,
|
||||
help="The timeout for initializing a single stage in seconds (default: 300)",
|
||||
)
|
||||
serve_parser.add_argument(
|
||||
"--init-timeout",
|
||||
|
||||
Reference in new issue
Block a user