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 2626from guidellm .benchmark .benchmarker import Benchmarker
2727from guidellm .benchmark .objects import GenerativeBenchmark , GenerativeBenchmarksReport
2828from guidellm .benchmark .output import (
29- GenerativeBenchmarkerConsole ,
3029 GenerativeBenchmarkerOutput ,
3130)
3231from guidellm .benchmark .profile import Profile , ProfileType
5251
5352_CURRENT_WORKING_DIR = Path .cwd ()
5453
54+
55+ # Data types
56+
5557DataType = (
5658 Iterable [str ]
5759 | Iterable [dict [str , Any ]]
7173)
7274
7375
76+ # Helper functions
77+
7478async def initialize_backend (
7579 backend : BackendType | Backend ,
7680 target : str ,
@@ -137,6 +141,8 @@ async def finalize_outputs(
137141 return output_format_results
138142
139143
144+ # Complete entrypoints
145+
140146async def benchmark_with_scenario (scenario : Scenario , ** kwargs ):
141147 """
142148 Run a benchmark using a scenario and specify any extra arguments
You can’t perform that action at this time.
0 commit comments