Commit 9170835c authored by Rich Ho's avatar Rich Ho
Browse files

acro bug fix

parent 17e2a5c5
...@@ -81,7 +81,7 @@ public: ...@@ -81,7 +81,7 @@ public:
if (rank == 0) { if (rank == 0) {
ncclGetUniqueId(&ncclID); 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)) (TORCH_VERSION_MAJOR == 1 && TORCH_VERSION_MINOR >= 8))
broadcastUniqueNCCLID(&ncclID, broadcastUniqueNCCLID(&ncclID,
c10d::OpType::SEND, c10d::OpType::SEND,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment