Conveyor:具有工具部分执行功能的高效工具感知LLM服务
Conveyor: Efficient Tool-aware LLM Serving with Tool Partial Execution
AI总结:
针对LLM与外部工具集成导致服务复杂度增加的问题,提出高效LLM服务系统Conveyor,通过在LLM解码时进行工具部分执行及引入相关接口与调度器,将请求完成延迟降低高达38.8%。
摘要:
由于与外部工具调用(如ChatGPT插件)的集成,大型语言模型(LLM)服务工作负载的复杂性显著增加。在本文中,我们为触发工具的请求的高效LLM服务识别出一个新机会:在LLM解码的同时进行工具部分执行。为此,我们设计了Conveyor,这是一个高效LLM服务系统,专为处理涉及外部工具的请求而优化。我们引入了一个新颖的接口,供工具开发者向LLM服务系统暴露部分执行机会,并引入了一个请求调度器来促进部分工具执行。我们的结果表明,工具部分执行可将请求完成延迟降低高达38.8%。
英文摘要:
The complexity of large language model (LLM) serving workloads has substantially increased due to the integration with external tool invocations, such as ChatGPT plugins. In this paper, we identify a new opportunity for efficient LLM serving for requests that trigger tools: tool partial execution alongside LLM decoding. To this end, we design Conveyor, an efficient LLM serving system optimized for handling requests involving external tools. We introduce a novel interface for tool developers to expose partial execution opportunities to the LLM serving system and a request scheduler that facilitates partial tool execution. Our results demonstrate that tool partial execution can improve request completion latency by up to 38.8%.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。