Skip to content

Commit f926e5b

Browse files
committed
Add section comments to entrypoints file
Also remove unused import Signed-off-by: Jared O'Connell <joconnel@redhat.com>
1 parent a2100dd commit f926e5b

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/guidellm/benchmark/entrypoints.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
from guidellm.benchmark.benchmarker import Benchmarker
2727
from guidellm.benchmark.objects import GenerativeBenchmark, GenerativeBenchmarksReport
2828
from guidellm.benchmark.output import (
29-
GenerativeBenchmarkerConsole,
3029
GenerativeBenchmarkerOutput,
3130
)
3231
from guidellm.benchmark.profile import Profile, ProfileType
@@ -52,6 +51,9 @@
5251

5352
_CURRENT_WORKING_DIR = Path.cwd()
5453

54+
55+
# Data types
56+
5557
DataType = (
5658
Iterable[str]
5759
| Iterable[dict[str, Any]]
@@ -71,6 +73,8 @@
7173
)
7274

7375

76+
# Helper functions
77+
7478
async 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+
140146
async def benchmark_with_scenario(scenario: Scenario, **kwargs):
141147
"""
142148
Run a benchmark using a scenario and specify any extra arguments

0 commit comments

Comments
 (0)