fix gate-up when GU_NRepeat > 1

This commit is contained in:
Feng Shijie
2025-08-18 18:43:37 +00:00
parent be55c0f9cb
commit f7f0306eea

View File

@@ -1117,7 +1117,8 @@ struct MoeFlatmmKernel
{
constexpr auto step = SFC::get_forward_step(iAccess);
// row_offset of out windows has been included in scatter offset
move_tile_window(c_block_window, {0, step.at(number<1>{})});
move_tile_window(c_block_window,
{0, step.at(number<1>{}) / number<IsGateUp ? 2 : 1>{}});
}
});
}