CELLA: A 28nm Compute-Memory Co-Optimized Real-Time Digital CIM-Based Edge LLM Accelerator with 1.78ms-Response in Prefill and 31.32 Token/s in Decoding
This work presents a digital Compute-in-memory (CIM)-based Edge LLM Accelerator CELLA with Compute-Memory co-optimization for Prefill-Decoding phases: 1) Prefill is compute-bound and CIM works in MAC-mode. A puzzle-shaped input scheduling unit (PISU) reassembles input into an interlocking pattern, reducing <tex xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">$2.82\times$</tex> TTFT. 2) Decoding is memory-bound and CIM works in CAM-mode. (a) For static parameters, non-uniform quantization multiply-accumulation (NUQ-MAC) is processed in CIM with majority-first index searcher (MFIS), saving <tex xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">$4.89\times$</tex> TPOT. (b) For dynamic KV cache, only important KV is fetched by hash-based cache filter (HCF), saving <tex xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">$4.13\times$</tex> TPOT. It reaches 1.78ms-response and 31.32token/s, speeding up <tex xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">$2.53\sim 9.74\times$</tex> than state-of-the-art accelerators and edge GPU.
Authors
- Shaojun Wei
- Fengbin Tu (ORCID: https://orcid.org/0000-0003-2228-8829)
- Shouyi Yin (ORCID: https://orcid.org/0000-0003-2309-572X)
- Yang Hu (ORCID: https://orcid.org/0000-0001-6942-4395)
- Zhen He
- Yiqi Wang (ORCID: https://orcid.org/0000-0002-9657-3617)
- Bohan Yang (ORCID: https://orcid.org/0009-0000-2758-127X)
- Zihan Wu (ORCID: https://orcid.org/0000-0002-5858-8850)
- Yang Wang (ORCID: https://orcid.org/0000-0002-0222-2083)
Institutions
- Hong Kong University of Science and Technology (HK)
- Tsinghua University (CN)
Publication Details
- Published
- 2025-06-08
- DOI
- https://doi.org/10.23919/vlsitechnologyandcir65189.2025.11075101
- Citations
- 4
- Primary Topic
- Particle Accelerators and Free-Electron Lasers
- Type
- article
- Field-Weighted Citation Impact
- 2.92
Funders
- National Natural Science Foundation of China
- National Key Research and Development Program of China