Skip to content

Commit 997cf78

Browse files
authored
[Misc] Fix typo in GroupCoordinator.recv() (#7167)
Signed-off-by: Rui Qiao <[email protected]>
1 parent 57f560a commit 997cf78

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

vllm/distributed/parallel_state.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -713,8 +713,8 @@ def recv(self,
713713
size: torch.Size,
714714
dtype: torch.dtype,
715715
src: Optional[int] = None) -> torch.Tensor:
716-
"""Receives a tensor from the src rank."""
717-
"""NOTE: `src` is the local rank of the destination rank."""
716+
"""Receives a tensor from the source rank."""
717+
"""NOTE: `src` is the local rank of the source rank."""
718718
if src is None:
719719
src = (self.rank_in_group - 1) % self.world_size
720720

0 commit comments

Comments
 (0)