Normally, feeding the same system prompt to sixteen specialists can leave sixteen mutually invisible cache entries. Mind Lab traced state back to its producers in DeepSeek-V4.1-Flash to determine which KV can cross adapter boundaries and which must be rebuilt inside SGLang.

The boundary of shareable state

The causal encoder produces persistent global KV. The team freezes the encoder and the layer-20 KV-writing projections and applies LoRA on the decoder side. Identical prefixes then produce identical persistent KV across adapters, enabling cross-adapter hits. The decoder’s local sliding window remains adapter-dependent. A prompt tail rebuilds it in an existing verification step. Changing a projection that writes global KV would invalidate the sharing condition.

In the bottom row the prefill pool runs encoder layers only, and decode reconstructs short-window state in slices.View original image ↗

In the bottom row the prefill pool runs encoder layers only, and decode reconstructs short-window state in slices.

Connecting adapter-free prefill to mixed decode

Prefill workers load layers 0–19 and send compressed KV to decode workers holding the full model and resident adapter slots. The two pools can be sized independently. Each token in a mixed decode batch names its own adapter. FusedMoL applies the low-rank update inside the kernel that consumes it, avoiding per-token weight copies into HBM and separate launches per projection. Fixed slots preserve the graph shape. When a seventeenth specialist arrives while all sixteen slots are occupied, its request waits for a slot.

What the thousand-RPM replay measured

One unit used four GPUs for prefill and four for decode. The authors replayed the same 3,074 production chat requests at a target of 1,000 RPM, once against the base model and once assigning sixteen adapters in rotation. Prompts ranged from 4K to 373K tokens with a median of 140K. Steady-state comparisons excluded the beginning and end of each run. The adapter arm sustained roughly 989–998 RPM, within run-to-run variation of base traffic. A fixed arrival rate establishes that the system kept up with this long-prefix workload. It cannot establish equal maximum capacity.

The cost visible in an individual step

At controlled batch sizes, sixteen active adapters increased decode step time by about 6.8–13.4% relative to one. A single adapter reuses the same weights in L2, while requests for multiple adapters spread reads across distinct weight planes. Shared long prefixes allowed similar completion rates in replay even as per-token latency exposed poorer decoder locality. Both measurements matter when interpreting the scaling claim.

Smith Li, Song Cao, Yuhua Zhou, Kieran Liu, Adrian Zhou, Andrew Chen, Pony Ma, Mind Lab · 2026-11-26 · Toward Zero-Cost Scaling of Multi-LoRA Serving on Causal Encoder–Decoder Models