Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
change
sglang
Commits
5fafcac0
Unverified
Commit
5fafcac0
authored
Aug 22, 2024
by
Ying Sheng
Committed by
GitHub
Aug 22, 2024
Browse files
Fix benchmark script (#1185)
parent
364d3d72
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
python/sglang/bench_latency.py
python/sglang/bench_latency.py
+1
-1
No files found.
python/sglang/bench_latency.py
View file @
5fafcac0
...
...
@@ -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
)
req
s
=
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
)
...
...
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