mlsanityData to 7 Oct 2026

Distributed Inference and Fine-tuning of Large Language Models Over The Internet

arXiv 2312.08361 ↗First posted 13 Dec 2023cs.LG cs.DCcited by 42

Not on the map. Why?

Abstract (arXiv)

Large language models (LLMs) are useful in many NLP tasks and become more capable with size, with the best open-source models having over 50 billion parameters. However, using these 50B+ models requires high-end hardware, making them inaccessible to most researchers. In this work, we investigate methods for cost-efficient inference and fine-tuning of LLMs, comparing local and distributed strategies. We observe that a large enough model (50B+) can run efficiently even on geodistributed devices in a consumer-grade network. This could allow running LLM efficiently by pooling together idle compute resources of multiple research groups and volunteers. We address two open problems: (1) how to perform inference and fine-tuning reliably if any device can disconnect abruptly and (2) how to partition LLMs between devices with uneven hardware, joining and leaving at will. In order to do that, we develop special fault-tolerant inference algorithms and load-balancing protocols that automatically assign devices to maximize the total system throughput. We showcase these algorithms in Petals - a decentralized system that runs Llama 2 (70B) and BLOOM (176B) over the Internet up to 10x faster than offloading for interactive generation. We evaluate the performance of our system in simulated conditions and a real-world setup spanning two continents.

Key facts. Cited by 42 papers in the map (data through 7 Oct 2026). Builds on 41 of its 61 references that are in the map. First posted on arXiv 13 Dec 2023.

Builds on

41 of 61 references.

References · 41

  1. 2017Attention Is All You Needcited by 59,932
  2. 2020Language Models are Few-Shot Learnerscited by 32,199
  3. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
  4. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
  5. 2020Scaling Laws for Neural Language Modelscited by 6,411
  6. 2019Parameter-Efficient Transfer Learning for NLPcited by 4,195
  7. 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,769
  8. 2023QLoRA: Efficient Finetuning of Quantized LLMscited by 3,355
  9. 2021Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsitycited by 3,014
  10. 2019The Curious Case of Neural Text Degenerationcited by 2,881
  11. 2022BLOOM: A 176B-Parameter Open-Access Multilingual Language Modelcited by 1,968
  12. 2020GShard: Scaling Giant Models with Conditional Computation and Automatic Shardingcited by 1,601
29 more
  1. 2021Scaling Language Models: Methods, Analysis & Insights from Training Gophercited by 1,199
  2. 2021GLaM: Efficient Scaling of Language Models with Mixture-of-Expertscited by 890
  3. 2022Few-Shot Parameter-Efficient Fine-Tuning is Better and Cheaper than In-Context Learningcited by 886
  4. 2022LLM.int8(): 8-bit Matrix Multiplication for Transformers at Scalecited by 881
  5. 2022GLM-130B: An Open Bilingual Pre-trained Modelcited by 837
  6. 2016Training Deep Nets with Sublinear Memory Costcited by 825
  7. 2022Galactica: A Large Language Model for Sciencecited by 736
  8. 2021P-Tuning v2: Prompt Tuning Can Be Comparable to Fine-tuning Universally Across Scales and Taskscited by 686
  9. 2022DeepSpeed Inference: Enabling Efficient Inference of Transformer Models at Unprecedented Scalecited by 403
  10. 20218-bit Optimizers via Block-wise Quantizationcited by 395
  11. 2020Parameter-Efficient Transfer Learning with Diff Pruningcited by 351
  12. 2021ZeRO-Offload: Democratizing Billion-Scale Model Trainingcited by 339
  13. 2021Symbolic Knowledge Distillation: from General Language Models to Commonsense Modelscited by 270
  14. 2014One weird trick for parallelizing convolutional neural networkscited by 264
  15. 2021ZeRO-Infinity: Breaking the GPU Memory Wall for Extreme Scale Deep Learningcited by 253
  16. 2021Training Neural Networks with Fixed Sparse Maskscited by 212
  17. 2021Generating Datasets with Pretrained Language Modelscited by 192
  18. 2018Beyond Data and Model Parallelism for Deep Neural Networkscited by 177
  19. 2018Mesh-TensorFlow: Deep Learning for Supercomputerscited by 168
  20. 2018Demystifying Parallel and Distributed Deep Learning: An In-Depth Concurrency Analysiscited by 154
  21. 2021PanGu-α: Large-scale Autoregressive Pretrained Chinese Language Models with Auto-parallel Computationcited by 134
  22. 2022Decentralized Training of Foundation Models in Heterogeneous Environmentscited by 87
  23. 2021What Changes Can Large-scale Language Models Bring? Intensive Study on HyperCLOVA: Billions-scale Korean Generative Pretrained Transformerscited by 75
  24. 2023SWARM Parallelism: Training Large Models Can Be Surprisingly Communication-Efficientcited by 58
  25. 2019PipeMare: Asynchronous Pipeline Parallel DNN Trainingcited by 54
  26. 2020Training Large Neural Networks with Constant Memory using a New Execution Algorithmcited by 34
  27. 2022Fine-tuning Language Models over Slow Networks using Activation Compression with Guaranteescited by 29
  28. 2022Adapting BigScience Multilingual Model to Unseen Languagescited by 6
  29. 2022Bamboo Trimming Revisited: Simple Algorithms Can Do Well Toocited by 1

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2023: 1; 2024: 14; 2025: 17; 2026: 10.

