Update cutlass_moe.py (#8545)
This commit is contained in:
@@ -209,7 +209,7 @@ def cutlass_fused_experts_fp8(
|
|||||||
)
|
)
|
||||||
|
|
||||||
result = torch.empty((m, k), device=device, dtype=out_dtype)
|
result = torch.empty((m, k), device=device, dtype=out_dtype)
|
||||||
apply_shuffle_mul_sum(c2, result, c_map, topk_weights)
|
apply_shuffle_mul_sum(c2, result, c_map, topk_weights.to(out_dtype))
|
||||||
return result
|
return result
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user