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
f9e71481
Unverified
Commit
f9e71481
authored
Oct 01, 2025
by
Nathan Scott
Committed by
GitHub
Oct 01, 2025
Browse files
[Benchmark] Finish documented v0.11.0 deprecation of --endpoint-type (#26007)
Signed-off-by:
Nathan Scott
<
nathans@redhat.com
>
parent
2518230d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
24 deletions
+0
-24
vllm/benchmarks/serve.py
vllm/benchmarks/serve.py
+0
-24
No files found.
vllm/benchmarks/serve.py
View file @
f9e71481
...
...
@@ -52,21 +52,6 @@ TERM_PLOTLIB_AVAILABLE = ((importlib.util.find_spec("termplotlib") is not None)
and
(
shutil
.
which
(
"gnuplot"
)
is
not
None
))
# TODO: Remove this in v0.11.0
class
DeprecatedEndpointTypeAction
(
argparse
.
Action
):
"""Argparse action for the deprecated --endpoint-type flag.
"""
def
__call__
(
self
,
_
,
namespace
,
values
,
option_string
=
None
):
warnings
.
warn
(
"'--endpoint-type' is deprecated and will be removed in v0.11.0. "
"Please use '--backend' instead or remove this argument if you "
"have already set it."
,
stacklevel
=
1
,
)
setattr
(
namespace
,
self
.
dest
,
values
)
class
TaskType
(
Enum
):
GENERATION
=
"generation"
EMBEDDING
=
"embedding"
...
...
@@ -883,15 +868,6 @@ def add_cli_args(parser: argparse.ArgumentParser):
choices
=
list
(
ASYNC_REQUEST_FUNCS
.
keys
()),
help
=
"The type of backend or endpoint to use for the benchmark."
)
parser
.
add_argument
(
"--endpoint-type"
,
type
=
str
,
default
=
None
,
choices
=
list
(
ASYNC_REQUEST_FUNCS
.
keys
()),
action
=
DeprecatedEndpointTypeAction
,
help
=
"'--endpoint-type' is deprecated and will be removed in v0.11.0. "
"Please use '--backend' instead."
,
)
parser
.
add_argument
(
"--base-url"
,
type
=
str
,
...
...
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