Understanding Multi-Head Latent Attention (From DeepSeek)
shreyansh26.github.io
Understanding Multi-Head Latent Attention (From DeepSeek)
1–2 of 2 posts
Re: Understanding Multi-Head Latent Attention (From DeepSeek)
#2A short deep-dive on Multi-Head Latent Attention (MLA) (from DeepSeek): intuition + math, then a walk from MHA → GQA → MQA → MLA, with PyTorch code and the fusion/absorption optimizations for KV-cache efficiency.