arXiv(opens in a new tab)cs.ARSep 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2609.11906

AccelForge: Comprehensive Modeling and Co-Design Framework for AI Accelerators

Tanner Andrulis, Michael Gilbert, Vivienne Sze, Joel S. Emer

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Tanner Andrulis*

MIT

Cambridge, United States

andrulis@mit.edu

Michael Gilbert*

MIT

Cambridge, United States

gilbertm@mit.edu

Vivienne Sze

MIT

Cambridge, United States

sze@mit.edu

Joel S. Emer

MIT, NVIDIA

Cambridge, United States

emer@csail.mit.edu

Abstract—Tensor algebra workloads, of which deep neural networks are prominent examples, are energy-intensive workloads in modern datacenter and edge deployments, making accelerators necessary to achieve energy efficiency and high throughput. To quickly evaluate and iterate on accelerator designs, we need an accelerator modeling framework that captures salient attributes of devices, circuits, architectures, workloads, as well as optimizing the mapping of the workload onto the hardware.

In this paper, we introduce AccelForge, which improves upon existing accelerator modeling frameworks in capabilities, speed, and ease-of-use. AccelForge unifies and multiple works into one framework, and it includes (1) composable user-defined and user-modifiable models of devices, circuits, and architectures, (2) fast mappers that enable accurate evaluation in orders of magnitude less (computer and human) time, and (3) easy-to-use and easy-to-extend, yet still high performance, Python implementations of both the model and mapper to enable rapid research and extension to novel optimizations.

I. INTRODUCTION

Tensor algebra workloads, of which deep neural networks are prominent examples, are energy-intensive workloads in modern datacenters and edge deployments, making it critical to design energy-efficient, high-throughput hardware to run them. Simultaneously, Moore's law is slowing down and Dennard scaling is over, so transistor scaling can no longer significantly contribute to the energy and throughput improvements we need.

Instead, an important source of efficiency gains is designing accelerators that leverage optimizations across multiple aspects of the design [1]. First, there are two aspects of the hardware: components (devices and circuits) perform data movement, computations, and other actions; and architectures organize components into a larger system (e.g., how many processing elements, how many memory levels). The next aspect is the workload, including the data and the operations (e.g., multiply-accumulate) on those data. The last aspect, mapping, programs the workload on the hardware (both temporally and spatially) [2].

Such exploration requires a framework to evaluate hardware designs running a workload (e.g., estimate the energy of an accelerator running an LLM). Fig. 1 shows a common evaluation pipeline [2], [3]. The framework takes in the components, architecture, and workload to evaluate. Then, evaluation

Figure

Fig. 1: The inputs (blue) and outputs (red) of an evaluation framework, and the processes necessary for evaluation (white).

includes two steps. First, we model component action costs (e.g., a buffer read costs 1pJ/bit). Second, informed by action costs, we select a mapping that maps the workload onto the architecture [3]. Mapping optimization involves search over a space of mappings (i.e., mapspace), returning the best-found mapping. From this mapping, we can derive action counts (e.g., number of buffer reads) and overall costs (e.g., total buffer energy) incurred by each component when the hardware executes the mapping.

Based on years of work using and extending [2], [4] popular architecture modeling frameworks Timeloop [3] and Accelergy [5], we have distilled three specific goals for an evaluation framework.

Goal 1: Supports a sufficiently comprehensive space in all aspects. We would like the evaluation framework to explore a comprehensive space of choices in all aspects. “Comprehensive” here means including the space of choices to explore state-of-the-art optimizations; for example, prior work reduced energy and latency by combining analog and digital components into heterogeneous architectures [6], [7], or by including fused [4], [8]–[11] uneven [12], and hybrid mappings. Moreover, we aim to be comprehensive in all aspects for at least two reasons. First, co-optimization across several aspects can significantly reduce energy and latency [6], [7]. Second, comprehensive evaluations are often necessary. For example, accelerators are used for a wide variety of current and anticipated workloads, and latency and energy can vary significantly between workloads [3], [4], [12]. Comprehensive evaluation requires an evaluation framework that supports a multitude of workloads.

Goal 2: Fast and optimal mapper. We have included in Goal 1 a comprehensive space of mappings. In addition,

∗^{*}These authors contributed equally to this work an evaluation framework must also explore the space of mappings to find the optimal mapping. Prior work has shown that finding suboptimal mappings leads to higher latency and energy for a given design [4], [12], [13]. Moreover, finding suboptimal mappings also misleads designers (e.g., incorrectly bias towards overprovisioned hardware resources that could have been used more efficiently by better mappings [13]).

Goal 3: Easy to use and extend. Each design aspect has a wide space of choices and many configurable parameters. An easy-to-use framework must be modular such that changing one parameter (e.g., bitwidth of a tensor element) should require updating one element of the input specification. Moreover, the specification should be intuitive (e.g., it should be immediately clear what should be changed to increase memory capacity), and any error in the specification should be identified and an informative error message provided to the user. Finally, because it is impossible to predict future design spaces, the framework must be easy to extend to include more mappings, faster mappers, or to model additional hardware features.

Unfortunately, prior works, as shown in Table I, do not meet most of these goals. Although prior work often expands some aspects of the design space, none expand in all of them. Moreover, a fast and optimal mapper has not been devised for such a comprehensive design space. Finally, many prior frameworks are implemented in C++ to achieve the necessary performance to explore the mapspace (albeit still slowly and without finding optimal mappings), which complicates extension.

To address this challenge, this paper describes AccelForge, 1^{1} a modeling and DSE framework that incorporates and extends multiple prior works [2], [4], [11], [13], [15] to achieve these goals. The following Section ?? explains how AccelForge is designed achieve these goals. 2^{2} Lastly, Section II provides guidelines for citing AccelForge as a whole and for citing specific parts of AccelForge.