Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Chao1Han committed Oct 21, 2024
1 parent e36a99c commit 5096354
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion torch/csrc/distributed/c10d/ProcessGroupXCCL.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1060,7 +1060,7 @@ c10::intrusive_ptr<Work> ProcessGroupXCCL::_allgather_base(
TORCH_CHECK_WITH(
TypeError,
input_tensor.dtype() == output_tensor.dtype(),
"input tensor must be the same type as the output tensor.");
"output tensor must have the same type as input tensor");
TORCH_CHECK_WITH(
ValueError,
input_tensor.numel() * size_ == output_tensor.numel(),
Expand Down

0 comments on commit 5096354

Please sign in to comment.