Fix run benchmark (#12473)

This commit is contained in:
Ke Bao
2025-11-01 02:39:48 +08:00
committed by GitHub
parent 263eab9f5d
commit f7f9e41b36

View File

@@ -2162,6 +2162,9 @@ def run_benchmark(args_: argparse.Namespace):
if not hasattr(args, "mooncake_num_rounds"):
args.mooncake_num_rounds = 1
if not hasattr(args, "served_model_name"):
args.served_model_name = None
print(f"benchmark_args={args}")
# Set global environments