Skip to content
AI Learning Ground Start learning

News ·

Diagnose Distributed AI Workload Failures with NVIDIA Attribution

NVIDIA open-sourced Attribution, a tool that correlates logs, metrics, telemetry, and scheduler state to diagnose distributed AI workload failures, identifying root causes like GPU XIDs while separating downstream symptoms such as NCCL errors.

Diagnose Distributed AI Workload Failures with NVIDIA Attribution
Image: NVIDIA

NVIDIA released Attribution, an open-source tool that turns scattered failure evidence from distributed AI workloads into a single structured diagnosis. Instead of reporting the exception where a workload stopped, it correlates workload-scoped logs, metrics, telemetry, and scheduler state to return the outcome, root cause, affected nodes, supporting symptoms, and an evidence trail.

The system has two deployable components. The Attribution Service exposes a REST API for the core attribution engine, while the Attribution Blueprint is a Python reference orchestrator that connects schedulers and telemetry sources to the Service. The Blueprint ships with execution-context connectors for Slurm, Kueue, and static inputs, plus log and metric connectors for Loki, local files, Kubernetes pod logs, and PromQL. Attribution works in four stages: scoping the workload, collecting observations, extracting and correlating events with deterministic rules, and returning a structured result including terminal_state and attributed_domain. In one example, an NVLink signal integrity issue surfaced as XID 149 on one node is identified as the root cause, while NCCL errors across other ranks are preserved as supporting symptoms.

The tool has run in production across NVIDIA AI infrastructure for years, analyzing millions of workloads weekly on hundreds of thousands of GPUs, and has identified fabric failure patterns around specific host and switch ports in a large RDMA-backed cluster. For builders, it means debugging a failed multi-rank training job no longer requires manually piecing together error reports across nodes. Deterministic rules make diagnoses reproducible and customizable, and structured output can feed existing health, recovery, and restart systems. The repository includes sample workloads, a quickstart with a local dashboard, and configuration references for connecting your own scheduler and telemetry backends.

References

  • NVIDIA · developer.nvidia.com

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

#hardware #inference