🧠
Domain 1 · Essential AI Knowledge · 38% of the exam

AI inference in production: the serving stack

Latency vs throughput, the Pareto frontier, and where Triton, TensorRT-LLM, Dynamo and NIM each fit.

Lesson 5 of 29~13 min read4 quiz questions5 key terms
Exam objectives this lesson covers
  • Compare and contrast training and inference architecture requirements and considerations.
  • Explain the purpose and use case of various NVIDIA solutions.
  • Describe the software components related to the life cycle of AI development and deployment.

NVIDIA's inference page frames serving as a tension between two goals that pull against each other: interactivity (each user gets fast responses) and throughput (the GPU serves as many users as possible). The business number that combines them is cost per token (or cost per inference).

01The Pareto frontier

Interactivity (tokens/sec per user) →Throughput (tokens/sec per GPU) →big batches: cheap,but each user waitssmall batches: snappy,but fewer users per GPUBetter softwarepushes the whole curve up
Fig 1. The latency/throughput trade-off. Each dot is a configuration. Moving right makes users happier; moving up makes each GPU do more work. Optimised software moves the whole curve up.

Batch many requests together and the GPU runs efficiently (high throughput), but each request waits for the batch, so latency rises. Run requests one by one and each is fast, but the GPU is half idle. Plotting every configuration gives a curve called the Pareto frontier: you cannot improve one axis without giving up some of the other. Optimisation work, such as TensorRT, better batching and new precisions like FP4, pushes the whole frontier outward, so you get more of both. That is the point NVIDIA is making when it talks about lowering cost per token.

02Three layers of the inference stack

LayerJobNVIDIA pieces
Production operationRun the service: distributed serving, orchestration, autoscaling, memory managementDynamo, Triton, NIM, Kubernetes, DGX Cloud serverless inference
Application accelerationMake each request faster: kernel fusion, overlapping compute with communication, quantisationTensorRT, TensorRT-LLM, Model Optimizer
Infrastructure accessExpose GPU, networking and memory capabilities efficientlyCUDA, NVLink/NVLink Switch, NCCL, GPUDirect

03The serving tools, one sentence each

04Techniques that make inference cheaper

TechniqueWhat it does
Dynamic / continuous batchingGroups requests arriving close together so the GPU works on many at once, without making early requests wait too long
QuantisationUses fewer bits per number (FP8, INT8, FP4/NVFP4) so the model needs less memory and bandwidth
Kernel and layer fusionCombines several operations into one GPU kernel to cut memory traffic
KV cache managementReuses and pages attention state efficiently so more conversations fit on a GPU
Speculative decodingA small draft model guesses tokens that the large model verifies in parallel
Disaggregated servingRuns the prompt-processing (prefill) and token-generation (decode) phases on different GPUs, each tuned for its phase

05Hardware at the top end

For the largest models, inference also spans many GPUs. The page highlights rack-scale systems such as GB300 NVL72, where 72 GPUs are joined by NVLink Switch into one large accelerator, and low-precision formats such as NVFP4. Treat the performance multipliers on vendor pages as marketing claims; what the exam wants is the idea that bigger NVLink domains and lower precision raise both throughput and interactivity.

A coffee shop. Making one drink at a time is fast for that customer, but the barista is idle between orders. Batching orders keeps the machine busy but the first customer waits. Better equipment (optimised software and hardware) lets the shop do both: serve more people and serve each one faster.

✦Key terms: flip the cards

What the exam looks for
  • Explain the latency vs throughput trade-off and cost per token.
  • Place Triton, TensorRT(-LLM), Dynamo and NIM correctly.
  • Know common inference optimisations: batching, quantisation, fusion.
Common traps
  • Maximum throughput is not always the goal; interactive apps need latency targets.
  • Triton and Dynamo are servers/frameworks; TensorRT is the optimiser/engine underneath.

?Quick quiz

1. Increasing batch size usually does what to a single request's latency?

Why: Larger batches raise throughput but each request waits longer.

2. Which tool provides distributed, low-latency serving across large GPU fleets?

Why: Dynamo is the open-source distributed inference framework.

3. What does quantisation trade to gain speed?

Why: Fewer bits per value cut memory and bandwidth needs, with a small precision cost.

4. The business metric that combines throughput and cost for LLM serving is:

Why: NVIDIA frames inference goals as lowering cost per token.

Score: 0 / 4

Original readingAI Inference, NVIDIA Developer ↗

This lesson explains the reading in plain language and adds the exam context around it. Read the original too: it is short, and seeing the vendor wording helps on exam day.

All lessons →
↑