File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,9 @@ class SchedulerResult:
3636 :param current_result: The result of the current request, if any.
3737 :type current_result: Optional[Union[TextGenerationResult, Exception]]
3838 :param batch_results: The result of the current batch of requests, if any
39- :type batch_results: Optional[List[Union[TextGenerationResult, TextGenerationError]]]
39+ :type batch_results: Optional[List[
40+ Union[TextGenerationResult, TextGenerationError]]
41+ ]
4042 """
4143
4244 completed : bool
Original file line number Diff line number Diff line change @@ -252,6 +252,7 @@ def test_generate_benchmark_report_invoke_smoke(
252252 max_requests = 10 ,
253253 output_path = "benchmark_report.json" ,
254254 cont_refresh_table = False ,
255+ batch_size = None ,
255256 )
256257 assert report is not None
257258
@@ -308,6 +309,7 @@ def test_generate_benchmark_report_emulated_with_dataset_requests(
308309 rate = None ,
309310 max_seconds = 10 ,
310311 max_requests = "dataset" ,
312+ batch_size = None ,
311313 output_path = "benchmark_report.json" ,
312314 cont_refresh_table = False ,
313315 )
@@ -397,6 +399,7 @@ def test_generate_benchmark_report_openai_limited_by_file_dataset(
397399 rate = rate ,
398400 max_seconds = None ,
399401 max_requests = "dataset" ,
402+ batch_size = None ,
400403 output_path = "benchmark_report.json" ,
401404 cont_refresh_table = False ,
402405 )
You can’t perform that action at this time.
0 commit comments