Optimizing Resource Allocation for Geographically-Distributed Inference by Large Language Models
Not on the map. Why?
Abstract (arXiv)
Large language models have demonstrated extraordinary performance in many AI tasks but are expensive to use, even after training, due to their requirement of high-end GPUs. Recently, a distributed system called PETALS was developed to lower the barrier for deploying LLMs by splitting the model blocks across multiple servers with low-end GPUs distributed over the Internet, which was much faster than swapping the model parameters between the GPU memory and other cheaper but slower local storage media. However, the performance of such a distributed system critically depends on the resource allocation, and how to do so optimally remains unknown. In this work, we present the first systematic study of the resource allocation problem in distributed LLM inference, with focus on two important decisions: block placement and request routing. Our main results include: experimentally validated performance models that can predict the inference performance under given block placement and request routing decisions, a formulation of the offline optimization of block placement and request routing as a mixed integer linear programming problem together with the NP-hardness proof and a polynomial-complexity algorithm with guaranteed performance, and an adaptation of the offline algorithm for the online setting with the same performance guarantee under bounded load. Through both experiments and experimentally-validated simulations, we have verified that the proposed solution can substantially reduce the inference time compared to the state-of-the-art solution in diverse settings with geographically-distributed servers. As a byproduct, we have also developed a light-weighted CPU-only simulator capable of predicting the performance of distributed LLM inference on GPU servers, which can evaluate large deployments and facilitate future research for researchers with limited GPU access.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 13 of its 37 references that are in the map. First posted on arXiv 26 Dec 2025.
Builds on
13 of 37 references.
References · 13
- 2017Attention Is All You Needcited by 59,932
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,464
- 2022BLOOM: A 176B-Parameter Open-Access Multilingual Language Modelcited by 1,968
- 2021ZeRO-Offload: Democratizing Billion-Scale Model Trainingcited by 339
- 2021ZeRO-Infinity: Breaking the GPU Memory Wall for Extreme Scale Deep Learningcited by 253
- 2018Demystifying Parallel and Distributed Deep Learning: An In-Depth Concurrency Analysiscited by 154
- 2019PipeMare: Asynchronous Pipeline Parallel DNN Trainingcited by 54
- 2023Distributed Inference and Fine-tuning of Large Language Models Over The Internetcited by 42
- 2020Training Large Neural Networks with Constant Memory using a New Execution Algorithmcited by 34
- 2024Comprehensive Survey of Model Compression and Speed up for Vision Transformerscited by 14
- 2017REPETITA: Repeatable Experiments for Performance Evaluation of Traffic-Engineering Algorithmscited by 7
Built on by
Not cited yet.