Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
hanzhi713 committed Nov 5, 2024
1 parent 14f2b26 commit 098cc7f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions vllm/distributed/device_communicators/custom_all_reduce.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,8 @@ def _get_ipc_tensors(self, inp: torch.Tensor) -> List[torch.Tensor]:
for i, obj in enumerate(all_meta):
func = obj[0][0]
args = list(obj[0][1])
# This might break in the future since what `args` encompasses
# may change.
args[6] = inp.device.index
if i != self.rank:
all_tensors.append(func(*args))
Expand Down

0 comments on commit 098cc7f

Please sign in to comment.