paper-with-me

홈 › Papers

Efficient Heterogeneous Large Language Model Decoding with Model-Attention Disaggregation

2024-05-03 · Shaoyuan Chen, Wencong Xiao, Yutong Lin, Mingxing Zhang, Yingdi Shan, Jinlei Jiang, Kang Chen, Yongwei Wu

Transformer-based large language models (LLMs) exhibit impressive performance in generative tasks but also introduce significant challenges in real-world serving due to inefficient use of the expensive, computation-optimized accelerators. Although disaggregated serving architectures have been proposed to split different phases of LLM inference, the efficiency of decoding phase is still low. This is caused by the varying resource demands of different operators in the transformer-based LLMs. Specifically, the attention operator is memory-intensive, exhibiting a memory access pattern that clashes with the strengths of modern accelerators, especially for long context requests. To enhance the efficiency of LLM decoding, we introduce model-attention disaggregation. This approach leverages a collection of cheap, memory-optimized devices for the attention operator while still utilizing high-end accelerators for other parts of the model. This heterogeneous setup ensures that each component is tailored to its specific workload, maximizing overall performance and cost efficiency. Our comprehensive analysis and experiments confirm the viability of splitting the attention computation over multiple devices. Also, the communication bandwidth required between heterogeneous devices proves to be manageable with prevalent networking technologies. To further validate our theory, we develop and deploy Lamina, an LLM inference system that incorporates model-attention disaggregation in a distributed heterogeneous cluster. Experimental results indicate that Lamina can provide 16.1 ~ 90.1% higher estimated throughput than existing solutions with similar costs.

📄 PDF Abstract BibTeX arXiv:2405.01814

Code (0)

등록된 구현이 없습니다.

Tasks

Language ModelingLanguage ModellingLarge Language Modelmodel

Similar Papers 제목 키워드 기반

Injecting Adrenaline into LLM Serving: Boosting Resource Utilization and Throughput via Attention Disaggregation

2025-03-26 · Yunkai Liang, Zhangyu Chen, Pengfei Zuo, Zhi Zhou 외

In large language model (LLM) serving systems, executing each request consists of two phases: the compute-intensive prefill phase and the memory-intensive decoding phase. To prevent performance interference between the t…

Large Language ModelScheduling

Cost-Efficient Multimodal LLM Inference via Cross-Tier GPU Heterogeneity

2026-03-13 · Donglin Yu arxiv

Multimodal large language model (MLLM) inference splits into two phases with opposing hardware demands: vision encoding is compute-bound, while language generation is memory-bandwidth-bound. We show that under standard t…

Step-3 is Large yet Affordable: Model-system Co-design for Cost-effective Decoding

2025-07-25 · StepFun, :, Bin Wang, Bojun Wang 외 arxiv

Large language models (LLMs) face low hardware efficiency during decoding, especially for long-context reasoning tasks. This paper introduces Step-3, a 321B-parameter VLM with hardware-aware model-system co-design optimi…

Prefilling-dLLM: Predictive Prefilling for Long-Context Inference in Diffusion Language Models

2026-06-09 · Jing Xiong, Qi Han, Shansan Gong, Yunta Hsieh 외 arxiv

Diffusion large language models (dLLMs) re-encode the entire prefix at every denoising step, causing recomputation that scales quadratically with context length and becomes prohibitive for long-context scenarios. We prop…

Tessera: Unlocking Heterogeneous GPUs through Kernel-Granularity Disaggregation

2026-04-11 · Tiancheng Hu, Jin Qin, Zheng Wang, Junhao Hu 외 arxiv

Disaggregation maps parts of an AI workload to different types of GPUs, offering a path to utilize modern heterogeneous GPU clusters. However, existing solutions operate at a coarse granularity and are tightly coupled to…