Conveyor: Efficient Tool-aware LLM Serving with Tool Partial Execution

Yechen Xu, Xinhao Kong, Tingjun Chen, Danyang Zhuo
5/29/2024
cs.CLcs.DCcs.LG

No official code found. Best implementation: conveyor-sys/conveyor (9 stars, Apache-2.0, last commit 2024-09-11).

Abstract

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%.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Efficient tool-assisted LLM serving runtime.

91PythonFeb 14, 20242 years agoApache-2.0

Similar Papers

Cite this paper

@article{xu2024conveyor,
  title  = {Conveyor: Efficient Tool-aware LLM Serving with Tool Partial Execution},
  author = {Yechen Xu and Xinhao Kong and Tingjun Chen and Danyang Zhuo},
  year   = {2024},
  eprint = {2406.00059},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2406.00059v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2406.00059.svg)](https://codeofpaper.com/paper/2406.00059)

Discussion