Repository navigation
[Config] Add GLM-5.3-Flash TP2 tuned fused-MoE configs for gfx950 - #6077
Conversation
The GLM-5.3-Flash tables cover TP4 (inter_dim 512) and TP8 (inter_dim 256). Add TP2 / EP1 rows (inter_dim 1024): 288 experts top-8, and 289 experts top-9 with the shared expert fused, tuned on MI355X (256 CUs) with gemm_moe_tune. Only power-of-two token counts are listed, since fused_moe looks configs up at get_padded_M(token) (next power of two below 32k). 289@32, 288@1 and 288@32 are left to the default heuristic, which is faster there on this branch; every remaining row is at least as fast as the default. Production fused_moe on this branch vs no TP2 rows: 1.17x (289 experts) and 1.14x (288) geomean over the power-of-two sizes 1..16384, 1.18-1.66x from 1024 tokens. A fresh gemm_moe_tune run here (TUNE_ONLY= to search all kernel families) finds no better choices. The fused table's rows drop the tuner's nt column (all 0, the same as a missing value). Co-Authored-By: Claude Opus 5.5 <[email protected]>
🏷️ CI GuideRuns automatically on every PR:
Extended tests (opt-in via labels):
One backend per PR: PR title tags & labels: |
Add the torch-free ctypes op, JIT build registration, kernel sources, reference tests and documentation for GLM-5.3-Flash TP2 block-FP8 MoE. The layer includes routing, gate/up projection, clamped SwiGLU with FP8 requantization, down projection and weighted combine. Bump HipKittens to c92c664a for scaled FP8 MFMA and shared-to-register loads on pinned ART tiles. The dependency branch retains this support commit; the MoE implementation lives in AITER. Rebased onto upstream c538533; the TP2 tuned configurations from 0299b77 are already merged as f90ecf9 (ROCm#6077). Signed-off-by: William Hu <[email protected]>
Add the torch-free ctypes op, JIT build registration, kernel sources, reference tests and documentation for GLM-5.3-Flash TP2 block-FP8 MoE. The layer includes routing, gate/up projection, clamped SwiGLU with FP8 requantization, down projection and weighted combine. Bump HipKittens to c92c664a for scaled FP8 MFMA and shared-to-register loads on pinned ART tiles. The dependency branch retains this support commit; the MoE implementation lives in AITER. Rebased onto upstream c538533; the TP2 tuned configurations from 0299b77 are already merged as f90ecf9 (ROCm#6077). Signed-off-by: William Hu <[email protected]>
Add the torch-free ctypes op, JIT build registration, kernel sources, reference tests and documentation for GLM-5.3-Flash TP2 block-FP8 MoE. The layer includes routing, gate/up projection, clamped SwiGLU with FP8 requantization, down projection and weighted combine. Bump HipKittens to 2be16227 for scaled FP8 MFMA and shared-to-register loads on pinned ART tiles. The dependency branch retains this support commit; the MoE implementation lives in AITER. Rebased onto upstream c538533; the TP2 tuned configurations from 0299b77 are already merged as f90ecf9 (ROCm#6077). Signed-off-by: William Hu <[email protected]>
Add the torch-free ctypes op, JIT build registration, kernel sources, reference tests and documentation for GLM-5.3-Flash TP2 block-FP8 MoE. The layer includes routing, gate/up projection, clamped SwiGLU with FP8 requantization, down projection and weighted combine. Bump HipKittens to aba762b4 for scaled FP8 MFMA and shared-to-register loads on pinned ART tiles. The dependency branch retains this support commit; the MoE implementation lives in AITER. Rebased onto upstream c538533; the TP2 tuned configurations from 0299b77 are already merged as f90ecf9 (ROCm#6077). Signed-off-by: William Hu <[email protected]>
Add the torch-free ctypes op, JIT build registration, kernel sources, reference tests and documentation for GLM-5.3-Flash TP2 block-FP8 MoE. The layer includes routing, gate/up projection, clamped SwiGLU with FP8 requantization, down projection and weighted combine. Bump HipKittens to 026a87bb for scaled FP8 MFMA and shared-to-register loads on pinned ART tiles. The dependency branch retains this support commit; the MoE implementation lives in AITER. Rebased onto upstream c538533; the TP2 tuned configurations from 0299b77 are already merged as f90ecf9 (ROCm#6077). Signed-off-by: William Hu <[email protected]>
Add the torch-free ctypes op, JIT build registration, kernel sources, reference tests and documentation for GLM-5.3-Flash TP2 block-FP8 MoE. The layer includes routing, gate/up projection, clamped SwiGLU with FP8 requantization, down projection and weighted combine. Bump HipKittens to 2d67b2ad for scaled FP8 MFMA and shared-to-register loads on pinned ART tiles. The dependency branch retains this support commit; the MoE implementation lives in AITER. Rebased onto upstream c538533; the TP2 tuned configurations from 0299b77 are already merged as f90ecf9 (ROCm#6077). Signed-off-by: William Hu <[email protected]>
Add the torch-free ctypes op, JIT build registration, kernel sources, reference tests and documentation for GLM-5.3-Flash TP2 block-FP8 MoE. The layer includes routing, gate/up projection, clamped SwiGLU with FP8 requantization, down projection and weighted combine. Bump HipKittens to b2a94a01 for scaled FP8 MFMA and shared-to-register loads on pinned ART tiles. The dependency branch retains this support commit; the MoE implementation lives in AITER. Rebased onto upstream c538533; the TP2 tuned configurations from 0299b77 are already merged as f90ecf9 (ROCm#6077). Signed-off-by: William Hu <[email protected]>
Add the torch-free ctypes op, JIT build registration, kernel sources, reference tests and documentation for GLM-5.3-Flash TP2 block-FP8 MoE. The layer includes routing, gate/up projection, clamped SwiGLU with FP8 requantization, down projection and weighted combine. Bump HipKittens to upstream 94f6250c (HazyResearch/HipKittens#94) for MXFP8 ART support, including scaled FP8 MFMA and shared-to-register loads on pinned ART tiles. Rebased onto upstream c538533; the TP2 tuned configurations from 0299b77 are already merged as f90ecf9 (ROCm#6077). Signed-off-by: William Hu <[email protected]>
… MI355X AITER has tuned fused-MoE configs for the GLM-5.3-Flash fused shared-expert shape (289 experts, top-k 9) at the TP2 per-rank intermediate size 1024: block FP8 in ROCm/aiter#6077 and MXFP4 in ROCm/aiter#6435. Add TP2 to the gate's TP set, so VLLM_ROCM_USE_AITER_FUSION_SHARED_EXPERTS applies at TP2 too; TP1 stays refused. Signed-off-by: Sriram Kumar <[email protected]>
The GLM-5.3-Flash tables cover TP4 (inter_dim 512) and TP8 (inter_dim 256). Add TP2 / EP1 rows (inter_dim 1024): 288 experts top-8, and 289 experts top-9 with the shared expert fused, tuned on MI355X (256 CUs) with gemm_moe_tune.