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
808a7b69
Unverified
Commit
808a7b69
authored
Aug 07, 2025
by
lkchen
Committed by
GitHub
Aug 07, 2025
Browse files
[bench] Fix benchmark/serve.py to ignore unavailable results (#22382)
Signed-off-by:
Linkun
<
github@lkchen.net
>
parent
099c0464
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
vllm/benchmarks/serve.py
vllm/benchmarks/serve.py
+1
-1
No files found.
vllm/benchmarks/serve.py
View file @
808a7b69
...
@@ -665,7 +665,7 @@ def save_to_pytorch_benchmark_format(args: argparse.Namespace,
...
@@ -665,7 +665,7 @@ def save_to_pytorch_benchmark_format(args: argparse.Namespace,
pt_records
=
convert_to_pytorch_benchmark_format
(
pt_records
=
convert_to_pytorch_benchmark_format
(
args
=
args
,
args
=
args
,
metrics
=
{
k
:
[
results
[
k
]]
metrics
=
{
k
:
[
results
[
k
]]
for
k
in
metrics
},
for
k
in
metrics
if
k
in
results
},
extra_info
=
{
extra_info
=
{
k
:
results
[
k
]
k
:
results
[
k
]
for
k
in
results
if
k
not
in
metrics
and
k
not
in
ignored_metrics
for
k
in
results
if
k
not
in
metrics
and
k
not
in
ignored_metrics
...
...
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