Advanced LLMs 1: Attentions

从 MHA、MQA/GQA、MLA 到稀疏注意力(LongFormer / StreamingLLM / NSA / DSA / MSA)、线性注意力(Mamba / Gated DeltaNet)与 Flash Attention。

2026-09-22 · 9 min · 1724 words · Xiyuan Yang

Advanced LLMs 3: Decoding

Prefill 与 Decode 两个阶段的 FLOPs 与 Memory-Bound 分析,以及 Speculative Decoding、Multi-Token Prediction。

2026-09-22 · 1 min · 142 words · Xiyuan Yang