Towards Energy-Efficient Llama2 Architecture on Embedded FPGAs
Large language models (LLMs) have shown immense potential for applications in information retrieval and knowledge management, but their computational and memory demands pose challenges for resource-constrained devices. In response, this work introduces an FPGA-based accelerator designed to improve LLM inference performance on embedded devices. We leverage quantization techniques, asynchronous computation, and a fully-pipelined accelerator to enhance efficiency. Our empirical evaluations, conducted using the TinyLlama 1.1B model on a Xilinx ZCU102 platform, demonstrate a 14.3-15.8x speedup and a 6.1x energy efficiency improvement over running exclusively on the ZCU102 processing system (PS).
Authors
- Shihao Ji (ORCID: https://orcid.org/0000-0002-3573-5379)
- Xingyuan Wang (ORCID: https://orcid.org/0009-0009-5011-0666)
- Han Xu (ORCID: https://orcid.org/0009-0007-0468-6336)
Institutions
- University of Illinois Urbana-Champaign (US)
- Georgia State University (US)
- Meta (United States) (US)
Publication Details
- Published
- 2024-10-20
- DOI
- https://doi.org/10.1145/3627673.3679068
- Citations
- 1
- Primary Topic
- Parallel Computing and Optimization Techniques
- Type
- article
- Field-Weighted Citation Impact
- 0.49