On this page

The LLM inference engine playbook: tricks in vLLM and SGLang

Which optimization techniques do the vLLM and SGLang serving engines implement, and in what order should an engineer study them?

Updated
18 Aug 2026
Sources
74
Years
2022–2026
Confidence
Download Markdown

LLM inferencevLLMSGLangserving systemsKV cachespeculative decodingprefill-decode disaggregationself-study guide

How this review was made
Databases
arXiv, OpenAlex (prior-review pool), Crossref (prior-review pool), Semantic Scholar (prior-review pool), DBLP (prior-review pool), vendor documentation
Queries (literal)
arXiv abstract-page verification of 12 candidate IDs: 2405.04434, 2412.19437, 2411.15100, 2310.18547, 2407.00023, 2404.19737, 2501.05460, 2307.09702, 2608.07009, 2607.05147, 2602.06036, 2502.14856
full feature-page crawl of docs.vllm.ai (v0.27.1 developer preview): features matrix, V1 guide, optimization, attention backends, speculative decoding, quantization, disagg prefill, KV offloading, prefix caching, CUDA graphs
full feature-page crawl of docs.sglang.ai and lmsys.org/blog: RadixAttention, HiCache, HiSparse, speculative decoding (EAGLE/MTP/DFlash/DSpark), structured outputs, quantization, DPA/EP/PD
rung 0: 1,005 verified source records from 13 prior reviews on this site (llm-inference-optimization et al.)
snowball: citation keys cited in the llm-inference-optimization review body
Search last run
2026-08-18
Screening
74 sources used · 2022–2026 · deep review

Summary

The short version

LLM serving engines are built from a stack of optimization tricks, each attacking one bottleneck: batching keeps the GPU busy, KV-cache paging and reuse stop memory from fragmenting or being recomputed, faster attention kernels and lower-precision arithmetic cut the bytes moved per token, speculative decoding trades spare compute for fewer serial steps, and prefill-decode disaggregation lets two workloads with opposite resource profiles run on machines tuned for each. This review catalogs the trick list of the two dominant open-source engines, vLLM and SGLang, maps each trick to the paper that introduced it and the bottleneck it addresses, and closes with an ordered self-study path. The evidence shows the two engines have converged on essentially the same catalog — scheduling, paging, prefix reuse, speculation, quantization, parallelism, disaggregation — differing mainly in emphasis and engineering. Confidence is moderate: the mechanisms are well established and replicated in the literature, but the engines’ own performance claims are vendor-reported on their own hardware and workloads, and the underlying papers’ “up to” figures are ceilings, not expectations.

Why this question

The serving engine is where the economics of inference land. A 2x throughput improvement on a serving fleet is worth more than most individual optimizations ever are, and the past four years have produced a dense, fast-moving stack of techniques — the field went from no serving systems to a mature ecosystem in roughly four years 1011. For anyone doing infrastructure architecture work, this stack is the shared vocabulary: when someone says “chunked prefill”, “radix cache”, “EAGLE”, “PD disaggregation”, or “FP8 KV cache”, they are naming a specific mechanism with a specific bottleneck it attacks, and the ability to map technique to bottleneck is the difference between engineering judgment and cargo-culting.

A companion review on this site already answered “how large are the gains?” across 124 sources (llm-inference-optimization). This review answers a different question: what are the tricks, which papers introduced them, and how are they actually wired into the two engines everyone benchmarks against? It is written to be read top to bottom as a map of the engine, and the final theme is a study path for someone who wants to go from “can describe the tricks” to “can reason about which trick applies where” — including the order that minimizes wasted effort, which is itself a claim the literature supports: gains compose poorly because several techniques attack the same bottleneck 5015.

Scope and methods

The question: which optimization techniques do the vLLM and SGLang serving engines implement, and in what order should an engineer study them? The population is the two engines’ feature catalogs plus the academic sources those features are built on. Included: batching and scheduling, KV-cache management (paging, prefix caching, offloading, quantization), attention kernels and backends, speculative and parallel decoding, inference-time quantization, parallelism (tensor, pipeline, data, expert, context), prefill-decode disaggregation and KV transfer, structured-output decoding, LoRA serving, and MoE/hybrid-architecture serving support. Outcomes are the mechanism of each trick, its originating source, and its status in each engine.

Method, in three waves. First, a full crawl of the current vendor documentation — docs.vllm.ai (v0.27.1 developer preview: features matrix, V1 guide, optimization, attention backends, speculative decoding, quantization, disaggregated prefill, KV offloading, prefix caching, CUDA graphs) and docs.sglang.ai plus the SGLang team blog at lmsys.org/blog — producing a feature inventory of roughly 90 items across both engines. Second, rung-0 reuse of this site’s verified source pool: 1,005 records accumulated across 13 prior reviews, of which 63 were selected here; every reused DOI was re-checked to resolve. Third, verification of 12 candidate arXiv identifiers in-session against their abstract pages (all resolved; 10 became new sources, two were already in the pool). For the 10 new sources, full texts were retrieved from arXiv HTML and load-bearing claims were grep-verified against the text before writing. Screening counts: 12 candidates verified → 10 added; 1,005 pool records → 64 reused; total 74 included, of which 66 full-text and 8 abstract-only.

Deliberate exclusions, per established precedent: Orca (the origin of continuous batching) has no DOI or arXiv version and cannot be a source — its idea is covered through the systems that built on it; GitHub-only artifacts (FlashMLA, DeepEP, DeepGEMM, XGrammar’s repo, LMCache’s repo) are covered through their parent papers and the repositories’ own documentation, with their claims flagged vendor-stated and linked inline; training-side work, datacenter energy, and interconnect hardware are covered by separate reviews on this site. A limitation of method: the vendor documentation is the primary evidence for what each engine currently does, and it is a moving snapshot — the vLLM docs crawled were a developer preview, and feature matrices change between releases.

The landscape

The trick stack has a clear history, and it maps onto the engine codebases. Pre-2023 work established the kernel layer — IO-aware attention 35 and the first serving-friendly quantization schemes 5254. 2023 brought the serving systems themselves: vLLM’s PagedAttention and continuous batching 1, SGLang’s RadixAttention and compressed-FSM decoding 2, SARATHI’s chunked prefill 3. 2024 exploded into KV-cache management, speculative decoding families, and disaggregation 56744. 2025–2026 is consolidation: vLLM rebuilt its scheduler (the “V1” architecture), SGLang added an overlap scheduler, hierarchical caches, and an expanding speculation zoo 707172, and both engines now implement essentially the same catalog. Where they differ is emphasis: vLLM’s V1 unified scheduler treats prefill and decode tokens symmetrically and pushes prefix caching and chunked prefill as defaults; SGLang’s differentiators are the radix-tree cache, compute-communication overlap, and the deepest speculative-decoding integration. The field’s measurement culture is its weakest layer — each paper and each engine benchmarks on its own hardware and workload, and the simulation work that could standardize comparison is only beginning 2122.

Theme 1 — The memory wall: why serving is hard

Every trick in this review answers the same underlying fact: autoregressive decode is memory-bound. Generating a token streams the model’s weights and the sequence’s KV state through the GPU, and the bytes fetched per token vastly exceed the arithmetic per token; the roofline-style surveys make this explicit, with attention and linear operators together exceeding 75% of runtime in profiling and a 70B FP16 model needing roughly 140GB of resident state 11. Two consequences follow. First, techniques that cut bytes (quantization, KV compression) and techniques that cut idle time (batching, speculation) dominate; techniques that cut FLOPs alone barely matter at low batch. Second, the two phases of a request have opposite profiles: prefill (prompt processing) is compute-bound and latency-critical, decode (token generation) is memory-bound and throughput-critical — the asymmetry that motivates chunked prefill and disaggregation 65. A third, often forgotten layer is queueing: measurements attribute up to 90% of end-to-end latency to waiting in the scheduler, not to the GPU 19, which is why scheduling discipline is a first-class trick, not a footnote. The surveys that organize this space 10 and the production-traffic dataset that documents how bursty real workloads are 22 are the two best orientation reads.

Theme 2 — Batching and scheduling: keeping the GPU busy

The first-order fix for an idle GPU is putting more sequences into each forward pass. The decisive innovation was continuous (iteration-level) batching — admitting and retiring requests at every decode step instead of at batch boundaries — introduced by Orca (OSDI’22, unreachable as a citable source; the published record starts with the systems that built on it). vLLM’s PagedAttention paper reported 2–4x throughput over prior systems on top of this scheduler 1, and SGLang’s paper reports up to 6.4x over prior systems once prefix reuse is added 2.

The problem with naive continuous batching is that one long prefill stalls every decode in the batch. Chunked prefill — SARATHI’s “piggybacking” of prefill chunks onto decode slots — reported up to 10x decode-throughput improvement on LLaMA-13B/A6000 3; Sarathi-Serve generalized it into stall-free batching with multi-step lookahead, reporting 2.6x higher serving capacity on one A100 for Mistral-7B 4. Both engines now implement this: in vLLM V1, chunked prefill is enabled by default and the scheduler interleaves prefill and decode at token granularity with a per-request token budget, with max_num_batched_tokens trading time-to-first-token against inter-token latency (vendor docs, optimization); SGLang exposes --chunked-prefill-size and a mixed-chunk mode to co-batch the two phases (vendor docs, server arguments).

Scheduling policy is the next factor. Sequence-length-aware scheduling that groups requests by predicted output length reported 86% throughput gains over vanilla batching 12; SGLang’s default policy is longest-prefix-match, which orders work by cache-reuse potential rather than arrival time 2. vLLM V1 adds priority scheduling and makes preemption recompute-based (swap-to-CPU was removed in V1, since recomputation is cheaper there) (vendor docs, V1 guide). SGLang’s scheduler runs one batch ahead of the GPU, hiding CPU-side scheduling and radix-cache operations behind the forward pass — its “zero-overhead” batch scheduler, reported at 1.1x throughput in v0.4, and the newer overlap scheduler that also hides KV allocation and metadata preparation (vendor blog, v0.4 announcement and SGLang v0.4+ docs). Multi-step scheduling — running several decode steps per scheduler round — cuts per-step overhead and is how CUDA-graph capture stays efficient 4; SGLang exposes it as num-continuous-decode-steps (vendor docs, server arguments).

Two further scheduling tricks sit at the edge: multiplexing multiple models onto one GPU — MuxServe’s spatial-temporal multiplexing reported 1.8x throughput or 2.9x more requests within 99% SLO attainment 17 — and partitioning a single GPU’s streaming multiprocessors between phases, as DuetServe did with up to 1.3x throughput 18, an idea SGLang now exposes as PD-multiplexing via NVIDIA GreenContext SM partitioning (vendor blog, PD-Mux).

Theme 3 — The KV cache: paging, reuse, offload

The KV cache grows linearly with context and is why long-context serving runs out of memory long before compute runs out. The foundational trick is PagedAttention: allocate the cache in fixed-size blocks with a block table per sequence, so memory is shared and never fragmented — vLLM’s 2–4x throughput gain over earlier systems came mostly from this 1. The alternative approach — give each request a contiguous virtual address space and let the driver handle mapping, as vAttention does — reported comparable or better efficiency with lower implementation complexity, at the cost of abandoning the paged kernel 39; both engines still use paging, but the debate is live.

Prefix reuse is the second lever: if a new request shares a prefix with a cached one, the shared KV blocks can be reused instead of recomputed. SGLang’s RadixAttention organizes the cache as a radix tree keyed by token sequences, finds the longest reusable prefix before prefill, and supports LRU/LFU/priority eviction 2; vLLM’s automatic prefix caching hashes KV blocks so any request sharing a prefix hits the cache (vendor docs, APC). The idea generalizes: Prompt Cache reuses attention states of overlapping prompt modules with 8x (GPU) to 60x (CPU) TTFT reductions 26; ChunkAttention makes the attention kernel prefix-aware 25. At fleet scale, the cache becomes a distributed service: LMCache reports up to 15x throughput combined with vLLM 8; MemServe’s elastic memory pool reports up to 42% better job completion time 9; Infinite-LLM pools KV cluster-wide with 1.35–3.4x gains on contexts up to 2,000K tokens 30; DéjàVu adds fault tolerance by streaming and replicating KV state 29. SGLang’s 2025–2026 additions push this furthest: HiCache extends the radix tree into a three-tier cache (GPU → host → external storage, with file/Mooncake/NIXL/hf3fs backends) (vendor docs, HiCache), and vLLM ships KV offloading to CPU and filesystem tiers with LRU/ARC eviction (vendor docs, KV offloading).

Shrinking the cache is the third lever: quantize it, evict from it, or make it sparse. KIVI’s asymmetric 2-bit quantization reports 2.6x less peak memory with 2.35–3.47x throughput 24; KVQuant reaches under 0.1 perplexity degradation at 3-bit, enabling 1M-token context on a single A100-80GB 23; both engines now ship FP8 KV caches (per-tensor or per-head scale) as a default-on option (vendor docs, vLLM quantized KV and SGLang quantized KV). Attention sinks — keeping a few initial tokens plus a sliding window — let models stream far beyond their training window with up to 22.2x per-token speedup over recomputation baselines 27. And for the newest sparse-attention models, HiSparse keeps the full KV history in host memory with only a small hot window on the GPU, reporting up to 4.7x peak generation throughput on long-context workloads 70; SGLang ships it as a serving mode (vendor docs, HiSparse).

Theme 4 — Attention kernels: making the inner loop fast

Under the scheduler sits the kernel layer. FlashAttention made attention IO-aware — tiling Q/K/V through SRAM so the HBM traffic that dominated attention shrinks by a factor proportional to the tile size — with 2–4x wall-clock speedups and near-linear memory savings 35; FlashAttention-2 rebalanced the work partition across warps and thread blocks 36; FlashAttention-3 added asynchronous pipelining of the matmuls and softmax and low-precision accumulation on Hopper/Blackwell 37. The engines plug these in as selectable backends: vLLM’s attention-backend registry spans FlashAttention 2/3/4, FlashInfer, Triton, FlexAttention, and a family of MLA-specific kernels (vendor docs, attention backends); SGLang exposes the same spread plus per-phase overrides (vendor docs, attention backend).

Three kernel-layer tricks deserve separate mention. FlashInfer showed a customizable attention engine (template-based code generation, batched ragged kernels, fused sampling) cuts inter-token latency 29–69% versus compiler backends 38 — evidence that kernel choice still matters under the systems layer. FlexAttention generalizes attention kernels to arbitrary sparse masks via a single programming model, letting engines generate specialized kernels instead of hand-writing one per pattern 40. And multi-head latent attention (MLA) is a model-side trick that became a kernel problem: DeepSeek-V2 compresses the KV cache into a low-rank latent, cutting KV by 93.3% 59, which required new kernels — FlashMLA (DeepSeek’s library, GitHub-only; capabilities vendor-stated) and a zoo of MLA attention backends (FlashMLA, CUTLASS_MLA, FlashInfer MLA, TokenSpeed MLA, sparse variants) now listed in both engines’ registries. The decode-phase corollary of FlashAttention — parallelizing over KV blocks across threads and using split-K softmax reduction, the “FlashDecoding” pattern — is folded into the FA2/FlashInfer decode paths and is the reason long-context decode keeps up at all 3638.

Theme 5 — Decoding acceleration: speculative and parallel decoding

Autoregressive generation is serial — one memory-bound step per token. Speculative decoding breaks the serialization: a cheap drafter proposes several tokens, the target model verifies them in one parallel forward pass, and tokens are accepted only where the proposal matches the target’s distribution — which makes the family provably lossless. The two foundational papers established 2–2.5x 42 and 2–3x 41 wall-clock speedups with identical outputs. The drafters evolved fast: tree-based speculation (SpecInfer, 1.5–3.5x) 48; Medusa’s multiple decoding heads (2.2x frozen, 2.3–3.6x co-trained) 43; EAGLE’s feature-level autoregression (2.7–3.5x on LLaMA2-Chat-70B) 44; EAGLE-2’s dynamic draft trees (3.05–4.26x) 45; EAGLE-3’s direct token prediction with multi-layer feature fusion, up to 6.5x 46. Draft-free variants exist: lookahead decoding breaks sequential dependency with parallel n-gram guessing (up to 1.8x, 4x multi-GPU) 47; REST drafts by retrieving n-grams from a corpus (1.62–2.36x) 51; TriForce uses the model itself hierarchically for long-sequence generation (2.31x on A100) 49.

The 2025–2026 additions shift from draft models to draft heads and draft architectures. Multi-token prediction (MTP) — training the model with several independent output heads — both improves the base model and enables self-speculative decoding at inference 67; DeepSeek-V3 embeds MTP heads in the checkpoint and reports about 1.8x decoding speedup from them 60. Both engines serve MTP natively — SGLang reports up to 60% higher output throughput on DeepSeek-V3 via its MTP path (vendor docs, speculative decoding and MTP blog). DFlash drafts a whole block with a lightweight diffusion model in one forward pass 72; DSpark combines a parallel draft backbone with a lightweight sequential module (semi-autoregressive drafting) and schedules verification length per request by estimated acceptance probability 71; FR-Spec compresses the draft search to a frequency-ranked vocabulary subset, cutting LM-head computation 75% on 128K-vocabulary models 73. Both engines now support the full ladder — draft models, EAGLE/EAGLE-2/EAGLE-3, MTP, n-gram prompt lookup, suffix matching, PARD, plus dynamic speculation length that tunes the draft count per batch size (vendor docs, vLLM speculative decoding and SGLang’s speculative decoding).

The load-bearing caveat is the interaction with batching: speculation’s benefit shrinks as batch size grows, and the explicit synergy study shows optimal speculation length decreases with batch size, with adaptive strategies adding about 9% latency reduction on time-varying loads 50. Speculative decoding is a low-batch, low-latency technique — at production batch sizes the target model’s own batched compute dominates. This is the single most important fact to internalize before deploying any drafter.

Theme 6 — Quantization: fewer bytes per weight

Quantization attacks the largest byte flow in decode — the weights — and is the most mature family. The engine-relevant ladder: GPTQ introduced layer-wise second-order quantization (3.25x A100 / 4.5x A6000 end-to-end speedups on 175B models) 52; AWQ protects the ~1% salient activation channels via per-channel scaling (3–4x speedup; 4-bit 70B on mobile hardware) 53; SmoothQuant moved the activation outliers into the weights so W8A8 becomes viable (1.56x speedup, 2x memory reduction, serving a 530B model) 54; the FP8 formats paper established the two 8-bit float encodings (E4M3/E5M2) that now dominate frontier serving 55; and system co-design matters as much as the arithmetic — QServe’s W4A8KV4 reports 2.4x (A100) and 3.5x (L40S) throughput over TensorRT-LLM 56, and Atom’s fine-grained mixed-precision 4-bit reports up to 7.7x over FP16 at equal latency 57. DeepSeek-V3 made FP8 the production format for a 671B model, training and serving with FP8 weights and activations 60.

The engines integrate this as a support matrix rather than inventing new schemes: both serve GPTQ, AWQ, FP8 (W8A8), INT4/INT8, GGUF, bitsandbytes, and the newer MXFP4 and NVFP4 formats, with Marlin-family kernels for the 4-bit GEMMs; FP8 KV cache and FP8 attention are engine features, and quantization plugins are registerable (vendor docs, vLLM quantization and SGLang quantization). The practical ranking for a server engineer: FP8 is nearly free, 4-bit weight-only is the current frontier for capacity, and sub-4-bit remains accuracy-dependent — the independent quantization benchmark shows the trade-offs are real and context-dependent 7411, and KV quantization (Theme 3) is a separate axis that multiplies with weight quantization rather than replacing it.

Theme 7 — Parallelism: TP, PP, DP, EP, CP

When one GPU is not enough, the model splits across many. Tensor parallelism shards every weight matrix across GPUs (the default for single-node serving); pipeline parallelism splits layers, with SGLang’s chunked pipeline parallelism reporting 3.31x prefill throughput (PP4xTP8 vs TP8) and up to 67.9% TTFT reduction on DeepSeek-V3.1/H20 (vendor blog, chunked pipeline). For MoE models, expert parallelism is the load-bearing trick: experts are sharded across GPUs and tokens are routed, turning the all-to-all into the main cost — DeepSpeed-MoE reported 7.3x better latency/cost than prior MoE inference 58, and the DeepSeek recipe (EP + communication overlap via DeepEP/NIXL, vendor-stated) is how 671B models are served at all 5960. MegaScale-Infer pushes further with disaggregated expert parallelism and shared KV stores 32. Data parallelism replicates the model and shards the batch; SGLang’s data-parallel attention (DPA) is the refined version for MLA models — replicating the attention shards instead of TP-splitting MLA’s single KV head, which avoids KV duplication and was reported at up to 1.9x decode throughput on DeepSeek-class models (vendor docs, DPA guide). SGLang’s production router (SMG) adds cache-aware request routing across replicas, reported at +92% throughput via 20%→75% cache-hit rates (vendor docs, SMG). Context parallelism splits the sequence dimension for long contexts — LoongServe’s elastic sequence parallelism adjusts parallelism per request and phase, reporting 3.85x over chunked prefill and 5.81x over prefill-decode disaggregation 31. And for the hybrid architectures arriving in 2026 (linear-attention states alongside KV), both engines are adding dedicated kernels and state management — the Mamba line established the linear-attention efficiency argument 62, and SGLang’s GDN/Mamba support manages those states in the same page-based memory system (vendor docs, attention backend).

Theme 8 — Disaggregation: separating prefill from decode

Prefill is compute-bound and latency-critical; decode is memory-bound and throughput-critical. Colocated, they interfere: measurements show naive mixing can cause 10x prefill slowdowns, 5x prefill-decode slowdowns, and 16% decode throughput loss 20. Disaggregation runs them on separate machines, each tuned for its phase. Splitwise reported 1.4x throughput at 20% lower cost (2.35x under equal power and cost budgets) 5; DistServe’s phase-specific parallelism reported serving 7.4x more requests or 12.6x tighter SLOs 6. The hidden cost is moving the KV cache between phases: KVDirect showed per-request latency can be cut 55% by pull-based, tensor-centric transfer 33; SpectrumKV showed transfer precision matters — mixed FP16/INT8/INT4 transfer keeps perplexity change at +1.97% versus +25.85% for a naive baseline at a 50% transfer budget, with 50–62% TTFT reduction 34; CacheGen compresses KV states for transmission with 3.5–4.3x smaller caches 28. The KVCache-centric architecture — Mooncake’s tiered CPU/DRAM/SSD store reported up to 525% simulated throughput gains under SLOs and 75% more requests handled by Kimi on real workloads 7 — is now the reference design, and both engines implement it: vLLM’s disaggregation is connector-based (LMCache, NIXL, Mooncake, FlexKV, offloading connectors; the docs are explicit that disaggregation improves tail latency and phase tuning, not raw throughput) (vendor docs, disagg prefill); SGLang ships prefill/decode instance modes with Mooncake or NIXL transfer, decode-side radix caching, and even a full three-way EPD split (encoder-prefill-decode) for vision-language models, whose paper reports up to 71% TTFT reduction and 90–100% SLO improvement 6870 (vendor docs, PD disaggregation and EPD).

The scheduling layer of disaggregation is where the newest gains sit: Preble’s distributed prompt scheduling targets p99 latency for short-output workloads 66; LAPS’s length-aware prefill reduces prefill latency over 30% versus vanilla SGLang under disaggregation 13; dynamic routing of prefill-capable decoders cuts turn-2+ TTFT by ~68% 14. And the literature is now questioning the binary split itself: TaiChi unifies aggregation and disaggregation with latency shifting, improving goodput up to 77% under balanced SLOs 16, and simulation work shows the split’s value depends on workload mix and hardware generation — disaggregation raises serving throughput by up to 75% on current GPUs, but “when does disaggregation pay?” is the right question, not “always disaggregate” 15.

Theme 9 — Serving-side features: structured outputs, LoRA, multimodal

A serving engine’s tricks are not only about speed — some features make the product possible at all. Constrained decoding (JSON, regex, grammars) is the clearest case: the FSM formulation of guided generation 69 and SGLang’s compressed-FSM trick (state deduplication for ~3x faster JSON decoding) 2 made structured outputs cheap; XGrammar’s byte-level pushdown automaton then made context-free grammars fast — up to 100x per-token latency reduction versus prior engines, near-zero overhead in production — and is now the default structured-output backend in both vLLM and SGLang 64 (vendor docs, vLLM structured outputs and SGLang structured outputs). SGLang additionally ships jump-forward decoding for deterministic grammar transitions (vendor docs, same page) and grammar suspension inside reasoning-model thought spans.

LoRA serving is the multi-tenant trick: many small adapters over one base model. S-LoRA’s unified paging and heterogeneous batching kernels serve thousands of adapters 63; Punica’s segmented gather matrix-vector kernel batches many adapters into one CUDA kernel, reporting 12x throughput over prior serving systems at +2ms/token 65. Both engines support request-level adapter swapping with fused batched LoRA compute (vendor docs, vLLM LoRA and SGLang LoRA). Multimodal serving adds encoder work to the pipeline: batch-level data parallelism for encoders (~10% TTFT gain at TP=8 in vLLM), processor and IPC caching so images are not re-encoded across turns (vendor docs, vLLM optimization), and the EPD disaggregation pattern for separating encoder GPUs entirely 68. Minor but real: both engines now offer faster tokenizer backends (vLLM’s fastokens, vendor-stated) and streaming detokenization, and vLLM V1 removed per-request logit processors in favor of global ones — a reminder that scheduling simplification is itself a performance trick (vendor docs, V1 guide).

Theme 10 — MoE and inference-cost architectures

The engine’s tricks are bounded by the model’s architecture, and the frontier architectures of 2024–2026 were built for serving. Mixtral showed a sparse MoE can match a dense model 5x its active size 61; DeepSeek-V2 combined fine-grained expert specialization with MLA, cutting the KV cache 93.3% and reporting 5.76x maximum generation throughput over its dense predecessor — over 50K generation tokens/s on one 8x-H800 node 59; DeepSeek-V3 scaled that to 671B total / 37B active with FP8 arithmetic, MTP heads, and auxiliary-loss-free routing 60. Serving these well is an engine problem: expert parallelism plus communication-computation overlap 5832, plus a run of MoE-specific tricks now in the engines — fused shared-expert dispatch (“waterfill”), expert load balancing, redundant experts, and CPU offloading of experts with AMX kernels (KTransformers) (vendor docs, SGLang expert parallelism and server arguments). Hybrid linear-attention models (Mamba-style) trade exact attention for constant-memory state 62; the engines’ treatment of hybrid states inside the paged memory system is the 2026 frontier of this theme.

Theme 11 — A self-study path through the engine, in order

The review above is the map; this is the route. The ordering below follows the dependency structure of the field — each stage’s material assumes the previous stage’s — and each stage ends with a checkpoint: a question you should be able to answer precisely, and a hands-on experiment that proves it. Expect to spend 1–2 focused weeks per stage if you are doing the experiments; the reading alone is faster.

Stage 0 — The roofline arithmetic (1–2 days). Read the roofline survey’s core sections 11 and the serving survey’s framing 10. Then do the arithmetic yourself: for a 7B FP16 model, compute bytes-per-token for weights (14GB streamed per token at batch 1) and KV (2 × layers × heads × head_dim × 2 bytes × context), and compare with a GPU’s HBM bandwidth to derive the memory-bound tokens/s ceiling. Checkpoint: explain why decode is memory-bound and prefill is compute-bound, with numbers.

Stage 1 — The serving problem and the first systems (3–5 days). Read the PagedAttention/vLLM paper 1 and the SGLang paper 2 — these two are the center of gravity everything else cites. Hands-on: run vLLM on a small model, then SGLang; measure TTFT, inter-token latency, and throughput at batch 1 vs a concurrent load of 16; watch what continuous batching does to the scheduler logs. Checkpoint: explain paging, iteration-level batching, and prefix caching to someone else without notes.

Stage 2 — Scheduling and memory management (3–5 days). Read SARATHI 3, Sarathi-Serve 4, and the sequence-scheduling paper 12. Hands-on: toggle chunked prefill and prefix caching in vLLM (they are defaults in V1 — turn them off to feel the difference); serve a shared-prefix workload and watch TTFT collapse with prefix caching; try the LPM scheduler in SGLang. Checkpoint: explain why chunked prefill exists, what it trades, and when prefix caching pays.

Stage 3 — Kernels (3–5 days). Read FlashAttention 1, 2, 3 in order 353637 — the IO-awareness argument is the intellectual core — then FlashInfer for the engine-integration view 38. Hands-on: profile a small model’s decode with ncu/nsight, identify the memory-bound GEMMs, and confirm attention shows up as bandwidth-bound; try the different attention backends the engines expose and compare. Checkpoint: explain tiling, the online softmax trick, and why kernel choice changes serving latency.

