Lune

NSDI2024Top-tier venue

Resiliency at Scale: Managing Google's TPUv4 Machine Learning Supercomputer

Yazhou Zu, Alireza Ghaffarkhah, Hoang-Vu Dang, Brian Towles, Steven Hand, Safeen Huda, Adekunle Bello, Alexander Kolbasov, Arash Rezaei, Dayou Du, Steve Lacy, Hang Wang

Abstract

TPUv4 (Tensor Processing Unit) is Google's 3rd generation accelerator for machine learning training, deployed as a 4096-node supercomputer with a custom 3D torus interconnect. In this paper, we describe our experience designing and operating the software infrastructure that allows TPUv4 supercomputers to operate at scale, including features for automatic fault resiliency and hardware recovery. We adopt a software-defined networking (SDN) approach to manage TPUv4's high-bandwidth inter-chip interconnect (ICI) fabric, using optical circuit switching to dynamically configure routes to work around machine, chip and link failures. Our infrastructure detects failures and automatically triggers reconfiguration to minimize disruption to running workloads, as well as initiating remediation and repair workflows for the affected components. Similar techniques interface with maintenance and upgrade workflows for both hardware and software. Our dynamic reconfiguration approach allows our TPUv4 supercomputers to achieve 99.98% system availability, gracefully handling hardware outages experienced by 1% of the training jobs.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

14 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Orion: Google's Software-Defined Networking Control Plane cites Experiences with Modeling Network Topologies at Multiple Levels of Abstraction
  • MixNet: A Runtime Reconfigurable Optical-Electrical Fabric for Distributed Mixture-of-Experts Training cites TopoOpt: Co-optimizing Network Topology and Parallelization Strategy for Distributed Training Jobs
  • MixNet: A Runtime Reconfigurable Optical-Electrical Fabric for Distributed Mixture-of-Experts Training cites Jupiter evolving: transforming google's datacenter network via optical circuit switches and software-defined networking
  • TopoOpt: Co-optimizing Network Topology and Parallelization Strategy for Distributed Training Jobs cites Jupiter evolving: transforming google's datacenter network via optical circuit switches and software-defined networking
  • Jupiter evolving: transforming google's datacenter network via optical circuit switches and software-defined networking cites Orion: Google's Software-Defined Networking Control Plane
  • Jupiter evolving: transforming google's datacenter network via optical circuit switches and software-defined networking cites Experiences with Modeling Network Topologies at Multiple Levels of Abstraction
  • ResCCL: Resource-Efficient Scheduling for Collective Communication cites TopoOpt: Co-optimizing Network Topology and Parallelization Strategy for Distributed Training Jobs
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers14

  1. MixNet: A Runtime Reconfigurable Optical-Electrical Fabric for Distributed Mixture-of-Experts TrainingXudong Liao, Yijun Sun, Han Tian, Xinchen Wan et al.SIGCOMM 2025 · 14 citations
  2. ReCycle: Resilient Training of Large DNNs using Pipeline AdaptationSwapnil Gandhi, Mark Zhao, Athinagoras Skiadopoulos, Christos KozyrakisSOSP 2024 · 13 citations
  3. Reducing Energy Bloat in Large Model TrainingJae-Won Chung, Yile Gu, Insu Jang, Luoxi Meng et al.SOSP 2024 · 12 citations
  4. ResCCL: Resource-Efficient Scheduling for Collective CommunicationTongrui Liu, Chenyang Hei, Fuliang Li, Chengxi Gao et al.SIGCOMM 2025 · 11 citations
  5. SkeletonHunter: Diagnosing and Localizing Network Failures in Containerized Large Model TrainingWei Liu, Kun Qian, Zhenhua Li, Tianyin Xu et al.SIGCOMM 2025 · 8 citations

Builds on4

  1. Jupiter evolving: transforming google's datacenter network via optical circuit switches and software-defined networkingLeon Poutievski, Omid Mashayekhi, Joon Ong, Arjun Singh et al.SIGCOMM 2022 · 230 citations
  2. TopoOpt: Co-optimizing Network Topology and Parallelization Strategy for Distributed Training JobsWeiyang Wang, Moein Khazraee, Zhizhen Zhong, Manya Ghobadi et al.NSDI 2023 · 215 citations
  3. Orion: Google's Software-Defined Networking Control PlaneAndrew D. Ferguson, Steve D. Gribble, Chi-Yao Hong, Charles Killian et al.NSDI 2021 · 95 citations
  4. Experiences with Modeling Network Topologies at Multiple Levels of AbstractionJeffrey C. Mogul, Drago Goricanec, Martin Pool, Anees Shaikh et al.NSDI 2020 · 43 citations

Related papers

  1. Lightwave Fabrics: At-Scale Optical Circuit Switching for Datacenter and Machine Learning SystemsHong Liu, Ryohei Urata, Kevin Yasumura, Xiang Zhou et al.SIGCOMM 2023 · 63 citations
  2. A software-defined tensor streaming multiprocessor for large-scale machine learningDennis Abts, Garrin Kimmell, Andrew C. Ling, John Kim et al.ISCA 2022 · 46 citations
  3. Understanding and Mitigating Hardware Failures in Deep Learning Training SystemsYi He, Mike Hutton, Steven Chan, Robert De Gruijl et al.ISCA 2023 · 52 citations
  4. Reconfigurable Torus Fabrics for Multi-tenant MLAbhishek Vijaya Kumar, Eric Ding, Arjun Devraj, Darius Bunandar et al.ASPLOS 2026 · 1 citation
  5. SiP-ML: high-bandwidth optical network interconnects for machine learning trainingMehrdad Khani Shirkoohi, Manya Ghobadi, Mohammad Alizadeh, Ziyi Zhu et al.SIGCOMM 2021 · 94 citations
Dusk over the sea between two cliffs drawn in fine vertical lines