arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2611.01256cs.LGcs.AI
收藏

LoRAForge:为高效多LoRA服务协同设计事后压缩与执行

LoRAForge: Co-Designing Post-Hoc Compression and Execution for Efficient Multi-LoRA Serving

Uppsala University(乌普萨拉大学);Research Institutes of Sweden(瑞典研究院)

Shenghui Li, Thiemo Voigt

AI总结:

提出LoRAForge系统,通过显式保留秩表示连接批量因子构建与秩专用执行,结合两种分配策略,经实验可降低适配器参数占比并提升GPU令牌吞吐量。

摘要:

多LoRA服务允许多个特定任务适配器共享一个公共基础模型,但扩展到大型适配器集群会带来巨大的存储、加载和执行开销。事后压缩可减少已训练LoRA适配器的内存占用,但较小的秩并不自动转化为更快的服务。例如,填充、因子访问和通用内核会掩盖保留的低秩结构,而独立重新压缩数千个模块也会产生显著的准备开销。我们提出LoRAForge,这是一个通过显式保留秩表示将批量因子构建与秩专用执行连接起来的系统。它支持两种分配策略:统一保留比例(LoRAForge-U)和光谱能量预算分配(LoRAForge-S)。两者共享FlashTSQR因子构建和相同的服务后端。FlashTSQR利用模块和行块的并行性,与匹配库的QR分解相比,可将因子构建加速高达2.28倍。在固定工作负载的Qwen控制实验中,共享运行时在两种压缩策略下的吞吐量增加1.17至1.22倍,对原始适配器的增益可忽略不计。在85个已训练的开放权重Qwen和Llama适配器上,光谱策略的取整质量配置保留了约7.7%的适配器参数,集群平均得分下降在0-100分制下最多1.2分。相同秩取整的1/12光谱导出在AMD和NVIDIA GPU上均实现了显著的令牌吞吐量提升。

英文摘要:

Multi-LoRA serving allows many task-specific adapters to share a common base model, but scaling to large adapter fleets introduces substantial storage, loading, and execution overheads. Post-hoc compression can reduce the memory footprint of trained LoRA adapters, yet smaller ranks do not automatically translate into faster serving. For instance, padding, factor access, and generic kernels can obscure the retained low-rank structure, while independently recompressing thousands of modules also incurs significant preparation overhead. We present LoRAForge, a system connecting batched factor construction to rank-specialized execution through an explicit retained-rank representation. It supports two allocation policies: uniform retention ratios (LoRAForge-U) and spectral-energy budget allocation (LoRAForge-S). Both share FlashTSQR factor construction and the same serving backend. FlashTSQR exploits parallelism across modules and row tiles, accelerating factor construction by up to $2.28\times$ over matched library QR. In a fixed-work Qwen control, the shared runtime adds $1.17$--$1.22\times$ throughput across both compressed policies, with negligible gains on original adapters. Across 85 trained open-weighted Qwen and Llama adapters, the spectral policy's floored quality configuration retains about 7.7% of adapter parameters with fleet-average score drops of at most 1.2 points on a 0--100 scale. The same rank-floored $1/12$ spectral exports achieve substantial token-throughput gains on both AMD and NVIDIA GPUs.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