Skip to content

Commit

Permalink
[Minor Fix] Fix comments in benchmark_serving (#3252)
Browse files Browse the repository at this point in the history
  • Loading branch information
gty111 committed Mar 8, 2024
1 parent c59e120 commit 1ece1ae
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions benchmarks/benchmark_serving.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
On the client side, run:
python benchmarks/benchmark_serving.py \
--backend <backend> \
--tokenizer <your_model> --dataset <target_dataset> \
--model <your_model> --dataset <target_dataset> \
--request-rate <request_rate>
"""
import argparse
Expand Down Expand Up @@ -171,10 +171,10 @@ async def benchmark(
else:
raise ValueError(f"Unknown backend: {backend}")

pbar = None if disable_tqdm else tqdm(total=len(input_requests))

print(f"Traffic request rate: {request_rate}")

pbar = None if disable_tqdm else tqdm(total=len(input_requests))

benchmark_start_time = time.perf_counter()
tasks = []
async for request in get_request(input_requests, request_rate):
Expand Down

0 comments on commit 1ece1ae

Please sign in to comment.