internalsGet Pro

Inference Engineering · Workspace

Glossary

307 terms, A to Z. Each term links to the lesson that teaches it.

A 16

Accelerator
A chip built to run the maths of machine learning much faster than a general CPU. GPUs, TPUs and cloud-specific AI chips are all accelerators.
Acceptance test
A repeatable check that decides whether one requirement is met.
Activation memory
Temporary GPU memory a model uses while it computes a pass, separate from the weights and the KV cache.
Activations
The temporary tensors a forward pass creates while it runs, such as the hidden state and the feed-forward intermediates. They are not stored after the step.
Adapter slot
A reserved place in GPU memory for one LoRA adapter's weights. The number of slots is the most different adapters one batch can use.
Admission threshold
A rule that lets a block into or out of a slower cache tier only when its reusable prefix is long enough for loading to beat recomputing.
Ahead-of-time compilation
Converting a model into code for a specific chip before serving starts, and saving the result, instead of preparing it while requests arrive.
All-gather
A collective in which every GPU contributes a block and every GPU receives all the blocks.
All-or-nothing eviction
Taking either every KV block of a request or none, because the request needs all its blocks on each step.
All-reduce
An operation where every GPU holds a partial result, and all of them end up with the sum.
All-to-all
A collective in which each GPU sends a different block to every other GPU.
API server
The part of an inference server that accepts HTTP requests, turns text into tokens, and streams the reply back to the client. It does not run the model.
Arithmetic intensity
How many arithmetic operations a piece of work does for each byte it reads from memory. Compared with a GPU’s own ratio of arithmetic speed to bandwidth, it shows whether the work is memory-bound or compute-bound.
Attention backend
The part of a serving engine that runs attention: it picks a kernel and reads the paged KV cache for every layer.
Attention scores
The table of numbers that says how strongly each token attends to every other token, one score per pair, before softmax turns each row into weights.
Autotuning
Trying several kernel settings, such as block size and warp count, on the real GPU and keeping the fastest.

B 17

Balancedness
Average load divided by maximum load across experts or GPUs. 1.0 is perfectly even; lower means some experts or GPUs are busier than the rest.
Bank conflict
A slowdown when several threads of a warp ask for different words in the same shared-memory bank, so the accesses run one after another.
Base fleet
The machines kept running all year, sized for an ordinary busy hour plus a spare.
Base URL
The address a client library sends every request to; changing it moves an app to another server that speaks the same API.
Batch wait limit
The longest a server holds the first request of a batch while it waits for more requests to arrive. When it runs out, the batch starts with what it has.
Batched gather matrix-vector multiplication (BGMV)
A GPU kernel that applies a different LoRA adapter to each token of one batch: for every token it gathers that token's adapter weights and multiplies them with the token's vector.
Benchmark baseline
A full benchmark run of the current setup, with every setting recorded, kept so each change is compared against it.
Benchmark run
One execution of a fixed test against a server: a set number of requests sent at a set rate, with the latency and throughput of that execution recorded.
BF16
A 16-bit number format many models use to store weights. Each number takes 2 bytes.
Block hash
A number computed from the tokens in a full KV block and the hash of the block before it, used to find an existing block that holds the same tokens after the same start.
Block pool
The part of the engine that owns every KV block, the queue of free blocks and the map from block hash to cached block.
Block size
The number of tokens one KV block holds. Waste is limited to the empty part of a request’s last block, so a smaller block wastes less but needs a longer block table.
Bonus token
The one extra token a speculative decoding round gets for free: the large model’s own prediction at the first rejected guess, or after the last guess if all were kept.
Break point
The first value of a stress axis at which a technique does worse than the baseline, or misses a target.
Break-even busy share
The share of its working limit a GPU node must be busy, on average, for its cost per request to equal a per-token API’s.
Burst capacity
Machines started for a known peak and stopped afterwards, so they are paid for only while they run.
Burstiness
How unevenly requests are spaced at the same average rate. In vLLM’s benchmark tool, a value of 1.0 gives Poisson arrivals.

C 22

