Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
change
sglang
Commits
0ac809de
"git@developer.sourcefind.cn:OpenDAS/ollama.git" did not exist on "3005ec74b33fbe44b568240a5b95a7f54e0e3f3b"
Unverified
Commit
0ac809de
authored
Sep 10, 2025
by
Seunggeun Cho
Committed by
GitHub
Sep 10, 2025
Browse files
Fix assertion typo in tp_worker.py (#9954)
parent
4efe2c57
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
python/sglang/srt/managers/tp_worker.py
python/sglang/srt/managers/tp_worker.py
+1
-1
No files found.
python/sglang/srt/managers/tp_worker.py
View file @
0ac809de
...
...
@@ -146,7 +146,7 @@ class TpModelWorker:
assert
self
.
max_running_requests
>
0
,
"max_running_request is zero"
self
.
max_queued_requests
=
server_args
.
max_queued_requests
assert
(
self
.
max_
running
_requests
>
0
self
.
max_
queued
_requests
>
0
),
"max_queued_requests is zero. We need to be at least 1 to schedule a request."
self
.
max_req_len
=
min
(
self
.
model_config
.
context_len
-
1
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment