Skip to content

Commit c6bdb83

Browse files
committed
Remove bounds check
1 parent 26d59fe commit c6bdb83

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/guidellm/scheduler/worker.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -225,11 +225,6 @@ def process_loop_asynchronous(
225225
):
226226
async def _process_runner():
227227
if max_concurrency is not None:
228-
if max_concurrency < 1:
229-
raise ValueError(
230-
f"max_concurrency must be greater than 0, got {max_concurrency}"
231-
)
232-
233228
pending = asyncio.Semaphore(max_concurrency)
234229
else:
235230
pending = None

0 commit comments

Comments
 (0)