42 papers.

Sort:

By area:

  1. 2024Mobile Edge Intelligence for Large Language Models: A Contemporary Surveycited by 125
  2. 2023Towards Efficient Generative Large Language Model Serving: A Survey from Algorithms to Systemscited by 101
  3. 2024Helix: Serving Large Language Models over Heterogeneous GPUs and Network via Max-Flowcited by 54
  4. 2024VB-LoRA: Extreme Parameter Efficient Fine-Tuning with Vector Bankscited by 52
  5. 2024The Future of Large Language Model Pre-training is Federatedcited by 30
  6. 2024textttMiniMol: A Parameter-Efficient Foundation Model for Molecular Learningcited by 19
  7. 2025Taming the Titans: A Survey of Efficient LLM Inference Servingcited by 16
  8. 2025SpecEdge: Scalable Edge-Assisted Serving Framework for Interactive LLMscited by 10
  9. 2025EdgeLoRA: An Efficient Multi-Tenant LLM Serving System on Edge Devicescited by 10
  10. 2024TPI-LLM: Serving 70B-scale LLMs Efficiently on Low-resource Edge Devicescited by 9
  11. 2024HLAT: High-quality Large Language Model Pre-trained on AWS Trainiumcited by 7
  12. 2024LocalValueBench: A Collaboratively Built and Extensible Benchmark for Evaluating Localized Value Alignment and Ethical Safety in Large Language Modelscited by 7
30 more
  1. 2025HydraOpt: Navigating the Efficiency-Performance Trade-off of Adapter Mergingcited by 6
  2. 2024AnyMatch -- Efficient Zero-Shot Entity Matching with a Small Language Modelcited by 5
  3. 2024Is Your AI Truly Yours? Leveraging Blockchain for Copyrights, Provenance, and Lineagecited by 4
  4. 2024Deploying Foundation Model Powered Agent Services: A Surveycited by 4
  5. 2025gLLM: Global Balanced Pipeline Parallelism System for Distributed LLM Serving with Token Throttlingcited by 4
  6. 2025Efficient Compositional Multi-tasking for On-device Large Language Modelscited by 4
  7. 2026Decoupled DiLoCo for Resilient Distributed Pre-trainingcited by 4
  8. 2024Recognizing Emotion Regulation Strategies from Human Behavior with Large Language Modelscited by 3
  9. 2025K-Merge: Online Continual Merging of Adapters for On-device Large Language Modelscited by 3
  10. 2024Meta-Learning for Speeding Up Large Model Inference in Decentralized Environmentscited by 2
  11. 2025TAH-QUANT: Effective Activation Quantization in Pipeline Parallelism over Slow Networkcited by 2
  12. 2025DICE: Data Influence Cascade in Decentralized Learningcited by 2
  13. 2025On-device System of Compositional Multi-tasking in Large Language Modelscited by 2
  14. 2025CG-TTRL: Context-Guided Test-Time Reinforcement Learning for On-Device Large Language Modelscited by 1
  15. 2025Easy Adaptation: An Efficient Task-Specific Knowledge Injection Method for Large Models in Resource-Constrained Environmentscited by 1
  16. 2026Inference-Time Scaling for Visual AutoRegressive modeling by Searching Representative Samplescited by 1
  17. 2026DebiasRAG: A Tuning-Free Path to Fair Generation in Large Language Models through Retrieval-Augmented Generationcited by 1
  18. 2026Beyond Scaling: Agents Are Heading to the Edgecited by 1
  19. 2024Photon: Federated LLM Pre-Trainingcited by 0
  20. 2025Can Generative AI be Egalitarian?cited by 0
  21. 2025Zero-Shot Learning for Obsolescence Risk Forecastingcited by 0
  22. 2025MoLink: Distributed and Efficient Serving Framework for Large Modelscited by 0
  23. 2025Meta-Learning for Speeding Up Large Model Inference in Decentralized Environmentscited by 0
  24. 2025Optimizing Resource Allocation for Geographically-Distributed Inference by Large Language Modelscited by 0
  25. 2026Clustering-driven Memory Compression for On-device Large Language Modelscited by 0
  26. 2026Integrity of peer-to-peer distributed LLM inference under malicious nodescited by 0
  27. 2026ExaServe: Large-Scale LLM Serving on Exascale HPC Systemscited by 0
  28. 2026OpWeave: Flexible Operator Disaggregation for Heterogeneous LLM Servingcited by 0
  29. 2026Co-occurrence Patterns of LoRA Adapters in Production Diffusion Model Inference Servicescited by 0
  30. 2026GenomeOcean Anywhere: Private WebGPU Inference for Genome MoEscited by 0