Fix: Correct num_requests in benchmark for Pipeline Parallel Serving (#11462)
This commit is contained in:
		
							parent
							
								
									b7bc1023fb
								
							
						
					
					
						commit
						fd933c92d8
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
					@ -165,6 +165,7 @@ def benchmark(
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            total_time = time.perf_counter() - start_time
 | 
					            total_time = time.perf_counter() - start_time
 | 
				
			||||||
            log_file = f"{max_concurrent_requests}.log"
 | 
					            log_file = f"{max_concurrent_requests}.log"
 | 
				
			||||||
 | 
					            num_requests = num_requests - num_warmup_requests
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            with open(log_file, "w") as file:
 | 
					            with open(log_file, "w") as file:
 | 
				
			||||||
                print(
 | 
					                print(
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue