A technical paper titled “Efficient LLM Inference on CPUs” was published by researchers at Intel.
“Large language models (LLMs) have demonstrated remarkable performance and tremendous potential across a wide range of tasks. However, deploying these models has been challenging due to the astronomical amount of model parameters, which requires a demand for large memory capacity and high memory bandwidth. In this paper, we propose an effective approach that can make the deployment of LLMs more efficiently. We support an automatic INT4 weight-only quantization flow and design a special LLM runtime with highly-optimized kernels to accelerate the LLM inference on CPUs. We demonstrate the general applicability of our approach on popular LLMs including Llama2, Llama, GPT-NeoX, and showcase the extreme inference efficiency on CPUs. The code is publicly available at: this https URL.”
Find the technical paper here. Published November 2023 (preprint).
Shen, Haihao, Hanwen Chang, Bo Dong, Yu Luo, and Hengyu Meng. “Efficient LLM Inference on CPUs.” arXiv preprint arXiv:2311.00502 (2023).
Related Reading
Artificial Intelligence (AI) Knowledge Center
How Much AI Is Really Needed?
Performance depends on the application it is being applied to.
Leave a Reply