[Bugfix] Fix ITL recording in serving benchmark (#7372)
This commit is contained in:
parent
249b88228d
commit
70d268a399
@ -276,8 +276,9 @@ 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"]
|
||||
|
Loading…
x
Reference in New Issue
Block a user