File tree 1 file changed +5
-2
lines changed
benchmarks/benchmark/tools/profile-generator/container
1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -518,11 +518,14 @@ def main(args: argparse.Namespace):
518
518
print (f"Total time: { benchmark_time :.2f} s" )
519
519
print (f"Requests/min: { 60 * args .num_prompts / benchmark_time :.2f} " )
520
520
benchmark_result ['benchmark_time' ] = benchmark_time
521
- benchmark_result ['throughput ' ] = (args .num_prompts / benchmark_time )
521
+ benchmark_result ['throughput_rps ' ] = (args .num_prompts / benchmark_time )
522
522
523
523
total_output_tokens = np .sum ([output_len for _ , output_len , _ in
524
524
REQUEST_LATENCY ])
525
- output_tokens_per_min = 60 * total_output_tokens / benchmark_time
525
+ output_tokens_per_second = total_output_tokens / benchmark_time
526
+ benchmark_result ['throughput' ] = output_tokens_per_second
527
+
528
+ output_tokens_per_min = 60 * output_tokens_per_second
526
529
print (f"Output_tokens/min: { output_tokens_per_min :.2f} " )
527
530
benchmark_result ['total_output_token' ] = int (total_output_tokens )
528
531
benchmark_result ['output_tokens_per_min' ] = output_tokens_per_min
You can’t perform that action at this time.
0 commit comments