Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
vllm_cscc
Commits
429284dc
"vscode:/vscode.git/clone" did not exist on "05d96d7991cd3540989fa6038c7704bb54e1d310"
Unverified
Commit
429284dc
authored
Mar 14, 2024
by
Junda Chen
Committed by
GitHub
Mar 14, 2024
Browse files
Fix `dist.broadcast` stall without group argument (#3408)
parent
253a9807
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
vllm/model_executor/parallel_utils/communication_op.py
vllm/model_executor/parallel_utils/communication_op.py
+1
-1
No files found.
vllm/model_executor/parallel_utils/communication_op.py
View file @
429284dc
...
...
@@ -177,7 +177,7 @@ def broadcast_tensor_dict(
for
key
,
value
in
metadata_list
:
if
isinstance
(
value
,
TensorMetadata
):
tensor
=
tensor_dict
[
key
]
torch
.
distributed
.
broadcast
(
tensor
,
src
=
src
)
torch
.
distributed
.
broadcast
(
tensor
,
src
=
src
,
group
=
group
)
else
:
recv_metadata_list
=
[
None
]
torch
.
distributed
.
broadcast_object_list
(
recv_metadata_list
,
...
...
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