상세 보기
LibraPIM: Dynamic Load Rebalancing to Maximize Utilization in PIM-Assisted LLM Inference Systems
- Cho, Hyeongjun;
- Jang, Yoonho;
- Kim, Hyungi;
- Kim, Seongwook;
- Kwon, Keewon;
- 외 2명
SCOPUS
0초록
Large language models (LLMs) require inference systems that can handle both compute- and memory-intensive workloads. GPUs and NPUs (referred to as xPUs) efficiently process compute-intensive layers, while Processing-In-Memory (PIM) architectures are well suited for memory-bound stages. To exploit this complementary relationship, recent LLM inference systems have adopted heterogeneous architectures integrating xPUs with PIM units. However, this integration poses several challenges. Tight execution dependencies between the two devices limit concurrency, as PIM often must wait for data produced by the xPUs. Moreover, batch size and sequence length affect the computational load on PIM and the accelerator differently, leading to execution imbalance across devices and degrading their utilization. To address these challenges, we propose LibraPIM, a novel PIM framework that orchestrates workload rebalancing and concurrent execution between compute accelerators and in-memory compute units, enabling efficient and scalable LLM inference. LibraPIM addresses the above challenges through two key techniques: Dynamic Batch Offloading (DBO), which adaptively redirects portions of the workload to the underutilized device based on runtime profiling, and Dual-Path Execution (DEX), which enables concurrent PIM operations and memory accesses through sub-bank partitioning with minimal hardware overhead. Together, these techniques improve resource utilization across heterogeneous devices, thereby increasing system throughput in LLM inference. Our experimental results demonstrate that LibraPIM achieves 6.2× average speedup over the baseline PIM-enabled system and delivers a 2.1× average speedup compared to a state-of-the-art approach.
키워드
- 제목
- LibraPIM: Dynamic Load Rebalancing to Maximize Utilization in PIM-Assisted LLM Inference Systems
- 저자
- Cho, Hyeongjun; Jang, Yoonho; Kim, Hyungi; Kim, Seongwook; Kwon, Keewon; Kim, Gwangsun; Hong, Seokin
- 발행일
- 2025
- 유형
- Conference Paper
- 저널명
- Parallel Architectures and Compilation Techniques - Conference Proceedings, PACT
- 페이지
- 43 ~ 56