Commit 0abea7b2 authored by Jiezhong Qiu's avatar Jiezhong Qiu
Browse files

remove non_moe_inp

parent 1c555604
...@@ -173,7 +173,7 @@ class FMoE(nn.Module): ...@@ -173,7 +173,7 @@ class FMoE(nn.Module):
mark_module_parallel_comm(self.experts, comm) mark_module_parallel_comm(self.experts, comm)
mark_module_parallel_comm(self.gate, "gate") mark_module_parallel_comm(self.gate, "gate")
def forward(self, moe_inp, non_moe_inp=None): def forward(self, moe_inp):
r""" r"""
The FMoE module first computes gate output, and then conduct MoE forward The FMoE module first computes gate output, and then conduct MoE forward
according to the gate. The score of the selected gate given by the according to the gate. The score of the selected gate given by the
......
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