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
997cf783
Unverified
Commit
997cf783
authored
Aug 05, 2024
by
Rui Qiao
Committed by
GitHub
Aug 05, 2024
Browse files
[Misc] Fix typo in GroupCoordinator.recv() (#7167)
Signed-off-by:
Rui Qiao
<
ruisearch42@gmail.com
>
parent
57f560aa
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
vllm/distributed/parallel_state.py
vllm/distributed/parallel_state.py
+2
-2
No files found.
vllm/distributed/parallel_state.py
View file @
997cf783
...
...
@@ -713,8 +713,8 @@ class GroupCoordinator:
size
:
torch
.
Size
,
dtype
:
torch
.
dtype
,
src
:
Optional
[
int
]
=
None
)
->
torch
.
Tensor
:
"""Receives a tensor from the src rank."""
"""NOTE: `src` is the local rank of the
destination
rank."""
"""Receives a tensor from the s
ou
rc
e
rank."""
"""NOTE: `src` is the local rank of the
source
rank."""
if
src
is
None
:
src
=
(
self
.
rank_in_group
-
1
)
%
self
.
world_size
...
...
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