Manuscript Offprint

arXiv:2611.03899

EpiLoRA: Fusing Many LoRA Adapters into Low-Precision GEMMs for Serving and RL

Hieu Tran, Hong Yu

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original. This text is shared under the same licence.

ABSTRACT

Low-rank adapters (LoRA) let one base model serve many fine-tuned variants: multi-tenant engines keep a single copy of the base and batch the requests of many tenants, each with its own adapter. As base models move to 8-bit (FP8) and 4-bit formats, their general matrix multiplications (GEMMs) become cheaper, but the adapters do not: engines run them as separate small GPU kernels beside the GEMM, whose latency takes a growing share of every decoding step. An adapter projects its input down to a low rank and back up, and our key observation is that the GEMM needs the down-projection only in its epilogue, the final stage in which it writes its output. EpiLoRA, a plugin for the vLLM engine, therefore launches the down-projection first and the low-precision GEMM as a dependent kernel that streams its weights meanwhile and adds every tenant's up-projection in its epilogue. On NVIDIA Hopper GPUs, EpiLoRA decodes for a single adapter with up to 24% lower time per token than vLLM's fastest configuration, and faster than SGLang and TensorRT-LLM; with many tenants, its adapter kernels deliver more throughput than vLLM's on most GPU–model pairs we tested. The same low-precision base also trains: a LoRA reinforcement-learning trainer that computes on the engine's FP8 weights needs no 16-bit copy, so a 27B model trains on one 48 GB GPU, and an engine that then keeps activations in 16 bits removes most of the remaining mismatch between the model generating training data and the one trained.

1 INTRODUCTION

Low-rank adapters (LoRA) (Hu et al., 2022) have become the standard way to specialize a large language model without copying it. An adapter adds a low-rank update BABA to each frozen weight matrix WW of the model, where AA projects the layer's input down to a small rank rr (typically 16–128) and BB projects it back up; together they hold a fraction of a percent of the model's parameters. One base model can therefore carry thousands of fine-tunes. Multi-tenant serving engines exploit this by keeping a single copy of the base in GPU memory and batching the requests of many tenants, the users or applications that each bring their own adapter (Chen et al., 2024; Sheng et al., 2024). Adapters are also what LoRA reinforcement learning (RL) trains: LoRA matches full fine-tuning at a fraction of the memory (Schulman & Thinking Machines Lab, 2025), and several services now train adapters for many users on shared bases (Thinking Machines Lab, 2025; Mind Lab, 2026; Yu et al., 2026a).

At the same time, base models are moving to low precision. NVIDIA's Ada (e.g., L40S) and Hopper (H100 and H200) GPUs compute in 8-bit floating point (FP8) at twice their

rate in the 16-bit bf16 format (Micikevicius et al., 2022), and Blackwell GPUs compute 4-bit formats such as NVFP4 at four times that rate (Rouhani et al., 2023; NVIDIA, 2025). Serving systems therefore quantize the base model's general matrix multiplications (GEMMs) to these formats (Lin et al., 2024; 2025; Frantar et al., 2025), and RL frameworks increasingly generate their training samples, called rollouts, with FP8 inference engines (Liu et al., 2025; Xi et al., 2026; Chen et al., 2026a). Lower-precision bases make inference cheaper, but the cost of serving LoRA adapters remains largely unchanged in current engines.

The reason is that the adapter path stays outside the low-precision GEMM. Merging an adapter into a quantized base rounds the update onto the base's coarse grid and can erase it (Miahi & Belilovsky, 2026; Li et al., 2026), so engines keep adapters separate and compute them in their own GPU kernels beside the base GEMM (Kwon et al., 2023; Chen et al., 2024). During decoding, when the engine generates one token per request at each step, this adapter path is a chain of small dependent kernels whose latency does not shrink with the base. The cheaper the base, the larger the adapter's share of each step (Figure 2).

Existing systems address other parts of the problem. Punica and S-LoRA made batching many adapters practical (Chen et al., 2024; Sheng et al., 2024), and later systems decide where adapters are stored and which tenants share a

¹University of Massachusetts Amherst, Amherst, MA, USA ²University of Massachusetts Lowell, Lowell, MA, USA. Correspondence to: Hieu Tran hieutran@umass.edu.