Cache salt
A value mixed into the first block's hash so that only requests with the same value can share cached blocks.
Cache-aware routing
Choosing the replica for a request by what its KV cache already holds, so repeated prompt parts need no new prefill.
Cache-aware scheduling
Choosing which waiting request to run next by how much of its prompt is already cached, so shared prefixes stay in memory.
Calibration set
A small sample of real text run through a model once, only to record the values its layers see, so a quantization method can choose roundings that keep the outputs close. It is not used for training.
Capacity Block
An AWS reservation of GPU instances for a fixed future start and end date.
Capacity plan
A calculation of how many GPUs a service needs to meet its latency target at its peak load, from peak demand and the rate one GPU sustains.
Cascading failure
A failure that grows by itself: one part fails, its load moves to the others, and they run out of resources too.
Chain hash
A hash of a KV block that includes the hash of the block before it, so two blocks match only if every token before them matches too.
Classifier-free guidance
A way to make an image follow the prompt more closely by predicting twice per step, with and without the prompt, and combining the two predictions.
Closed-loop load
A load where each client sends its next request only after the previous reply finishes, so the number in flight is fixed and the request rate follows the server’s speed.
Coalesced access
Memory reads where neighbouring threads of a warp read neighbouring addresses, so the GPU can serve them with few memory transactions.
Cold start
Starting a model server on a machine that has nothing loaded or cached yet: the weights must be fetched and loaded, and the engine must compile and set up memory before it can answer.
Collective operation
One communication call that every GPU in a group makes together, such as all-reduce or all-gather.
Compute capability
A version number NVIDIA gives each GPU generation, such as 8.9 for Ada. Engines read it to decide which formats and kernels the GPU can use.
Context parallelism
Splitting one long prompt’s tokens across several GPUs, which pass keys and values to each other so attention still sees every earlier token.
Contiguous allocation
Giving a program one unbroken run of memory, so its data sits in order from one address to the next.
Cost coefficient
In speculative decoding, the time of one draft model run divided by the time of one target model run, written c.
Cost per million tokens
What serving a million tokens costs: the money paid for the hardware over a period divided by the tokens served in it, times one million.
Counter (metric)
A metric that only grows. You subtract two readings and divide by the time between them to get a rate.
Cross-attention
Attention in which the decoder looks at the encoder’s output instead of at its own earlier tokens, so each new token can use the whole input.
CUDA
NVIDIA’s software platform for running programs on its GPUs, including the kernels that serving engines call.
CUDA graph
A recording of a fixed series of GPU operations that can be replayed with a single launch. The CPU skips the per-operation setup, but shapes and memory addresses must stay the same.

D 14

Data parallelism
Running several full copies of a model, each handling different requests, instead of splitting one copy across GPUs.
DCGM
NVIDIA’s Data Center GPU Manager, which reports GPU health and activity fields such as SM active and memory traffic.
Deadline propagation
Setting one deadline near the user and passing the time that remains to each service the request touches.
Decode batch
The requests that write a token together in one decode step. They share one read of the model weights.
Decode step
One pass of the model that feeds in the newest token of each running request and produces the next one, reading all earlier keys and values from the KV cache.
Decoding head (Medusa head)
An extra output layer that reads the target’s last hidden state and guesses a token several places ahead. It is not an attention head.
Delta
The new text in one streamed chunk of a model reply: only what was added since the last chunk, not the reply so far.
Denoising step
One pass of the denoiser network over the whole image grid and the prompt, followed by an update that makes the grid a little cleaner.
Detokenization
Turning token ids back into text, so the reply can be streamed to the client.
Diffusion model
A model that makes an image by starting from random noise and removing a little noise at each of a fixed number of steps, guided by a text prompt.
DMA (direct memory access)
A copy the hardware performs between memories without the CPU moving each byte.
Draft confidence
The probability the draft model assigns to a token it just wrote; if the draft is well calibrated, it estimates the chance the target model will accept that token.
Draft length
How many tokens the draft model guesses in one round of speculative decoding, written γ; vLLM calls it num_speculative_tokens.
Dynamic shapes
Compiling a dimension as a symbol instead of a fixed size, so one compiled version covers a range of sizes.

E 9

Eager execution
Running a model one operation at a time, as the Python code reaches each line. Each operation becomes its own GPU kernel and its own launch.
Encoder cache
Memory where a serving engine keeps an image’s encoder output, so later steps or requests do not run the vision encoder again.
End-to-end latency
The time from receiving a request to producing its last token. It equals time to first token plus time per output token times the tokens after the first.
Endpoint picker
The component in Kubernetes's Gateway API Inference Extension that chooses which model server endpoint handles a request, using metrics the servers report.
Engine core
The part of an inference server that holds the request queue and the scheduler, tracks KV cache blocks, and tells the GPU workers what to run each step.
ExecuTorch
PyTorch’s runtime for running exported models on phones, laptops and embedded devices.
Expert parallel load balancer (EPLB)
A component that measures how many tokens each expert gets and periodically moves or copies experts between GPUs to even out the load.
Expert parallelism
Splitting a mixture-of-experts model by experts: each GPU holds some of the experts of every layer, and tokens are sent to the GPU that holds the expert they picked.
Experts touched
The experts that receive at least one token in a step. Their weights must be read from memory; the others are skipped.

