feat: implement sm90 megamoe phase6 combine
This commit is contained in:
@@ -217,6 +217,8 @@ static void fp8_mega_moe(
|
||||
DG_HOST_ASSERT(num_experts_per_rank == num_experts_per_rank_);
|
||||
DG_HOST_ASSERT(hidden == hidden_);
|
||||
DG_HOST_ASSERT(intermediate_hidden_2 == 2 * intermediate_hidden);
|
||||
DG_HOST_ASSERT(y.scalar_type() == torch::kBFloat16);
|
||||
DG_HOST_ASSERT(y.dim() == 2 and y.size(1) == hidden and y.is_contiguous());
|
||||
DG_HOST_ASSERT(l1_weights.is_contiguous() and l2_weights.is_contiguous());
|
||||
|
||||
// Check weight SF layout: float, natural MN-major, per-128-N and per-128-K.
|
||||
|
||||
Reference in New Issue
Block a user