Stage 4 — Speculative decoding (3–5 days). Read the two foundation papers 4142, then EAGLE 44, EAGLE-2 45, EAGLE-3 46, and — before touching a deployment — the batching-synergy paper 50. Hands-on: enable EAGLE or MTP in SGLang at batch 1 and at batch 64; the curve you measure is the whole lesson. Checkpoint: explain why speculation stops helping at high batch, and why the lossless guarantee is about distribution, not quality.

Stage 5 — Quantization (3–5 days). Read SmoothQuant 54, GPTQ 52, AWQ 53, and the FP8 formats paper 55. Hands-on: quantize a model with AWQ or FP8, serve it, and compare output quality and tokens/s against FP16; enable the FP8 KV cache and watch the context-length ceiling move. Checkpoint: explain the difference between weight-only and W8A8, and when each is the right choice.

Stage 6 — Distribution and disaggregation (4–7 days). Read Splitwise 5, DistServe 6, Mooncake 7, and the “when does disaggregation pay” simulation 15 — read that one before you build anything. Hands-on: run tensor parallelism (TP=2 vs TP=1), then stand up the engines’ PD-disaggregation demo and watch TTFT/ITL decouple. Checkpoint: explain the prefill/decode resource asymmetry, what KV transfer costs, and the conditions under which disaggregation is a net win.

Stage 7 — Frontier architectures (3–5 days). Read DeepSeek-V2 59 and DeepSeek-V3 60 for the MLA/MTP/FP8/EP combination, HiSparse for the sparse-attention serving pattern 70, and one of the new drafter papers (DSpark 71 or DFlash 72) to see where speculation is going. Hands-on: serve a DeepSeek-class model with the engines’ recommended recipe (TP + EP + DPA + MTP) and measure. Checkpoint: explain MLA’s KV reduction, MTP’s speedup mechanism, and why MoE serving is an all-to-all problem.

Stage 8 — Synthesis and measurement discipline (ongoing). Read the simulation 21 and workload-dataset 22 work — the field’s answer to its comparability problem — and the composition caveat 5015. Capstone: write a one-page design for serving a specific model on specific hardware, stating which tricks you would enable, which you would not, and the bottleneck each targets; then measure the real system and reconcile. If tokens-per-watt is a goal, the companion review on this site (energy efficiency) covers that axis. Checkpoint: defend every trick in your design by name of the bottleneck it attacks.

Where the evidence disagrees

The size of speculation’s gain. Reported speedups span 1.5x to 6.5x for the same underlying idea 4246. The resolution is batch size and drafter quality: at batch 1 with a well-matched drafter, 3–6.5x is reproducible; at production batch sizes the gain collapses because the batched forward pass dominates 50. “Speculative decoding gives 2–3x” and “speculative decoding barely helps in production” are both true, at different operating points — and the engines’ spec-decode docs (which recommend dynamic/draft-count tuning) implicitly concede this.

Disaggregation’s universality. Splitwise, DistServe, and Mooncake show large gains 567; the simulation and KV-transfer literature shows the gains depend on workload mix, hardware generation, and the cost of moving KV state 153334. vLLM’s own docs now state disaggregation does not improve raw throughput — the field is moving from “disaggregate everything” to “disaggregate when the phase ratio and transfer cost justify it”, and the later position is better supported.

Paged vs virtual-memory attention. vLLM’s paging eliminated fragmentation 1; vAttention argues the paged kernel is the wrong abstraction and contiguous virtual memory with driver-level mapping is simpler and faster 39. Both engines page today, but the argument is not settled, and it will resurface as sparse-attention models change what the cache holds 70.

Vendor numbers vs paper numbers. The engines report headline gains (“15x with LMCache”, “525% simulated” 87) that are not reproducible from the papers alone, because there is no shared benchmark 21. This is not fraud — it is the field’s measurement culture — but it means vendor-stated figures should be read as directional, and the papers’ “up to” figures as ceilings.

Gaps and open questions

Composition. Production systems stack batching, prefix caching, speculation, quantization, and disaggregation simultaneously, yet nearly every paper optimizes one layer in isolation. The interaction effects are known to be non-additive in at least one direction — speculation shrinks with batching 50 — and the engines’ defaults encode untested assumptions about the joint space. What would settle it: a published per-trick ablation on identical hardware.

No shared benchmark. The single most important gap for a practitioner choosing between tricks: no canonical hardware, workload, and metric set exists 2122. The vendor docs make this worse by reporting throughput on their own models and GPUs.

Doc-vs-paper drift. The engines move faster than the literature: features like DPA, HiCache, SMG routing, and adaptive verification are documented only in vendor blogs and code, with no citable paper (or papers that trail the implementation by months). A review like this one is therefore a snapshot; the vendor links are the only stable record.

Long-context integration. Million-token serving exists on separate axes — quantized cache 23, sparse attention 70, cluster parallelism 31 — but a system combining all three under production scheduling has not been demonstrated in the retrieved literature.

Confidence and limitations

Confidence is moderate, with two tiers. The mechanism layer — what each trick does and which bottleneck it attacks — is well established and replicated across many independent groups; the paper claims behind the catalog were verified in this review or in the companion deep review (llm-inference-optimization), whose 124 sources were extracted and spot-checked against full texts. The implementation layer — exactly what each engine does today — rests on vendor documentation (vLLM docs at v0.27.1 developer-preview, SGLang docs and blogs as crawled 2026-08-18) and is vendor-stated; feature matrices change between releases and the preview may not match the stable release.

This review’s own limitations: 8 of 74 sources were abstract-only (mostly ACM/ACL records whose full texts were not openly retrievable in-session); Orca, the origin of continuous batching, is absent for lack of a DOI; GitHub-only artifacts (FlashMLA, DeepEP, NIXL, LMCache’s implementation) are covered through parent papers and repository documentation with their numbers flagged vendor-stated; the corpus is English and arXiv-heavy; and the engine-crawl cutoff (2026-08-18) will age quickly in a field that ships weekly.

Jump to references ↓

