|国家预印本平台
首页|A First Look at Bugs in LLM Inference Engines

A First Look at Bugs in LLM Inference Engines

A First Look at Bugs in LLM Inference Engines

来源:Arxiv_logoArxiv
英文摘要

Large language model-specific inference engines (in short as \emph{LLM inference engines}) have become a fundamental component of modern AI infrastructure, enabling the deployment of LLM-powered applications (LLM apps) across cloud and local devices. Despite their critical role, LLM inference engines are prone to bugs due to the immense resource demands of LLMs and the complexities of cross-platform compatibility. However, a systematic understanding of these bugs remains lacking. To bridge this gap, we present the first empirical study on bugs in LLM inference engines. We mine official repositories of 5 widely adopted LLM inference engines, constructing a comprehensive dataset of 929 real-world bugs. Through a rigorous open coding process, we analyze these bugs to uncover their symptoms, root causes, and commonality. Our findings reveal six major bug symptoms and a taxonomy of 28 root causes, shedding light on the key challenges in bug detection and location within LLM inference engines. Based on these insights, we propose a series of actionable implications for researchers, inference engine vendors, and LLM app developers.

Mugeng Liu、Siqi Zhong、Weichen Bi、Yixuan Zhang、Zhiyang Chen、Zhenpeng Chen、Xuanzhe Liu、Yun Ma

计算技术、计算机技术

Mugeng Liu,Siqi Zhong,Weichen Bi,Yixuan Zhang,Zhiyang Chen,Zhenpeng Chen,Xuanzhe Liu,Yun Ma.A First Look at Bugs in LLM Inference Engines[EB/OL].(2025-06-11)[2025-07-16].https://arxiv.org/abs/2506.09713.点此复制

评论