22 推理是串行的:Prefill 与 Decode 的两阶段2026-08-23·8973 字·18 分钟LLM LLM 推理 Prefill Decode KV Cache TTFT TPOT Batching
21 多头注意力的现代变体:MHA → MQA/GQA → MLA2026-08-16·12575 字·26 分钟LLM LLM Attention MHA MQA GQA MLA KV Cache 推理优化
20 Attention 在算什么:Q/K/V、Softmax 与 O(N²)2026-08-09·7931 字·16 分钟LLM LLM Attention Q/K/V Softmax 自注意力 KV Cache 复杂度 Transformer