- Rating
- 5
- Clarity
- 3
- Confidence
- 4
- Originality
- 3
- Quality
- 3
- Significance
- 4
Read review
Summary
This paper presents a co-design of MLA kernel and quantization for FP8 KV cache and computation. The authors propose reducing precision on the content of KV cache latent, scale optimization to exploit TensorCore, and an efficient kernel design to exploit the available parallelism on GPU, i.e., compute (TensorCore and CUDA core) and HBM to shared memory traffic. The paper addresses a practically important problem for MLA-based LLM serving, and the proposed hardware-aware co-design is likely to be useful for production inference systems.
Strengths and weaknesses
Strengths
The ROPE vs contents comparison of value distribution looks nice to justify dedicated scaling for each. Moving V scaling to P in PV GEMM looks quite practical in exploiting FP8 TensorCore. Per-token quantization also looks reasonable in decode. Speedup is quite good near 2x.
Implementations are well explained. Especially, overlapping QK GEMM and V transpose&P processing looks practical.
Weaknesses
The followings could be included in the paper.
-
Decomposition of compute and memory traffic in speedup Since the contents is FP8 while ROPE is BF16 and their ratio is 8:1, reduced memory traffics (50% for 8/9 of KV cache) could explain the majority of speedup. However, the final speedup will be determined by the exposed compute that could not be overlapped with HBM traffics. It is true that profiling is hard for such parallel events on GPUs. However, a detailed profiling could help better understand the proposed design. Nevertheless, a roofline-style analysis or a breakdown of the execution time into HBM traffic, Tensor Core computation, CUDA-core computation (e.g., Softmax and scaling), and synchronization overhead would provide much deeper insight into where the 1.9× speedup actually comes from. Such an analysis would also help readers understand whether the proposed design is primarily memory-bandwidth limited or compute limited under different context lengths.
-
Discussion on newer GPUs, Blackwell and Rubin It would be interesting to discuss how performance bottlenecks could shift on newer GPUs, especially the importance of element-wise operations, e.g., softmax, scaling, etc. Since SnapMLA is highly optimized for Hopper-specific features (e.g., TMA, WGMMA, FP8 Tensor Cores, and the current memory hierarchy), it would be valuable to discuss which parts of the design are architecture-independent and which parts would require redesign. For example, Blackwell introduces NVFP4 support and a significantly different low-precision execution model, while Rubin is expected to provide substantially higher HBM bandwidth. These changes could shift the performance bottleneck from KV-cache memory traffic toward element-wise operations such as Softmax, scaling, and layout transformations. A discussion of these architectural trends and their implications for future versions of SnapMLA would increase the long-term impact of the paper.
Questions
How does each of reduced memory traffics and compute contribute to the speedup? How can the proposed solution be modified to support newer GPUs?
Limitations
It would be quite interesting to include discussions on how to apply the proposed ideas to newer GPUs, Blackwell and Rubin.
Paper formatting concerns
N/A
Final justification
The paper presents a practical hardware-software co-design approach for MLA based LLM serving. The comparison of ROPE vs contents value distributions is a nice observation and proves effective. In the rebuttal, the authors also well separated GPU dependency issue, also mentioned in another reviewer's comments from model-specific one, e.g., RoPE precision heterogeneity or per-token -scale semantics. I think the paper is acceptable enough.
We sincerely thank the reviewer for recognizing the practical importance of SnapMLA and for the insightful suggestions regarding performance attribution and its applicability to newer GPU architectures.
1. Attribution of the Performance Gains
Following the reviewer's suggestion, we performed an additional roofline analysis on our 8×H20-3e system using real LongCat-Flash inference dumps (
q_normand KV-cache tensors from 56 layers). We evaluate a fixed batch size of b=128 for LongCat-Flash (h=128) across context lengths from 16K to 128K.The arithmetic intensities are approximately 240 FLOP/byte for BF16 and 430 FLOP/byte for FP8, both well above their respective ridge points of 30.8 and 58.2 FLOP/byte. The workload is therefore compute-bound throughout the evaluated 16K–128K range.
Although FP8 reduces KV-cache traffic by approximately 44%, both kernels use only around 11–12% of the available HBM bandwidth. The performance gain is thus primarily compute-driven rather than memory-driven. BF16 FlashMLA reaches 94–96% of its 148-TFLOPS peak, whereas SnapMLA reaches 83–85% of its 279.6-TFLOPS effective FP8 peak. The measured 1.65–1.67× kernel speedup is consistent with the ratio of their achieved compute throughput.
For clarity, the 1.65–1.67× results above are fixed-shape, single-kernel measurements without batch-size search. The up to 1.91× result reported in the paper is an end-to-end decoding-throughput measurement with per-rank batch-size search. The two results therefore characterize different but complementary evaluation regimes—fixed-shape kernel efficiency and end-to-end serving throughput—and are not contradictory.
2. Implications for Newer GPU Architectures
SnapMLA combines architecture-independent algorithmic insights with a Hopper-specific kernel implementation. The RoPE-aware mixed-precision design and the fusion of the reduction-axis, per-token V scale into online-softmax accumulation address numerical and scale-semantics properties inherent to MLA. These insights remain relevant across low-precision execution substrates.
In contrast, the current TMA/WGMMA schedule, V-tile transposition, P-accumulator permutation, and synchronization strategy are tailored to Hopper. Native block-scaled GEMM on newer GPUs may simplify some of this scale and layout handling, while the kernel schedule and data layout would still require adaptation to the target architecture.
Because SnapMLA is already compute-bound on Hopper, higher HBM bandwidth may further shift the relative bottleneck toward element-wise operations such as softmax, scaling, and layout transformations. These architectural changes may alter the optimal implementation, but they do not remove MLA's underlying RoPE precision heterogeneity or per-token V-scale semantics.
We thank the reviewer again for these constructive suggestions. We will incorporate the roofline analysis and clarify the distinction between architecture-independent contributions and architecture-specific implementation choices in the revised manuscript.