Skip to content
AI Learning Ground Start learning

News ·

Accelerating Reinforcement Learning Weight Refit with the Reshard Collective

NVIDIA introduced the Reshard collective and NCCL M2N Reshard, a new refit method for RL post-training that transfers only the minimum weight data between training and inference GPU layouts, delivering 2.7x to 5.7x speedups in NeMo RL benchmarks.

Accelerating Reinforcement Learning Weight Refit with the Reshard Collective
Image: NVIDIA

During RL post-training, model weights must be periodically transferred from training GPUs to inference GPUs in a disaggregated setup, a process called refit. Existing implementations use a gather-and-broadcast approach, which reconstructs full parameters and broadcasts them, creating redundant communication. For the largest open weight models, the payload reaches around 10 TB per refit, done at every training step.

The new Reshard collective reformulates refit as a DTensor-to-DTensor transfer, moving only the theoretical minimum data between arbitrary source and destination layouts. NCCL M2N Reshard, an open source reference implementation in the NVIDIA/nccl-extensions GitHub repo, derives exact shard intersections and groups NVLink domain replicas to eliminate redundant transfers. In NeMo RL benchmarks on DGX H100 and DGX GB200 systems, it achieved 2.7x to 5.7x speedups over gather-and-broadcast on models including Qwen 3 235B and DeepSeek v3 671B. A hybrid approach in NeMo RL applies Reshard to feed-forward projection weights that dominate the payload while keeping gather-and-broadcast for smaller weights.

For teams running disaggregated RL training, refit communication scales with model size and happens every training step, making it a growing bottleneck. Reshard reduces that overhead substantially, and NVIDIA provides a NeMo RL refit guide for supported backends, layouts, and precision modes plus NCCL Reshard configuration requirements for implementation.

References

  • NVIDIA · developer.nvidia.com

Read the full story at NVIDIA ↗Like, save or discuss on Buzz

#hardware #inference