F 9

Flash-Decoding
A way to run attention for a decode step that splits the cached keys and values into chunks, processes the chunks in parallel on different thread blocks, and then merges the partial results exactly.
FlashAttention
An exact attention kernel that works on tiles in on-chip memory, so the full table of attention scores is never written to GPU memory.
FlashInfer
A library of attention kernels built for serving, used by several engines as an attention backend.
Flip (answer flip)
An answer that changes from correct to incorrect, or the reverse, between an original model and a changed copy of it, such as a quantized one. Accuracy can stay the same while many answers flip.
Floating-point number
A number stored as a sign, an exponent and a mantissa. The exponent sets how large or small the value is, and the mantissa sets how finely it is told apart from its neighbours.
FLOPS
Floating-point operations per second: how much arithmetic a chip can do. TFLOPS means trillions of them.
FP16 (half precision)
A 16-bit floating-point number format. It takes 2 bytes per value, like BF16, but has a narrower range of values. Older GPUs such as the T4 support FP16 and not BF16.
FP8
An 8-bit floating-point number format. Weights stored in FP8 take about half the memory of BF16.
Free block queue
The list of KV blocks that no request is using, ordered so the one used longest ago is reused first. A block on it keeps its contents until its space is taken.

G 16

Gated MLP (SwiGLU)
A feed-forward step with three matrices. Two widen the row; one of the two results passes through an activation and multiplies the other, and a third matrix narrows the product back.
Gauge
A metric that reports a value right now and can go up or down.
ggml
The tensor library llama.cpp is built on. It provides the maths kernels for each hardware backend.
GGUF
A single-file format for model weights used by llama.cpp. It holds the weights, usually quantized, plus the metadata needed to load them.
Goodput per GPU
The highest request rate a system serves while a chosen share of requests meets its latency targets, divided by the number of GPUs used.
GPU memory
The memory on the GPU itself. The model’s weights, the KV cache and the runtime’s buffers must all fit in it while the model runs.
GPU memory (HBM)
The main memory on a GPU card, where weights, the KV cache and activations live. Its size caps what fits, and its speed caps how fast a decode step runs.
GPU memory utilization (engine setting)
The share of a GPU’s memory an inference engine may use for weights, working memory and the KV cache. The rest is a safety margin.
GPU quarantine
Keeping a failing GPU’s server out of rotation, without restarting it, until a person has reset or replaced the GPU.
GPU worker
The process that owns one GPU, holds the model weights and KV cache blocks in its memory, and runs the forward pass for each step.
GPU-hour
One GPU rented or owned for one hour, the usual unit of a GPU bill, whether or not the GPU is busy.
Graph break
A point where torch.compile cannot follow the code, so the code before and after it is compiled separately and the code at the break runs as plain Python.
Grouped matrix multiplication
One kernel that multiplies several groups of tokens by several different weight matrices. A mixture-of-experts layer uses it to run each expert on its own group of tokens.
Grouped-query attention (GQA)
An attention layout in which several query heads share one set of keys and values, so the KV cache is smaller than with one set per query head.
Guard
A cheap check run on each call to decide whether saved compiled code is still valid for the inputs.
Guidance distillation
Training a model so that one pass gives the result guidance normally needs two passes for, which removes the second pass at serving time.

H 9

H100
An NVIDIA data-centre GPU with 80 GB of memory, widely used to serve large models.
H100 SXM
NVIDIA’s data-centre GPU with 80 GB of memory and 3.35 TB/s of memory bandwidth, built to sit on a shared board with NVLink.
H200
An NVIDIA data-centre GPU built on the same design as the H100, with 141 GB of faster memory.
Headroom
Capacity you pay for above the load you expect, held so that failures, planned removals and forecast errors do not push the service past its limit.
Hidden state
The list of numbers a layer produces for one token. The last layer’s hidden state is what the LM head turns into scores for the next token.
Horizontal Pod Autoscaler
The Kubernetes control loop that compares a metric with a target and changes the number of replicas to match.
Host memory
The computer’s ordinary memory (CPU RAM), reached from the GPU over a much slower link than the GPU’s own memory.
Hugging Face Hub
A website that hosts model files. A model name such as Qwen/Qwen3-8B is the name of a repository there holding weights, config and tokenizer files.
Hybrid batching
Putting prompt work (prefill) and reply work (decode) from different requests into the same batch, instead of running them in separate steps.

I 7

