Skip to content

Commit 85cb24d

Browse files
invert if
1 parent 5783d62 commit 85cb24d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/guidellm/scheduler/scheduler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ def _is_max_error_reached(self, run_info: SchedulerRunInfo) -> bool:
219219
if max_error is None:
220220
return False
221221

222-
if not max_error < 1:
222+
if max_error >= 1:
223223
# Absolute error count, i.e not a ratio
224224
logger.debug(
225225
f"Current error count "

0 commit comments

Comments
 (0)