File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change 26
26
from guidellm .benchmark .benchmarker import Benchmarker
27
27
from guidellm .benchmark .objects import GenerativeBenchmark , GenerativeBenchmarksReport
28
28
from guidellm .benchmark .output import (
29
- GenerativeBenchmarkerConsole ,
30
29
GenerativeBenchmarkerOutput ,
31
30
)
32
31
from guidellm .benchmark .profile import Profile , ProfileType
52
51
53
52
_CURRENT_WORKING_DIR = Path .cwd ()
54
53
54
+
55
+ # Data types
56
+
55
57
DataType = (
56
58
Iterable [str ]
57
59
| Iterable [dict [str , Any ]]
71
73
)
72
74
73
75
76
+ # Helper functions
77
+
74
78
async def initialize_backend (
75
79
backend : BackendType | Backend ,
76
80
target : str ,
@@ -137,6 +141,8 @@ async def finalize_outputs(
137
141
return output_format_results
138
142
139
143
144
+ # Complete entrypoints
145
+
140
146
async def benchmark_with_scenario (scenario : Scenario , ** kwargs ):
141
147
"""
142
148
Run a benchmark using a scenario and specify any extra arguments
You can’t perform that action at this time.
0 commit comments