diff --git a/include/ck_tile/ops/flatmm/kernel/moe_flatmm_kernel.hpp b/include/ck_tile/ops/flatmm/kernel/moe_flatmm_kernel.hpp index 8ccd2c1bcb..e6f3364bcb 100644 --- a/include/ck_tile/ops/flatmm/kernel/moe_flatmm_kernel.hpp +++ b/include/ck_tile/ops/flatmm/kernel/moe_flatmm_kernel.hpp @@ -639,7 +639,8 @@ struct MoeFlatmmKernel index_t FlatScaleN = kargs.N / N_Pack / BlockGemmShape::WarpTile::at(I1); // using ScaleType = std::conditional_t; - using ScaleType = std::conditional_t; + static constexpr bool IsInt4 = std::is_same_v; + using ScaleType = std::conditional_t, float>; const auto scale_b_flat_view = make_naive_tensor_view( reinterpret_cast(scale_n.ptr) + expert_id * kargs.N * scale_k,