paper-with-me

Papers

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

2024-06-17 · Rickard Brüel-Gabrielsson, Jiacheng Zhu, Onkar Bhardwaj, Leshem Choshen, Kristjan Greenewald, Mikhail Yurochkin, Justin Solomon

Fine-tuning large language models (LLMs) with low-rank adaptations (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 LoRAs. We propose a method for the joint compression of LoRAs into a shared basis paired with LoRA-specific scaling matrices. We extend our algorithm to learn clusters of LoRAs that are amenable to joint compression, allowing it to scale gracefully to large LoRA collections. Our experiments with up to 1000 LoRAs demonstrate that compressed LoRAs preserve performance while offering major throughput gains in realistic serving scenarios with over a thousand LoRAs, maintaining 80% of the throughput of serving a single LoRA.

📄 PDF Abstract BibTeX arXiv:2407.00066

Code (0)

등록된 구현이 없습니다.

Tasks

GPUModel Compression

Similar Papers 제목 키워드 기반

S-LoRA: Serving Thousands of Concurrent LoRA Adapters

2023-11-06 · Ying Sheng, Shiyi Cao, Dacheng Li, Coleman Hooper 외

The "pretrain-then-finetune" paradigm is commonly adopted in the deployment of large language models. Low-Rank Adaptation (LoRA), a parameter-efficient fine-tuning method, is often employed to adapt a base model to a mul…

GPUparameter-efficient fine-tuning

Compress then Merge: From Multiple LoRAs into One Low-Rank Adapter

2026-06-02 · Zhengbao He, Ruiqi Ding, Zhehao Huang, Ruikai Yang 외 arxiv

Low-rank adaptation (LoRA) enables parameter-efficient specialization of foundation models, but the proliferation of task-specific adapters fragments capabilities across many adapters, complicating reuse and deployment. …

CA-LoRA: Adapting Existing LoRA for Compressed LLMs to Enable Efficient Multi-Tasking on Personal Devices

2023-07-15 · Weilin Zhao, Yuxiang Huang, Xu Han, Zhiyuan Liu 외

Recently, there has been a demand to deploy Large Language Models (LLMs) on personal devices such as laptops and smartphones. These LLMs have different model variants when handling different tasks. However, personal devi…

Model Compression

MosaicKV: Serving Long-Context LLM with Dynamic Two-D KV Cache Compression

2026-07-01 · Sheng Qiang, Ruiwei Chen, Yinpeng Wu, Jinyu Gu 외 arxiv

Long-context LLM services now sustain prompts with hundreds of thousands to millions of tokens, making the key-value (KV) cache a first-order serving cost. Because the cache grows linearly with context length, it can exh…

FraQ: Efficient Coordinate-Space Recompression for Federated Low-Rank Adaptation

2026-08-04 · Shenghui Li, Thiemo Voigt arxiv

Federated fine-tuning with Low-Rank Adaptation (LoRA) enables efficient collaborative adaptation of Large Language Models (LLMs) without centralizing private data. However, LoRA's two-factor parameterization creates an a…

Text Classification