Skip to content

Commit

Permalink
fix all_gather_v bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Chao1Han committed Oct 31, 2024
1 parent 193d946 commit eb447f2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions torch/csrc/distributed/c10d/ProcessGroupXCCL.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1063,6 +1063,7 @@ c10::intrusive_ptr<Work> ProcessGroupXCCL::_broadcast_oop(
auto xcclDataType = getXcclDataType(input.scalar_type());
ccl::broadcast(
input.data_ptr(),
output.data_ptr(),
(size_t)input.numel(),
xcclDataType,
root,
Expand Down

0 comments on commit eb447f2

Please sign in to comment.