Skip to content

Commit

Permalink
Fix benchmark script (#1185)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ying1123 authored Aug 22, 2024
1 parent 364d3d7 commit 5fafcac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/sglang/bench_latency.py
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ def latency_test(
for bs, il, ol in itertools.product(
bench_args.batch_size, bench_args.input_len, bench_args.output_len
):
req = prepare_synthetic_inputs_for_latency_test(bs, il)
reqs = prepare_synthetic_inputs_for_latency_test(bs, il)
ret = latency_test_run_once(
bench_args.run_name, model_runner, rank_print, reqs, bs, il, ol
)
Expand Down

0 comments on commit 5fafcac

Please sign in to comment.