(a) one stream: the adapter's kernels follow the GEMM

Figure

(b) two streams: the LoRA branch beside the GEMM, added after it

Figure

(c) EpiLoRA's decode path: hh is needed only in the epilogue

Figure 1. The GEMM needs the adapter's down-projection only in its epilogue. One projection during decoding; a CUDA stream runs its kernels (GPU functions) in order, and two streams can run at once. (a) vLLM runs the down-projection (shrink,h=xA⊤shrink, h = xA^\top) and the up-projection (expand,y+=hB⊤expand, y += hB^\top) after the FP8 GEMM; (b) its dual-stream mode and TensorRT-LLM run them on a second stream and add the result after the GEMM; (c) EpiLoRA launches the shrink first and the GEMM as a dependent kernel, which starts while the shrink runs and adds hB⊤hB^\top in its epilogue.

batch (Wu et al., 2024; Li et al., 2024a; Chen et al., 2026b). SVDQuant fuses one low-rank branch, shared by every token, into a 4-bit GEMM (Li et al., 2025), and LoRAFusion fuses several adapters into a bf16 GEMM for fine-tuning (Zhu et al., 2026). However, none computes many tenants' adapters in a low-precision GEMM for serving.

We present EpiLoRA, a plugin for the vLLM engine that computes every tenant's adapter together with the low-precision base GEMM. A GEMM kernel streams the weights through its main loop and applies scales and writes its output in its epilogue. Our key observation is that the GEMM needs an adapter's down-projection only in that epilogue, after the main loop has finished (Figure 1). During decoding, EpiLoRA therefore launches the down-projection first and its own FP8 or NVFP4 GEMM as a dependent kernel: the GEMM streams its weights while the down-projection runs, and then adds each tenant's up-projection in its epilogue. The down-projection's latency is then mostly hidden: on full-size layers with rank-64 adapters, at most about 2 µs of it stays exposed. On Ada GPUs, whose standard FP8 GEMM is slow during decoding, EpiLoRA instead fuses all resident adapters into two kernels of its own. The kernels quantize activations exactly as vLLM does, so the base GEMM receives the same FP8 inputs as in vLLM.

The low-precision base also benefits RL training, where frameworks that place the inference engine and the trainer on the same GPUs keep a separate bf16 copy of the base for the trainer (Hu et al., 2024; Sheng et al., 2025; Mei

et al., 2025). Because the FP8 engine then samples from a slightly different model than the trainer optimizes, FP8 rollout pipelines reweight each sample with an importance weight (Liu et al., 2025). EpiLoRA's trainer instead computes on the engine's own FP8 weights, which saves enough memory to train a 27B model on one 48 GB L40S, where its bf16 weights alone do not fit, and lets one copy serve both the engine and the trainer. A matched engine also keeps its activations in bf16, as the trainer does, which removes most of the mismatch that remains once the weights agree.

We evaluate EpiLoRA on models from 8B to 72B parameters on Ada, Hopper and Blackwell GPUs, against the strongest configuration of each baseline we could build. Serving a single request (batch size 1), EpiLoRA takes 0.76–0.88× the time per output token of vLLM's fastest configuration for 8B–9B models on Hopper GPUs, is faster than SGLang and TensorRT-LLM, and keeps its lead on a 72B model, on one GPU and across two. On the L40S it matches vLLM's fastest configuration. With 32 tenants, whose batches are too large for the decode path, it delivers 1.05–1.09× vLLM's throughput on 7 of 9 GPU–model pairs, from its adapter kernels on Hopper GPUs and fused adapters on the L40S.

In summary, our contributions are:

  • The decode path, which removes most of an adapter's latency by adding the up-projection in the GEMM's epilogue and overlapping the down-projection with its main loop, and a simple condition that bounds when the overlap hides the down-projection (Sections 3.1 and 4.1).

  • Multi-adapter kernels for FP8 and NVFP4 bases in a drop-in vLLM plugin that works with CUDA graphs and tensor parallelism (Sections 3.2, 4.1 and 4.2).

  • A LoRA RL system on the same low-precision base, with a decomposition of the engine–trainer mismatch showing what each design choice removes (Sections 3.3 and 4.3).

References (92)