R.4

Glossary

Each term below has one meaning across the manual and names the section that defines it.

Every term is defined once, in the section the last column names. The meanings come from the SGLang source at the tag, the captures, and the papers that the sections cite.

TermMeaning in this manualDefined in
Acceptance lengthThe number of tokens committed per verify pass: the accepted draft tokens plus one bonus token4.4
Attention backendThe class that computes attention over the paged KV cache for one batch4.2
Attention data parallelismInside one TP group, the attention layers run data parallel while the feed-forward or expert layers stay split across all GPUs6.1
Batch invarianceA kernel property: the result for one row does not depend on the other rows, because the reduction order is fixed4.6
Bootstrap roomThe number that a prefill server and a decode server use to find each other's half of one request6.3
Breakable graphA capture that ends a segment at each op that must run eagerly, runs that op, and starts the next segment4.1
Capture bucketOne batch size that SGLang records a decode graph for at startup4.1
Concurrency (benchmark)The sum of the end-to-end latency of every request divided by the run duration5.1
Constrained decodingRemoving every token that would break the grammar before the sampler picks one4.5
CounterA Prometheus total that only grows, read with a rate over a window5.2
CUDA graphA record of kernel launches with fixed shapes and addresses that the GPU replays with one CPU call4.1
Data parallelism (DP)Several complete copies of the model, each with its own requests and its own KV cache6.1
DecodeThe loop that produces each next token, one forward pass per token per request1.3
DetokenizerManagerThe process that turns output token ids into text and sends it back to the TokenizerManager2.1
Draft modelA small model or head that proposes the next few tokens cheaply4.4
EPLBThe expert parallelism load balancer, which records expert use and moves experts between GPUs6.2
Expert parallelism (EP)The experts of each MoE layer are divided among GPUs, and tokens move to the experts6.2
ForwardModeThe label on a batch that tells the model runner what kind of pass to run4.1
GaugeA value the scheduler overwrites on each log interval, so a scrape sees the latest value only5.2
GEMM backendThe kernel library that multiplies quantized weights4.3
GoodputRequests per second that meet a TTFT target and a TPOT target at the same time1.3
Grammar queueThe list of requests whose grammar is still compiling4.5
Grouped-query attentionSeveral query heads share one key and value head, so a model has fewer KV heads than attention heads3.1
HiCacheThe hierarchical cache, which extends the radix tree from GPU memory to host memory and to storage3.5
HistogramA set of counters, one per bucket, from which you read percentiles with a rate over a window5.2
ITLEvery gap between two streamed chunks, pooled across all requests5.1
KV cacheThe stored keys and values of every earlier token, for every layer, kept so that decode does not compute them again3.1
KV cache dtypeThe format of the cached keys and values4.3
KV poolThe memory that holds the keys and values of every token the server keeps1.2
L1, L2, L3The HiCache tiers: the GPU pool, a pool in pinned host memory, and an optional shared storage backend3.5
LogprobThe log probability of a token under the distribution the server sampled from4.6
Mamba layerA state-space or linear-attention layer that keeps one fixed-size state per sequence3.6
Match rateThe characters of a new request that match the gateway tree, divided by the request length6.4
Memory releasePOST /release_memory_occupation frees GPU memory by tag, and POST /resume_memory_occupation gives it back7.2
Model worldThe set of GPUs that together hold one copy of the model6.1
Multi-head latent attention (MLA)DeepSeek attention, which stores one compressed latent per token in place of keys and values per head3.1
Native APIThe SGLang endpoints, mainly POST /generate2.5
New token ratioThe share of remaining output that the scheduler expects a running request to use2.3
Offline quantizationThe checkpoint already stores low-bit weights and their scales4.3
Online quantizationSGLang converts full-precision weights at load time4.3
OpenAI APIThe /v1/chat/completions, /v1/completions, and /v1/models endpoints in the OpenAI format2.5
Overlap schedulingRunning the CPU work for one batch at the same time as the GPU work of another batch2.4
Pause and resumePOST /pause_generation with a mode, whose default abort ends every running request7.2
Peak concurrent requestsThe largest count of requests active at any point inside one second of a benchmark run5.1
Pipeline parallelism (PP)Whole layers go to different GPUs in order, and --pp-size sets the number of stages6.1
PrefillThe forward pass over the whole prompt, which computes its keys and values and the first output token1.3
Prefill-decode disaggregation (PD)Two kinds of SGLang servers, one for prefill and one for decode, with KV moved between them6.3
RadixCacheA radix tree over token sequences whose nodes hold the KV slot indices of the tokens on their edges3.3
ReqToTokenPoolA table with one row per running request and one column per token position3.1
RetractionRemoving running requests from the decode batch to free their KV slots and putting them back in the queue2.3
Schedule policyThe rule that orders the waiting queue before admission, set with --schedule-policy2.2
SchedulerThe separate process that owns the GPU, builds each batch, runs it, and samples2.1
Scheduler loopThe function that runs forever in the scheduler process, one batch per turn2.2
Sliding-window attention (SWA)Attention that reads only the last few thousand tokens3.6
Stop conditionA rule that ends a request: a stop token, a stop string, a regex, a length limit, an abort, or the end of a grammar2.5
Tail-Optimized LRU (tlru)An eviction policy that keeps only the part of a conversation that the next turn's latency target needs3.5
Tensor parallelism (TP)The weight matrices of each layer are cut into --tp-size slices, one per GPU6.1
ThroughputOutput tokens per second across all users1.3
TokenizerManagerThe object in the main process that receives each request, applies the chat template, and tokenizes it2.1
TokenToKVPoolAllocatorThe free list of KV slots3.1
TPOTFor each request, the time after the first token divided by the remaining output tokens5.1
TreeNodeOne node of the radix tree, with its children keyed by their first token and the token run on its edge3.3
TTFTThe time from sending a request to receiving the first streamed chunk5.1
Two-batch overlap (TBO)The scheduler cuts a batch into two micro-batches, so one runs attention while the other waits on communication6.2
Verify passOne forward of the target model over all proposed tokens, which accepts the longest matching prefix and adds one token4.4
Weight quantizationStoring the model weights in fewer bits, such as FP8, FP4, or INT44.3
Weight-update sessionbegin_weight_update, one or more update_weights_from_* calls, then end_weight_update7.2

SGLang 0.5.22 · baa9bef · 2026-10-13 · Edition 2026.10