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
3a391812
"src/vscode:/vscode.git/clone" did not exist on "d1d0b8afce2fb07134a243aa42136424a3a632a2"
Unverified
Commit
3a391812
authored
Mar 06, 2025
by
Lzhang-hub
Committed by
GitHub
Mar 06, 2025
Browse files
fix bench serving bug (#4135)
parent
800bf018
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
python/sglang/bench_serving.py
python/sglang/bench_serving.py
+1
-1
No files found.
python/sglang/bench_serving.py
View file @
3a391812
...
...
@@ -220,7 +220,7 @@ async def async_request_openai_completions(
most_recent_timestamp
=
timestamp
generated_text
+=
data
[
"choices"
][
0
][
"text"
]
output_len
=
data
.
get
(
"usage"
,
{}).
get
(
output_len
=
(
data
.
get
(
"usage"
)
or
{}).
get
(
"completion_tokens"
,
output_len
)
...
...
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