Compass: Mapping Space Exploration for Multi-Chiplet Accelerators Targeting LLM Inference Serving Workloads

By Boyu Li ๐‘Ž๐‘, Zongwei Zhu ๐‘, Yi Xiong ๐‘Ž๐‘, Qianyue Cao ๐‘Ž๐‘, Jiawei Geng ๐‘Ž๐‘, Xiaonan Zhang ๐‘, Xi Li ๐‘
๐‘Ž
School of Computer Science and Technology, University of Science and Technology of China, China
๐‘ Suzhou Institute for Advanced Research, University of Science and Technology of China, China

Abstract

Large Language Models (LLMs) impose massive computational demands, driving the need for scalable multi-chiplet accelerators. However, existing mapping space exploration efforts for such accelerators primarily focus on traditional CNN/Transformer workloads and fail to adequately support the dynamic behaviors of mixed request types and variable sequence lengths in real-world LLM inference serving. To bridge this gap, we first propose a computation execution graph-based mapping encoding scheme that decouples micro-batches and layers, enabling fine-grained execution control on heterogeneous chiplets and flexibly representing various parallelism strategies. Second, building upon this scheme, we develop the Compass framework, which integrates an evaluation engine and a genetic algorithm-based mapping generation engine to achieve efficient mapping search. Compared to state-of-the-art works, our solution achieves an average EDP reduction of 63.12%.

Keywords:ย LLM inference, chiplet, mapping space exploration.

To read the full article, click here