NeuraMesh / Learn
GPU and AI infrastructure glossary
Every term a GPU buyer meets, explained with the number that matters and where it changes the bill.
Inference terms
Inference termsWhat is AI inference? Training vs serving
AI inference is running a trained model on new inputs to get answers. How it differs from training, the serving stack, cost per token and how to measure it.
7 min read
Inference termsContinuous batching: how LLM servers batch
Continuous batching adds and removes requests every decode step so the GPU never waits for the slowest answer. Worked example, engine flags and cost.
7 min read
Inference termsWhat is FlashAttention? A plain guide
FlashAttention computes exact attention in on-chip tiles instead of writing the full score matrix to GPU memory. Versions, GPU support and where it runs.
7 min read Inference termsWhat is GGUF? The llama.cpp model format
GGUF is the single-file model format used by llama.cpp and Ollama. What is inside, quant types like Q4_K_M with sizes, how to make and serve one, and GPU cost.
8 min read Inference termsWhat is the KV cache? How LLMs use memory
The KV cache stores attention keys and values so an LLM never recomputes past tokens. Sizing formula, worked examples, engine flags and its effect on cost.
9 min read Inference termsPagedAttention: how vLLM manages KV memory
PagedAttention stores the KV cache in small fixed-size blocks, like OS memory pages, to cut waste and fit more requests. How it works, results and flags.
8 min read Inference termsSpeculative decoding: faster LLM output
Speculative decoding drafts several tokens cheaply and has the large model verify them in one pass. Draft models, EAGLE, n-gram, the math, flags and cost.
7 min read Inference termsTime to first token (TTFT): what it measures
Time to first token is the wait before an LLM streams its first word. What it includes, a worked formula, how vLLM, SGLang and llama.cpp report it, and cost.
8 min read Inference termsTokens per second: per-user vs total throughput
Tokens per second means two things: the speed one user sees and the total a GPU serves. Formulas, TPOT and ITL, engine metrics and cost per million tokens.
8 min readHardware terms
Hardware termsWhat is CUDA? NVIDIA’s GPU platform explained
What is CUDA: NVIDIA’s platform for running code on its GPUs. Kernels, threads and warps, the toolkit and libraries, driver versions and why AI needs it.
7 min read
Hardware termsWhat is FP4? NVFP4 and MXFP4 explained
FP4 stores each weight in 4 bits with a shared scale per small block. How NVFP4 and MXFP4 differ, which Blackwell GPUs run them, and the memory saved.
7 min read
Hardware termsWhat is FP8? 8-bit floating point explained
FP8 is an 8-bit floating point format in two flavors, E4M3 and E5M2. How scaling works, which GPUs run it natively, and what it saves on rented GPUs.
7 min read Hardware termsWhat is HBM? HBM memory explained for AI GPUs
HBM memory stacks DRAM dies beside the GPU on a very wide bus. See how it works, HBM2e to HBM4 figures by GPU, and why it decides LLM speed and cost.
8 min read Hardware termsWhat is MIG? Multi-Instance GPU explained
Multi-Instance GPU (MIG) splits one NVIDIA GPU into up to seven isolated slices. How it works, profiles for A100 to B200, costs, limits and nvidia-smi setup.
8 min read Hardware termsWhat is NVLink? GPU interconnect explained
What is NVLink and when does it matter? How NVIDIA’s GPU-to-GPU link works, bandwidth from A100 to Blackwell, PCIe comparison, and how to check it.
8 min read Hardware termsWhat are tensor cores? Tensor cores explained
Tensor cores are the matrix-math units inside NVIDIA GPUs. How they work, which precisions each generation adds, dense TFLOPS by GPU, and how to use them.
8 min read Hardware termsWhat is TFLOPS? Dense, sparse and precision
TFLOPS means trillions of floating-point operations per second. Learn how GPU figures are built, dense vs sparse, why precision changes them, and real use.
8 min read Hardware termsWhat is GPU memory bandwidth? Why it matters
GPU memory bandwidth is how many bytes per second a GPU moves between memory and its cores. See figures by GPU, why it caps LLM decoding, and how to check it.
8 min read Hardware termsWhat is NVSwitch? The NVLink switch explained
NVSwitch is NVIDIA’s switch chip that links every GPU in a server or rack at full NVLink speed. How it works, A100 to NVL72 figures, and how to check it.
8 min read Hardware termsWhat is VRAM? GPU memory for AI explained
What is VRAM in AI work? The GPU’s own memory, holding weights, KV cache and optimizer state. Sizes by GPU, what fills it, and how to check it when renting.
8 min readTraining and parallelism
Training and parallelismWhat is data parallelism? A plain guide
Data parallelism copies a model to every GPU and splits the batch. How DDP works, how ZeRO and FSDP shard memory, a per-GPU memory table and costs.
7 min read Training and parallelismWhat is mixture of experts? A plain guide
Mixture of experts models route each token to a few expert networks. Total vs active parameters, why memory follows the total, and expert parallelism.
7 min read Training and parallelismWhat is pipeline parallelism? A plain guide
Pipeline parallelism splits a model into stages of layers on different GPUs. Micro-batches, the bubble, schedules, framework flags and rented-GPU costs.
7 min read Training and parallelismWhat is tensor parallelism? A plain guide
Tensor parallelism splits each layer’s weight matrices across GPUs. How it works, memory per GPU, NVLink needs, framework flags and costs on rented GPUs.
7 min read