Inference

Inference is running a trained model to produce outputs—as opposed to training. For LLMs this means autoregressive decoding with sampling or search strategies (temperature, top-p, beam search, greedy).

Production bottlenecks

Latency, throughput, and cost often dominate model quality debates. Batching, KV-cache management, quantization, speculative decoding, and specialized servers (vLLM and friends) matter as much as the checkpoint.

Train vs serve

Training optimizes weights under a loss; inference chooses tokens under decoding hyperparameters and hardware limits. A great SFT model can still fail SLOs if context is long, batching is poor, or KV memory thrashs GPUs.

Document decoding settings alongside eval results—apples-to-apples comparisons require identical inference configs.

← Back to AI Glossary