Image patch
A small square of an image, such as 16 by 16 pixels, that a vision model reads as one unit.
In-flight batching
TensorRT-LLM’s name for continuous batching: finished requests leave and new ones join the running batch at every step.
Inference engine
The program that schedules requests and runs the model on the GPU, such as vLLM or SGLang.
Inference runtime
The program that loads a model, schedules incoming requests and runs the model on the GPU.
Inter-token latency (ITL)
The time between two consecutive streamed outputs of one reply.
Inter-turn caching
Keeping the saved keys and values of a conversation between turns, so the next turn only processes the new tokens.
Interconnect
The wire or network that carries data between chips, such as PCIe, NVLink or InfiniBand.

J 2

Job shard
A fixed slice of a large batch job with its own input and output files, so a failure repeats only that slice.
Join the shortest queue
A routing rule that sends each new request to the worker with the least work waiting.

K 16

Kernel fusion
Doing the work of two GPU kernels in one, so the in-between result stays in the chip’s registers and is never written to GPU memory.
Kernel launch
The CPU’s request to the GPU to run one kernel. Each launch takes a little CPU time, and a GPU can finish a small kernel before the next launch arrives.
Key-value head
One of the heads that holds stored keys and values for a layer. The count of key-value heads, not query heads, sets the KV cache size per token.
KL divergence
A measure of how far one probability distribution is from another. Averaged over a dataset, it shows how much a changed model's token probabilities differ from the original's; zero means identical.
KV cache data type
The number format used to store keys and values in the KV cache. A smaller format holds more tokens in the same memory and can change the model’s answers.
KV cache manager
The part of the engine that turns a request's token count into a number of blocks, and answers the scheduler with blocks or a no.
KV cache overcommit
Admitting more requests than the cache can hold at full length, because each is counted only by the blocks it needs now.
KV cache pool
The memory an engine sets aside for the KV cache of all requests in progress, shared in small blocks.
KV cache store
A store of KV cache blocks outside the GPUs, kept in CPU memory and SSDs across many machines, that any server in the cluster can read instead of recomputing a prompt.
KV cache usage
The share of the cache’s blocks that hold tokens of running requests, from 0 to 1. A full cache is normal under load; full with waiting requests and preemptions is not.
KV heads
The number of key and value heads a model stores for each token and layer. It sets the KV cache size per token.
KV offloading
Keeping KV cache blocks that no longer fit in GPU memory in CPU memory, on disk or in a remote store, and loading them back when a request needs them.
KV pinning
Keeping a request's KV cache blocks in GPU memory on purpose, so they cannot be evicted, usually for a limited time.
KV reservation
Cache space an engine sets aside for a request when it arrives, before the request has written any of it.
KV snapshot
A saved copy of a finished request's KV cache, cut back to its full prompt blocks, that a prefix store gives to later requests with the same start.
KV transfer connector
The engine component that moves a request’s KV cache from one worker to another.

L 11

L4
A low-power NVIDIA data-centre GPU with 24 GB of memory, often used for small models and light traffic.
Last-token pooling
Pooling that uses the final input token’s output vector as the vector for the whole text.
Latency hiding
Keeping many warps resident so the SM runs one while the others wait for memory.
Latent
A small grid of numbers that stands for an image. Diffusion models denoise the latent and decode it to pixels only at the end.
Layer offload
Placing some of a model’s layers in GPU memory and leaving the rest in system memory to run on the CPU, so a model larger than the GPU can still run.
Layer-wise KV transfer
Sending each layer’s part of the KV cache while the GPU computes the next layer, instead of waiting for the whole prompt.
Lead time (capacity)
The time from deciding to add capacity until the new capacity answers requests.
Little’s law
The average number of requests in a system equals the arrival rate times the average time each request spends in the system.
llama.cpp
An open-source inference engine written in C and C++ that runs quantized models on CPUs and many kinds of GPUs, from laptops to servers.
LLM Compressor
An open-source library that quantizes a model with methods such as GPTQ and SmoothQuant and saves it in a format vLLM can load.
Load sweep
The same benchmark run at several loads, from quiet to overloaded, so you can see the shape of the latency curve and where it bends.

M 14

