<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>CUDA on Yiwen Cai</title><link>https://yiwencai.com/tags/cuda/</link><description>Recent content in CUDA on Yiwen Cai</description><generator>Hugo -- gohugo.io</generator><language>zh-cn</language><managingEditor>me@yiwencai.com (Yiwen Cai)</managingEditor><webMaster>me@yiwencai.com (Yiwen Cai)</webMaster><copyright>© 2026 Yiwen Cai</copyright><lastBuildDate>Fri, 27 Nov 2026 16:26:08 +0800</lastBuildDate><atom:link href="https://yiwencai.com/tags/cuda/index.xml" rel="self" type="application/rss+xml"/><item><title>三档全 FP8 稀疏注意力：从多分辨率数学直觉到 Hopper SM90 工程落地</title><link>https://yiwencai.com/notes/diffusion/three-tier-fp8-sparse-attention/</link><pubDate>Fri, 27 Nov 2026 00:00:00 +0000</pubDate><author>me@yiwencai.com (Yiwen Cai)</author><guid>https://yiwencai.com/notes/diffusion/three-tier-fp8-sparse-attention/</guid><description>用第一性原理与双账本拆解长视频扩散推理中的 3-Tier（Refine / Skim / Skip）全 FP8 稀疏注意力：讲透 DC+残差量化、虚拟均值与二阶 Jensen 守恒、3D RoPE 正交伴随零重旋、全方差无排序路由，以及每块 18.24 KB 压缩布局与 Hopper QGMMA.E4M3 零转置流水线。</description></item><item><title>FlashAttention：IO 感知的快速精确注意力</title><link>https://yiwencai.com/notes/papers/flashattention/</link><pubDate>Thu, 18 Jun 2026 00:00:00 +0000</pubDate><author>me@yiwencai.com (Yiwen Cai)</author><guid>https://yiwencai.com/notes/papers/flashattention/</guid><description>通过 IO-aware 的 tiling 和重计算，在不改变 attention 数学定义的前提下大幅减少 HBM 读写，实现 2-4× 加速与 5-20× 内存节省——attention 优化的基础构件。</description></item><item><title>Kernels、Triton 与 Profiling：CS336 Lecture 6 笔记</title><link>https://yiwencai.com/notes/triton/cs336-kernels-triton/</link><pubDate>Sun, 14 Jun 2026 00:00:00 +0000</pubDate><author>me@yiwencai.com (Yiwen Cai)</author><guid>https://yiwencai.com/notes/triton/cs336-kernels-triton/</guid><description>从硬件抽象进入 kernel 编程实践：warp/occupancy/bank conflict/coalescing 如何映射到性能，benchmarking 与 profiling 方法论，以及用 Triton 实现 GeLU、softmax、row sum、matmul+ReLU 四个 kernel。</description></item><item><title>GPU 架构与 FlashAttention：CS336 Lecture 5 笔记</title><link>https://yiwencai.com/notes/cuda/cs336-gpu-attention/</link><pubDate>Sat, 13 Jun 2026 00:00:00 +0000</pubDate><author>me@yiwencai.com (Yiwen Cai)</author><guid>https://yiwencai.com/notes/cuda/cs336-gpu-attention/</guid><description>从模型结构转入系统视角：为什么 LLM 必须依赖 GPU、GPU 的执行模型与内存层次、arithmetic intensity 与 roofline model，以及如何用这套性能模型解释 FlashAttention 这类 IO-aware 算法。</description></item></channel></rss>