Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 10 additions & 15 deletions csrc/fused_moe/cutlass_backend/cutlass_fused_moe_instantiation.cu
Original file line number Diff line number Diff line change
Expand Up @@ -44,22 +44,17 @@ template class CutlassMoeFCRunner<__nv_fp8_e4m3, cutlass::uint4b_t, __nv_bfloat1
#endif
#endif
#ifdef ENABLE_FP4
template class CutlassMoeFCRunner<Fp4Type, Fp4Type, half>;
template class CutlassMoeFCRunner<Fp4Type, Fp4Type, half, half>;
template class CutlassMoeFCRunner<__nv_fp8_e4m3, Fp4Type, half>;
template class CutlassMoeFCRunner<__nv_fp8_e4m3, Fp4Type, half, half, half, false,
Sm90Wfp4Afp8ScaleMode::kHummingPreMmaE8M0>;
// PHASE3_POST_MMA_PLACEHOLDER: future post-MMA MXFP4 x FP8/MXFP8 paths should
// use FP16/BF16 external activation input plus online FP8/MXFP8 quantization,
// not the transitional direct-FP8 input runner.
template class CutlassMoeFCRunner<half, Fp4Type>;
template class CutlassMoeFCRunner<__nv_fp4_e2m1, __nv_fp4_e2m1, half>;
template class CutlassMoeFCRunner<__nv_fp4_e2m1, __nv_fp4_e2m1, half, half>;
template class CutlassMoeFCRunner<__nv_fp8_e4m3, __nv_fp4_e2m1, half>;
template class CutlassMoeFCRunner<__nv_fp8_e4m3, __nv_fp4_e2m1, half, half>;
template class CutlassMoeFCRunner<half, __nv_fp4_e2m1>;
#ifdef ENABLE_BF16
template class CutlassMoeFCRunner<Fp4Type, Fp4Type, __nv_bfloat16>;
template class CutlassMoeFCRunner<Fp4Type, Fp4Type, __nv_bfloat16, __nv_bfloat16>;
template class CutlassMoeFCRunner<__nv_fp8_e4m3, Fp4Type, __nv_bfloat16>;
template class CutlassMoeFCRunner<__nv_fp8_e4m3, Fp4Type, __nv_bfloat16, __nv_bfloat16,
__nv_bfloat16, false, Sm90Wfp4Afp8ScaleMode::kHummingPreMmaE8M0>;
template class CutlassMoeFCRunner<__nv_bfloat16, Fp4Type>;
template class CutlassMoeFCRunner<__nv_fp4_e2m1, __nv_fp4_e2m1, __nv_bfloat16>;
template class CutlassMoeFCRunner<__nv_fp4_e2m1, __nv_fp4_e2m1, __nv_bfloat16, __nv_bfloat16>;
template class CutlassMoeFCRunner<__nv_fp8_e4m3, __nv_fp4_e2m1, __nv_bfloat16>;
template class CutlassMoeFCRunner<__nv_fp8_e4m3, __nv_fp4_e2m1, __nv_bfloat16, __nv_bfloat16>;
template class CutlassMoeFCRunner<__nv_bfloat16, __nv_fp4_e2m1>;
#endif
#endif

Expand Down
965 changes: 311 additions & 654 deletions csrc/fused_moe/cutlass_backend/cutlass_fused_moe_kernels.cuh

Large diffs are not rendered by default.

323 changes: 43 additions & 280 deletions csrc/fused_moe/cutlass_backend/flashinfer_cutlass_fused_moe_binding.cu

Large diffs are not rendered by default.

Large diffs are not rendered by default.

This file was deleted.

Loading
Loading