Managed endpoint
A model served on GPUs that a provider rents to you alone and keeps running for you, billed by the hour.
Mantissa
The part of a floating-point number that holds its detail. More mantissa bits mean smaller gaps between neighbouring values.
Maximum model length
The longest context, prompt and output together, that an inference engine accepts for one request. In vLLM the option is --max-model-len.
Maximum sequences per step
A cap on how many requests an engine processes in one step. Even with free cache, a batch never grows past it.
Memory transaction
One fixed-size fetch from GPU memory. On recent NVIDIA GPUs a global-memory transaction is 32 bytes, whether or not the kernel uses all of them.
Metrics endpoint
A web address on a server, usually /metrics, that returns its current counters and gauges as plain text, so tools and scripts can read them.
Min-p
A decoding setting that drops every token whose probability is below a set share of the most likely token's probability, so a confident step keeps few tokens and an unsure step keeps many.
Model bandwidth utilization (MBU)
The memory bandwidth a decode step achieves, (model size + KV cache size) divided by time per output token, as a share of the hardware’s peak.
Model replica
One complete copy of a model with its own engine, weights, waiting line and KV cache. Several replicas let a service finish more requests at once.
Model runner
The part of a GPU worker that prepares the inputs for one step and runs the model on them.
MTEB
A public set of text embedding tasks, such as retrieval, used to score and compare embedding models.
Multi-head latent attention (MLA)
DeepSeek’s attention design. It stores one small compressed vector per token in the KV cache instead of full keys and values for every head.
Multi-query attention
An attention design where all query heads share a single pair of key and value heads, which makes the KV cache much smaller.
Multimodal processor cache
A cache of preprocessed inputs, such as decoded and resized images, so a repeated image skips the CPU work.

N 9

N-gram
A run of n tokens in a row. Speculative methods search the text for the last few tokens and copy what followed them.
NCCL
NVIDIA’s library for communication between GPUs. It picks the route over NVLink, PCIe or the network and runs operations such as all-reduce.
Nearest-rank percentile
A percentile read as an actual observation: sort n values, then take the value at rank ceil(p ÷ 100 × n).
Normalized latency
A request’s end-to-end latency divided by the number of tokens it produced, averaged over requests. The PagedAttention paper uses it on its main plots.
NPU
Neural processing unit: a block of a phone or laptop chip built for the arithmetic of neural networks.
num_computed_tokens
The count of a request’s tokens whose keys and values are already in the KV cache. Each step moves it toward the request’s total.
nvidia-smi
NVIDIA’s command-line tool that reports each GPU’s memory used, utilization, power and running processes. It can print one reading or repeat at an interval.
NVSwitch
A switch chip inside a GPU node that connects the NVLink links of all GPUs, so each GPU reaches every other in one hop.

O 14

Occupancy
The share of an SM's warp slots that hold running warps; registers, shared memory and the amount of work all lower it.
Offered load
The rate of requests that arrive at a service, whether or not it can finish them.
Offline inference
Running a model over a large set of inputs where no user waits for each answer, so the goal is total throughput and a deadline, not latency.
On-demand instance
Cloud capacity you start and stop when you like and pay for by the hour, with no commitment.
On-device (edge) inference
Running a model on the user’s own phone, laptop or other device instead of on a server.
Online softmax
A way to compute softmax one tile at a time by keeping a running maximum and a running sum, and rescaling the sum whenever a later tile raises the maximum.
Open-loop load
A load where requests are sent on a schedule that ignores replies, so the request rate is fixed and the number in flight follows the server’s speed.
OpenAI-compatible API
An HTTP API that uses the same paths and request and response shapes as OpenAI’s, so client code written for a hosted model works against another server by changing the base URL.
Operating envelope
The range of conditions in which a technique can be used, written with its edge and the worst-case cost of going past it.
Out of memory (OOM)
An error when a program asks for more GPU memory than is free. A model server can hit it at startup or when a request needs more working space than planned.
Out-of-memory error (OOM)
A failure that happens when a program asks the GPU for memory and the GPU has none left to give. The operation fails, and sometimes the whole process.
Outlier channel
One position in the key (or value) vectors whose numbers are much larger than the rest. A single scale for the whole tensor follows it and rounds every other channel to almost nothing.
Output projection (LM head)
The last matrix in a language model. It multiplies a token’s final row of numbers by a table with one column per vocabulary token, giving one score (logit) for each.
Overhead-bound
A step whose time is set by the CPU work of issuing GPU operations, not by the GPU. The GPU finishes each kernel and waits for the next launch.

P 16

