Reproduce “Dissecting and Re-architecting 3D NAND Flash PIM Arrays for Efficient Single-Batch Token Generation in LLMs” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Yongjoo Jang, Sangwoo Hwang, Hojin Lee, Sangwoo Jung, Donghun Lee, Wonbo Shim, Jaeha Kung

Researchers from Korea University and Seoul National University of Science and Technology propose a re-architected 3D NAND flash processing-in-memory (PIM) architecture for efficient single-batch token generation in Large Language Models (LLMs). This architecture achieves a 2.4x speedup over four NVIDIA RTX4090 GPUs and comparable performance to four NVIDIA A100 GPUs for OPT models while being cost-effective and area-efficient.

Key insights

  • Careful design space exploration reveals that precharge latency significantly impacts overall PIM latency, guiding optimal plane size selection.
  • An H-tree network is critical for fully parallelizing PIM arrays and mitigating I/O bottlenecks, reducing execution time by 46% compared to shared bus architectures.
  • Integrating PIM peripheral circuits and the H-tree network using peri-under-array (PUA) structure allows for functionality without additional area overhead on the die.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.