Editor’s introduction
The study introduces DABench-LLM, a benchmarking framework designed to evaluate dataflow AI accelerators under large language model workloads. It measures key performance indicators such as resource allocation, load balancing, and resource efficiency by combining intra-chip profiling with inter-chip scalability analysis. The framework was tested on three commercial dataflow accelerators: Cerebras WSE-2, SambaNova RDU, and Graphcore IPU. Results reveal distinct performance bottlenecks and offer targeted optimization strategies for each platform. The study demonstrates that the framework provides transparent insights into hardware execution patterns and design trade-offs. Findings are specific to the tested accelerators and their behavior under LLM workloads. Performance metrics are consistent across runs, though minor variations may occur due to hardware scheduling or random factors. The framework’s outputs match those reported in the paper when properly executed.
Introduction
The rapid adoption of decoder-only Large Language Models (LLMs), such as GPT-4, LLaMA, and Gemini, has driven exponential growth in computational demands. Meanwhile, the slowdown of Moore’s Law has constrained the performance scaling of traditional architectures, prompting the development of specialized AI accelerators featuring next-generation architectural designs optimized for LLM workloads.
Traditional general-purpose accelerators, such as GPUs, are based on von Neumann architectures that follow an instruction-driven, Bulk Synchronous Parallel (BSP)-style execution model. When running LLM workloads on such architectures, frequent data access and the transfer of large model parameters often lead to severe memory bottlenecks, low compute utilization, and poor energy efficiency. In contrast, many emerging AI accelerators adopt dataflow architectures that employ a data-driven execution model, in which processing elements are asynchronously triggered as soon as all required input data becomes available, eliminating the need for global instruction scheduling. This execution paradigm aligns naturally with the structure of LLM workloads and can substantially improve compute resource utilization and parallelism by avoiding the global synchronization and excessive memory access overhead inherent in conventional architectures.
Although dataflow architectures hold great promise for LLM workloads, their practicality and performance characteristics remain underexplored. Existing benchmarking studies on emerging AI accelerators tend to focus either on chip design metrics, such as chip area and memory capacity, or on high-level performance metrics, such as the throughput of neural network building blocks (e.g., convolutional kernels), across various hardware platforms. A few studies examine LLM workloads (e.g., BERT or GPT) on dataflow accelerators, but they primarily investigate the impact of model configurations on performance and report only high-level metrics (e.g., TFLOPs). While these works offer useful insights into the overall performance of AI accelerators, they lack a systematic, full-stack analysis that connects system-level characteristics to the execution performance of LLM workloads. Compounding this challenge, commodity dataflow AI accelerators often incorporate diverse vendor-specific designs and optimizations, the details of which are rarely made public due to business constraints. This lack of a generic and in-depth understanding significantly limits the research community’s ability to comprehensively evaluate and optimally utilize such accelerators, particularly in the context of LLM workloads.
Decoder-Based Large Language Models
Most state-of-the-art large language models (LLMs), such as Llama and GPT, adopt a decoder-only architecture. Compared to encoder-based models like T5 and BERT, decoder-only models typically achieve better generalization. This architecture offers several advantages: prompts directly influence all decoder layers, enhancing fine-tuning signals and enabling superior in-context learning; additionally, causal attention provides implicit positional encoding, addressing the position-invariance issue of standard Transformers. These benefits have led to the widespread adoption of decoder-only designs in large-scale language modeling.
GPT-2 is an early, influential decoder-only Transformer language model that uses learnable absolute positional embeddings, GELU activation functions, and multi-head self-attention with residual connections and layer normalization; typical configurations span 117M–1.5B parameters with approximately 1024-token context length, and it remains widely used as a baseline model for comparative studies and educational instruction due to its relatively modest computational requirements and well-understood behavior. LLaMA-2 represents a modern, open-source, commercially usable decoder-only family (7B/13B/70B parameters) that employs RoPE (Rotary Position Embedding) for improved length extrapolation, RMSNorm for enhanced training stability, and SwiGLU activation functions for better expressivity, with grouped-query attention implemented in larger variants to reduce memory bandwidth requirements; it typically supports approximately 4096-token context length and offers both base models for general-purpose fine-tuning and dialogue-optimized variants (-Chat, trained with supervised fine-tuning and reinforcement learning from human feedback alignment).Given that GPT-2 and LLaMA-2 are canonical decoder-only architectures with comprehensive community support and broad compatibility across diverse AI accelerators, we use these two representative model families as the primary basis for our systematic experiments in this paper.
Cerebras
In Cerebras CS-2, the entire LLM model is represented as a computation graph constructed at the granularity of individual layers and is loaded onto the WSE-2 chip as a whole. Each layer in the model is mapped to a kernel, and each kernel is assigned a certain number of processing elements (PEs) to execute its computation. The performance of a kernel largely depends on the number of PEs allocated to it. For example, in a multi-decoder model, each attention layer is compiled into a separate attention kernel; all attention kernels are deployed onto the WSE-2 chip and are assigned an equal or similar number of PEs. Typically, kernels with data dependencies are placed physically close to each other on the chip to reduce communication overhead. Once data is injected from the embedding layer, it propagates through the computation graph in a data-driven manner, with each subsequent computation triggered by data availability, eliminating the need for global instruction scheduling.
SambaNova
On the SN30 system, the entire LLM workload is first represented as a computation graph, where nodes correspond to operators and edges denote data dependencies. This graph is then partitioned into multiple subgraphs, referred to as sections, which are sequentially loaded onto a RDU for execution. Each section is processed one at a time. All model parameters and intermediate data are stored in off-chip DDR memory, and during execution, the required data is transferred to the on-chip Pattern Memory Units (PMUs). Depending on the graph partitioning strategy, SN30 supports three compilation modes: O0 (Operator mode), O1 (Module mode), and O3 (Full graph mode).
Graphcore
Graphcore’s architecture is inherently designed to support pipeline parallelism (PP). Its execution model partitions the computation graph by layers and maps each part onto different IPUs for execution. Typically, the embedding layer is assigned to a dedicated IPU, while the decoder layers are grouped based on the number of remaining IPUs and distributed across them. The IPUs are organized into a pipeline according to the computational dependencies. Training a language model therefore requires at least two IPUs—one for the embedding layer and another for the decoder layers.
Resource Utilization Efficiency
This metric includes the chip’s compute performance during LLM execution (TFLOPs) and the utilization and bandwidth of its multi-level memory. As all three accelerators have at most two memory levels, we adopt the GPU-style classification and refer to them as shared memory and global memory tiers in this paper.
The Roofline Model is used as an auxiliary tool in this investigation to visualize the interaction between arithmetic intensity and achievable throughput. Due to the lack of publicly available bandwidth data for shared memory, the model is applied only to the global memory tier.
Inter-Chip Scalability
The inter-chip scalability of dataflow-based accelerators should be analyzed through the lens of the three classical parallelism strategies used in GPUs: data parallelism (DP), pipeline parallelism (PP), and tensor parallelism (TP). Although emerging hardware platforms rarely adopt these strategies in a direct manner, their scalability mechanisms are often inspired by them and shaped by their unique architectural constraints. Our framework adopts this classification as a conceptual basis to characterize the scalability patterns of different accelerators and uses it to analyze the resulting communication and other associated overheads.
Methodology and Setup
Full-scale LLMs are impractical on a single chip, so we adopt a decoder-block approach. By fixing hidden size (HS) or layer count, we probe compute, memory, and communication limits. GPT-2 and LLaMA2 experiments yield key framework metrics. In the intra-chip section, the GPT-2 Small decoder block (hidden size 768) is our basic unit on Cerebras and Graphcore; on SambaNova we use GPT-2 for O0/O3 and the LLaMA-2 decoder block for O1. In the inter-chip section, we used GPT mini, tiny, and small models on WSE-2 (hidden sizes 256, 512, and 768), the LLaMA-2 7B model on the RDU, and a GPT model with a hidden size of 768 on the IPU.
Platform Constraints
Platform constraints make it difficult to collect runtime data in a unified manner. For WSE, RDU-O1, and IPU, most metrics are from compile time, with only a few (e.g., throughput, TFLOPs) from runtime. In contrast, RDU-O0 and O3 rely entirely on runtime data. We prioritize runtime data and apply weighting to reduce batch variance on sensitive systems like CS-2, ensuring fair cross-platform comparisons. Since most metrics are determined at compiling time and remain unchanged during execution, the framework reliably captures actual performance characteristics.
SambaNova
Due to the complexity and diversity of execution modes of RDU chip from SambaNova, we make our best effort to unify experimental settings. Although some inconsistencies remain, the observed performance trends on the RDU provide more meaningful insights into its scheduling strategies and bottlenecks than fixed numerical comparisons.
O3 mode performs sequential decoder-by-decoder computation, so average allocation approaches single decoder allocation as layers increase. The O3 curve gradually increases and stabilizes, suggesting non-decoder sections have lower resource allocation ratio. In contrast, O0 and O1 execute all decoders synchronously by operator type—when layers increase, higher-intensity sections overlap better in execution, reducing their latency share and lowering average allocation rates.
As HS increases in O3 mode, decoder size grows until RDU requires further partitioning. Table II(a) shows the “Ratio” column, which represents decoder computation sections versus total decoders. When decoders aren’t further partitioned (constant ratio), PMU allocation increases with HS. However, additional partitioning causes PMU allocation to drop, explaining the oscillating pattern in O3 mode.
Chip Resource Loading Balance
Following the analysis of resource allocation ratios across different chips, we further examine whether resource assignments are balanced under platform-specific strategies. Due to the lack of IPU data, our analysis remains focused on the WSE-2 and RDU platforms.
Since LI (load imbalance) is sensitive to task granularity, cross-platform comparisons are not directly meaningful; instead, LI serves as an indicator for guiding compiler-level optimization. Based on available data, we evaluate LI at the kernel level on WSE-2, and at the finer operator level on RDU.
Shared Memory Level Analysis
These accelerators’ on-chip memories function similarly to GPU shared memory. Due to limited public data on memory bandwidth, we analyze the relationship between TFLOPs and on-chip memory usage. WSE-2 adopts a unified memory model serving both global and local roles. For RDU, due to the lack of accessible PMU utilization metrics, we approximate memory usage based on PMU allocation ratios.
Between 18 and 36 layers, the PE allocation rate peaks and TFLOPs stabilize, indicating efficient resource utilization. However, beyond 36 layers, memory consumption by configuration data increases sharply, reducing the memory available for training. This leads to a rapid drop in compute time (as shown by the compute metric), causing a steep decline in TFLOPs.
Global Memory Performance Analysis
RDU: Limited external bandwidth (only 0.2 TB/s) causes the system to exhibit memory-bound behavior when handling LLM workloads. However, as the parameter size increases—particularly through expanding the HS—the arithmetic intensity improves, and system throughput rises from 35.55 to 50.64 TFLOPs. In contrast, increasing the number of layers yields only marginal gains, with throughput remaining in the range of 39–41 TFLOPs. The system achieves a peak compute efficiency of 18.2%.
Conclusion. These comprehensive Tier 1 results confirm the effectiveness of our framework in characterizing dataflow accelerators through standardized metrics. Using three key metrics, we transform previously opaque accelerator platforms into interpretable systems and reveal platform-specific bottlenecks, highlighting the framework’s practicality and generalizability.
Discussion. Although WSE-2 demonstrates excellent PE allocation and load balancing, along with exceptionally high memory bandwidth, its compute efficiency shows no clear advantage, indicating that there is still room for optimization at the kernel level. RDU faces bottlenecks in resource utilization and bandwidth, but achieves comparable efficiency to WSE-2 through effective kernel-level optimization. Future improvements should focus on enhancing resource allocation, improving load balance, and expanding external bandwidth to unlock additional performance. IPU delivers the highest compute efficiency among the three platforms, yet all workloads remain in the memory-bound regime. Its performance is constrained by limited bandwidth and memory management capabilities. It is also recommended to improve bandwidth and incorporate strategies such as segmented loading and tensor swapping.
Scaling Strategies
Different accelerators adopt parallel strategies inspired by GPU paradigms: IPUs implement pipeline parallelism (PP) by assigning model layers to different devices; SambaNova achieves tensor parallelism (TP) by partitioning operators across RDUs. WSE-2 is distinct in that its scalability does not rely on multi-chip parallelism. Instead, it leverages intra-chip data parallelism (DP) and a weight streaming mode resembling PP, all within a single large chip. Since PP on CS-2 requires root access, we only collected limited PP data on CS-3, and further exploration was constrained by platform limitations. Other strategies were not adopted due to immature software support or possible oversight.
Cerebras WSE Scalability
When the WSE-2 chip cannot accommodate the entire model, it switches to weight streaming mode. In this mode, only a portion of the model is loaded onto the chip at a time: the outputs from the previous layer are retained on-chip, while the weights for the next layer are streamed in for computation. As shown in Table III, the throughput of GPT-2 decreases from 0.66M tokens/s to 0.53M tokens/s under this mode—a reduction of only about 20%.
Different Precision Analysis
As shown in Table IV, different accelerators support different precision formats, and the impact of precision on throughput varies significantly. RDU is the most sensitive to precision, with mixed-precision training yielding a 34.3% throughput improvement. IPU follows, with a gain of 22.0%, while WSE shows minimal impact, with only a 10.7% increase. Therefore, precision selection should be carefully considered when deploying models on RDU and IPU, whereas for WSE, the effect is relatively limited.
Conclusion. This section systematically evaluates inter-chip scalability and performance bottlenecks of different accelerators through DP, TP and PP. It also analyzes the impact of key deployment parameters—such as batch size and precision—on throughput across platforms, thereby validating the effectiveness and generalizability of Tier 2 in guiding optimized LLM deployment strategies.
Related work
Applications of AI Accelerators. A growing number of studies have focused on porting specific algorithms or applications to AI accelerator platforms to improve computational efficiency. deploys a spatiotemporal graph convolutional network on the Graphcore IPU to accelerate video action recognition tasks. In, several representative scientific computing tasks—such as linear algebra operations and Conjugate Gradient methods—are implemented on the IPU. A cited study applies a Tile Low-Rank algebraic compression method on the Cerebras CS-2 to accelerate multidimensional deconvolution in seismic data processing. In, an error-bounded lossy compression algorithm is implemented on CS-2, achieving significant performance gains over traditional GPU-based solutions while maintaining accuracy.
Existing Benchmarking on AI Accelerators. Existing benchmarks primarily focus on throughput performance while neglecting the characterization of internal architectural behaviors of AI accelerators. One line of research focuses on evaluating how AI accelerators perform on domain-specific scientific applications. For instance, and benchmark Graphcore IPUs on commonly used methods in particle physics and astrophysics to assess their acceleration potential in those fields. Another line of work emphasizes benchmarking various AI accelerators for standard AI workloads. benchmark AI accelerators by measuring throughput on neural network primitives (e.g., ReLU, convolution) and large language models (BERT, GPT), with additional analysis of parameter sensitivity. In addition, evaluates the performance of IPUs and RDUs on dense (GEMM) and sparse (SPMM) matrix operations.
Conclusion
This paper introduces DABench-LLM, the first benchmarking framework tailored to assess AI accelerators with dataflow architectures under LLM workloads. Validated on Cerebras CS-2, SambaNova SN30, and Graphcore Bow-2000, it systematically uncovers their resource scheduling policies and execution patterns. By transforming these platforms from opaque systems into transparent, interpretable architectures, the framework offers critical insights into their design trade-offs and performance characteristics. It also lays the groundwork for future research on bottleneck identification and platform-specific optimization.
-C3 Software dependencies
OS: Linux-based (e.g., Ubuntu 20.04 LTS or later, as managed in the ALCF environment). - Programming Language: Python 3.10+ (integrated with machine learning frameworks). - Dependencies: Listed in requirements.txt. Key dependencies include: - Graphcore: Poplar SDK (for graph software and ML applications), PopTorch (PyTorch wrapper optimized for IPUs), PopLibs (for tensor and graph operations), and integrations with TensorFlow/PyTorch. - Cerebras: PyTorch framework integration for model compilation and execution; managed as an appliance for data preprocessing, streaming, and orchestration. - SambaNova: SambaFlow software stack (for optimizing and mapping dataflow graphs to RDUs), with integrations to PyTorch.


