Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Chao1Han committed Oct 28, 2024
1 parent e808b6c commit 193d946
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 @@ -102,7 +102,7 @@ void check_xpu_single_tensor(

int64_t check_xpu_tensors_same_device(const std::vector<at::Tensor>& tensors) {
TORCH_CHECK_WITH(
ValueError, tensors.size() == 0, "Tensor list must be nonempty");
ValueError, tensors.size() != 0, "Tensor list must be nonempty");

const auto& first = tensors.front();

Expand Down

0 comments on commit 193d946

Please sign in to comment.