10 Model serving GPU sizing and performance
Write down model family, license, quality requirements, context lengths, expected output lengths, request arrival pattern, concurrency, privacy needs, latency target, and budget.
- Begin with the workload
- Estimate memory before renting hardware
- Choose an engine experimentally
- A serving procedure
- Measure the right quantities
- Optimization tradeoffs
- Cost and operational controls
- Exit exercise
Outcome: decide whether to use hosted inference or operate a model server, then measure a candidate correctly. Prerequisites: application deployment, observability, and AI evaluation. Environment: a compatible local machine or explicitly budgeted GPU host. Status: specialist procedure; no external GPU allocation or paid inference is provisioned automatically. Write down model family, license, quality requirements, context lengths, expected output lengths, request arrival pattern, concurrency, privacy needs, latency target, and budget. An interactive assistant and an overnight batch summarizer have different priorities. A throughput winner at heavy batching may be a poor low-latency choice. Hosted inference transfers much infrastructure work to a provider but adds provider policy, availability, pricing, data handling, and rate-limit considerations.