Padding
Filler tokens added to shorter sequences so every sequence in a batch has the same length and the batch forms one rectangle of data.
PCIe
The link that connects a GPU to the CPU and its memory inside a server.
Per-channel quantization
Giving each channel (each column of a matrix) its own scale, so a large channel does not widen the rounding steps of the others.
Per-token API
A hosted model on a fleet shared between customers, billed for the input and output tokens you send and receive.
Pinned memory
Host memory fixed in place so the GPU can copy to and from it directly, which makes copies faster.
Pipeline stage
A run of consecutive layers held by one GPU in pipeline parallelism; the token vectors flow from one stage to the next.
Placeholder pods
Low-priority pods that do no real work and only hold capacity. Real workloads preempt them when they need the room, and their eviction can make the autoscaler add capacity.
Pod preemption
When a Kubernetes pod cannot be placed, the scheduler evicts lower-priority pods from a node to make room for it. The evicted pods keep their graceful termination period.
Poisson arrivals
A random arrival pattern where requests come independently at a steady average rate, so gaps vary and some requests land close together.
Policy
In reinforcement learning, the model whose choices are being trained. Training changes the policy so that its answers score higher.
Pooling model
vLLM’s name for a model that runs one forward pass and combines the result into a vector or a score, such as an embedding model or a reranker, instead of writing text.
Prefill–decode disaggregation
Running the prefill phase and the decode phase on separate groups of GPUs, and sending each request’s KV cache from the first group to the second.
preStop hook
A step Kubernetes runs inside a container just before it sends SIGTERM. Its running time counts against the pod's grace period.
Profiler
A tool that records which operations ran, how long each took and when, so you can see where time goes.
Profiler trace
The file a profiler writes: a timeline of kernels and CPU work that you open in a viewer.
Prometheus
A monitoring system that reads metrics from a server’s text page at a fixed interval and stores them as time series.

Q 3

Quality gate
A rule that a changed model or setting must pass a fixed quality test before it ships.
Queue time
The time a request waits after arriving and before the scheduler starts it. It counts inside time to first token.
Queue-aware routing
Choosing which model server gets a request by how much work is already waiting on each one, usually read from the server's metrics.

R 27

RadixAttention
SGLang’s way of reusing KV cache across requests: cached prompts and replies live in a radix tree, and a new request is matched to its longest cached start.
RDMA (remote direct memory access)
A way to move data over the network in which the network card reads or writes another machine’s memory directly, without either machine’s CPU copying the data.
Reasoning parser
A server setting that splits a reasoning model's text at the end-of-thinking marker, so the thinking and the answer come back in separate fields.
Recompilation
Compiling a function again because its saved compiled code no longer fits the inputs.
Recomputation
Doing again work whose result was already computed and thrown away, such as running earlier tokens through the model again because their stored results were not kept.
Reduce-scatter
A collective that sums data across GPUs and gives each GPU one equal block of the sum.
Redundant expert
An extra copy of a busy expert on another GPU, so the load balancer can split that expert’s tokens between the copies.
Remove-one ablation
An ablation design that starts from the full system and switches off one part per run.
Request queue
The line of accepted requests that wait until the server has room to start them.
Request rate
How many new requests arrive each second.
Requests in flight (concurrency)
The number of requests a server has accepted and not yet finished, counting both those running and those waiting.
Requests in progress
The requests an engine has admitted and is still writing replies for. Each one holds KV cache memory until it finishes.
Retention time
How long a cache tier keeps a block before eviction: the tier's size divided by the rate at which new blocks are written to it.
Retry amplification
The growth in load when failed requests are sent again, made larger when several layers each retry.
Retry budget
A limit on how many retries a client may send compared with its normal requests, so retries cannot multiply the load on a service that is already refusing work.
Retry-After
An HTTP header on a refusal that tells the client how many seconds to wait before trying again.
Ridge point
The intensity where the roofline’s sloped line meets its flat roof: peak arithmetic divided by memory bandwidth.
Ring all-reduce
An all-reduce algorithm that arranges GPUs in a ring and passes chunks to the next neighbour: a reduce-scatter, then an all-gather.
Ring attention
Attention computed across GPUs arranged in a ring: each keeps its own queries and passes key and value chunks to the next GPU, computing on each chunk as it arrives.
RMS normalization
A step that rescales each row of numbers in a model so its typical size stays steady, then applies learned per-number weights. Many open models use it before attention and before the feed-forward step, and once after the last layer.
ROCm
AMD’s software platform for running programs on its Instinct GPUs; the counterpart of CUDA.
Rollback
Sending traffic back to the previous release, and reloading it where needed, after a new release fails its checks.
Rollout
In reinforcement learning, one complete attempt: the model reads a prompt, writes an answer, and the answer is scored.
Roofline model
A chart of a chip’s attainable speed against operations per byte: a sloped line set by memory bandwidth, then a flat line set by peak arithmetic.
Rotary position embedding
A way to tell attention the order of tokens: each query and key is rotated by an amount that depends on its position, so their dot product depends on how far apart the two tokens are. Values are not rotated.
Round to nearest (RTN)
The simplest quantization: pick a scale for a group of weights and round each weight to the closest integer step, without looking at the inputs the layer receives.
RTFx (inverse real-time factor)
Seconds of audio a speech model transcribes for each second of compute. An RTFx of 100 means one GPU transcribes 100 seconds of audio per second.

