[ROCm][DSv4] AITER MegaMoEV2 Integration For DeepSeek V4 (#59685)

Signed-off-by: Micah Williamson <micah.williamson@amd.com>
Co-authored-by: Fangzhou Ai <31551580+Fangzhou-Ai@users.noreply.github.com>
This commit is contained in:
Micah Williamson
2026-10-07 09:35:53 -05:00
committed by GitHub
co-authored by Fangzhou Ai
parent c83935b300
commit f6e3944e31
10 changed files with 454 additions and 6 deletions
+4
View File
@@ -137,6 +137,7 @@ MoEBackend = Literal[
"humming",
"triton_unfused",
"aiter",
"aiter_mega_moe",
"aiter_triton_mxfp4_bf16",
"flydsl",
"hpc",
@@ -317,6 +318,9 @@ class KernelConfig:
- "humming": Use Humming Mixed Precision kernels
- "triton_unfused": Use Triton unfused MoE kernels
- "aiter": Use AMD AITer kernels (ROCm only)
- "aiter_mega_moe": Use the AITER MegaMoE fused dispatch/GEMM/combine
kernel (ROCm gfx950, requires DP+EP with a MoRI all2all backend;
DeepSeek-V4 only)
- "aiter_triton_mxfp4_bf16": Use the AITER Triton MXFP4 W4A16
(moe_gemm_a16w4) MoE kernel (ROCm gfx942/gfx950/gfx1250)
- "flydsl": Use AMD FlyDSL kernels (ROCm only)