Improve tensor parallel performance (#625)
Co-authored-by: Mingyi <wisclmy0611@gmail.com>
This commit is contained in:
@@ -312,6 +312,9 @@ def main(args: argparse.Namespace):
|
||||
np.sum([output_len for _, output_len, _ in REQUEST_LATENCY]) / benchmark_time
|
||||
)
|
||||
|
||||
#latencies = [round(latency, 2) for _, _, latency in REQUEST_LATENCY]
|
||||
#print(latencies)
|
||||
|
||||
print(f"Total time: {benchmark_time:.2f} s")
|
||||
print(f"Request throughput: {args.num_prompts / benchmark_time:.2f} requests/s")
|
||||
print(f"Decoding throughput: {decoding_throughput:.2f} token/s")
|
||||
|
||||
Reference in New Issue
Block a user