In plain words: A custom chip design runs a small Llama language model on an embedded board by shrinking the model's numbers and keeping calculations flowing while data loads. It ran 14.3–15.8 times faster and delivered 6.1 times better power efficiency than the board's main processor alone.
Abstract
Large language models (LLMs) have demonstrated remarkable abilities in natural language processing. However, their deployment on resource-constrained embedded devices remains difficult due to memory and computational demands. In this paper, we present an FPGA-based accelerator designed to improve LLM inference performance on embedded FPGAs. We employ post-training quantization to reduce model size and optimize for off-chip memory bandwidth. Our design features asynchronous computation and a fully pipelined accelerator for matrix-vector multiplication. Experiments of the TinyLlama 1.1B model on a Xilinx ZCU102 platform show a 14.3-15.8x speedup and a 6.1x power efficiency improvement over running exclusively on ZCU102 processing system (PS).
Han Xu, Yutong Li, Shihao Ji
arXiv:2409.11424 · cs.AR · submitted Sep 12, 2024
abstract · pdf · html