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
ea6275df
Unverified
Commit
ea6275df
authored
Oct 19, 2025
by
fzyzcjy
Committed by
GitHub
Oct 19, 2025
Browse files
Tiny add hints when users send requests to wrong place (#11808)
parent
eb7318f1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
python/sglang/srt/managers/data_parallel_controller.py
python/sglang/srt/managers/data_parallel_controller.py
+3
-0
No files found.
python/sglang/srt/managers/data_parallel_controller.py
View file @
ea6275df
...
@@ -447,6 +447,9 @@ class DataParallelController:
...
@@ -447,6 +447,9 @@ class DataParallelController:
self
.
workers
self
.
workers
)
)
else
:
else
:
assert
(
req
.
bootstrap_room
is
not
None
),
"req.bootstrap_room should not be None. Do not send requests directly to prefill or decode instances, but send to the router instead."
self
.
workers
[
req
.
bootstrap_room
%
len
(
self
.
workers
)].
send_pyobj
(
req
)
self
.
workers
[
req
.
bootstrap_room
%
len
(
self
.
workers
)].
send_pyobj
(
req
)
def
shortest_queue_scheduler
(
self
,
req
):
def
shortest_queue_scheduler
(
self
,
req
):
...
...
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