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
61728884
Unverified
Commit
61728884
authored
Aug 09, 2024
by
Mingyi
Committed by
GitHub
Aug 09, 2024
Browse files
Fix benchmark latency (#1007)
parent
9cf0a5ba
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
python/sglang/bench_latency.py
python/sglang/bench_latency.py
+2
-0
No files found.
python/sglang/bench_latency.py
View file @
61728884
...
...
@@ -332,6 +332,7 @@ def latency_test(
)
# Warm up
rank_print
(
"Warmup ..."
)
latency_test_run_once
(
bench_args
.
run_name
,
model_runner
,
...
...
@@ -341,6 +342,7 @@ def latency_test(
bench_args
.
input_len
[
0
],
4
,
# shorter decoding to speed up the warmup
)
rank_print
(
"Benchmark ..."
)
# Run the sweep
result_list
=
[]
...
...
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