Optimization of Armv9 architecture general large language model inference performance based on Llamacpp
<|reference_start|>Optimization of Armv9 architecture general large language model inference performance based on Llamacpp: 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.<|reference_end|>
@article{chen2024optimization,
    title={Optimization of Armv9 architecture general large language model
  inference performance based on Llama.cpp},
    author={Longhao Chen, Yina Zhao, Qiangjun Xie, Qinghua Sheng},
    journal={arXiv preprint arXiv:2406.10816},
    year={2024},
    archivePrefix={arXiv},
    eprint={2406.10816},
    primaryClass={cs.PL cs.AI cs.AR cs.PF}
}