DOTS: DRAM-PIM Optimization for Tall and Skinny GEMM Operations in LLM Inference
Abstract
For large language models (LLMs), increasing token lengths require smaller batch sizes due to increase in memory requirement for KV caching, leading to under-utilization of processing units and memory bandwidth bottleneck in NPUs. To address the challenge, we propose DOTS, a new DRAM-PIM architecture that can handle both GEMV and GEMM efficiently, even outperforming NPUs in GEMM operations when batch sizes are small. The proposed DRAM-PIM reduces power consumption and latency caused by frequent DRAM row activation switching in conventional DRAM PIMs with negligible hardware overhead. Simulation results show that our proposed design achieves throughput improvements of 1.83x, 1.92x, and 1.7x over GPU, NPU, and heterogeneous NPU/PIM systems, respectively, for models as large as or larger than OPT-175B.
BibTeX
@inproceedings{park2025dots,
author = {Gyeonghwan Park and Sanghyeok Han and Byungkuk Yoon and Jae-Joon Kim},
title = {{DOTS: DRAM-PIM Optimization for Tall and Skinny GEMM Operations in LLM Inference}},
booktitle = {DATE},
year = {2025},
url = {https://openreview.net/forum?id=j6zOF7giH9},
}Ask Althea to put this paper to the test.
Loading related content...