References

  1. Kwon, Woosuk et al. (2023). Efficient Memory Management for Large Language Model Serving with PagedAttention — Proceedings of the 29th Symposium on Operating Systems Principles. Abstract only. PagedAttention/vLLM is the reference point for KV-cache memory management and continuous batching in nearly all later serving work.doi:10.1145/3600006.3613165
  2. Zheng, Lianmin et al. (2024). SGLang: Efficient Execution of Structured Language Model Programs — SOSP 2024. Full text read. Canonical system evidence that structured KV cache reuse (radix tree, LRU eviction) accelerates multi-call LLM programs.doi:10.1145/3694715.3695950
  3. Agrawal, Amey et al. (2023). SARATHI: Efficient LLM Inference by Piggybacking Decodes with Chunked Prefills — arXiv (Cornell University). Full text read. Origin of chunked-prefill + decode-maximal batching now standard in vLLM-class serving engines.doi:10.48550/arxiv.2308.16369
  4. Agrawal, Amey et al. (2024). Taming Throughput-Latency Tradeoff in LLM Inference with Sarathi-Serve — arXiv (Cornell University). Full text read. Introduces chunked prefill + stall-free batching, the scheduling recipe adopted by vLLM and most modern serving engines.doi:10.48550/arxiv.2403.02310
  5. Patel, Pratyush et al. (2023). Splitwise: Efficient generative LLM inference using phase splitting — arXiv (Cornell University). Full text read. Foundational evidence for phase-disaggregation: decode does not need latest-GPU compute, enabling cheaper, power-efficient clusters.doi:10.48550/arxiv.2311.18677
  6. Zhong, Yinmin et al. (2024). DistServe: Disaggregating Prefill and Decoding for Goodput-optimized Large Language Model Serving — arXiv (Cornell University). Full text read. Foundational PD-disaggregation system; defines per-phase SLO (TTFT/TPOT) as the serving objective.doi:10.48550/arxiv.2401.09670
  7. Qin, Ruoyu et al. (2024). Mooncake: A KVCache-centric Disaggregated Architecture for LLM Serving — arXiv (Cornell University). Full text read. Flagship production evidence for KV-cache-centric disaggregation and early-rejection scheduling.doi:10.48550/arxiv.2407.00079
  8. Yuhan, Liu, et al. (2025). LMCache: An Efficient KV Cache Layer for Enterprise-Scale LLM Inference — arXiv preprint. Full text read. Open-source KV cache offloading/sharing layer enabling cross-engine prefix reuse and PD disaggregation; key infrastructure for cache-centric serving.doi:10.48550/arxiv.2510.09665
  9. Hu, Cunchen et al. (2024). MemServe: Context Caching for Disaggregated LLM Serving with Elastic Memory Pool — arXiv (Cornell University). Full text read. Shows the compounding benefit of unifying context caching with disaggregated inference via an elastic distributed memory pool.doi:10.48550/arxiv.2406.17565
  10. Li, Baolin et al. (2024). LLM Inference Serving: Survey of Recent Advances and Opportunities — arXiv (Cornell University). Full text read. Map of the serving-systems landscape (batching, disaggregation, scheduling) for the review's system-level section.doi:10.48550/arxiv.2407.12391
  11. Yuan, Zhihang et al. (2024). LLM Inference Unveiled: Survey and Roofline Model Insights — arXiv (Cornell University). Full text read. Provides the roofline framing that organizes the review's discussion of memory-bound decode vs compute-bound prefill.doi:10.48550/arxiv.2402.16363
  12. Zheng, Zangwei et al. (2023). Response Length Perception and Sequence Scheduling: An LLM-Empowered LLM Inference Pipeline — arXiv (Cornell University). Full text read. Early demonstration that output-length prediction enables smarter batching — precursor to SJF schedulers.doi:10.48550/arxiv.2305.13144
  13. She, Jianshu et al. (2026). LAPS: A Length-Aware-Prefill LLM Serving System — arXiv (Cornell University). Full text read. Extends PD disaggregation with length-aware prefill scheduling (long/short prefill separation, dual-queue, CUDA-Graph batching).doi:10.48550/arxiv.2601.11589
  14. Li, Zongze et al. (2026). Not All Prefills Are Equal: PPD Disaggregation for Multi-turn LLM Serving — arXiv (Cornell University). Full text read. Quantifies append-prefill vs full-prefill interference, informing PD-disaggregation design choices.doi:10.48550/arxiv.2603.13358
  15. Forys, Przemyslaw et al. (2026). When Does Disaggregation Pay? Simulating Prefill--Decode--Attention--FFN Specialization for Agentic LLM Inference — arXiv (Cornell University). Full text read. Forward-looking simulation evidence that heterogeneous/disaggregated hardware, not just software, is needed for agentic inference.doi:10.48550/arxiv.2608.03741
  16. Wang, Chao et al. (2025). Prefill-Decode Aggregation or Disaggregation? Unifying Both for Goodput-Optimized LLM Serving — arXiv (Cornell University). Full text read. Resolves the aggregation-vs-disaggregation debate: optimal regime depends on SLO mix, and hybrid modes win under balanced SLOs.doi:10.48550/arxiv.2508.01989
  17. Duan, Jiangfei et al. (2024). MuxServe: Flexible Multiplexing for Efficient Multiple LLM Serving. — CoRR. Full text read. Multi-model serving via phase-aware colocation — relevant to heterogeneous endpoint fleets.doi:10.48550/arxiv.2404.02015
  18. Gao, Lei et al. (2025). DuetServe: Harmonizing Prefill and Decode for LLM Serving via Adaptive GPU Multiplexing — arXiv (Cornell University). Full text read. Adaptive middle ground between phase aggregation and disaggregation for the serving-systems chapter.doi:10.48550/arxiv.2511.04791
  19. Wu, Bingyang et al. (2023). Fast Distributed Inference Serving for Large Language Models — arXiv (Cornell University). Full text read. First preemptive (token-granularity) LLM serving scheduler targeting head-of-line blocking in interactive inference.doi:10.48550/arxiv.2305.05920
  20. Hu, Cunchen et al. (2024). Inference without Interference: Disaggregate LLM Inference for Mixed Downstream Workloads — arXiv (Cornell University). Full text read. Quantifies prefill-decode interference and validates chunked prefill + prefill/decode disaggregation plus two-level scheduling.doi:10.48550/arxiv.2401.11181
  21. Agrawal, Amey et al. (2024). Vidur: A Large-Scale Simulation Framework For LLM Inference — arXiv (Cornell University). Full text read. Enables cheap configuration search (batching/scheduling/parallelism) without expensive GPU experiments; key methodology for the review.doi:10.48550/arxiv.2405.05465
  22. Wang, Yuxin et al. (2025). BurstGPT: A Real-World Workload Dataset to Optimize LLM Serving Systems — Proceedings of the 31st ACM SIGKDD Conference on Knowledge Discovery and Data Mining V.2. Abstract only. Provides the realistic workload grounding needed to evaluate KV cache, scheduling, and disaggregation optimizations beyond synthetic assumptions.doi:10.1145/3711896.3737413
  23. Hooper, Coleman et al. (2024). KVQuant: Towards 10 Million Context Length LLM Inference with KV Cache Quantization — arXiv (Cornell University). Full text read. Sub-4-bit KV cache quantization suite (per-channel, pre-RoPE, non-uniform, dense-and-sparse) that makes million-token contexts feasible on one GPU.doi:10.48550/arxiv.2401.18079
  24. Liu, Zirui et al. (2024). KIVI : Plug-and-play 2bit KV Cache Quantization with Streaming Asymmetric Quantization — arXiv preprint (ICLR 2024). Full text read. Landmark evidence that KV cache tolerates 2-bit quantization with per-channel/per-token asymmetry, directly attacking the decode memory bottleneck.doi:10.48550/arxiv.2402.02750
  25. Ye, Lu et al. (2024). ChunkAttention: Efficient Self-Attention with Prefix-Aware KV Cache and Two-Phase Partition — Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers). Abstract only. Prefix-aware KV cache sharing converts redundant system-prompt compute into memory and kernel-level wins.doi:10.18653/v1/2024.acl-long.623
  26. Gim, In et al. (2023). Prompt Cache: Modular Attention Reuse for Low-Latency Inference — arXiv (Cornell University). Full text read. Early evidence that cross-request KV reuse (precomputed attention states) accelerates prompt-heavy workloads.doi:10.48550/arxiv.2311.04934
  27. Xiao, Guangxuan et al. (2023). Efficient Streaming Language Models with Attention Sinks — arXiv preprint. Full text read. Attention-sink insight underpins KV eviction policies (sink+recent) used across streaming, drafting, and cache-compression systems.doi:10.48550/arxiv.2309.17453
  28. Liu, Yuhan et al. (2024). CacheGen: KV Cache Compression and Streaming for Fast Large Language Model Serving — Proceedings of the ACM SIGCOMM 2024 Conference. Abstract only. Lossy-but-tuned KV cache encoding that attacks context-loading network delay in long-context serving.doi:10.1145/3651890.3672274
  29. Strati, Foteini et al. (2024). DéjàVu: KV-cache Streaming for Fast, Fault-tolerant Generative LLM Serving — arXiv (Cornell University). Full text read. KV cache streaming as a unifying primitive for disaggregation, memory management, and fault tolerance in distributed serving.doi:10.48550/arxiv.2403.01876
  30. Lin, Bin et al. (2024). Infinite-LLM: Efficient LLM Service for Long Context with DistAttention and Distributed KVCache — arXiv (Cornell University). Full text read. Shows layer-level disaggregation plus pooled memory as a route to elastic long-context serving.doi:10.48550/arxiv.2401.02669
  31. Wu, Bingyang et al. (2024). LoongServe: Efficiently Serving Long-Context Large Language Models with Elastic Sequence Parallelism — Proceedings of the ACM SIGOPS 30th Symposium on Operating Systems Principles. Abstract only. Argues static parallelism strategies waste resources under variable-length requests — dynamic parallelism for serving.doi:10.1145/3694715.3695948
  32. Zhu, Ruidong et al. (2025). MegaScale-Infer: Efficient Mixture-of-Experts Model Serving with Disaggregated Expert Parallelism — arXiv preprint. Abstract only. Partial abstract frames memory-bound MoE inference efficiency, relevant to memory/interconnect pressure in LLM serving.doi:10.1145/3718958.3750506
  33. Chen, Shiyang et al. (2024). KVDirect: Distributed Disaggregated LLM Inference — arXiv (Cornell University). Full text read. Key evidence that prefill-decode disaggregation can be extended beyond a single node, addressing the scalability limit of DistServe-style designs.doi:10.48550/arxiv.2501.14743
  34. Pengju, Yang (2026). SpectrumKV: Per-Token Mixed-Precision KV Cache Transfer for Prefill-Decode Disaggregated LLM Serving — arXiv preprint. Full text read. Argues PD KV transfer should be treated as a precision-allocation problem rather than binary token selection.doi:10.48550/arxiv.2606.08635
  35. Tri, Dao, et al. (2022). FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awareness — arXiv (Cornell University). Full text read. landmark: FlashAttentiondoi:10.48550/arxiv.2205.14135
  36. Dao, Tri (2023). FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioning — arXiv (Cornell University). Full text read. Auto-retrieved via arXiv on 2026-08-08 — add a contribution note.doi:10.48550/arxiv.2307.08691
  37. Shah, Jay et al. (2024). FlashAttention-3: Fast and Accurate Attention with Asynchrony and Low-precision — Advances in Neural Information Processing Systems 37. Full text read. landmark: FlashAttention-3doi:10.52202/079017-2193
  38. Ye, Zihao et al. (2025). FlashInfer: Efficient and Customizable Attention Engine for LLM Inference Serving — arXiv (Cornell University). Full text read. Evidence that attention-kernel engineering (block-sparse KV formats, JIT) delivers large decode-latency wins across serving stacks.doi:10.48550/arxiv.2501.01005
  39. Prabhu, Ramya et al. (2025). vAttention: Dynamic Memory Management for Serving LLMs without PagedAttention — Proceedings of the 30th ACM International Conference on Architectural Support for Programming Languages and Operating Systems. Full text read. Quantifies the kernel-level price of PagedAttention (up to 2.8x decode slowdown) and proposes a VM-based alternative that avoids rewriting attention kernels - a key design alternative to paged kernels.doi:10.1145/3669940.3707256
  40. Dong, Juechu et al. (2024). Flex Attention: A Programming Model for Generating Optimized Attention Kernels — arXiv (Cornell University). Full text read. landmark: FlexAttentiondoi:10.48550/arxiv.2412.05496
  41. Leviathan, Yaniv et al. (2022). Fast Inference from Transformers via Speculative Decoding — arXiv (Cornell University). Full text read. Foundational speculative-decoding paper: formal rejection sampling guaranteeing the target distribution, plus speedup analysis.doi:10.48550/arxiv.2211.17192
  42. Chen, Charlie et al. (2023). Accelerating Large Language Model Decoding with Speculative Sampling — arXiv (Cornell University). Full text read. Foundational speculative-decoding result: parallel verification makes drafting an exact, distribution-preserving speedup.doi:10.48550/arxiv.2302.01318
  43. Cai, Tianle et al. (2024). Medusa: Simple LLM Inference Acceleration Framework with Multiple Decoding Heads — arXiv (Cornell University). Full text read. Draft-model-free parallel decoding (multi-token heads + tree verification); benchmark anchor for tree-based speculative methods.doi:10.48550/arxiv.2401.10774
  44. Li, Yuhui et al. (2024). EAGLE: Speculative Sampling Requires Rethinking Feature Uncertainty — arXiv preprint. Full text read. State-of-the-art draft-based speculation: predicting at the feature level yields higher acceptance than token-level drafts.doi:10.48550/arxiv.2401.15077
  45. Li, Yuhui et al. (2024). EAGLE-2: Faster Inference of Language Models with Dynamic Draft Trees — arXiv preprint. Full text read. State-of-the-art lossless speculative decoding: confidence-guided dynamic draft trees beat static trees.doi:10.48550/arxiv.2406.16858
  46. Li, Yuhui et al. (2025). EAGLE-3: Scaling up Inference Acceleration of Large Language Models via Training-Time Test — Advances in Neural Information Processing Systems 38. Abstract only. Scales speculative drafting via direct token prediction and multi-layer feature fusion, showing speedups improve with more training data.doi:10.52202/085713-4562
  47. Yichao, Fu, et al. (2024). Break the Sequential Dependency of LLM Inference Using Lookahead Decoding — arXiv preprint. Full text read. Draft-model-free alternative to speculative decoding, relevant for deployments where drafts are unavailable.doi:10.48550/arxiv.2402.02057
  48. Miao, Xupeng et al. (2023). SpecInfer: Accelerating Generative Large Language Model Serving with Tree-based Speculative Inference and Verification — arXiv (Cornell University). Full text read. Shows token-tree speculation generalizes speculative decoding to multi-token parallel verification in serving systems.doi:10.48550/arxiv.2305.09781
  49. Sun, Hanshi et al. (2024). TriForce: Lossless Acceleration of Long Sequence Generation with Hierarchical Speculative Decoding — arXiv preprint. Full text read. Long-context speculative decoding that exploits attention sparsity for drafting, closing the gap between on-chip and offloaded long-sequence serving.doi:10.48550/arxiv.2404.11912
  50. Su, Qidong et al. (2023). The Synergy of Speculative Decoding and Batching in Serving Large Language Models — arXiv (Cornell University). Full text read. Evidence that batching and speculative decoding interact, so speculation length must be batch-adaptive.doi:10.48550/arxiv.2310.18813
  51. He, Zhenyu et al. (2024). REST: Retrieval-Based Speculative Decoding — Proceedings of the 2024 Conference of the North American Chapter of the Association for Computational Linguistics: Human. Abstract only. Training-free speculative decoding that drafts from retrieved n-grams instead of a learned draft model.doi:10.18653/v1/2024.naacl-long.88
  52. Frantar, Elias et al. (2022). GPTQ: Accurate Post-Training Quantization for Generative Pre-trained Transformers — arXiv (Cornell University). Full text read. Foundational one-shot PTQ result establishing 4-bit weights as the practical default for LLM deployment.doi:10.48550/arxiv.2210.17323
  53. Lin, Ji et al. (2023). AWQ: Activation-aware Weight Quantization for LLM Compression and Acceleration — arXiv (Cornell University). Full text read. Hardware-friendly weight-only PTQ that became a standard on-device 4-bit serving stack; complements KV-cache and activation quantization.doi:10.48550/arxiv.2306.00978
  54. Xiao, Guangxuan et al. (2022). SmoothQuant: Accurate and Efficient Post-Training Quantization for Large Language Models — arXiv (Cornell University). Full text read. Foundational W8A8 PTQ that halves memory and nearly doubles GEMM throughput; enabler of single-node 500B+ serving.doi:10.48550/arxiv.2211.10438
  55. Micikevicius, Paulius et al. (2022). FP8 Formats for Deep Learning — arXiv preprint. Full text read. Defines the FP8 standard that underpins modern 8-bit inference engines — foundational for the quantization chapter.doi:10.48550/arxiv.2209.05433
  56. Lin, Yujun et al. (2024). QServe: W4A8KV4 Quantization and System Co-design for Efficient LLM Serving — arXiv (Cornell University). Full text read. Key evidence that W4A8KV4 with dequantization-aware kernels unlocks INT4 speedups in large-batch cloud serving, not just edge.doi:10.48550/arxiv.2405.04532
  57. Zhao, Yilong et al. (2023). Atom: Low-bit Quantization for Efficient and Accurate LLM Serving — arXiv (Cornell University). Full text read. Shows low-bit weight-activation quantization translating directly into serving throughput via INT4 tensor cores.doi:10.48550/arxiv.2310.19102
  58. Rajbhandari, Samyam et al. (2022). DeepSpeed-MoE: Advancing Mixture-of-Experts Inference and Training to Power Next-Generation AI Scale — arXiv (Cornell University). Full text read. Early evidence that MoE + expert pruning/quantization yields large latency and cost wins over dense models.doi:10.48550/arxiv.2201.05596
  59. DeepSeek-AI et al. (2024). DeepSeek-V2: A Strong, Economical, and Efficient Mixture-of-Experts Language Model — arXiv preprint. Full text read. Production-scale evidence that latent KV compression (MLA) plus MoE sparsity radically cuts cache and raises serving throughput.doi:10.48550/arxiv.2405.04434
  60. DeepSeek-AI et al. (2024). DeepSeek-V3 Technical Report — arXiv preprint. Full text read. Production-scale evidence that MLA + MoE architectures cut KV cache and active compute, shaping the inference-optimization design space.doi:10.48550/arxiv.2412.19437
  61. Jiang, Albert Q. et al. (2024). Mixtral of Experts — arXiv (Cornell University). Full text read. Reference MoE model: sparse activation reduces per-token compute but keeps full parameter memory footprint.doi:10.48550/arxiv.2401.04088
  62. Gu, Albert & Dao, Tri (2023). Mamba: Linear-Time Sequence Modeling with Selective State Spaces — arXiv (Cornell University). Full text read. Evidence that selective SSM architectures remove the KV cache bottleneck entirely, a structural alternative to cache optimization.doi:10.48550/arxiv.2312.00752
  63. Sheng, Ying et al. (2023). S-LoRA: Serving Thousands of Concurrent LoRA Adapters — arXiv (Cornell University). Full text read. Shows memory-pooling (unified paging) generalizes from KV cache to adapter weights for multi-tenant fine-tuned serving.doi:10.48550/arxiv.2311.03285
  64. Dong, Yixin et al. (2024). XGrammar: Flexible and Efficient Structured Generation Engine for Large Language Models — arXiv preprint. Full text read. Byte-level pushdown automaton for context-free-grammar constrained decoding; up to 100x per-token latency cut; default structured-output backend in both vLLM and SGLang.doi:10.48550/arxiv.2411.15100
  65. Chen, Lequn et al. (2023). Punica: Multi-Tenant LoRA Serving — arXiv preprint. Full text read. Segmented gather matrix-vector (SGMV) kernel batches many LoRA adapters into one CUDA kernel; 12x throughput over prior serving systems at +2ms/token.doi:10.48550/arxiv.2310.18547
  66. Srivatsa, Vikranth et al. (2024). Preble: Efficient Distributed Prompt Scheduling for LLM Serving — arXiv preprint. Full text read. Distributed prompt scheduling for prefill-decode disaggregated serving of short-output workloads; targets p99 latency.doi:10.48550/arxiv.2407.00023
  67. Gloeckle, Fabian et al. (2024). Better & Faster Large Language Models via Multi-token Prediction — arXiv preprint. Full text read. Training with multiple independent output heads enables self-speculative decoding at inference; the basis of the MTP head used by DeepSeek-V3 and served by SGLang/vLLM.doi:10.48550/arxiv.2404.19737
  68. Singh, Gursimran et al. (2024). Efficiently Serving Large Multimodal Models Using EPD Disaggregation — arXiv preprint. Full text read. Encoder-Prefill-Decode three-way disaggregation for vision-language models; up to 71% TTFT reduction and 90-100% SLO improvement; implemented in SGLang.doi:10.48550/arxiv.2501.05460
  69. Willard, Brandon T. & Louf, Rémi (2023). Efficient Guided Generation for Large Language Models — arXiv preprint. Full text read. Reformulates guided decoding as finite-state-machine transitions over tokens; foundational for SGLang's compressed-FSM and grammar backends.doi:10.48550/arxiv.2307.09702
  70. Xie, Zhiqiang et al. (2026). HiSparse: Scaling Sparse-Attention Decoding with Hierarchical KV Cache Management — arXiv preprint. Full text read. Exact hierarchical KV cache for top-k sparse attention: full KV in host memory, hot window on GPU; up to 4.7x peak generation throughput on long-context; shipped in SGLang.doi:10.48550/arxiv.2608.07009
  71. Cheng, Xin et al. (2026). DSpark: Confidence-Scheduled Speculative Decoding with Semi-Autoregressive Generation — arXiv preprint. Full text read. Semi-autoregressive block drafter (parallel backbone + lightweight sequential module) with confidence-scheduled verification; shipped in SGLang and vLLM.doi:10.48550/arxiv.2607.05147
  72. Chen, Jian et al. (2026). DFlash: Block Diffusion for Flash Speculative Decoding — arXiv preprint. Full text read. Lightweight block-diffusion model drafts a whole block of tokens in one forward pass; draft verified in a single target step; shipped in SGLang.doi:10.48550/arxiv.2602.06036
  73. Zhao, Weilin et al. (2025). FR-Spec: Accelerating Large-Vocabulary Language Models via Frequency-Ranked Speculative Sampling — arXiv preprint. Full text read. Truncated frequency-prioritized vocabulary for draft search cuts LM-head compute 75% on 128K-vocab models; supported by SGLang.doi:10.48550/arxiv.2502.14856
  74. Gong, Ruihao et al. (2024). LLMC: Benchmarking Large Language Model Quantization with a Versatile Compression Toolkit — Proceedings of the 2024 Conference on Empirical Methods in Natural Language Processing: Industry Track. Abstract only. Standardized plug-and-play toolkit enabling fair comparison of LLM quantization methods in a fragmented literature.doi:10.18653/v1/2024.emnlp-industry.12