<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Distributed Training on Council of Elrond</title><link>https://songkou.github.io/tags/distributed-training/</link><description>Recent content in Distributed Training on Council of Elrond</description><generator>Hugo</generator><language>en</language><lastBuildDate>Wed, 09 Sep 2026 12:00:00 +0800</lastBuildDate><atom:link href="https://songkou.github.io/tags/distributed-training/index.xml" rel="self" type="application/rss+xml"/><item><title>Who Chooses What? The NCCL Workflow from Parallelism to GPU Communication</title><link>https://songkou.github.io/posts/nccl-workflow/</link><pubDate>Wed, 09 Sep 2026 12:00:00 +0800</pubDate><guid>https://songkou.github.io/posts/nccl-workflow/</guid><description>&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; this post corrects a wrong mental model I had after studying the two companion posts below. Every claim was cross-checked against NVIDIA&amp;rsquo;s NCCL user guide, the NCCL tuning blog, and the Megatron Core documentation — all linked in the references.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;After studying &lt;a href="https://songkou.github.io/posts/tp-pp-dp-llm-parallelism/"&gt;TP, PP, and DP&lt;/a&gt; and &lt;a href="https://songkou.github.io/posts/nvlink-nccl-scaleup-scaleout/"&gt;NCCL and NVLink&lt;/a&gt;, I initially compressed the process into two steps:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Choose TP, PP, or DP based on workload size and concurrent users.&lt;/li&gt;
&lt;li&gt;Detect the network topology and choose something like Reduce or AllReduce to synchronize GPUs.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;That description mixes decisions made at different layers. &lt;strong&gt;The application or framework decides how to partition the work and what communication result it needs. NCCL decides how to carry out the requested communication.&lt;/strong&gt;&lt;/p&gt;</description></item></channel></rss>