Skip to content

Commit 378751f

Browse files
fix: add missing stop_over_saturated field to BenchmarkGenerativeTextArgs
The field was referenced in __main__.py but missing from the schema definition, causing ValueError when trying to get default values. Signed-off-by: Alon Kellner <[email protected]>
1 parent 20fd0d1 commit 378751f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/guidellm/benchmark/schemas/generative/entrypoints.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -283,6 +283,10 @@ def get_default(cls: type[BenchmarkGenerativeTextArgs], field: str) -> Any:
283283
max_global_error_rate: float | None = Field(
284284
default=None, description="Maximum global error rate (0-1) before stopping"
285285
)
286+
stop_over_saturated: bool = Field(
287+
default=False,
288+
description="Whether to stop the benchmark if over-saturation is detected",
289+
)
286290

287291
@field_validator("data", "data_args", "rate", mode="wrap")
288292
@classmethod

0 commit comments

Comments
 (0)