Better MoE model inference with warp decode · Cursor
cursor.com · 1,563 words · saved by 7 readers
By flipping the parallelism axis we achieve 1.8x faster and more accurate MoE model inference.
Blog / research Most MoE inference systems organize the token generation path around experts. This mirrors how routing works and has been the standard approach at scale. For small-batch decode on Blackwell GPUs, however, we found that organizing the kernel around outputs rather than experts works better. We call this approach “warp decode.” We arrived at warp decode by thinking about what the maximum achievable memory bandwidth for MoE decode on Blackwell actually is. That led us to flip the parallelism axis entirely. Instead of assigning warps to experts, we assign each warp to a single outpu
saved by
related reading
- We reverse-engineered Flash Attention 4modal.com
- Mixture-of-Kittens: our open-source MoE megakernel for NVL72scursor.com
- 1.5x faster MoE training with custom MXFP8 kernels · Cursorcursor.com
- Transformer Inference Arithmetic | kipply's blogkipp.ly
- Mixture of Experts Quantile Balancing: Validated at 32B-A5B (1e22 FLOPs) Scaleopenathena.ai
- The economics of speculative decoding | Doublewordblog.doubleword.ai
- Speculative Decoding - philkravphilkrav.com
- Fast Inference from Transformers via Speculative Decodingarxiv.org
- LLM Inference Performance Engineering: Best Practices | Databricks Blogdatabricks.com
- Fast Inference from Transformers via Speculative Decodingarxiv.org
- Decoding Speculative Decoding from First Principlesjwlabs.vercel.app
- M*: A Modular, Extensible, Serving System for Multimodal Modelsai.stanford.edu