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
05c50a82
Unverified
Commit
05c50a82
authored
Aug 09, 2024
by
Roger Wang
Committed by
GitHub
Aug 10, 2024
Browse files
Minor bugfix on benchmark serving (#1005)
parent
b568df5d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
python/sglang/bench_serving.py
python/sglang/bench_serving.py
+2
-1
No files found.
python/sglang/bench_serving.py
View file @
05c50a82
...
...
@@ -195,7 +195,8 @@ async def async_request_openai_completions(
output
.
ttft
=
ttft
# Decoding phase
output
.
itl
.
append
(
timestamp
-
most_recent_timestamp
)
else
:
output
.
itl
.
append
(
timestamp
-
most_recent_timestamp
)
most_recent_timestamp
=
timestamp
generated_text
+=
data
[
"choices"
][
0
][
"text"
]
...
...
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