S 33

Safetensors
A file format for model weights that stores raw tensors and cannot run code when loaded. Most open models on Hugging Face ship in it.
Sampler
The part of an inference engine that takes the logits for the last position and returns one token id, using the request's sampling settings.
SamplingParams
The vLLM object that holds one request's sampling settings, such as temperature, top-p, top-k, seed, max_tokens and stop strings.
Savings Plan
An AWS commitment to spend a fixed amount an hour for one or three years in return for lower prices.
Scheduler
The part of an inference engine that decides, before each step, which requests run and how many tokens each one processes.
Scheduling policy
The rule an inference engine uses to pick which waiting request joins the next step.
Score table
The n × n table of attention scores a head computes in a prompt pass, one score per pair of tokens. Standard attention writes it to GPU memory, so it grows with the prompt length squared.
Self-speculation
Speculative decoding where the guesses come from a small trained part attached to the target model, not from a separate draft model.
Sequence slot
One row of a fixed-size KV cache, reserved for one running request until it finishes. The number of slots is the most requests that can run in one step.
Server slot
One of the parallel conversations a llama.cpp server can hold at once, each with its own share of context.
Service specification
A written list of numbered requirements for a service, each with a number, the load it holds at, where it is measured and a test.
SGLang
An open-source system for running language models, with a runtime that keeps its prefix cache in a radix tree.
Shared expert
An expert in a mixture-of-experts layer that every token goes through, next to the routed experts the router picks for it.
Shared memory
A small, fast memory inside each GPU SM that all threads of one thread block can read and write, managed by the kernel.
Side channel
Information that leaks through something other than the intended output, such as how long a response takes.
SIGTERM
The signal an operating system or Kubernetes sends to ask a process to stop. The process may catch it, finish its work and exit.
SiLU
An activation rule: silu(v) = v times sigmoid(v). It keeps large positive values and squeezes negative values toward zero.
SIMT
Single-instruction, multiple-threads: the 32 threads of a warp execute one instruction at a time, each on its own data.
Sleep mode
A vLLM feature that frees a server’s GPU memory without stopping the process. At level 1 it copies the model weights to CPU memory and discards the KV cache; waking copies the weights back.
SLO attainment
The share of requests in a run that meet every latency target set for the service.
SLO limit
The highest load at which a server still meets its service-level objective. It is usually below the load where the server is saturated.
SLO scope
The point in the request path where an SLO’s clock starts and stops, such as the gateway or the engine.
Slot mapping
For each token in a step, the exact place in the KV cache where its key and value are written, worked out from the request’s block table and the token’s position.
Spec sheet
A written list of every choice that can change a benchmark result: system and version, settings, GPU, model, workload, arrivals, metric and load.
Speech token
A small unit of audio that a speech-generating model writes one at a time, which a decoder turns into sound.
Spot instance
Spare cloud capacity sold at a discount that the provider can take back, with a short warning.
Stale rollout
An answer written partly or wholly by an older version of the weights than the one now being trained.
Starvation
Work that is ready to run but is never picked because other work always goes first.
Step distillation
Training a model to give a good image in far fewer denoising steps than the model it was taught from.
Streaming multiprocessor (SM)
One of the many processing blocks inside an NVIDIA GPU. Each SM runs part of a kernel, and all SMs share the GPU’s memory.
Stress test
A test that changes one condition a technique depends on, such as load or acceptance rate, past its normal range to find where the technique stops helping.
Structural tag
A constraint that applies a schema only inside given tags in the reply, so the text outside the tags stays free.
Suffix decoding
Draft-free speculation that matches the latest tokens against the request's own text and against a store of earlier responses, and picks continuations by how often they occurred.

T 22

Tensor core
A unit inside an NVIDIA GPU that multiplies small blocks of numbers in a fixed set of formats. Which formats a GPU supports depends on which tensor cores it has.
TensorRT engine
A model compiled ahead of time by NVIDIA’s TensorRT into a form the GPU runs directly, built with sizing limits chosen up front.
TensorRT-LLM
NVIDIA’s open-source library for running large language models fast on NVIDIA GPUs.
Termination grace period
How long Kubernetes lets a pod shut down after deletion starts. When it ends, the remaining processes are killed with SIGKILL. The default is 30 seconds.
TFLOPS
Trillions of arithmetic operations (multiplies or adds) a chip can do each second. Datasheets often show a higher figure with sparsity; the dense figure is half of it.
Think time
The gap between a user receiving a reply and sending the next request.
Thinking budget
A per-request limit on thinking tokens. When the model reaches it, the server ends the thinking and the model writes its answer from what it has.
Thread block
A group of up to 1,024 GPU threads that run on one SM and can share fast memory.
Tiling
Splitting a big computation into small blocks (tiles) that fit in fast memory, so each loaded value is used many times before the next tile.
Time between tokens (TBT)
The gap between two consecutive tokens of one streaming reply. Reported at a high percentile such as p99 to show the longest pauses a user sees.
Time per output token (TPOT)
The average time between tokens after the first, for one request: (end-to-end latency minus time to first token) divided by (output tokens minus one).
Time to first token (TTFT)
How long a user waits between sending a request and seeing the first token of the reply.
Token budget
The most tokens an engine will process in one scheduler step, counting one for each running reply and every prompt token it takes in.
Token slot
Room in the KV cache pool for the keys and values of one token, across all layers. The pool’s size in slots is its bytes divided by the bytes per token.
Top-k routing
Choosing the k experts with the highest router scores for a token and giving every other expert weight 0.
torch.compile
A PyTorch function that traces a model into a graph of operations and compiles it into fewer, faster GPU kernels, which later calls reuse.
TorchInductor
The default compiler backend of torch.compile. It takes the traced graph, merges neighbouring operations and writes the GPU kernels.
TPU (Tensor Processing Unit)
Google’s accelerator for machine learning, rented through Google Cloud and designed to be linked into large groups of chips.
traceparent header
The W3C Trace Context HTTP header. It has four dash-separated fields: a version, a 32-character trace id, a 16-character parent span id and flags.
Traffic mirroring
Copying live requests to a second service and discarding its replies, so the second service sees real traffic without affecting any user.
Tree attention
An attention mask that lets many candidate continuations be checked in one forward pass, each candidate token seeing only the tokens on its own path.
Triton
A Python language and compiler for writing GPU kernels. You write one program that works on a block of values, and the compiler turns it into GPU code.

U 3

Unified memory
A design where the CPU and the GPU of a chip use the same pool of memory, so a model does not have to be copied to separate GPU memory.
Unified paging
One paged memory pool that holds both the KV cache and LoRA adapter weights, so adapters of different sizes and caches of different lengths do not leave unusable gaps.
Uniform decode
A batch in which every request has a query length of 1 (or 1 plus its speculative tokens), so each request adds exactly one step of the same shape.

V 3

VAE (variational autoencoder)
The network that turns a latent into pixels, and pixels into a latent. At serving time only the decoding half runs, once per image.
Vision encoder
The network in a vision-language model that turns an image into vectors the language model can read as tokens.
vLLM
An open-source library for running and serving language models. It batches requests together and manages the KV cache in blocks.

W 9

W8A8
A naming style for quantization: W is the bits used for weights and A the bits used for activations. W8A8 uses 8 bits for both; W4A16 uses 4-bit weights and 16-bit activations.
Warm-up
A few throwaway requests sent before the timed part of a benchmark, so one-time start-up costs do not count in the results.
Warmup
Steps run before measuring so one-time costs, such as loading kernels and filling caches, do not count.
Warp
A group of 32 GPU threads that run the same instruction together.
Warp divergence
When threads in one warp take different branches, the branches run one after the other with the other threads masked off.
Weight transfer
Copying a model’s updated weights from the training process into the inference engine, so the engine writes answers with the newest model.
Weight-only quantization
Storing weights in a low-bit format but keeping activations in 16 bits. It saves memory and bytes read, but the arithmetic still runs in 16 bits.
Working limit
The load a service is planned to carry, set below its ceiling so waiting time stays inside the target.
Working share
The fraction of a GPU’s ceiling rate that a plan uses at its peak, kept below 100% so requests do not queue for long.

X 2

XGrammar
An open-source engine that turns a JSON schema or grammar into per-step token masks, checking most tokens ahead of time so each step is fast.
XID error
An event code the NVIDIA driver reports when something goes wrong with a GPU or its driver.

Y 1

YaRN
A method that rescales a model's position encoding so it can read prompts longer than the length it was trained on.

Z 3

Zero point
A number subtracted from a stored integer code before the scale is applied, so unsigned codes can stand for values on both sides of zero.
ZeroMQ (ZMQ)
A messaging library that lets separate processes send each other messages over sockets, without a central broker.
ZMQ
A library for sending messages between processes over sockets. vLLM uses it between the API server and the engine core.