01Deployment constraints
A vision model is only useful when it runs where it's needed — a phone, an edge camera at a junction, a hospital server, a cloud GPU — within that device's limits:
- Latency — time for one prediction (a safety system may need < 30 ms).
- Throughput — predictions per second (a video stream at 30 fps).
- Memory — RAM / VRAM for weights and activations.
- Power and cost — battery life, energy bills, cloud spend.
Latency and throughput are different: batching improves throughput but increases each request's latency. Always benchmark on the target device, with realistic inputs, after a warm-up, reporting p50 and p99.