Serving a trained model well is a different problem from training it. Inference adds latency as a first-class concern, is dominated by memory bandwidth rather than compute, and lives or dies on how the KV Cache is managed.

Fundamentals

Throughput techniques

Latency techniques

Memory & caching

  • Cache-Aware Routing: route to the replica holding the prefix; tier the KV cache across VRAM/RAM/SSD.

Parallelism & scaling

Kernels & tooling

Inference engines / orchestration engines

  • vLLM: the reference engine tying these ideas together — broadest support.
  • SGLang: community engine strong on large MoE models and diffusion.
  • NVIDIA Dynamo: orchestration layer over the engines for large-scale, disaggregated serving.

Modalities

  • Image and Video Generation Inference: compute-bound iterative denoisers, a different world.

Production

  • Autoscaling: match replicas to demand without missing SLAs or wasting GPUs.

References

24 items under this folder.