LLMCompass: Enabling Efficient Hardware Design for Large Language Model Inference
Hengrui Zhang, August Ning, Rohan Baskar Prabhakar, David Wentzlaff
Abstract
The past year has witnessed the increasing popularity of Large Language Models (LLMs). Their unprecedented scale and associated high hardware cost have impeded their broader adoption, calling for efficient hardware designs. With the large hardware needed to simply run LLM inference, evaluating different hardware designs becomes a new bottleneck. This work introduces LLMCompass1, a hardware evaluation framework for LLM inference workloads. LLMCompass is fast, accurate, versatile, and able to describe and evaluate different hardware designs. LLMCompass includes a mapper to automatically find performance-optimal mapping and scheduling. It also incorporates an area-based cost model to help architects reason about their design choices. Compared to real-world hardware, LLMCompass’ estimated latency achieves an average error rate across various operators with various input sizes and an average error rate for LLM inference. With LLMCompass, simulating a 4-NVIDIA A100 GPU node running GPT-3 175B inference can be done within 16 minutes on commodity hardware, including 26,400 rounds of the mapper’s parameter search. With the aid of LLMCompass, this work draws architectural implications and explores new cost-effective hardware designs. By reducing the compute capability or replacing High Bandwidth Memory (HBM) with traditional DRAM, these new designs can achieve as much as 3.41x improvement in performance/cost compared to an NVIDIA A100, making them promising choices for democratizing LLMs.1Available at https://github.com/PrincetonUniversity/LLMCompass.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
14 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Chameleon: Adaptive Caching and Scheduling for Many-Adapter LLM Inference Environments cites FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awareness
- Chameleon: Adaptive Caching and Scheduling for Many-Adapter LLM Inference Environments cites Orca: A Distributed Serving System for Transformer-Based Generative Models
- FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awareness cites Language Models are Few-Shot Learners
- FlexGen: High-Throughput Generative Inference of Large Language Models with a Single GPU cites Language Models are Few-Shot Learners
- FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioning cites FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awareness
- Oaken: Fast and Efficient LLM Serving with Online-Offline Hybrid KV Cache Quantization cites FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awareness
- Oaken: Fast and Efficient LLM Serving with Online-Offline Hybrid KV Cache Quantization cites FlexGen: High-Throughput Generative Inference of Large Language Models with a Single GPU
- Oaken: Fast and Efficient LLM Serving with Online-Offline Hybrid KV Cache Quantization cites Language Models are Few-Shot Learners
- Oaken: Fast and Efficient LLM Serving with Online-Offline Hybrid KV Cache Quantization cites Orca: A Distributed Serving System for Transformer-Based Generative Models
- Kraken: Inherently Parallel Transformers For Efficient Multi-Device Inference cites FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awareness
- Kraken: Inherently Parallel Transformers For Efficient Multi-Device Inference cites Language Models are Few-Shot Learners
- Kraken: Inherently Parallel Transformers For Efficient Multi-Device Inference cites Orca: A Distributed Serving System for Transformer-Based Generative Models
- Orca: A Distributed Serving System for Transformer-Based Generative Models cites Language Models are Few-Shot Learners
- Unveiling Environmental Impacts of Large Language Model Serving: A Functional Unit View cites FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awareness
- Unveiling Environmental Impacts of Large Language Model Serving: A Functional Unit View cites Orca: A Distributed Serving System for Transformer-Based Generative Models
- RAGO: Systematic Performance Optimization for Retrieval-Augmented Generation Serving cites Language Models are Few-Shot Learners
- RAGO: Systematic Performance Optimization for Retrieval-Augmented Generation Serving cites Orca: A Distributed Serving System for Transformer-Based Generative Models
Cited by top-tier papers14
- Oaken: Fast and Efficient LLM Serving with Online-Offline Hybrid KV Cache QuantizationMinsu Kim, Seongmin Hong, Ryeowook Ko, Soongyu Choi et al.ISCA 2025 · 17 citations
- RAGO: Systematic Performance Optimization for Retrieval-Augmented Generation ServingWenqi Jiang, Suvinay Subramanian, Cat Graves, Gustavo Alonso et al.ISCA 2025 · 16 citations
- Unveiling Environmental Impacts of Large Language Model Serving: A Functional Unit ViewYanran Wu, Inez Hua, Yi DingACL 2025 · 15 citations
- Kraken: Inherently Parallel Transformers For Efficient Multi-Device InferenceRohan Baskar Prabhakar, Hengrui Zhang, David WentzlaffNeurIPS 2024 · 6 citations
- Chameleon: Adaptive Caching and Scheduling for Many-Adapter LLM Inference EnvironmentsNikoleta Iliakopoulou, Jovan Stojkovic, Chloe Alverti, Tianyin Xu et al.MICRO 2025 · 3 citations
Builds on20
- Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah et al.NeurIPS 2020 · 64,255 citations
- FlashAttention: Fast and Memory-Efficient Exact Attention with IO-AwarenessTri Dao, Daniel Y. Fu, Stefano Ermon, Atri Rudra et al.NeurIPS 2022 · 5,493 citations
- FlashAttention-2: Faster Attention with Better Parallelism and Work PartitioningTri DaoICLR 2024 · 2,600 citations
- Orca: A Distributed Serving System for Transformer-Based Generative ModelsGyeong-In Yu, Joo Seong Jeong, Geon-Woo Kim, Soojeong Kim et al.OSDI 2022 · 690 citations
- FlexGen: High-Throughput Generative Inference of Large Language Models with a Single GPUYing Sheng, Lianmin Zheng, Binhang Yuan, Zhuohan Li et al.ICML 2023 · 683 citations
Related papers
- LLM-Pilot: Characterize and Optimize Performance of your LLM Inference ServicesMalgorzata Lazuka, Andreea Anghel, Thomas P. ParnellSC 2024 · 17 citations
- DECA: A Near-Core LLM Decompression Accelerator Grounded on a 3D Roofline ModelGerasimos Gerogiannis, Stijn Eyerman, Evangelos Georganas, Wim Heirman et al.MICRO 2025 · 5 citations
- Puzzle: Distillation-Based NAS for Inference-Optimized LLMsAkhiad Bercovich, Tomer Ronen, Talor Abramovich, Nir Ailon et al.ICML 2025
- LLMShare: Optimizing LLM Inference Serving with Hardware Architecture ExplorationHongduo Liu, Chen Bai, Peng Xu, Lihao Yin et al.DAC 2025 · 2 citations
- Compass: Dissecting Communication and Computation Operators for Efficient LLM TrainingGuangyu Xiang, Lin Zhang, Haoxuan Yu, Xinglin Pan et al.INFOCOM 2026
