Repository navigation
Conversation
62d74a9 to
5819c9d
Compare
|
@kpham-sgl Since #42689 (merged 10-21) stopped clamping BF16 NaNs in per-token FP8 quantization, the missing slot-0 skip in set_mla_kv_buffer_kernel_norope that this PR fixes now breaks GLM-5.3-Flash on main without DCP. Padding rows write NaN K into slot 0, the FP8 TileLang sparse decode maps unused top-k entries to row 0, and the model outputs gibberish after the first token. Would you be open to landing the non-DCP part of your mla_buffer.py change on its own, so main is fixed before the DCP stack is ready? I have it ready as a small PR (the reserved_skip_index skip in the zero-RoPE kernel, the same skip in the torch-native fallback, and rope_dim=0 cases in test_set_mla_kv_buffer.py), and #40433 would rebase on it by adding only the DCP arguments. Happy to file it crediting this PR, or to leave it to you if you prefer to split it yourself. This is complementary to #45988, which hardens the reader side of the same kernel. |
Split from #39117, which remains open for reference. This is the base of the two-PR stack; speculative decoding is added by stacked PR #40434.
Restore GLM-5.3-Flash DCP prefill/decode and fix global KV locations addressing rank-local buffers (#36886).
Indexer PD descriptors retain their base-page wire layout; heterogeneous-DCP target KV transfer remains unresolved.
Validation on this split: 55 existing pool/DCP CPU tests passed; 110 argument-guard checks and 126 target pool/restore/boundary checks passed, with CPU substitutes for GPU/transport operations. Pre-commit passed. GPU/e2e and accuracy reruns remain pending; evaluation is paused.
CI States
Latest PR Test (Base): ❌ Run #36212967694
Latest PR Test (Extra): ❌ Run #36212967637
Latest PR Test (AMD ROCm 10): ❌ Run #36212967701