Hybrid Edge-Cloud Inference › Summary
Michael BrenndoerferDecember 1, 20262 min read
Language AI HandbookAll chapters Hybrid edge-cloud inference is an orchestration problem: run a small model on the device and a large model in the cloud, and decide per request how to divide the work.
- Keep routing, partitioning, and fallback separate. Routing dispatches a whole request to one side; partitioning splits one inference pass across both; fallback defines degraded behavior when a primary path fails. They have different failure modes, privacy exposure, and evaluation.
- Route within the transfer policy. For eligible requests, compare the value of the expected quality gain with the extra service cost.
- Enforce transfer policy across the application. Check conditional redaction before sending and apply authorization and retention controls to payloads, intermediate states, logs and telemetry.
- Count network exchanges on the critical path. In the serialized layer schedule, each decode step requires an exchange. In the sequential speculative schedule, each verification round requires one. Compare total network and compute times on the target devices and links.
- Track network cost and cloud serving cost separately. They scale with different quantities (bytes vs. tokens) and are optimized differently.
- Fallback must be deterministic and tested. The offline path is what users hit when everything else is failing; rehearse it and measure the graceful quality drop.
- Validate per slice, not on averages. Route-quality curves and slice-level quality, latency, and cloud-fraction checks are the minimum evidence before trusting a router; the next chapter in Part XLIII: Small and On-Device Language Models develops that evaluation approach.
Hybrid inference does not make the small model bigger; it makes the deployment smarter than either model alone.
Comments
Add to the conversation
A question, a correction, or an example from your own work.
No comments yet. Be the first to share your thoughts!