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
5d952e3f
Commit
5d952e3f
authored
Nov 26, 2025
by
zhaoyu6
Browse files
Fix ZMQ bind error on non-zero rank nodes when using SGLANG_BLOCK_NONZERO_RANK_CHILDREN=0
parent
8d7f3017
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
python/sglang/srt/entrypoints/engine.py
python/sglang/srt/entrypoints/engine.py
+6
-3
No files found.
python/sglang/srt/entrypoints/engine.py
View file @
5d952e3f
...
...
@@ -137,9 +137,12 @@ class Engine(EngineBase):
self
.
scheduler_info
=
scheduler_info
context
=
zmq
.
Context
(
2
)
self
.
send_to_rpc
=
get_zmq_socket
(
context
,
zmq
.
DEALER
,
self
.
port_args
.
rpc_ipc_name
,
True
)
if
self
.
server_args
.
node_rank
==
0
:
self
.
send_to_rpc
=
get_zmq_socket
(
context
,
zmq
.
DEALER
,
self
.
port_args
.
rpc_ipc_name
,
True
)
else
:
self
.
send_to_rpc
=
None
if
server_args
.
enable_trace
:
process_tracing_init
(
server_args
.
oltp_traces_endpoint
,
"sglang"
)
...
...
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