计算机科学 > 程序设计语言
[提交于 2024年6月16日]
标题:Optimization of Armv9 architecture general large language model inference performance based on Llama.cpp
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:This article optimizes the inference performance of the Qwen-1.8B model by performing Int8 quantization, vectorizing some operators in llama.cpp, and modifying the compilation script to improve the compiler optimization level. On the Yitian 710 experimental platform, the prefill performance is increased by 1.6 times, the decoding performance is increased by 24 times, the memory usage is reduced to 1/5 of the original, and the accuracy loss is almost negligible.
提交历史
来自:Longhao Chen[v1] 2024年6月16日 星期日 06:46:25 UTC