chapter eleven
11 Targeting Edge and Mobile Devices
This chapter covers
- Setting achievable latency and power budgets
- Driving TensorFlow Lite's integer paths
- Leveraging NNAPI and Core ML backends
- Selecting among phone, SBC, and small-box deployment tiers
- Instrumenting pre and post-processing
The edge regime swaps both axes that drove a data-center deployment, where no inference ever had to ask whether it would overheat the room or drain a battery. The cost dial stops being dollars per million tokens and becomes joules per inference. The failure mode stops being a kernel that silently dispatches to FP32 and becomes a thermal knee five minutes into a sustained workload, where the latency you measured in the first thirty seconds is no longer the latency a user sees.
This lesson is for the ML engineer who has shipped quantized models to a server fleet but has never owned a build that runs on a phone.