From b70a66d4263d0bf89b5c2ac321ff044a3094bc54 Mon Sep 17 00:00:00 2001 From: Mozhou Date: Thu, 7 Nov 2024 08:11:46 +0000 Subject: [PATCH] Minor Signed-off-by: Mozhou --- benchmarks/benchmark_serving.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/benchmarks/benchmark_serving.py b/benchmarks/benchmark_serving.py index 497232382d35c..bdb8ea8e2a5dc 100644 --- a/benchmarks/benchmark_serving.py +++ b/benchmarks/benchmark_serving.py @@ -320,7 +320,8 @@ async def get_request( input_requests = iter(input_requests) # Calculate scale parameter theta to maintain the desired request_rate. - assert burstiness > 0, f"A positive burstiness factor is expected, but given {burstiness}." + assert burstiness > 0, ( + f"A positive burstiness factor is expected, but given {burstiness}.") theta = 1.0 / (request_rate * burstiness) for request in input_requests: