We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0226850 commit 5711f1dCopy full SHA for 5711f1d
src/guidellm/main.py
@@ -197,7 +197,7 @@ def generate_benchmark_report(
197
max_requests: Union[Literal["dataset"], int, None],
198
output_path: str,
199
cont_refresh_table: bool,
200
- backend_kwargs: Mapping[str, Any] = {},
+ backend_kwargs: Optional[Mapping[str, Any]] = None,
201
) -> GuidanceReport:
202
"""
203
Generate a benchmark report for a specified backend and dataset.
@@ -230,7 +230,7 @@ def generate_benchmark_report(
230
backend_type=backend,
231
target=target,
232
model=model,
233
- **backend_kwargs,
+ **(backend_kwargs or {}),
234
)
235
236
request_generator: RequestGenerator
0 commit comments