DeServe: Towards Affordable Offline LLM Inference via Decentralization
Linyu Wu, Xiaoyuan Liu, Tianneng Shi, Zhe Ye, Dawn Song
TL;DR
DeServe tackles the high cost and limited availability of GPU resources for offline LLM inference by enabling a decentralized, offline-serving marketplace that leverages idle GPUs. It combines inter-layer (pipeline) model parallelism with KV cache offloading and microbatch scheduling to mitigate high-latency network bubbles and boost throughput, supported by a formal cost/profit model. The approach achieves substantial throughput gains ($6.7\times$ to $12.6\times$) in high-latency environments and is complemented by a modular on-chain framework for task registration, payments, and arbitration to protect correctness and incentives. This work highlights a practical path toward affordable offline LLM inference at scale, while also outlining open problems in decentralization, verification, and governance.
Abstract
The rapid growth of generative AI and its integration into everyday workflows have significantly increased the demand for large language model (LLM) inference services. While proprietary models remain popular, recent advancements in open-source LLMs have positioned them as strong contenders. However, deploying these models is often constrained by the high costs and limited availability of GPU resources. In response, this paper presents the design of a decentralized offline serving system for LLM inference. Utilizing idle GPU resources, our proposed system, DeServe, decentralizes access to LLMs at a lower cost. DeServe specifically addresses key challenges in optimizing serving throughput in high-latency network environments. Experiments demonstrate that DeServe achieves a 6.7x-12.6x improvement in throughput over existing serving system baselines in such conditions.
