Reproducing results on an H100 SXM5
Thank you for releasing the easy to use artifact. I'm trying to reproduce the results from the paper on an H100 SXM5 machine. The following plot shows the normalized perf for KV_HEADS=Q_HEADS=32 (similar to Figure 10 top plot: https://arxiv.org/pdf/2511.22333). Some interesting observations:
- While PAT is the best performing, the next best is often FlashInfer (which is prefix unaware) and not FastTree (which is prefix aware) in many cases.
- Cascade attention (which is also prefix-aware) performs really bad compared to FlashInfer.
For 1, I wonder if there are any intuitive reasons for it. For 2, was this also visible on the A100 machine (which the paper uses for the experiments)? Any reason why cascade performs so bad?
Your thoughts would be very helpful! Thank you for your time!
Attaching the kernel perf raw numbers as well.
Thank you for releasing the easy to use artifact. I'm trying to reproduce the results from the paper on an H100 SXM5 machine. The following plot shows the normalized perf for KV_HEADS=Q_HEADS=32 (similar to Figure 10 top plot: https://arxiv.org/pdf/2511.22333). Some interesting observations:
- While PAT is the best performing, the next best is often FlashInfer (which is prefix unaware) and not FastTree (which is prefix aware) in many cases.
- Cascade attention (which is also prefix-aware) performs really bad compared to FlashInfer.
For 1, I wonder if there are any intuitive reasons for it. For 2, was this also visible on the A100 machine (which the paper uses for the experiments)? Any reason why cascade performs so bad?
Your thoughts would be very helpful! Thank you for your time!
Attaching the kernel perf raw numbers as well.
Thank you for your interest in our work.
Our tests were based on flashinfer's work in MLSys'25 (https://arxiv.org/abs/2501.01005). I haven't closely tracked FlashInfer's most recent updates, so if you used a newer version, its recent internal optimizations might explain the advantage. However, regarding their MLSys'25 work, under complex prefixes (which generally implies more available decision options), FastTree still outperforms FlashInfer, as your figure also demonstrates. In other cases, we speculate FlashInfer handles workload balance across SMs better (a key highlight of their paper). Since the H100 has more SMs than the A100, this workload balancing advantage becomes more obvious on the H100 compared to FastTree. Additionally, FastTree sometimes executes operators serially, causing extra launch overhead.
Regarding the second point, we have added a comparison with Cascade in our latest paper (already uploaded to arXiv). When workload balance significantly impacts performance, Cascade shares the same issue as FastTree; furthermore, it also fails to select a good decision when prefixes are complex.
Thanks for the insights!
Attaching the kernel perf raw numbers as well.