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
OpenDAS
Lmdeploy
Commits
39350031
"server/text_generation_server/models/flash_starcoder2.py" did not exist on "e14ae3b5e9e8948f4113a8260e699fc8d46ededd"
Unverified
Commit
39350031
authored
Jul 19, 2023
by
rollroll90
Committed by
GitHub
Jul 19, 2023
Browse files
Fix concatenate bug in benchmark serving script (#134)
parent
4970d798
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
benchmark/profile_serving.py
benchmark/profile_serving.py
+2
-2
No files found.
benchmark/profile_serving.py
View file @
39350031
...
...
@@ -169,9 +169,9 @@ def main(tritonserver_addr: str,
session_id
,
_stats
=
res_que
.
get
()
print
(
f
'
\n
{
"-"
*
50
}
\n
'
f
'session
{
session_id
}
stats:
\n
{
_stats
}
\n
{
"-"
*
50
}
\n
'
)
stats
.
append
(
_stats
)
stats
.
append
(
np
.
array
(
_stats
)
)
stats
=
np
.
array
(
stats
).
reshape
(
-
1
,
3
)
stats
=
np
.
concatenate
(
stats
).
reshape
(
-
1
,
3
)
first_token_latency_min
=
np
.
min
(
stats
[:,
0
],
axis
=
0
)
first_token_latency_max
=
np
.
max
(
stats
[:,
0
],
axis
=
0
)
...
...
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