Litcius/Paper detail

Calculon: a methodology and tool for high-level co-design of systems and large language models

Mikhail Isaev, Nic McDonald, Larry Dennison, Richard Vuduc

202335 citationsDOIOpen Access PDF

Abstract

This paper presents a parameterized analytical performance model of transformer-based Large Language Models (LLMs) for guiding high-level algorithm-architecture codesign studies. This model derives from an extensive survey of performance optimizations that have been proposed for the training and inference of LLMs; the model's parameters capture application characteristics, the hardware system, and the space of implementation strategies. With such a model, we can systematically explore a joint space of hardware and software configurations to identify optimal system designs under given constraints, like the total amount of system memory. We implemented this model and methodology in a Python-based open-source tool called Calculon. Using it, we identified novel system designs that look significantly different from current inference and training systems, showing quantitatively the estimated potential to achieve higher efficiency, lower cost, and better scalability.

Topics & Concepts

Computer sciencePython (programming language)ScalabilityParameterized complexityDesign space explorationInferenceElectronic system-level design and verificationSoftwareComputer architectureArchitectureProgramming languageComputer engineeringEmbedded systemArtificial intelligenceOperating systemAlgorithmVisual artsArtFerroelectric and Negative Capacitance DevicesParallel Computing and Optimization TechniquesMachine Learning in Materials Science
Calculon: a methodology and tool for high-level co-design of systems and large language models | Litcius