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
51e98e4f
Unverified
Commit
51e98e4f
authored
May 27, 2025
by
cascade
Committed by
GitHub
May 28, 2025
Browse files
[Bugfix] Disable prefix caching by default for benchmark (#18771)
Signed-off-by:
cascade812
<
cascade812@outlook.com
>
parent
e56f44d9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
vllm/benchmarks/latency.py
vllm/benchmarks/latency.py
+1
-1
No files found.
vllm/benchmarks/latency.py
View file @
51e98e4f
...
@@ -82,7 +82,7 @@ def add_cli_args(parser: argparse.ArgumentParser):
...
@@ -82,7 +82,7 @@ def add_cli_args(parser: argparse.ArgumentParser):
parser
=
EngineArgs
.
add_cli_args
(
parser
)
parser
=
EngineArgs
.
add_cli_args
(
parser
)
# V1 enables prefix caching by default which skews the latency
# V1 enables prefix caching by default which skews the latency
# numbers. We need to disable prefix caching by default.
# numbers. We need to disable prefix caching by default.
parser
.
set_defaults
(
enable_prefix_caching
=
Tru
e
)
parser
.
set_defaults
(
enable_prefix_caching
=
Fals
e
)
def
main
(
args
:
argparse
.
Namespace
):
def
main
(
args
:
argparse
.
Namespace
):
...
...
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