---
title: "Diagnose Distributed AI Workload Failures with NVIDIA Attribution"
description: "NVIDIA Attribution is an open-source, workload-centric failure-attribution system for distributed AI workloads, where one GPU or fabric event can surface as NCCL errors and scheduler changes. It correlates workload-scoped logs, metrics, telemetry, and scheduler state, returning a structured diagnosis with outcome, root cause, affected nodes, symptoms, and an evidence trail. Two deployable components use a core attribution engine: the Attribution Service exposes it through an HTTP API, while the Python Attribution Blueprint discovers workloads, runs collectors, calls the Service, writes results, and supplies a read-only dashboard. In a worked example, XID 149 produces NCCL errors on other ranks; deterministic rules decode it as an NVLink signal integrity issue, retain the NCCL reports as demoted evidence, and attribute the failure to node-02 as hardware failure. The quickstart runs sample evidence in Docker, and the diagnosis records uncertainty when evidence is incomplete."
---

# Diagnose Distributed AI Workload Failures with NVIDIA Attribution

[NVIDIA](https://yomu.fyi/company/nvidia-developer-blog) · Elizabeth Goodman · Nov 2, 2026

**Type:** Tutorial

## Summary

NVIDIA Attribution is an open-source, workload-centric failure-attribution system for distributed AI workloads, where one GPU or fabric event can surface as NCCL errors and scheduler changes. It correlates workload-scoped logs, metrics, telemetry, and scheduler state, returning a structured diagnosis with outcome, root cause, affected nodes, symptoms, and an evidence trail. Two deployable components use a core attribution engine: the Attribution Service exposes it through an HTTP API, while the Python Attribution Blueprint discovers workloads, runs collectors, calls the Service, writes results, and supplies a read-only dashboard. In a worked example, XID 149 produces NCCL errors on other ranks; deterministic rules decode it as an NVLink signal integrity issue, retain the NCCL reports as demoted evidence, and attribute the failure to node-02 as hardware failure. The quickstart runs sample evidence in Docker, and the diagnosis records uncertainty when evidence is incomplete.

## Context

Distributed AI workloads can turn a single GPU or fabric event into cascading NCCL errors, scheduler state changes, and thousands of downstream messages; the reported exception shows where the workload stopped, not where the failure began. NVIDIA Attribution is described as open source and used in production across NVIDIA AI infrastructure, analyzing millions of workloads each week across hundreds of thousands of GPUs. It complements readiness checks, continuous health monitoring, and systems that repair infrastructure and restart workloads.

## Approach / What changed

The Blueprint scopes one workload attempt from scheduler identifiers or an explicit execution window and node allocation, then collects workload-scoped Observation records from application logs, syslogs, GPU driver and Fabric Manager messages, scheduler history, and node and network metrics. The Service invokes the attribution engine to extract and correlate significant events such as GPU XIDs, NCCL failures, scheduler transitions, and metric conditions. Deterministic rules evaluate timing and interaction, separate downstream symptoms from the causing event, and identify the root cause. The Blueprint combines the verdict with terminal\_state, sub\_domain, symptoms, affected nodes, and collector coverage and errors, then writes the structured result.

## Takeaways

- NVIDIA Attribution returns a structured diagnosis with outcome, root cause, affected nodes, supporting symptoms, and an evidence trail, rather than only the exception location.
- In the worked example, XID 149 is decoded as an NVLink signal integrity issue on node-02; NCCL errors on other ranks are retained as demoted interesting evidence, and the workload is reported as a hardware failure.
- The Service loads a bundled rule catalog at startup and evaluates inline test cases; rule changes are committed and shipped with the Service, not uploaded dynamically through the HTTP API.

## FAQ

### How does NVIDIA Attribution separate a root cause from downstream NCCL symptoms?

It extracts typed events from workload-scoped logs and metrics, then deterministic rules evaluate their timing and interaction. In the example, Xid149AndNvlinkFiltering retains the signal integrity symptom and demotes other node symptoms, while the NCCL reports remain inspectable as interesting evidence.

### What happens when the evidence supports multiple causes?

The diagnosis marks sub\_domain as ambiguous when multiple causes fit the evidence. It records that uncertainty instead of converting incomplete evidence into a definitive diagnosis, and attribution quality depends on telemetry quality and completeness.

### Can rules be added or changed through the HTTP API?

No. The Service loads the bundled rule catalog at startup and evaluates inline cases; a rule change is committed and shipped with the Service, and rules are not uploaded dynamically through the HTTP API.

**Tags:** [Distributed Systems](https://yomu.fyi/topic/distributed-systems), [Failure Attribution](https://yomu.fyi/topic/failure-attribution), [GPU](https://yomu.fyi/topic/gpu), [NVIDIA](https://yomu.fyi/topic/nvidia), [Observability](https://yomu.fyi/topic/observability)

- Source: [NVIDIA](https://developer.nvidia.com/blog/diagnose-distributed-ai-workload-failures-with-nvidia-attribution)
- Source URL: https://developer.nvidia.com/blog/diagnose-distributed-ai-workload-failures-with-nvidia-attribution
- Ingested by Yomu: 2026-11-03T00:00:15.277Z

[Read original post](https://developer.nvidia.com/blog/diagnose-distributed-ai-workload-failures-with-nvidia-attribution)
