mlsanityData to 14 Oct 2026

FlexLLM: Token-Level Co-Serving of LLM Inference and Finetuning with SLO Guarantees

arXiv 2402.18789 ↗First posted 29 Feb 2024cs.DC cs.CL cs.LGcited by 9

Not on the map. Why?

Abstract (arXiv)

Finetuning large language models (LLMs) is essential for task adaptation, yet today's serving stacks isolate inference and finetuning on separate GPU clusters -- wasting resources and under-utilizing hardware. We introduce FlexLLM, the first system to co-serve LLM inference and PEFT-based finetuning on shared GPUs by fusing computation at the token level. FlexLLM's static compilation optimizations -- dependent parallelization and graph pruning significantly shrink activation memory, leading to end-to-end GPU memory savings by up to 80%. At runtime, a novel token-level finetuning mechanism paired with a hybrid token scheduler dynamically interleaves inference and training tokens within each co-serving iteration, meeting strict latency SLOs while maximizing utilization. In end-to-end benchmarks on LLaMA-3.1-8B, Qwen-2.5-14B, and Qwen-2.5-32B, FlexLLM maintains inference SLO compliance at up to 20 req/s, and improves finetuning throughput by 1.9-4.8× under heavy inference workloads and 2.5-6.8× under light loads, preserving over 76% of peak finetuning progress even at peak demand. FlexLLM is publicly available at https://flexllm.github.io.

Key facts. Cited by 9 papers in the map (data through 14 Oct 2026). Builds on 42 of its 100 references that are in the map. First posted on arXiv 29 Feb 2024.

Builds on

42 of 100 references.

References · 42

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  2. 2020Language Models are Few-Shot Learnerscited by 32,419
  3. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
  4. 2023GPT-4 Technical Reportcited by 18,396
  5. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,380
  6. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
  7. 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,944
  8. 2019Parameter-Efficient Transfer Learning for NLPcited by 4,236
  9. 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,915
  10. 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,795
  11. 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,512
  12. 2020Learning to summarize from human feedbackcited by 2,588
30 more
  1. 2016Neural Architecture Search with Reinforcement Learningcited by 1,499
  2. 2021What Makes Good In-Context Examples for GPT-3?cited by 1,195
  3. 2023SGLang: Efficient Execution of Structured Language Model Programscited by 1,141
  4. 2023Accelerating Large Language Model Decoding with Speculative Samplingcited by 1,006
  5. 2022Few-Shot Parameter-Efficient Fine-Tuning is Better and Cheaper than In-Context Learningcited by 896
  6. 2021Towards a Unified View of Parameter-Efficient Transfer Learningcited by 872
  7. 2020AdapterFusion: Non-Destructive Task Composition for Transfer Learningcited by 788
  8. 2021GPT Understands, Toocited by 716
  9. 2022Reducing Activation Recomputation in Large Transformer Modelscited by 302
  10. 2023DeepSpeed Ulysses: System Optimizations for Enabling Training of Extreme Long Sequence Transformer Modelscited by 245
  11. 2023SARATHI: Efficient LLM Inference by Piggybacking Decodes with Chunked Prefillscited by 193
  12. 2016Clipper: A Low-Latency Online Prediction Serving Systemcited by 191
  13. 2021UniPELT: A Unified Framework for Parameter-Efficient Language Model Tuningcited by 162
  14. 2023A Unified Continual Learning Framework with General Parameter-Efficient Tuningcited by 125
  15. 2020Serving DNNs like Clockwork: Performance Predictability from the Bottom Upcited by 120
  16. 2019Checkmate: Breaking the Memory Wall with Optimal Tensor Rematerializationcited by 91
  17. 2024Democratizing Large Language Models via Personalized Parameter-Efficient Fine-tuningcited by 90
  18. 2023SpotServe: Serving Generative Large Language Models on Preemptible Instancescited by 87
  19. 2023Punica: Multi-Tenant LoRA Servingcited by 83
  20. 2022Pathways: Asynchronous Distributed Dataflow for MLcited by 82
  21. 2023Fairness in Serving Large Language Modelscited by 78
  22. 2023AutoPEFT: Automatic Configuration Search for Parameter-Efficient Fine-Tuningcited by 49
  23. 2019Pretraining-Based Natural Language Generation for Text Summarizationcited by 40
  24. 2019PREMA: A Predictive Multi-task Scheduling Algorithm For Preemptible Neural Processing Unitscited by 30
  25. 2022Aryl: An Elastic Cluster Scheduler for Deep Learningcited by 27
  26. 2018PRETZEL: Opening the Black Box of Machine Learning Prediction Serving Systemscited by 22
  27. 2023Angel-PTM: A Scalable and Economical Large-scale Pre-training System in Tencentcited by 8
  28. 2022A Survey of Multi-Tenant Deep Learning Inference on GPUcited by 7
  29. 2023MuxFlow: Efficient and Safe GPU Sharing in Large-Scale Production Deep Learning Clusterscited by 7
  30. 2022Deep Learning Workload Scheduling in GPU Datacenters: Taxonomy, Challenges and Visioncited by 6

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2024: 3; 2025: 3; 2026: 3.

9 papers.