[Bugfix] Support passing vllm cli args to online serving in vLLM-Omni (#206)
Signed-off-by: Gaohan123 <gaohan19@huawei.com> Signed-off-by: Gaohan123 <hgaoaf@connect.ust.hk>
This commit is contained in:
1 parent
bbb5a72871
commit
45dc189d8d
5 files changed
+131
-36
No files matched your search
@@ -60,6 +60,41 @@ class OmniServeCommand(CLISubcommand):
|
||||
default=None,
|
||||
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",
|
||||
type=int,
|
||||
default=30,
|
||||
help="The number of seconds to sleep before initializing the stages.",
|
||||
)
|
||||
serve_parser.add_argument(
|
||||
"--init-timeout",
|
||||
type=int,
|
||||
default=60000,
|
||||
help="The timeout for initializing the stages.",
|
||||
)
|
||||
serve_parser.add_argument(
|
||||
"--shm-threshold-bytes",
|
||||
type=int,
|
||||
default=65536,
|
||||
help="The threshold for the shared memory size.",
|
||||
)
|
||||
serve_parser.add_argument(
|
||||
"--log-stats",
|
||||
action="store_true",
|
||||
help="Enable logging the stats.",
|
||||
)
|
||||
serve_parser.add_argument(
|
||||
"--log-file",
|
||||
type=str,
|
||||
default=None,
|
||||
help="The path to the log file.",
|
||||
)
|
||||
serve_parser.add_argument(
|
||||
"--batch-timeout",
|
||||
type=int,
|
||||
default=10,
|
||||
help="The timeout for the batch.",
|
||||
)
|
||||
return serve_parser
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user