accel-sim/accel-sim-framework
This is the top-level repository for the Accel-Sim framework.
Accel‑Sim 2.0 – Cycle‑level GPU simulation for modern AI workloads
What it is – Accel‑Sim is an open‑source framework that lets researchers trace real GPU execution (SASS assembly) on NVIDIA hardware and then re‑play those traces on a detailed, cycle‑accurate simulator (GPGPU‑Sim 4.x) together with the AccelWattch power model. Version 2.0 adds full support for the latest Hopper GPUs (H100/H200), including new instructions, memory‑subsystem features, and a “GPUVision” profiling front‑end.
Why it matters for AI – The simulator can model LLM inference and training pipelines (vLLM, PyTorch) end‑to‑end without hand‑written kernels. The authors report 99 % Pearson correlation with real H100 hardware across >34 k kernels, giving confidence that performance and power estimates are realistic for large‑scale transformer models.
Key components
- Tracer – NVBit‑based instrumentation that records SASS execution on a real GPU. It now supports compressed
.tracezfiles and per‑layer hooks for PyTorch/vLLM. - SASS Front‑end / Simulation Engine – GPGPU‑Sim 4.x plus the Hopper‑specific micro‑architectural models (TMA, WGMMA, mbarrier, thread‑block clusters, chiplet‑aware L2, HBM3/e timing).
- Correlator (GPUVision) – Tools to compare simulated cycles, instruction counts, and memory statistics against Nsight Compute data.
- Tuner – Scripts for exploring configuration parameters and calibrating the model.
- AccelWattch – Integrated power‑model that estimates energy consumption alongside performance.
Typical workflow
- Build the simulator (CMake + Python dependencies).
- Trace an application on a real GPU using the provided NVBit scripts (or the torch‑hook for LLM layers).
- Post‑process raw traces into the compressed
.tracezformat. - Run the simulator with a Hopper config (
H100‑SASS,H200‑SASS, etc.) via therun_simulations.pylaunch manager. - Analyze results with built‑in monitoring,
get_stats.py, and optional plotting scripts.
Getting started quickly – The repo ships a Docker image based on nvidia/cuda:12.8.0‑cudnn‑devel‑ubuntu24.04. After pulling the image you can follow the “Quick Start” section to build the simulator, trace a benchmark from the companion gpu‑app‑collection, and run a simulation in a few commands.
Pre‑collected traces – For users without access to an NVIDIA GPU, the release includes ready‑made Hopper traces for popular models (BERT, ResNet‑50, SDXL, Llama 3.1 8B, etc.). Download with get-accel-sim-traces.py, then simulate directly.
Roadmap – Upcoming work includes experimental support for the next‑generation Blackwell GPUs and multi‑GPU/NVLink configurations.
Who should use it – GPU architects, performance researchers, and AI system designers who need accurate, validated performance or energy estimates for new Hopper features or large‑scale LLM workloads.
Related
- Project
- Project
- Project
- Dispatch