Skip to content

Commit a47adaa

Browse files
authored
Update dispatch_ffn_combine_kernel.hpp
Signed-off-by: LQLlulu <39671654+LQLlulu@users.noreply.github.com>
1 parent 3c1337c commit a47adaa

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

csrc/dispatch_ffn_combine/op_kernel/dispatch_ffn_combine_kernel.hpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -688,9 +688,10 @@ class DispatchFFNCombineKernel {
688688
}
689689
}
690690

691+
691692
AscendC::SyncAll<true>();
692693
AscendC::CrossCoreSetFlag<0x2, PIPE_MTE3>(syncgmm1Idx / CROSS_CORE_FLAG_MAX_SET_COUNT); // V notifies C that the current communication round is complete prevGroupSum1 += currentM;
693-
694+
prevGroupSum1 += currentM;
694695
//第一次swglu的token数以及截断逻辑
695696
if (groupIdx + 1 <= params.epilogueGranularity) {
696697
if (dequantSum1 + currentM <= params.maxOutputSize) {

0 commit comments

Comments
 (0)