Skip to content

Commit 03f9085

Browse files
committed
Fix bug where empty constraints in sweep caused error
Signed-off-by: Jared O'Connell <[email protected]>
1 parent d9a4df2 commit 03f9085

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/guidellm/benchmark/benchmarker.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ async def run(
124124
backend=backend,
125125
strategy=strategy,
126126
env=environment,
127-
**constraints,
127+
**constraints or {},
128128
):
129129
aggregators_update = AggregatorState()
130130
for key, aggregator in benchmark_aggregators.items():

0 commit comments

Comments
 (0)