All-in-one Approach for Large Language Models Inference
In this paper, we aim to address the large language models (LLMs) deployment challenges in the industry area that require efficient inference solutions to handle the computational demands. To address the challenge, we propose an all-in-one approach that integrates CPU hardware and software-optimized solutions for accelerating the inference performance of LLMs. This paper introduces two key hardware features, advanced matrix extension and high bandwidth memory. Their importance for LLM inference is also explained. Additionally, the software implementation of the proposed all-in-one approach is presented. The paper introduces multiple optimization strategies adopted by the all-in-one approach for LLM inference optimization. The experiment results show the token generation latency of the OPT model with 13B parameters only needs 30ms on the proposed all-in-one approach.
Authors
- Pujiang He
- Chen Meng (ORCID: https://orcid.org/0000-0001-7064-2488)
- Changqing Li (ORCID: https://orcid.org/0009-0004-2330-2228)
- Sheng Gui (ORCID: https://orcid.org/0000-0003-0739-9221)
- Shan Zhou (ORCID: https://orcid.org/0000-0002-6476-3280)
- Yi Xie (ORCID: https://orcid.org/0000-0002-1416-5557)
- Weifei Yu
- Wenhuan Huang
- Duyi Wang
Publication Details
- Published
- 2024-09-13
- DOI
- https://doi.org/10.1109/icsess62520.2024.10719375
- Primary Topic
- Topic Modeling
- Type
- article
- Field-Weighted Citation Impact
- 0.00