§ glossary · 37 terms

The words, plainly.

The posts are written for people who already work with this hardware. These are the terms they use without stopping, each in one to three sentences, with the posts where it matters.

A/B (and ABBA)

A comparison of two configurations that differ in exactly one setting. The runs are often interleaved (A, B, B, A) so that slow drift in temperature or load affects both sides equally.

Asahi Linux

A project that ports Linux to Apple Silicon Macs. Apple publishes no documentation for this hardware, so the GPU, USB4 and other drivers are written by reverse engineering. Fedora Asahi Remix is the distribution built from it.

Barrier

A command that makes the GPU finish earlier work and make its results visible before later work starts, so a step never reads data that has not been written yet. Barriers keep results correct but each one makes the GPU wait: too many cost speed, too few give wrong answers.

Byte-exact (greedy) check

Greedy decoding always picks the most likely next token, so the same model and prompt give the same text every time. Comparing that text byte for byte before and after a change is a quick test that the change did not alter the results.

Command buffer

A list of GPU commands (dispatches, copies, barriers) that the CPU records first and then hands to the GPU in one submission. Recording many commands and submitting once is cheaper than submitting each separately.

Control

The unchanged configuration in a comparison, measured in the same session as the change. If the control is itself broken, any change looks like an improvement; one post found exactly that.

Decision model

A model or adapter tuned to answer one narrow yes/no question, such as "did this step fail?", in a single token. Its answer is read from the probability it gives the word "true".

Decode vs prefill

Prefill is the model reading the prompt: all the input tokens are processed together, so arithmetic is the limit. Decode is the model writing its answer one token at a time; every token reads the weights again, so memory bandwidth and per-step overhead are the limit. Benchmarks report them separately, often as pp (prompt processing) and tg (token generation).

GGUF

The single-file model format llama.cpp uses. One file holds the weights, usually already quantized, and the settings needed to run them.

GPU dispatch

One launch of a small GPU program (a kernel) over a grid of work. Producing a single token can take hundreds of dispatches, and each one has a fixed start-up cost on top of its work.

KV cache

Memory where a model keeps intermediate results (keys and values) for every token it has already seen, so they are not recomputed for each new token. It grows with the length of the conversation and competes with the weights for GPU memory.

Latency vs bandwidth

Latency is how long one small message takes to arrive, in microseconds or milliseconds; it is quoted either one-way or as a round trip (RTT). Bandwidth is how much data per second moves once a transfer is under way, in Gbit/s or GiB/s. A link can do well on one and badly on the other.

llama.cpp

An open-source program for running language models on ordinary hardware: CPUs, and GPUs through CUDA, ROCm, Vulkan or Metal. Its llama-bench tool produces many of the speed numbers in these posts.

Logprobs

The logarithm of the probability a model gives each possible next token. A decision model is scored by reading the logprob of one answer token rather than by reading generated text.

LoRA / adapter

A LoRA is a small set of extra weight matrices added to chosen layers of a base model and trained for one job. The base model is left unchanged, so one server can hold the base and load or remove adapters while it runs.

Matrix-vector product (matvec)

Multiplying a large matrix of model weights by one vector of activations. During decode most of a language model's time goes on these, and each one has to read its whole weight matrix from memory.

Mesa and Honeykrisp

Mesa is the open-source collection of GPU drivers used on Linux. Honeykrisp is Mesa's Vulkan driver for Apple GPUs; it runs the GPU throughout the Apple GPU series.

Metal

Apple's own GPU programming interface on macOS. In these posts "Metal" usually means the same model running on the same Mac under macOS, used as the reference speed for the Linux stack.

Mixture of experts (MoE)

A model design in which each layer has many sub-networks (experts) and only a few run for each token. A 284-billion-parameter MoE model may use about 10 billion parameters per token, so it needs memory for all of them but reads only the active ones.

Mutation testing

A way to test the tests: put small deliberate bugs (mutants) into the code and check that the test suite fails on each one. A mutant the tests do not catch shows a gap in them. No post uses the term yet; the linked posts describe checks that passed without testing anything.

P2P and IOMMU

Peer-to-peer (P2P) lets one PCIe device, such as a GPU, read or write another device's memory directly instead of copying through system memory. The IOMMU is the hardware that translates and checks the addresses devices use; its mode, together with a kernel allow-list of CPUs, decides whether P2P is permitted.

Perplexity

A score of how well a model predicts a fixed piece of text; lower is better. Measured before and after a change, it shows whether the change altered what the model computes, which a speed benchmark cannot show.

Quantization (Q4_0, Q4_K_M, MXFP4)

Storing a model's weights with fewer bits, so it takes less memory and less data is read per token, at some cost in accuracy. Q4_0, Q4_K_M and Q2_K are llama.cpp formats of roughly 4 or 2 bits per weight. MXFP4 is a 4-bit floating-point format in which each block of 32 values shares one scale factor.

RDMA

Remote direct memory access: one machine places data straight into another machine's memory over a link, without the receiving CPU copying each packet. Programs use it through the verbs interface.

ROCm

AMD's software stack for computing on its GPUs: driver interfaces, compilers and maths libraries. It does the job CUDA does for NVIDIA; HIP is its programming language.

Seed

The number that starts a random-number generator. Image and video models begin from random noise, so the same seed with the same settings gives the same result and a different seed gives a different one. Posts quote the seed so a render can be made again.

Speculative decoding

A small, fast drafter guesses the next few tokens and the large model checks them all in one pass, keeping the ones it agrees with. The large model checks every token, so the output is the same as without it and only the speed changes. The share of guesses kept is called acceptance.

Strix Halo

AMD's Ryzen AI Max+ 395 chip, with an integrated Radeon 8060S GPU and unified memory. The lab's Strix Halo is a small desktop that appears as the second machine in many posts.

Tensor parallel (TP)

Splitting every layer of a model across several GPUs so they work on each token together. The GPUs exchange partial results at every layer, so the link between them matters. TP=2 means two GPUs.

Thunderbolt and USB4

Cable standards that carry data, displays and tunnelled PCIe over one connector. Thunderbolt 4 and USB4 links run at up to 40 Gb/s as two 20 Gb/s lanes. Two computers can be cabled directly and run a network over the link, with no switch.

Tokens per second (tok/s, t/s)

How many tokens a model reads or writes per second. A token is a piece of text, often part of a word. Check whether a figure is for prefill or decode: on the same machine they can differ by a factor of ten or more.

Unified memory

One pool of memory shared by the CPU and the GPU, as on Apple Silicon and AMD Strix Halo. The GPU can use most of the machine's RAM, which is how these small machines hold very large models.

Verbs and queue pairs

Verbs is the standard programming interface for RDMA. A queue pair is one connection: a send queue and a receive queue to which the program posts work requests. UC (unreliable connected) and RC (reliable connected) are two kinds of queue pair.

vLLM

An open-source server that runs language models for many users at once, batching their requests together behind an OpenAI-style HTTP interface. vLLM-Radiance, in these posts, is a build of vLLM that runs MXFP4 models on AMD R9700 cards.

Vulkan

An open, cross-vendor interface for programming GPUs, for graphics and for general computation. llama.cpp can run a model on any GPU with a Vulkan driver, which is how these posts run models on an Apple GPU under Linux and on AMD's Radeon 8060S.

Warm floor

A figure taken from repeated runs after warm-up (model loaded, caches filled, clocks up), not from a single first run. Most speed numbers on this site are warm floors.

A wide horizon at dusk: layered hills in muted plum and ochre above a lake that holds the last light, a family of crested cranes at the water's edge, an acacia in silhouette and a single bright star above the ridge.