Compress then Serve: Serving Thousands of LoRA Adapters with Little Overhead

Rickard Brüel Gabrielsson, Jiacheng Zhu, Onkar Bhardwaj, Leshem Choshen, Kristjan Greenewald, Mikhail Yurochkin, Justin Solomon

Abstract

Fine-tuning large language models (LLMs) with low-rank adapters (LoRAs) has become common practice, often yielding numerous copies of the same LLM differing only in their LoRA updates. This paradigm presents challenges for systems that serve real-time responses to queries that each involve a different LoRA. Prior works optimize the design of such systems but still require continuous loading and offloading of LoRAs, as it is infeasible to store thousands of LoRAs in GPU memory. To mitigate this issue, we investigate the efficacy of compression when serving LoRA adapters. We consider compressing adapters individually via SVD and propose a method for joint compression of LoRAs into a shared basis paired with LoRA-specific scaling matrices. Our experiments with up to 500 LoRAs demonstrate that compressed LoRAs preserve performance while offering major throughput gains in realistic serving scenarios with over a thousand LoRAs, maintaining 75% of the throughput of serving a *single* LoRA.

Empirical ResultsBrowse all benchmarks →

BenchmarkMethodMetricScoreProtocol / Evidence
vLLM LoRA servingJoint diagonalization compression (25 clusters, rank 16 JD-Full)Throughput1.6×peft · rank=16 · method=JD-Full · clusters=25 · unique-loras=1024
Source quote
L43: When serving up to 64 unique LoRAs, we use JD without clustering and for 128 or more, we pick the number of clusters to match the performance of compressed and original LoRAs. In each case, the GPU memory footprint of the compressed and original LoRAs is matched for a fair comparison to vLLM's multi-LoRA inference engine. When serving over 1000 LoRAs, compression increases throughput 1.6\!× and maintains 80% of the throughput of serving the base LLM (or a single LoRA merged into the LLM). \S\ref{sec:experiments} presents detailed results.
vLLM LoRA servingJoint diagonalization compression (25 clusters, rank 16 JD-Full)Throughput80%peft · rank=16 · method=JD-Full · clusters=25 · unique-loras=over 1000
Source quote
L43: When serving up to 64 unique LoRAs, we use JD without clustering and for 128 or more, we pick the number of clusters to match the performance of compressed and original LoRAs. In each case, the GPU memory footprint of the compressed and original LoRAs is matched for a fair comparison to vLLM's multi-LoRA inference engine. When serving over 1000 LoRAs, compression increases throughput 1.6\!× and maintains 80% of the throughput of serving the base LLM (or a single LoRA merged into the LLM). \S\ref{sec:experiments} presents detailed results.
BibTeX
@inproceedings{gabrielsson2025compress,
  author = {Rickard Brüel Gabrielsson and Jiacheng Zhu and Onkar Bhardwaj and Leshem Choshen and Kristjan Greenewald and Mikhail Yurochkin and Justin Solomon},
  title = {{Compress then Serve: Serving Thousands of LoRA Adapters with Little Overhead}},
  booktitle = {International Conference on Machine Learning},
  year = {2025},
  url = {https://openreview.net/forum?id=3XMA8RDJu2},
}
Figure