Cambricon-FlexLLM: A Flexible Chiplet-Based Hybrid Architecture for On-Device 70B LLM Inference
Open Access
- 13 October 2026
- journal article
- Published by Association for Computing Machinery (ACM) in ACM Transactions on Architecture and Code Optimization
- Vol. 23 (4) , 1-25
Abstract
Deploying advanced large language models on edge devices, such as smartphones and robotics, is a growing trend that enhances user data privacy and network connectivity resilience while preserving intelligent capabilities. However, such a task exhibits single-batch computing with incredibly low arithmetic intensity, which poses significant challenges of huge memory footprint and bandwidth demands on limited edge resources. To address these issues, we introduce Cambricon-FlexLLM, a chiplet-based hybrid architecture with an NPU and a dedicated NAND flash chip to enable efficient on-device inference of 70B LLMs. Such a hybrid architecture utilizes both the high computing capability of NPU and the data capacity of the NAND flash chip, with the proposed hardware-tiling strategy that minimizes the data movement overhead between NPU and NAND flash chip. Specifically, the NAND flash chip, enhanced by our innovative in-flash computing and on-die ECC techniques, excels at performing precise lightweight on-die processing. Simultaneously, the NPU collaborates with the flash chip for matrix operations and handles special function computations beyond the flash’s on-die processing capabilities. Furthermore, to exploit the activation sparsity prevalent in modern LLMs, we propose a co-activation neuron-inspired weight-reordering algorithm and a sparsity-aware dynamic partitioning scheme. These optimizations significantly reduce the transfer of ineffective weight data. Experimental results demonstrate that Cambricon-FlexLLM achieves an inference speed of 3.44 tokens/s for 70B LLMs and 36.34 tokens/s for 7B LLMs, outperforming state-of-the-art flash-offloading frameworks by 22×–45×. Leveraging activation sparsity, Cambricon-FlexLLM achieves an additional 1.7× average speedup, ranging from 1.3× to 2.0× compared with dense inference. These results show a path toward local 70B-class decode for privacy-sensitive, offline, and fallback use cases on resource-constrained edge devices, while also highlighting the need to manage prefill latency, energy, thermal behavior, and shared-storage constraints.Keywords
Funding Information
- Science and Technology Innovation 2030 Major Projects (2026ZD1611202)
- State Key Lab of Processors, Institute of Computing Technology, CAS (CLQ202609)
- Research Fund of Jiangsu Key Laboratory of AI for Industries (E6420012G8)
This publication has 27 references indexed in Scilit:
- High-performance, power-efficient three-dimensional system-in-package designs with universal chiplet interconnect expressNature Electronics, 2024
- FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awareness2022
- WinoGrandeCommunications of the ACM, 2021
- SpAtten: Efficient Sparse Attention Architecture with Cascade Token and Head Pruning2021
- Memory devices and applications for in-memory computingNature Nanotechnology, 2020
- How many words do we read per minute? A review and meta-analysis of reading rateJournal of Memory and Language, 2019
- Processing data where it makes sense: Enabling in-memory computationMicroprocessors and Microsystems, 2019
- What Your DRAM Power Models Are Not Telling YouProceedings of the ACM on Measurement and Analysis of Computing Systems, 2018
- Error Characterization, Mitigation, and Recovery in Flash-Memory-Based Solid-State DrivesProceedings of the IEEE, 2017
- EIEACM SIGARCH Computer Architecture News, 2016