LLMCompass: Enabling Efficient Hardware Design for Large Language Model Inference
Hengrui Zhang, August Ning, Rohan Baskar Prabhakar, David Wentzlaff
摘要
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.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 14 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Chameleon: Adaptive Caching and Scheduling for Many-Adapter LLM Inference Environments 引用了 FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awareness
- Chameleon: Adaptive Caching and Scheduling for Many-Adapter LLM Inference Environments 引用了 Orca: A Distributed Serving System for Transformer-Based Generative Models
- FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awareness 引用了 Language Models are Few-Shot Learners
- FlexGen: High-Throughput Generative Inference of Large Language Models with a Single GPU 引用了 Language Models are Few-Shot Learners
- FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioning 引用了 FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awareness
- Oaken: Fast and Efficient LLM Serving with Online-Offline Hybrid KV Cache Quantization 引用了 FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awareness
- Oaken: Fast and Efficient LLM Serving with Online-Offline Hybrid KV Cache Quantization 引用了 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 引用了 Language Models are Few-Shot Learners
- Oaken: Fast and Efficient LLM Serving with Online-Offline Hybrid KV Cache Quantization 引用了 Orca: A Distributed Serving System for Transformer-Based Generative Models
- Kraken: Inherently Parallel Transformers For Efficient Multi-Device Inference 引用了 FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awareness
- Kraken: Inherently Parallel Transformers For Efficient Multi-Device Inference 引用了 Language Models are Few-Shot Learners
- Kraken: Inherently Parallel Transformers For Efficient Multi-Device Inference 引用了 Orca: A Distributed Serving System for Transformer-Based Generative Models
- Orca: A Distributed Serving System for Transformer-Based Generative Models 引用了 Language Models are Few-Shot Learners
- Unveiling Environmental Impacts of Large Language Model Serving: A Functional Unit View 引用了 FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awareness
- Unveiling Environmental Impacts of Large Language Model Serving: A Functional Unit View 引用了 Orca: A Distributed Serving System for Transformer-Based Generative Models
- RAGO: Systematic Performance Optimization for Retrieval-Augmented Generation Serving 引用了 Language Models are Few-Shot Learners
- RAGO: Systematic Performance Optimization for Retrieval-Augmented Generation Serving 引用了 Orca: A Distributed Serving System for Transformer-Based Generative Models
引用它的顶会 Paper14
- Oaken: Fast and Efficient LLM Serving with Online-Offline Hybrid KV Cache QuantizationMinsu Kim, Seongmin Hong, Ryeowook Ko, Soongyu Choi 等ISCA 2025 · 17 次引用
- RAGO: Systematic Performance Optimization for Retrieval-Augmented Generation ServingWenqi Jiang, Suvinay Subramanian, Cat Graves, Gustavo Alonso 等ISCA 2025 · 16 次引用
- Unveiling Environmental Impacts of Large Language Model Serving: A Functional Unit ViewYanran Wu, Inez Hua, Yi DingACL 2025 · 15 次引用
- Kraken: Inherently Parallel Transformers For Efficient Multi-Device InferenceRohan Baskar Prabhakar, Hengrui Zhang, David WentzlaffNeurIPS 2024 · 6 次引用
- Chameleon: Adaptive Caching and Scheduling for Many-Adapter LLM Inference EnvironmentsNikoleta Iliakopoulou, Jovan Stojkovic, Chloe Alverti, Tianyin Xu 等MICRO 2025 · 3 次引用
它引用的 Paper20
- Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah 等NeurIPS 2020 · 64,255 次引用
- FlashAttention: Fast and Memory-Efficient Exact Attention with IO-AwarenessTri Dao, Daniel Y. Fu, Stefano Ermon, Atri Rudra 等NeurIPS 2022 · 5,493 次引用
- FlashAttention-2: Faster Attention with Better Parallelism and Work PartitioningTri DaoICLR 2024 · 2,600 次引用
- Orca: A Distributed Serving System for Transformer-Based Generative ModelsGyeong-In Yu, Joo Seong Jeong, Geon-Woo Kim, Soojeong Kim 等OSDI 2022 · 690 次引用
- FlexGen: High-Throughput Generative Inference of Large Language Models with a Single GPUYing Sheng, Lianmin Zheng, Binhang Yuan, Zhuohan Li 等ICML 2023 · 683 次引用
相关 Paper
- LLM-Pilot: Characterize and Optimize Performance of your LLM Inference ServicesMalgorzata Lazuka, Andreea Anghel, Thomas P. ParnellSC 2024 · 17 次引用
- DECA: A Near-Core LLM Decompression Accelerator Grounded on a 3D Roofline ModelGerasimos Gerogiannis, Stijn Eyerman, Evangelos Georganas, Wim Heirman 等MICRO 2025 · 5 次引用
- Puzzle: Distillation-Based NAS for Inference-Optimized LLMsAkhiad Bercovich, Tomer Ronen, Talor Abramovich, Nir Ailon 等ICML 2025
- LLMShare: Optimizing LLM Inference Serving with Hardware Architecture ExplorationHongduo Liu, Chen Bai, Peng Xu, Lihao Yin 等DAC 2025 · 2 次引用
- Compass: Dissecting Communication and Computation Operators for Efficient LLM TrainingGuangyu Xiang, Lin Zhang, Haoxuan Yu, Xinglin Pan 等INFOCOM 2026
