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
8369b7c2
Unverified
Commit
8369b7c2
authored
Jul 08, 2025
by
Reid
Committed by
GitHub
Jul 07, 2025
Browse files
[Misc] improve error msg (#20604)
Signed-off-by:
reidliu41
<
reid201711@gmail.com
>
parent
3eb4ad53
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
vllm/entrypoints/cli/serve.py
vllm/entrypoints/cli/serve.py
+6
-3
No files found.
vllm/entrypoints/cli/serve.py
View file @
8369b7c2
...
...
@@ -46,8 +46,10 @@ class ServeSubcommand(CLISubcommand):
run_headless
(
args
)
else
:
if
args
.
data_parallel_start_rank
:
raise
ValueError
(
"data_parallel_start_rank is only "
"applicable in headless mode"
)
raise
ValueError
(
"data_parallel_start_rank is only applicable "
"in headless mode. "
"Add --headless flag to enable headless mode."
)
if
args
.
api_server_count
>
1
:
run_multi_api_server
(
args
)
else
:
...
...
@@ -81,7 +83,8 @@ class ServeSubcommand(CLISubcommand):
'-dpr'
,
type
=
int
,
default
=
0
,
help
=
'Starting data parallel rank for secondary nodes.'
)
help
=
"Starting data parallel rank for secondary nodes. "
"Requires --headless."
)
serve_parser
.
add_argument
(
'--api-server-count'
,
'-asc'
,
type
=
int
,
...
...
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