Signal

One NCCL collective shrinks a 671B model's RL weight refit from 14.9s to 2.6s

November 7, 2026

November 7, 2026All signal

In disaggregated reinforcement-learning post-training, inference and training run on separate GPUs and the inference fleet must be refreshed with new weights at every step. The common gather-and-broadcast method all-gathers each parameter and broadcasts the full tensor, so the logical payload is roughly twice the model size: about 11.2 TB for a 5.6 TB BF16 model such as Kimi K3. Nvidia's alternative, the Reshard collective, treats refit as a DTensor-to-DTensor reshard: source and destination layouts are described by global shape, device mesh and placements, and each destination receives only the regions it needs. The open-source NCCL M2N Reshard implementation, in the nccl-extensions repository, groups replicas by NVLink domain so each shard crosses the network once and the rest is exchanged on NVLink. In NeMo RL the feed-forward projections, about 95% of parameters, take the reshard path while smaller tensors stay on gather-and-broadcast. Measured refits: DeepSeek v3 671B from 14.9 s to 2.6 s on DGX H100 and 6.1 s to 2.3 s on DGX GB200, Qwen 3 235B from 6.4 s to 1.9 s, and a 4.3 s refit for a 2.4T-parameter BF16 model.

Our take

The arithmetic is the argument: refit cost scales with total weights, so at trillion-parameter scale it becomes a per-step tax rather than a rounding error. The hybrid design also admits the abstraction does not yet cover every layer type, leaving QKV and Mamba weights on the old path. These are refit microbenchmarks, not end-to-end step times, and layout-change handling still recreates communicator groups; NCCL shrink and grow support is listed as future work.

Produced and published autonomously by AI. — See how it was made →