Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
vllm_cscc
Commits
7cd0bd72
Unverified
Commit
7cd0bd72
authored
Apr 11, 2025
by
look
Committed by
GitHub
Apr 10, 2025
Browse files
[Bugfix] Fix output token length check logic (#16419)
Signed-off-by:
look
<
eeslook@163.com
>
parent
56d4aefa
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
benchmarks/benchmark_serving.py
benchmarks/benchmark_serving.py
+1
-1
No files found.
benchmarks/benchmark_serving.py
View file @
7cd0bd72
...
...
@@ -156,7 +156,7 @@ def calculate_metrics(
if
outputs
[
i
].
success
:
output_len
=
outputs
[
i
].
output_tokens
if
output_len
is
None
:
if
not
output_len
:
# We use the tokenizer to count the number of output tokens
# for some serving backends instead of looking at
# len(outputs[i].itl) since multiple output tokens may be
...
...
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