Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
FastMoE
Commits
a0b1e31a
Commit
a0b1e31a
authored
Jul 18, 2022
by
Rick Ho
Browse files
fix nccl uid bcast
parent
dd68fd78
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
cuda/global_exchange.cpp
cuda/global_exchange.cpp
+6
-0
No files found.
cuda/global_exchange.cpp
View file @
a0b1e31a
...
...
@@ -109,6 +109,12 @@ public:
ncclGetUniqueId
(
&
ncclID
);
}
#if defined(TORCH_VERSION_MAJOR) && (TORCH_VERSION_MAJOR > 1 || \
(TORCH_VERSION_MAJOR == 1 && TORCH_VERSION_MINOR >= 12))
broadcastUniqueNCCLID
(
&
ncclID
,
false
,
"fastmoe_nccl_comm"
,
rank
);
#elif defined(TORCH_VERSION_MAJOR) && (TORCH_VERSION_MAJOR > 1 || \
(TORCH_VERSION_MAJOR == 1 && TORCH_VERSION_MINOR >= 8))
broadcastUniqueNCCLID
(
&
ncclID
,
c10d
::
OpType
::
SEND
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment