Hardware-Accelerated Large Language Model Inference Engine Using Processing-In-Memory: The PIM-Flux Adaptive Co-Scheduling Architecture

Authors

  • ISAAC, S. Former Assistant Professor- ECE Dept., T.C 11/1381, 66- Bains’ Compound, Nanthencode, Thiruvananthapuram, Kerala - 695003.

DOI:

https://doi.org/10.70917/ijcisim-2026-5831

Keywords:

Processing-in-memory, large language models, hardware acceleration, DRAM-PIM, memory wall, transformer inference, heterogeneous computing

Abstract

Large language models (LLMs) are increasingly limited by the time and energy needed to move model weights and key-value (KV) cache data between DRAM and compute units. This memory bottleneck is especially serious during token-by-token decoding, where matrix-vector operations do not fully use GPU computing resources while memory bandwidth is heavily used (Horowitz, 2014; Wolters et al., 2024). Processing-in-memory (PIM) helps reduce this cost by performing computation close to DRAM banks, reducing the need to move data to separate compute units (Mutlu et al., 2022; Lee et al., 2021). This paper proposes PIM-Flux, a heterogeneous LLM inference engine that shares work dynamically between a GPU/NPU compute plane and a bank-level DRAM-PIM array. A runtime scheduler classifies each transformer sub-layer as compute-bound or memory-bound at each inference step and sends it to the more suitable compute resource. The design also stores the KV cache in mixed INT4/INT8 precision inside PIM memory and uses a lightweight instruction-queue interface without requiring changes to the host processor's instruction set. The design is evaluated analytically using seven published PIM and GPU baselines covering GPT-2, GPT-3-class, and LLaMA-2/Mixtral workloads. The projections indicate a 2.1-4.8x latency reduction and a 3.4-7.9x improvement in energy efficiency compared with an NVIDIA A100/H100-class GPU baseline for batched decoding, while preserving GPU/NPU compute capacity for compute-bound prefill. These results suggest that adaptive PIM-GPU co-scheduling is a practical direction for reducing the cost of LLM inference.

Downloads

Download data is not yet available.

Downloads

Published

2026-08-28

How to Cite

ISAAC, S. (2026). Hardware-Accelerated Large Language Model Inference Engine Using Processing-In-Memory: The PIM-Flux Adaptive Co-Scheduling Architecture. International Journal of Computer Information Systems and Industrial Management Applications, 18(22s), 2023–2040. https://doi.org/10.70917/ijcisim-2026-5831

Issue

Section

Original Articles