ReadingResearchRadarInvestment framework
Sign in / Sign up
← Back to reading
NewsTopic · Meta容错通信库1 min read·2026-10-14

Meta Engineers T. Rice & A. Afzali Detail Fault Tolerance for 100k-GPU Clusters: Open-Source Tools torchcomms and MCCL Keep Training Alive

Meta's infrastructure team shared their practices for fault-tolerant large-scale GPU training on the PyTorch official channel. The talk introduces fault tolerance APIs in the open-source library torchcomms, highlighting MCCL, a collective communication library used in Meta's production environment. It also covers using new NCCL primitives (ncclShrink, ncclGrow) to dynamically adjust communicator membership without deadlocking, and fast recovery mechanisms using torchstore for checkpointing to peer memory or local disk.

ImportanceMaterialEvidenceE2 unreplicatedWrite-upQuick

2026-09-25 04:35 GMT+8

T. Rice and A. Afzali from Meta's infrastructure team published a talk on the PyTorch official channel regarding fault tolerance in large-scale GPU training. This resource addresses the engineering challenge of maintaining training continuity when hardware faults become daily occurrences in clusters spanning tens of thousands of GPUs.

According to the publisher's information, the core of the talk introduces fault tolerance APIs in the open-source project torchcomms, covering NCCL, MCCL, and Gloo backends. MCCL is described as Meta's production fault-tolerance collective communication library. The talk delves into its design and fault tolerance capabilities.

The content also demonstrates how torchcomms uses new NCCL primitives—ncclShrink, ncclGrow, and ncclCommRevoke—to gracefully shrink or grow communicator membership without deadlocking the cluster. Additionally, it covers novel checkpointing approaches, such as using torchstore to save checkpoints to peer memory or local disk, leveraging fast RDMA transfers between GPU peers to replace slow distributed filesystem writes and enable live recovery.

Sources

Sign in / Sign up
ReadingResearchRadarInvestment framework
  • 原始出处youtube.com↗
Topic

Meta容错通信库

Meta基础设施团队通过开源工具 torchcomms 及其生产环境专用后端 MCCL,解决了万卡级GPU集群训练中的容错难题。该方案利用NCCL新原语实现通信组动态调整而不死锁,并配合快速恢复机制保障训练不中断。

5 steps1 piecesUpdated 2026-10-15 09:35

How it got here

  1. 2024-08-30Meta发表关于RoCE网络设计的论文,披露为Llama 3.1定制的分布式训练网络架构,选择RoCEv2作为主要节点间通信机制。
  2. 2025-12-22腾讯云开发者社区深度解析Meta AI网络架构,指出NCCLX如何通过Host-driven和Zero-copy支撑Llama 4十万卡集群,解决30倍跨园区长尾延迟问题。
  3. 2026-05-14Meta工程师Tristan Rice发布博客,介绍为研究人员提供的Python First Comms原型,包括nccl4py和Symmetric Memory + Triton后端,降低C++修改门槛。

What is still unsettled

  • torchcomms的Python原型何时能具备生产级的调试能力和超时看门狗支持?
  • NCCLX的Host-driven模式在CPU调度成为新瓶颈时,如何进一步优化NUMA亲和性?
  • MCCL后端在PyTorch主线中的集成进度及与其他后端的兼容性测试覆盖情况如何?
Read the full topic →
Continue researching →