FlashAttention 动效 07
生成阶段一次只有一个 query,FA 只沿 batch×heads 并行——batch=1 时 GPU 几乎闲着。Flash-Decoding 把长长的 K/V 切成块,让每个块各占一个 SM,最后用 log-sum-exp 归约。