MLCommons Chakra: Advancing Performance Benchmarking and Co-design using Standardized Execution Traces

Srinivas Sridharan, Theodor-Adrian Badea, Andy Balogh, Bradford M. Beckmann, Brian Coutinho, Louis Feng, Sheng Fu, Sanshan Gao, Mehryar Garakani, Taekyung Heo, David Kanter, Josh Ladd, Ziwei Li, Winston Liu, Changhai Man, Dan Mihailescu, Spandan More, Joongun Park, Ashwin Ramachandran, Vinay Ramakrishnaiah, Saeed Rashidi, Vijay Janapa Reddi, Puneet Sharma, Phio Tian, William Won, Hanjiang Wu, Huan Xu, Jinsun Yoo, Tushar KrishnaarXiv 2026

TL;DR

The paper introduces Chakra, an open, standardized ecosystem for benchmarking and co-designing distributed AI hardware and software using graph-based execution traces. By capturing compute, memory, and communication dependencies without exposing proprietary model weights or datasets, Chakra enables safe, high-fidelity workload sharing and performance projection across diverse simulators, emulators, and replay tools.

What Problem Does This Paper Address?

As large language models (LLMs) and Mixture-of-Experts (MoE) architectures scale up, optimizing AI data centers requires tight hardware-software (HW-SW) co-design. However, this iterative cycle faces a massive roadblock: ecosystem fragmentation.

Observe in Production ➔ Reproduce via Benchmarks ➔ Design & Evaluate ➔ Implement & Test ➔ Deploy
Figure 1. AI system SW-HW co-design flow.

Currently, hardware vendors use a "dime-a-dozen" mix of proprietary simulators and custom workload formats. At the same time, hyperscalers and cloud providers are hesitant to share their cutting-edge, proprietary model architectures or datasets due to intellectual property and privacy concerns. This lack of a unified, privacy-preserving standard makes it incredibly difficult to accurately reproduce production bottlenecks or evaluate next-generation hardware configurations.

Methods

The authors present the Chakra Ecosystem, which centers around a standardized Chakra Execution Trace (ET).

Figure 2. Chakra Infrastructure Overview.

Key components of the methodology include:

  • The Chakra Schema: Workloads are represented as a Directed Acyclic Graph (DAG). Nodes represent specific operations—categorized broadly into compute, memory, or communication—while edges define control, data, and synchronization dependencies.
  • Trace Collection Pipeline: Traces can be collected at two stages: pre-execution (compiler-extracted or synthetically generated for future system projection) and post-execution (captured from real system runs).
  • Chakra Trace Linker: For post-execution traces, this tool merges host-side CPU activity (from PyTorch's Execution Graph Observer) with fine-grained device-side GPU/NPU timing (from Kineto) into a single, unified dependency graph.
  • Downstream Tooling: Chakra feeds these standardized traces into trace visualizers, real-system replay tools (which substitute randomized data to preserve privacy), and architectural simulators like the open-source ASTRA-sim.

Datasets

The ecosystem was evaluated by collecting and analyzing execution traces from several prominent AI models across different parallelization strategies:

  • Large Language Models: GPT3-5B, GPT3-175B, and Llama3-70B.
  • Mixture-of-Experts (MoE) Models: Mixtral 8x7B, Mixtral 8x22B, and DeepSeek-MoE.
  • Traditional Workloads: DLRM (Recommendation) and ResNet50 (CNN).

Traces were captured from large-scale clusters, including 128 NVIDIA H100/200 GPUs (Georgia Tech AI Makerspace) and 32 NVIDIA H200 GPUs interconnected with InfiniBand HDR400 (Hewlett Packard Enterprise).

Key Insights and Ideas

  • IP-Safe Workload Sharing: By abstracting execution into anonymized operator dimensions and communication topologies, Chakra allows companies to share realistic production workloads with hardware vendors without leaking proprietary model weights or training data.
  • Exposing Emergent Network Anomalies: Traditional benchmarks evaluate communication collectives (like All-Reduce or All-to-All) in isolation. Replaying a mixed MoE workload trace on a physical fabric emulator revealed a critical, real-world bottleneck: high-rate All-Reduce flows triggered congestion control mechanisms (DCQCN) that disproportionately throttled smaller All-to-All flows, creating performance stragglers.
  • Device-Agnostic Replay: Because Chakra traces record operators at the framework level rather than hardware-specific assembly, a trace collected on one NPU architecture can be seamlessly replayed or simulated on an entirely different hardware platform.

Key Results

  • High-Fidelity Alignment: Post-execution trace reconstruction via Chakra closely matched the actual runtime profiles measured directly from hardware profiling tools (Kineto), while successfully filtering out irrelevant CPU-GPU idle gaps.
  • Network Bandwidth Projections: Simulating a Mixtral-8x22B trace demonstrated that dropping InfiniBand bandwidth by 4× resulted in an approximate 4.1× slowdown in All-to-All communication and a 4.4× slowdown in All-Gather collectives.
  • Optimization Discovery: Using Chakra's communication replay tool, a hardware vendor identified opportunities to parallelize AllGather and ReduceScatter operations across microbatches, yielding a 2× improvement in collective communication performance.

Limitations and Future Work

  • Trace Size Explosion: For massive, billion-parameter models running millions of operations, Chakra traces can span multiple gigabytes. The authors note that future work must explore lossless compression and hierarchical indexing to allow partial trace loading.
  • Infrastructure Fragmentation: While Chakra standardizes the workload, the underlying hardware infrastructure descriptions (topologies, memory hierarchies) still rely on tool-specific formats. The working group is actively developing InfraGraph to standardize hardware modeling.
  • Storage Bottlenecks: Current trace mechanisms focus heavily on compute and network. The authors are collaborating with the MLPerf Storage working group to fully integrate data-loader and storage operations into Chakra ETs.

Summary updated

BibTeX
@misc{sridharan2026mlcommons,
  author = {Srinivas Sridharan and Theodor-Adrian Badea and Andy Balogh and Bradford M. Beckmann and Brian Coutinho and Louis Feng and Sheng Fu and Sanshan Gao and Mehryar Garakani and Taekyung Heo and David Kanter and Josh Ladd and Ziwei Li and Winston Liu and Changhai Man and Dan Mihailescu and Spandan More and Joongun Park and Ashwin Ramachandran and Vinay Ramakrishnaiah and Saeed Rashidi and Vijay Janapa Reddi and Puneet Sharma and Phio Tian and William Won and Hanjiang Wu and Huan Xu and Jinsun Yoo and Tushar Krishna},
  title = {{MLCommons Chakra: Advancing Performance Benchmarking and Co-design using Standardized Execution Traces}},
  year = {2026},
  eprint = {2605.11333},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2605.11333},
}
Figure