GPU 架构与 FlashAttention:CS336 Lecture 5 笔记2026年6月13日·更新于: 2026年9月1日·4504 字·9 分钟从模型结构转入系统视角:为什么 LLM 必须依赖 GPU、GPU 的执行模型与内存层次、arithmetic intensity 与 roofline model,以及如何用这套性能模型解释 FlashAttention 这类 IO-aware 算法。