From 98ab5ec5caf2f0e45711a8c7fb609062b7c8bf57 Mon Sep 17 00:00:00 2001 From: htpeng Date: Wed, 3 Sep 2025 16:39:04 +0800 Subject: [PATCH] Fix spelling mistakes in benchmark_parallel.py Signed-off-by: htpeng --- tool/benchmark/benchmark_parallel.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tool/benchmark/benchmark_parallel.py b/tool/benchmark/benchmark_parallel.py index 7eea809..3b0f0dd 100644 --- a/tool/benchmark/benchmark_parallel.py +++ b/tool/benchmark/benchmark_parallel.py @@ -321,7 +321,7 @@ def get_dataset_requests(args, tokenizer, prompt_tokens, output_tokens, parallel tokenizer, None if args.use_real_dataset_output_tokens else output_tokens) else: - raise ValueError("Unsupport dataset.") + raise ValueError("Unsupported dataset.") def main(args: argparse.Namespace): @@ -380,7 +380,7 @@ def main(args: argparse.Namespace): if args.dataset_type == "random": all_latency_record.sort() else: - # the mean input tokens and output tokens of real dataset will be a little diffferent in defferent batch_size, + # the mean input tokens and output tokens of real dataset will be a little different in different batch_size, # so just sort by batch_size all_latency_record.sort(key=lambda x: x[2]) -- Gitee