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
14c0eab4
"vscode:/vscode.git/clone" did not exist on "0899b7dde6ef371bd0e047c3b2e6630d3c7b41df"
Commit
14c0eab4
authored
Jan 29, 2021
by
Rick Ho
Browse files
fix another bug to make global moe run
parent
0fea2991
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
fmoe/fmoe_functions.py
fmoe/fmoe_functions.py
+1
-1
No files found.
fmoe/fmoe_functions.py
View file @
14c0eab4
...
...
@@ -47,7 +47,7 @@ class MOEScatter(Function):
(
fwd_batch_size
,
local_batch_size
,
world_size
)
=
ctx
.
moe_args
if
world_size
>
1
:
local_grad_in
,
=
fmoe_cuda
.
global_gather
(
global_grad_
out
,
local_grad_in
,
=
fmoe_cuda
.
global_gather
(
global_grad_
in
,
local_expert_count
,
global_expert_count
,
local_batch_size
,
world_size
)
else
:
...
...
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