Skip to main content
ARCHOS 525 BLUEPRINT · /d/dgm_training-fault-tolerance

Fault-Tolerant Distributed Training (Async Checkpointing & Recovery)

6 COMPONENTS · 6 FLOWS · UPDATED 2026-11-24
GITHUB README / PR PREVIEW CARD
[![Fault-Tolerant Distributed Training (Async Checkpointing & Recovery) — ArchOS Architecture](https://archos.sageideas.dev/d/dgm_training-fault-tolerance/opengraph-image)](https://archos.sageideas.dev/d/dgm_training-fault-tolerance)

*Interactive architecture diagram powered by [ArchOS Studio](https://archos.sageideas.dev/d/dgm_training-fault-tolerance)*
NOTION / DOCS / CONFLUENCE EMBED
<iframe src="https://archos.sageideas.dev/embed/dgm_training-fault-tolerance" width="100%" height="580" style="border:1px solid rgba(240,236,225,0.14);border-radius:6px;" loading="lazy" title="Fault-Tolerant Distributed Training (Async Checkpointing & Recovery) — Interactive in ArchOS"></iframe>
PORTABLE MERMAID SPEC (GITHUB / NOTION / RFC)
flowchart LR
  client_0["Fleet Monitor"]
  n1_1["Health & Watchdog"]
  n2a_2["Elastic Controller"]
  n2b_3[("Async Ckpt Engine")]
  n3_4[("Dataset & Ckpt Store")]
  downstream_5["Downstream & OTel"]
  client_0 -->|"1. Detect · gRPC"| n1_1
  n1_1 -->|"2a. Swap spare · K8s"| n2a_2
  n1_1 -.->|"2b. Snap state · Async"| n2b_3
  n2a_2 -->|"3a. Resume · S3"| n3_4
  n2b_3 -->|"3b. Apply · Async"| n3_4
  n3_4 -.->|"4. Emit / · OTLP/API"| downstream_5

COMPONENT STACK (6)

  • Fleet MonitorSTATELESS
    GPU XID & NCCL watchdog
  • Health & WatchdogSTATELESS
    Detect XID/ECC/NCCL hang
  • Elastic ControllerSTATELESS
    Cordon bad node + swap spare
  • Async Ckpt EngineSTATEFUL
    Pinned RAM -> NVMe -> S3
  • Dataset & Ckpt StoreSTATEFUL
    Deterministic dataloader offset
  • Downstream & OTelSTATELESS
    Consumers, metrics & SLOs

REQUEST & DATA FLOW (6)

  1. Fleet Monitor → Health & Watchdog (Detect)[gRPC]
  2. Health & Watchdog → Elastic Controller (Swap spare)[K8s]
  3. Health & Watchdog → Async Ckpt Engine (Snap state)[Async]
  4. Elastic Controller → Dataset & Ckpt Store (Resume)[S3]
  5. Async Ckpt Engine → Dataset & Ckpt Store (Apply)[Async]
  6. Dataset & Ckpt Store → Downstream & OTel (Emit /)[OTLP/API]
Configure NGINX / Postgres / K8s →60-Sec L4–L7 Diagnostic →