Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
vllm_cscc
Commits
5d930896
Unverified
Commit
5d930896
authored
Dec 24, 2025
by
Ning Xie
Committed by
GitHub
Dec 24, 2025
Browse files
[cli] complete vllm cli help message (#31226)
Signed-off-by:
Andy Xie
<
andy.xning@gmail.com
>
parent
66c98874
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
vllm/entrypoints/cli/benchmark/main.py
vllm/entrypoints/cli/benchmark/main.py
+1
-0
vllm/entrypoints/cli/serve.py
vllm/entrypoints/cli/serve.py
+5
-1
No files found.
vllm/entrypoints/cli/benchmark/main.py
View file @
5d930896
...
@@ -32,6 +32,7 @@ class BenchmarkSubcommand(CLISubcommand):
...
@@ -32,6 +32,7 @@ class BenchmarkSubcommand(CLISubcommand):
)
->
FlexibleArgumentParser
:
)
->
FlexibleArgumentParser
:
bench_parser
=
subparsers
.
add_parser
(
bench_parser
=
subparsers
.
add_parser
(
self
.
name
,
self
.
name
,
help
=
self
.
help
,
description
=
self
.
help
,
description
=
self
.
help
,
usage
=
f
"vllm
{
self
.
name
}
<bench_type> [options]"
,
usage
=
f
"vllm
{
self
.
name
}
<bench_type> [options]"
,
)
)
...
...
vllm/entrypoints/cli/serve.py
View file @
5d930896
...
@@ -66,7 +66,11 @@ class ServeSubcommand(CLISubcommand):
...
@@ -66,7 +66,11 @@ class ServeSubcommand(CLISubcommand):
self
,
subparsers
:
argparse
.
_SubParsersAction
self
,
subparsers
:
argparse
.
_SubParsersAction
)
->
FlexibleArgumentParser
:
)
->
FlexibleArgumentParser
:
serve_parser
=
subparsers
.
add_parser
(
serve_parser
=
subparsers
.
add_parser
(
self
.
name
,
description
=
DESCRIPTION
,
usage
=
"vllm serve [model_tag] [options]"
self
.
name
,
help
=
"Launch a local OpenAI-compatible API server to serve LLM "
"completions via HTTP."
,
description
=
DESCRIPTION
,
usage
=
"vllm serve [model_tag] [options]"
,
)
)
serve_parser
=
make_arg_parser
(
serve_parser
)
serve_parser
=
make_arg_parser
(
serve_parser
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment