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
7c0cf3bc
Unverified
Commit
7c0cf3bc
authored
Mar 19, 2026
by
Sage Moore
Committed by
GitHub
Mar 19, 2026
Browse files
Cap the number of API servers to 1 when using Elastic EP. (#37466)
Signed-off-by:
Sage Moore
<
sage@neuralmagic.com
>
parent
572b4329
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
vllm/entrypoints/cli/serve.py
vllm/entrypoints/cli/serve.py
+9
-0
No files found.
vllm/entrypoints/cli/serve.py
View file @
7c0cf3bc
...
@@ -108,6 +108,15 @@ class ServeSubcommand(CLISubcommand):
...
@@ -108,6 +108,15 @@ class ServeSubcommand(CLISubcommand):
args
.
api_server_count
,
args
.
api_server_count
,
)
)
# Elastic EP currently only supports running with at most one API server.
if
getattr
(
args
,
"enable_elastic_ep"
,
False
)
and
args
.
api_server_count
>
1
:
logger
.
warning
(
"Elastic EP only supports running with with at most one API server. "
"Capping api_server_count from %d to 1."
,
args
.
api_server_count
,
)
args
.
api_server_count
=
1
if
args
.
api_server_count
<
1
:
if
args
.
api_server_count
<
1
:
run_headless
(
args
)
run_headless
(
args
)
elif
args
.
api_server_count
>
1
:
elif
args
.
api_server_count
>
1
:
...
...
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