Saved in:
Bibliographic Details
Main Authors: Gim, In, Zhong, Lin
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2510.25412
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866912676114857984
author Gim, In
Zhong, Lin
author_facet Gim, In
Zhong, Lin
contents Current large language model (LLM) serving systems, primarily designed for text completion, are neither efficient nor adaptable for increasingly complex LLM applications due to their inflexible design. We propose a new LLM serving system architecture that serves programs instead of prompts to address this problem. These programs, called LLM Inference Programs (LIPs), allow users to customize token prediction and KV cache management at runtime and to offload parts of their application logic, such as tool execution, to the server. We describe an example of this architecture through a system named Symphony, which functions as an operating system for LIPs. Symphony exposes LLM model computations via system calls and virtualizes KV cache with a dedicated file system, while ensuring GPU efficiency with a two-level process scheduling scheme. Symphony has the potential to open the door to a more efficient and extensible ecosystem for LLM applications.
format Preprint
id arxiv_https___arxiv_org_abs_2510_25412
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Serve Programs, Not Prompts
Gim, In
Zhong, Lin
Computation and Language
Current large language model (LLM) serving systems, primarily designed for text completion, are neither efficient nor adaptable for increasingly complex LLM applications due to their inflexible design. We propose a new LLM serving system architecture that serves programs instead of prompts to address this problem. These programs, called LLM Inference Programs (LIPs), allow users to customize token prediction and KV cache management at runtime and to offload parts of their application logic, such as tool execution, to the server. We describe an example of this architecture through a system named Symphony, which functions as an operating system for LIPs. Symphony exposes LLM model computations via system calls and virtualizes KV cache with a dedicated file system, while ensuring GPU efficiency with a two-level process scheduling scheme. Symphony has the potential to open the door to a more efficient and extensible ecosystem for LLM applications.
title Serve Programs, Not Prompts
topic Computation and Language
url https://arxiv.org/abs/2510.25412