LibraPIM: Dynamic Load Rebalancing to Maximize Utilization in PIM-Assisted LLM Inference Systems

  • Cho, Hyeongjun
  • Jang, Yoonho
  • Kim, Hyungi
  • Kim, Seongwook
  • Kwon, Keewon
  • 외 2명
Citations

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.

키워드

LLM inferenceLoad balancingProcessing-In-Memory
제목
LibraPIM: Dynamic Load Rebalancing to Maximize Utilization in PIM-Assisted LLM Inference Systems
저자
Cho, HyeongjunJang, YoonhoKim, HyungiKim, SeongwookKwon, KeewonKim, GwangsunHong, Seokin
DOI
10.1109/PACT65351.2025.00016
발행일
2025
유형
Conference Paper
저널명
Parallel Architectures and Compilation Techniques - Conference Proceedings, PACT
페이지
43 ~ 56