Skip to content

Commit 800bec6

Browse files
committed
Update over sat test to pass in min seconds
Signed-off-by: Samuel Monson <[email protected]>
1 parent 241aceb commit 800bec6

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

src/guidellm/settings.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -154,10 +154,6 @@ class Settings(BaseSettings):
154154
constraint_error_window_size: float = 30
155155
constraint_error_min_processed: float = 30
156156

157-
# Constraint settings
158-
constraint_over_saturation_min_seconds: float = 30.0
159-
constraint_over_saturation_max_window_seconds: float = 120.0
160-
161157
# Data settings
162158
dataset: DatasetSettings = DatasetSettings()
163159

tests/e2e/test_over_saturated_benchmark.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,9 @@ def test_over_saturated_benchmark(server: VllmSimServer):
4949
client.start_benchmark(
5050
rate=rate,
5151
max_seconds=20,
52-
over_saturation={}, # Empty dict triggers --default-over-saturation flag
52+
over_saturation={"enabled": True, "min_seconds": 0},
5353
extra_env={
5454
"GOMAXPROCS": "1",
55-
# Set min_seconds via env var for faster test
56-
"GUIDELLM__CONSTRAINT_OVER_SATURATION_MIN_SECONDS": "0",
5755
},
5856
)
5957

0 commit comments

Comments
 (0)