TokenJoule: Energy Modeling for Distributed Training and Inference of LLMs
George Karfakis, Lime Yao, Joyjit Kundu, Debjyoti Bhattacharjee, Puneet Gupta
Key points
From the paper's conclusion- We present TokenJoule, an open-source analytical tool that derives device kernel sequences, tiled compute, shared-memory staging, cache residency, and collective traffic, pricing activity directly with component energies.
Abstract
As large language models (LLMs) scale, energy dictates operating cost, cooling, and cluster capacity across training and inference. Early hardware design-space exploration (DSE) requires predicting energy before silicon exists, yet performance models miss hidden component work while prior energy predictors calibrate to deployed GPUs. We present TokenJoule, an open-source analytical tool that derives device kernel sequences, tiled compute, shared-memory staging, cache residency, and collective traffic, pricing activity directly with component energies. With zero workload fitting, TokenJoule achieves 3.3-6.6% activity error (151 A100/H100 runs) and 3.0-6.8% A100 energy error, guiding parallelism, memory packaging, and 3D-DRAM chip co-design.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- The Token-Energy Law of LLM Decode: Active Bytes and Realized Time Account for Joules per TokenarXiv · 2026
- Energy-Aware Multilingual Evaluation of Large Language ModelsElectronics · 2026
- The SIMPLE Law for Energy Cost of LLM InferencearXiv · 2026
- Energy Consumption Analysis of Discrete Diffusion and Autoregressive Language ModelsarXiv · 2026
- Token-as-a-Utility: A Model-Agnostic Architecture for Metering and Provisioning AI Inference ServicesarXiv · 2026
- Green Code or Costly Code? Evaluating the Energy Costs of Iterative LLM-Based Code OptimizationsarXiv · 2026