Repository navigation
[AMD] Enable DeepSeek-V4 FP4 Indexer on ROCm gfx950 - #36581
AMD-yanfeiwang wants to merge 10 commits into
Conversation
8370629 to
c6ea3b5
Compare
0a1df06 to
bf1536b
Compare
128K ROCm fault root cause and fixThe TP8/DP8-attention + EAGLE + radix-on FP4 fault has been independently localized and fixed upstream in ROCm/aiter#5126. Root cause: the AITER paged FP4 prefill compiler specialized on changing page-table width behind a 32-entry LRU. A 128K chunked prefill creates 125 widths. Eviction releases the FlyDSL launcher, whose Production A/B: on the exact PR image and 8x MI355X setup, changing only the prefill compiler cache to Additional validation: the complete AITER paged-prefill/varqlen op test passed (4 prefill + 5 varqlen cases, exact-reference cosine 1.0), along with focused cache-policy, Black 26.3.0, Ruff 0.15.7, This is a #36581 integration-level stability regression because the new path makes the defect reachable, but the underlying bug is the pre-existing AITER/FlyDSL code-object lifetime policy rather than SGLang scheduler or allocator logic. |
Signed-off-by: AMD-yanfeiwang <[email protected]>
Signed-off-by: AMD-yanfeiwang <[email protected]>
Signed-off-by: AMD-yanfeiwang <[email protected]>
Signed-off-by: AMD-yanfeiwang <[email protected]>
a47bc82 to
8f31071
Compare
Signed-off-by: AMD-yanfeiwang <[email protected]>
8f31071 to
f65a531
Compare
|
#37353 merged. |
Motivation
Enable the DeepSeek-V4 FP4 Indexer (
--enable-deepseek-v4-fp4-indexer) on AMD Instinct MI355X (gfx950) through AITER. NVIDIA SM100/SM120 behavior is unchanged.Requires ROCm/aiter#5034 and the FP4 prefill module-lifetime fix ROCm/aiter#5126.
Modifications
gfx950and the required AITER API; reject unsupported HIP HiCache and PD configurations.The initial ROCm scope is single-node.
Accuracy Tests
Validated on 8x AMD Instinct MI355X (
gfx950) with ROCm 7.2.4:Speed Tests and Profiling
Common environment: 8x AMD Instinct MI355X (
gfx950), DeepSeek-V4-Pro, DSV4 attention, FP8 KV cache, and page size 256. Each serving profile below lists its TP/DP, radix-cache, speculative-decoding, and sequence-length settings. Within every paired comparison, the only FP4 functional difference is--enable-deepseek-v4-fp4-indexer.End-to-End Serving
8K/1K Standard Serving
128K/1K DP8 EAGLE/MTP Serving
Capacity
Paged-MQA Logits Kernel
The MI355X rows compare production-layout AITER FlyDSL FP4 against preshuffled Gluon FP8 in the same process; Q/K are prequantized and both paths write FP32 logits. Lower latency is better.
Checklist
Review and Merge Process
/tag-and-rerun-ci,/tag-run-ci-label,/rerun-failed-ciCI States
Latest PR Test (Base): ❌ Run #33465268058
Latest PR Test (Extra): ❌ Run #33465267933
Latest PR Test (AMD ROCm 7.2): ❌ Run #33465268106