-
Notifications
You must be signed in to change notification settings - Fork 200
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix wrong token latency when batch size is greater than 1 (#1244)
Fix the wrong 2nd token latency when batch size is greater than 1. python benchmark.py -m /mnt/llm_irs/models_6c715998_ww45.4_optimum/llama-2-7b-chat/pytorch/dldt/FP16 -n 1 --genai -ic 128 -bs 16 [ INFO ] [Average] P[0] Input token size: 128, 1st token latency: **0.36 ms/16tokens**, **2nd token latency: 1958228200.33 ms/16tokens**, 2nd tokens throughput: **0.00** 16tokenss/s Fix result: [ INFO ] [Average] P[0] Input token size: 128, 1st token latency: 91.54 ms/16tokens, 2nd token latency: 69.81 ms/16tokens, 2nd tokens throughput: 229.18 tokens/s
- Loading branch information
Showing
3 changed files
with
6 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters