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
zhaoyu6
sglang
Commits
470b4740
"Dockerfile" did not exist on "1cddb60bfae032b319a2ddcdf352c370ccd2aa3a"
Unverified
Commit
470b4740
authored
Mar 16, 2025
by
Xu Song
Committed by
GitHub
Mar 15, 2025
Browse files
Update bench_serving.py (#4454)
parent
26c372c1
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 @
470b4740
...
@@ -128,7 +128,7 @@ async def async_request_trt_llm(
...
@@ -128,7 +128,7 @@ async def async_request_trt_llm(
timestamp
=
time
.
perf_counter
()
timestamp
=
time
.
perf_counter
()
# First token
# First token
if
ttft
==
0.0
:
if
ttft
==
0.0
:
ttft
=
time
.
perf_counter
()
-
st
ttft
=
time
stamp
-
st
output
.
ttft
=
ttft
output
.
ttft
=
ttft
# Decoding phase
# Decoding phase
...
...
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