mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2025-12-19 06:55:01 +08:00
[bench] Fix benchmark/serve.py to ignore unavailable results (#22382)
Signed-off-by: Linkun <github@lkchen.net>
This commit is contained in:
parent
099c046463
commit
808a7b69df
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user