<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>性能优化 - 标签 - 集合通信博客</title><link>https://hccl.club/tags/%E6%80%A7%E8%83%BD%E4%BC%98%E5%8C%96/</link><description>性能优化 - 标签 - 集合通信博客</description><generator>Hugo -- gohugo.io</generator><language>zh-CN</language><lastBuildDate>Fri, 06 Nov 2026 10:00:00 +0800</lastBuildDate><atom:link href="https://hccl.club/tags/%E6%80%A7%E8%83%BD%E4%BC%98%E5%8C%96/" rel="self" type="application/rss+xml"/><item><title>计算通信重叠技术</title><link>https://hccl.club/docs/training/compute-communication-overlap/</link><pubDate>Fri, 06 Nov 2026 10:00:00 +0800</pubDate><author><name>Innoecho</name></author><guid>https://hccl.club/docs/training/compute-communication-overlap/</guid><description><![CDATA[<p>并行度越大，通信占训练时间的比重越高：数据并行下每 rank 的梯度 AllReduce 字节量几乎不随卡数下降，而每卡分到的计算量却在变小；张量并行与专家并行更是把通信塞进了每一层的关键路径。若计算与通信串行执行，步时就是两者之和，规模一大通信直接吃掉扩展性。</p>
<p>计算通信重叠 (compute-communication overlap) 是所有训练框架共同的核心工程：让通信 kernel 与计算 kernel 在时间上并发，把串行的和变成 max。本文先给手段总览，再拆开 CUDA stream 与 event 的底层机制、分层 AllReduce 的字节账、1F1B 流水的覆盖逻辑，最后讲度量方法与&quot;重叠过度&quot;的坑。</p>]]></description></item></channel></rss>