Update 2 (Nov 21): multi-adapter serving results
Some of you asked me to test serving many adapters in vLLM and to sweep max_loras instead of using the default. So I did that.
I ran everything on one A40 48 GB with vLLM 0.27.1 and the same CQ 4-bit Qwen3.8-27B base for every run. 32 concurrent requests (384 total), 128 output tokens each, and every request goes to a random adapter. The adapters are perturbed copies of real trained adapters (the r=8 LoRA is the r=32 one sliced to rank 8). Numbers are total output tok/s:
| Setup | 1 | 16 | 64 | 256 | p95 TTFT at 256 | KV cache at 256 | Time to ready at 256 |
| Base, no adapter | 93.3 | | | | | 111k | |
| GCMP | 83.2 | 83.7 | 83.7 | 83.7 | 2.2 s | 72k | ~6 min |
| LoRA r=8, max_loras 16 (default) | 91.1 | 84.8 | 60.1 | 59.5 | 47.5 s | 88k | ~30 min |
| LoRA r=8, max_loras 64 | | | 76.2 | 74.4 | 2.4 s | 43k | ~41 min |
| LoRA r=32, max_loras 16 (default) | 91.2 | 76.3 | 53.5 | out of host RAM at 74/256 | | 43k | never ready |
| LoRA r=32, max_loras 32 | | | won't start | won't start | | | |
With one adapter LoRA is about 9% faster than GCMP, and GCMP is about 10% slower than the base without any adapter. With many adapters GCMP stays flat from 1 to 256 without tuning anything. With the default settings LoRA drops 35-40% by 64 adapters and p95 time to first token goes from about 2 s to around 50 s.
Raising max_loras helps r=8 a lot. With 64 slots it gets 74 tok/s at 256 adapters, which is about 12% behind GCMP. But those slots take memory from the KV cache, it goes down to 43k tokens compared to 72k for GCMP, so fewer long requests fit at the same time. For r=32 you can't do that on a 48 GB card. With 32 slots vLLM says "Available KV cache memory: -1.42 GiB" and doesn't start, so it's stuck at 16 slots.
The thing I didn't expect is startup time. vLLM registers LoRA adapters one by one, about 6 s each for r=8 and 18 s each for r=32. So 256 r=8 adapters take 30 to 41 minutes before the server accepts the first request. GCMP loads all 256 in about 6 minutes.
LoRA r=32 with 256 adapters never got to serving. I ran it twice and both times loading stopped at exactly 74 of 256 adapters (about 20 minutes in) with no error, and nothing happened after that. The reason is host RAM. vLLM keeps a copy of every adapter in CPU memory, and 256 r=32 adapters need about 82 GB of it, while my pod has a 50 GB memory limit. It ran out at 74 adapters (about 24 GB of adapters on top of the model loading). 256 r=8 adapters need about 20 GB, so they fit. For comparison 256 GCMP adapters are about 3 GB.
A couple of things to keep in mind. The absolute speed is low, about 2.6 tok/s per request at 32 concurrent. That's from my CQ decode kernels on the A40, not the adapters, since every row uses the same base, so look at it as a relative comparison. Also this is one GPU type, one model, short prompts and 128 token outputs. With longer contexts the KV cache difference would matter more. The script is in the repo (training/run_adapter_scaling.sh) if you want to try it on your hardware.
Update 1 (Nov 19): LoRA r=8 and VeRA added
I trained all four adapters on the same full precision BF16 Qwen3.8-27B base with the same data and settings and evaluated them with the same code:
| Adapter | Params | Answer loss | GSM8K | SQuAD | MMLU | IFEval | s/step |
| LoRA r=32 | 159M | 1.480 | 0.903 | 0.776 | 0.844 | 0.825 | 1.37 |
| LoRA r=8 | 40M | 1.555 | 0.910 | 0.768 | 0.846 | 0.795 | 1.31 |
| VeRA (r=256) | 2.89M | 1.489 | 0.903 | 0.778 | 0.846 | 0.820 | 1.33 |
| GCMP | 2.9M | 1.471 | 0.890 | 0.760 | 0.846 | 0.815 | 2.74 |
All four are tied on all 9 benchmarks (every p ≥ 0.15). Since r=8 is as good as r=32, the fair size comparison is with r=8, so GCMP is about 14x smaller, not 55x. GCMP has the lowest loss but that didn't show up as benchmark wins. VeRA is the same size and quality and trains 2x faster than GCMP right now, but vLLM can't serve VeRA, so that's why the serving test above is against LoRA.
Original post below.
Hello,
I'm the founder of ThousandML and I built what I'm describing here. I'd like to get feedback from people who actually run LLM serving in production.
If you serve one fine-tune per customer or per task on the same base model, the adapters become a cost on their own. LoRA r=32 on a 27B model is about 320 MB per adapter. With hundreds of customers that's tens of GB that you need to store, move around and keep in GPU memory, and it limits how many adapters one GPU can hold.
So I built GCMP, which is an adapter that replaces LoRA. On Qwen3.8-27B it trains 2.9M parameters (about 11 MB per adapter) compared to 159M (about 320 MB) for LoRA r=32 on the same projections. Accuracy is the same as LoRA r=32 on 9 benchmarks. I compared them on a full precision BF16 base and on an NF4 base using the same evaluation code and paired significance tests:
| Base + adapter | Size | GSM8K | SQuAD | MMLU | IFEval |
| BF16 + LoRA r=32 | ~320 MB | 0.903 | 0.776 | 0.844 | 0.825 |
| BF16 + GCMP | ~11 MB | 0.890 | 0.760 | 0.846 | 0.815 |
| NF4 + LoRA r=32 | ~320 MB | 0.793 | 0.748 | 0.840 | 0.835 |
| NF4 + GCMP | ~11 MB | 0.833 | 0.756 | 0.837 | 0.840 |
None of the differences are significant except GCMP being 4 points higher on GSM8K on NF4 (p=0.04).
For serving I built a vLLM plugin. You give it the list of adapters and each request picks its adapter by the model name:
CQ_GCMP_ADAPTERS="tenant-a=/adapters/a,tenant-b=/adapters/b" \
vllm serve <base-model> --quantization cq
All adapters are loaded once at startup and /v1/models lists them. Requests for different adapters can be in the same batch and it's one kernel call per layer, so no merging or swapping. Each adapter takes about 11 MB of GPU memory, plus a small routing buffer and a shared workspace (up to about 64 MB) that don't grow with the number of adapters. You can also replace an adapter by name without restarting.
There are still some things I need to work on. Adding a new adapter needs a restart (replacing one doesn't). Serving in vLLM needs my CQ 4-bit base for now, and I plan to add full precision bases next. Pipeline parallel works but tensor parallel doesn't yet. Training is about 2x slower than LoRA per step, and with a single adapter serving is about 9% slower than LoRA.
Everything runs on your own GPUs. The Python code is open source and the kernels are compiled with a license check, which is free during early access.
Repo: https://github.com/thousandml/training-factory
Full write-up: https://huggingface.co/blog/thousandml/cq-gcmp-4bit-finetuning
A couple of questions for those of you who serve many fine-tunes. How many adapters do you actually need per GPU and how often does that list change? And is a 30-80 minute startup with hundreds of LoRA adapters a real problem for you (autoscaling, deploys) or do you have a way around it?
Your feedback is appreciated.