FlashMLA
github.com · Open source · Active
Optimized attention kernels for inference on NVIDIA GPUs and Huawei Ascend NPUs
- Infra & self-hosting
- Open source
- C++
- Day-7 check
- Day-30 check
- attention kernel
- llm inference
- cuda
- deepseek
- Stars
- 13.3k
- Forks
- 1.3k
- Open issues
- 78
- Last commit
- Found
- 21 months ago
GitHub figures as of . They are context, not a ranking.
FlashMLA is DeepSeek's library of attention kernels for multi-head latent attention, used to power DeepSeek model inference. It contains sparse decoding kernels with an FP8 or FP4 key-value cache, along with dense prefill and backward kernels. It suits engineers building inference systems for large language models on GPUs or NPUs.
Repository description on GitHub: “FlashMLA: Efficient Multi-head Latent Attention Kernels”
What it does
- Token-level sparse attention kernels for prefill and decoding
- FP8 and FP4 key-value cache formats
- Dense attention kernels for prefill and backward
- Fused Q-norm, RoPE and FP8 cast kernel
Good for
- Speed up decoding for long-context inference on NVIDIA GPUs
- Run attention kernels on Huawei Ascend NPUs
Suits: Engineers optimizing LLM inference kernels.
Worth knowing: The 2026.09.30 release dropped Hopper and earlier models and changed the KV cache format, so older versions are needed for them.
What you can try
Clone the GitHub repository and build the kernels for a supported NVIDIA GPU or Ascend NPU, per its README.
Links go to third-party sites KipFound does not control. KipFound has not installed, audited or tested this software.
Found vs. released
Kip first saw FlashMLA on , when deepseek-ai created its repository on GitHub. GitHub listed no published releases for deepseek-ai/FlashMLA when checked , so the project may ship straight from its main branch. The repository was created .
Day-7 and day-30 updates
Day 7 no new release
- No tagged release was published in the first 7 days after it was found (GitHub release dates).
Checked , later than day 7 because tracking began after.
Day 30 no new release
- No tagged release was published in the first 30 days after it was found (GitHub release dates).
Checked , later than day 30 because tracking began after.
Release timeline every entry links to its source
- Repository created on GitHub: deepseek-ai/FlashMLA
- Found: deepseek-ai created its repository on GitHub. GitHub
- Day-7 check recorded by Kip (details)
- Day-30 check recorded by Kip (details)
Quick answers
- When was FlashMLA released?
- No dated release record is available. Kip found it on GitHub on 21 Feb 2025.
- Is FlashMLA open source?
- Its source is public on GitHub at deepseek-ai/FlashMLA under the MIT licence.
- What does FlashMLA run on?
- Library.
- Is FlashMLA free?
- It is open source, so the code is free to read and run; check the licence for terms.
- Is FlashMLA still maintained?
- Yes. It had a commit or release in the last 90 days as of the latest check.
Provenance
| Source | Record | Last checked |
|---|---|---|
| GitHub | listing official API record | |
| GitHub repository | deepseek-ai/FlashMLA REST API record | |
| GitHub Releases | release list REST API record |
Stable ID github-936473202. Summary written by KipFound’s editor.
Share
Similar tools
Made this, or spotted a mistake? Ask for a correction or removal. No account or email address needed.