Skip to content
STIRUP

TECHNOLOGY INTELLIGENCE

Understand what's next.

NVIDIA Attribution: Open-Source Tool for Diagnosing Distributed AI Workload Failures

NVIDIA Attribution is an open-source tool that correlates logs, metrics, and telemetry to diagnose failures in distributed AI workloads, providing structured insights for troubleshooting and optimization.

Share
AI-generated conceptual illustration accompanying: NVIDIA Attribution: Open-Source Tool for Diagnosing Distributed AI Workload Failures
AI-generated editorial illustration of the article topic; not a photograph, product screenshot or measured result.

Overview of NVIDIA Attribution

NVIDIA Attribution is an open-source tool designed to help users diagnose failures in distributed AI workloads. It correlates logs, metrics, telemetry, and scheduler state from workload-scoped data to generate a structured diagnosis. This includes details such as the outcome, root cause, affected nodes, supporting symptoms, and an evidence trail. The tool enables users to reproduce issues on their own cluster, providing valuable insights for troubleshooting and optimization. Developed by NVIDIA, the tool is intended for use in data center and cloud environments. According to the source, NVIDIA Attribution does not claim to be a universal solution but rather a tool that assists in diagnosing specific workload failures based on the data it processes.

Process and Stages of Attribution

The process and stages of NVIDIA Attribution involve four key steps. First, the workload is scoped to define the system and environment under analysis. Next, observations are collected from distributed AI workloads, capturing relevant data points. The third stage involves extracting and correlating events using deterministic rules, which helps identify patterns and relationships between events across nodes. Finally, the tool returns a structured result that includes a terminal state and an attributed domain, such as the XID identified as the root cause. This structured output also retains NCCL failures in the symptom chain and names the responsible node. By following these stages, NVIDIA Attribution enables users to diagnose complex distributed AI workload failures systematically and accurately.

Architecture and Components

NVIDIA Attribution is designed to diagnose failures in distributed AI workloads through a structured architecture. The Attribution Blueprint, a Python reference orchestrator, discovers workloads and resolves the ExecutionContext to gather relevant data. It then runs collectors to obtain evidence from scheduler and telemetry sources, passing this information to the Attribution Service for analysis. The attribution engine, which includes a rules engine and core attribution logic, processes this evidence to generate a structured diagnosis. The results are written to output sinks, including a read-only dashboard for review. This architecture enables users to analyze issues such as NVLink errors in recorded training workloads, providing insights without requiring direct access to the underlying system. The Attribution Service and Blueprint work in tandem to ensure that diagnostic information is both comprehensive and actionable, supporting troubleshooting in complex AI environments.

Implementation and Usage

Implementation and usage of NVIDIA Attribution begins with analyzing one workload attempt at a time, as outlined by the NVIDIA Attribution Service. A worked example demonstrates how to extract evidence from applogs, interpret events, and preserve symptoms that explain a distributed workload failure. The quickstart guide provides a sample workflow that builds the Attribution Service and dashboard in Docker, then uses the Blueprint to process sample workload evidence committed to the repository. This approach enables users to systematically diagnose failures by tracing events through the distributed system. The process emphasizes the importance of preserving symptoms and interpreting events accurately, ensuring that each step of the diagnosis is grounded in the evidence collected. This method supports a structured approach to troubleshooting, helping users identify the root causes of failures in complex AI workloads.

Contributors and Background

Gargi, a key contributor to NVIDIA’s work on diagnosing distributed AI workload failures, brings extensive experience in large-scale distributed systems. Prior to joining NVIDIA, Gargi worked at Meta in the Core Infra team, where they served large-scale distributed systems. Gargi holds a master’s degree in Computer Science from Delft University of Technology, with a specialization in Parallel & Distributed Systems. Before NVIDIA, Gargi also held engineering roles at Meta, Oracle, and eInfochips, focusing on high-performance computing and distributed systems. This background provides Gargi with a strong foundation in the challenges and solutions related to distributed AI workloads, which is critical for the development of tools like NVIDIA Attribution.

Sources and reporting notes

Based on published source material. No independent hands-on testing is claimed.

Read more