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
bdaefbbf
Unverified
Commit
bdaefbbf
authored
May 26, 2025
by
Baizhou Zhang
Committed by
GitHub
May 26, 2025
Browse files
Add environment flag for disabling message queue broadcaster (#6403)
parent
45a31a82
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
python/sglang/srt/distributed/parallel_state.py
python/sglang/srt/distributed/parallel_state.py
+4
-1
No files found.
python/sglang/srt/distributed/parallel_state.py
View file @
bdaefbbf
...
@@ -41,6 +41,7 @@ from torch.distributed import Backend, ProcessGroup
...
@@ -41,6 +41,7 @@ from torch.distributed import Backend, ProcessGroup
from
sglang.srt.utils
import
(
from
sglang.srt.utils
import
(
direct_register_custom_op
,
direct_register_custom_op
,
get_bool_env_var
,
is_cuda_alike
,
is_cuda_alike
,
is_npu
,
is_npu
,
supports_custom_op
,
supports_custom_op
,
...
@@ -1153,7 +1154,9 @@ def initialize_model_parallel(
...
@@ -1153,7 +1154,9 @@ def initialize_model_parallel(
group_ranks
,
group_ranks
,
get_world_group
().
local_rank
,
get_world_group
().
local_rank
,
backend
,
backend
,
use_message_queue_broadcaster
=
True
,
use_message_queue_broadcaster
=
get_bool_env_var
(
"SGLANG_USE_MESSAGE_QUEUE_BROADCASTER"
,
"true"
),
group_name
=
"tp"
,
group_name
=
"tp"
,
)
)
...
...
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