Skip to content

Commit

Permalink
acro bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
laekov committed Jun 28, 2021
1 parent 17e2a5c commit 9170835
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cuda/global_exchange.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ class HackNCCLGroup: public c10d::ProcessGroupNCCL {
if (rank == 0) {
ncclGetUniqueId(&ncclID);
}
#if defined(TORCH_VERSION) && (TORCH_VERSION_MAJOR > 1 || \
#if defined(TORCH_VERSION_MAJOR) && (TORCH_VERSION_MAJOR > 1 || \
(TORCH_VERSION_MAJOR == 1 && TORCH_VERSION_MINOR >= 8))
broadcastUniqueNCCLID(&ncclID,
c10d::OpType::SEND,
Expand Down

0 comments on commit 9170835

Please sign in to comment.