• Picks
  • Discover
  • Alternatives
  • About

© 2026 Willet

  • Newsletter
  • About
  • FAQ
  • Terms
  • Privacy & Cookies
Join the Discord (opens in a new tab)
DeepSeek avatar

FlashMLA

Optimized attention kernels for DeepSeek model inference on GPUs and NPUs

  • AI models and runtimes
View on GitHub

What it is

DeepSeek's library of Multi-head Latent Attention kernels, used to serve DeepSeek-V4.1 on NVIDIA Blackwell GPUs and Huawei Ascend 950 NPUs. It offers token-level sparse attention for both the prefill and decode stages, using KV caches stored in FP8 or FP4, along with a fused norm-RoPE-attention-RoPE-cast kernel and dense attention kernels for forward and backward passes. Engineers building inference engines or training stacks call it from PyTorch to speed up attention on supported hardware.

Images

Facts

Stars
13,114 GitHub stars.
13,114

Forks
1,202
Commits
66
Contributors
18
Language
C++
License
MIT
Last commit
Oct 15, 2026
On GitHub since
February 2025
Platforms
Linux, library
Self-hostable
No
Tags
  • machine-learning
  • llm-inference
  • model-optimization
  • gpu-computing

Last synced from GitHub on Oct 20, 2026

The 10 best overlooked open-source projects, every Monday.

Share and more

Comments

No comments yet. Start the conversation.