[Refactor][ROCm] Migrate the RDNA3 W4A16 MoE to the oracle/experts pa… (#55522)

Signed-off-by: JartX <sagformas@epdcenter.es>
This commit is contained in:
JartX
2026-09-12 21:20:26 +08:00
committed by GitHub
parent 1b29c508bc
commit 986e2f870a
10 changed files with 453 additions and 377 deletions
+2
View File
@@ -141,6 +141,7 @@ MoEBackend = Literal[
"flydsl",
"hpc",
"emulation",
"rdna3",
]
# Backends that run the mega-MoE model path through the flashinfer moe_ep
@@ -262,6 +263,7 @@ class KernelConfig:
- "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)
- "rdna3": Use the fused RDNA3 W4A16 HIP kernel (ROCm gfx1100 only)
- "hpc": Use HPC kernels (FP8 and Hopper only)
- "emulation": use BF16/FP16 GEMM, dequantizing weights and
running QDQ on activations.