"vscode:/vscode.git/clone" did not exist on "0899b7dde6ef371bd0e047c3b2e6630d3c7b41df"
Commit 14c0eab4 authored by Rick Ho's avatar Rick Ho
Browse files

fix another bug to make global moe run

parent 0fea2991
......@@ -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:
......
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