You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Perf] Tune DeepSeek V4 fused MoE for C32/C64 decode
Enable 16-row FP8-activation/FP4-weight FlyDSL kernels for the gfx950 DeepSeek V4 7168/512/E385/top-k7 sparse-decode shape, selecting them only for the C32 and C64 production rows. Round activation-scale resource bounds to 32 rows so the BM16 path preserves the shuffled scale-buffer allocation.
This standalone patch is based on AITER main 97bde6f. C4, C16, and C128+ rows remain unchanged. The separate XCD remainder fix is intentionally excluded because both selected BM16 kernels use XCD0.
Isolated stage timing improved from 142.2405 to 82.0800 us at C32 (1.73x) and from 249.7220 to 129.3620 us at C64 (1.93x). Repeated outputs were bitwise stable, and GSM8K completed 1,319 samples with 95.375% strict match and 95.299% flexible extraction.
AI assistance was used to implement, test, benchmark, and document this change.
Co-authored-by: OpenAI Codex <codex@openai.com>
Signed-off-by: Fangzhou Ai <fangzhouai@gmail.com>
0 commit comments