Open-source projects
NVIDIA Open-Sources Attribution to Trace Distributed AI Workload Failures to Root Cause
NVIDIA open-sourced Attribution, which correlates workload logs, metrics and scheduler state into a reproducible root-cause diagnosis for distributed AI training failures.
NVIDIA's developer blog introduced NVIDIA Attribution, a workload-centric failure-attribution system, and said it is now open source. The tool had already been in production across NVIDIA's AI infrastructure for years, according to the post, analyzing millions of workloads a week across hundreds of thousands of GPUs.
Failures in distributed AI training tend to arrive as cascades. A GPU or fabric event can surface as NCCL errors on other ranks, scheduler state changes and thousands of downstream messages. The reported exception, the post argues, shows where a workload stopped rather than where the failure began. Attribution pulls logs, metrics, telemetry and scheduler state together for a single workload and returns a structured diagnosis: terminal state, root cause, affected nodes, supporting symptoms and an evidence trail.
Two deployable components make up the system. The Attribution Service wraps the core attribution engine behind an HTTP API, accepting normalized observations and returning one verdict per workload. The Attribution Blueprint is a Python reference orchestrator that discovers workloads, resolves the execution context, runs collectors, calls the service, writes the result and provides a read-only dashboard. The blog says the Blueprint ships with execution-context connectors for Slurm, Kueue and static input, plus log and metric connectors for Loki, local files, Kubernetes pod logs and PromQL metrics, with stdout and SQLite outputs.
The pipeline has four stages: scope the workload, collect observations, extract and correlate events, and return a structured result. Rules are deterministic, which makes diagnoses reproducible and customizable. An implication the post draws: attribution quality depends on the quality and completeness of the underlying telemetry, and when several causes fit the evidence the system marks the sub-domain as ambiguous instead of forcing a definitive answer.
A worked synthetic example shows the effect. Three different NCCL errors appear in application logs, while node-02's system logs carry XID 149, which decodes to an NVLink signal integrity issue. An early filtering rule decodes the error words; a final refinement stage keeps the signal integrity symptom and demotes the other node symptoms, but preserves the NCCL reports as "interesting" evidence for later inspection. The outcome is reported as a hardware failure rather than a set of independent communication errors.
One production case cited involved a large RDMA-backed cluster, where the system correlated port errors, connection resets and scheduler events to find patterns around specific host and switch ports, helping teams target fabric repairs and congestion tuning.
For infrastructure teams, open sourcing means a failure pattern can be encoded once as a rule and applied across workloads and clusters. Developers can write connectors for their own schedulers and telemetry backends and route the result records into incident, recovery and fleet-management systems. The post notes that extensions use the same execution-context, observation and result contracts, so new integrations feed the same diagnosis pipeline.
To try it, users build the service and dashboard in Docker and run the Blueprint against sample evidence committed to the repository, inspecting diagnoses locally before connecting a live cluster. Blueprint configuration docs cover scheduler and telemetry connectors, and a rule-authoring guide explains how to add extractor rules. Rules ship with the service at startup and are not uploaded dynamically through the HTTP API.