paper-with-me

Papers

LoL-PIM: Long-Context LLM Decoding with Scalable DRAM-PIM System

2024-12-28 · Hyucksung Kwon, Kyungmo Koo, Janghyeon Kim, Woongkyu Lee, Minjae Lee, Hyungdeok Lee, Yousub Jung, JaeHan Park, Yosub Song, Byeongsu Yang, Haerang Choi, Guhyun Kim, Jongsoon Won, Woojae Shin, Changhyun Kim, Gyeongcheol Shin, Yongkee Kwon, Ilkon Kim, Euicheol Lim, John Kim, Jungwook Choi

The expansion of large language models (LLMs) with hundreds of billions of parameters presents significant challenges to computational resources, particularly data movement and memory bandwidth. Long-context LLMs, which process sequences of tens of thousands of tokens, further increase the demand on the memory system as the complexity in attention layers and key-value cache sizes is proportional to the context length. Processing-in-Memory (PIM) maximizes memory bandwidth by moving compute to the data and can address the memory bandwidth challenges; however, PIM is not necessarily scalable to accelerate long-context LLM because of limited per-module memory capacity and the inflexibility of fixed-functional unit PIM architecture and static memory management. In this work, we propose LoL-PIM which is a multi-node PIM architecture that accelerates long context LLM through hardware-software co-design. In particular, we propose how pipeline parallelism can be exploited across a multi-PIM module while a direct PIM access (DPA) controller (or DMA for PIM) is proposed that enables dynamic PIM memory management and results in efficient PIM utilization across a diverse range of context length. We developed an MLIR-based compiler for LoL-PIM extending a commercial PIM-based compiler where the software modifications were implemented and evaluated, while the hardware changes were modeled in the simulator. Our evaluations demonstrate that LoL-PIM significantly improves throughput and reduces latency for long-context LLM inference, outperforming both multi-GPU and GPU-PIM systems (up to 8.54x and 16.0x speedup, respectively), thereby enabling more efficient deployment of LLMs in real-world applications.

📄 PDF Abstract BibTeX arXiv:2412.20166

Code (0)

등록된 구현이 없습니다.

Tasks

GPUManagement

Methods 이 논문이 사용한 방법론

Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…
Attention 설명 없음
DMA In image inpainting task, the mechanism extracts complementary features from the word embedding in two paths by reciprocal attention, which is done by comparing the descriptive…

Similar Papers 제목 키워드 기반

KVDrive: A Holistic Multi-Tier KV Cache Management System for Long-Context LLM Inference

2026-05-18 · Jian Lin, Jiazhi Mi, Zicong Hong, Haodong Wang 외 arxiv

Supporting long-context LLMs is challenging due to the substantial memory demands of the key-value (KV) cache. Existing offloading systems store the full cache in host memory and selectively fetch critical entries during…

DynaKV: Enabling Accurate and Efficient Long-Sequence LLM Decoding on Smartphones

2025-10-20 · Tuowei Wang, Minxing Huang, Fengzu Li, Ligeng Chen 외 arxiv

As the demand for human-like reasoning, multi-turn dialogues, and long-form responses grows, large language models (LLMs) are increasingly expected to support efficient and effective long-sequence decoding. However, due …

Salca: A Sparsity-Aware Hardware Accelerator for Efficient Long-Context Attention Decoding

2026-04-27 · Wang Fan, Wei Cao, Xi Zha, Kedi Ma 외 arxiv

Long contexts improve capabilities of large language models but pose serious hardware challenges: compute and memory footprints grow linearly with sequence length. Particularly, the decoding phase continuously accesses m…

SSSD: Simply-Scalable Speculative Decoding

2024-11-08 · Michele Marzollo, Jiawei Zhuang, Niklas Roemer, Lorenz K. Müller 외

Over the past year, Speculative Decoding has gained popularity as a technique for accelerating Large Language Model inference. While several methods have been introduced, most struggle to deliver satisfactory performance…

Language ModelingLanguage ModellingLarge Language Model

TF-Engram: A Train-Free Engram with SSD-Backed Memory for Large Language Models

2026-07-08 · Yutang Ma, Kecheng Huang, Xikun Jiang, Zili Shao arxiv

Large Language Models (LLMs) store factual knowledge and domain-specific patterns implicitly in dense Transformer parameters, making knowledge expansion costly through pretraining, fine-tuning, retrieval augmentation, or…