internalsGet Pro

Module 14 · Lesson 12 of 15Pro

Models on phones and edge devices

Level
Advanced
Topic
Deploying ML models
Reading time
17 min

When you finish this page you can

  1. Decide whether a prediction should run on the phone, on the server or on both, from where the input lives, the network and who must control the model version.
  2. Fit a model and its runtime into an app’s size budget, and check a quantized copy by counting changed decisions at the real cut.
  3. Choose an on-device runtime (ONNX Runtime, LiteRT, Core ML or ExecuTorch) and say what would change the choice.
  4. Plan for old models in old apps with a server re-check, version reports, a remote switch-off and a fallback to the server.
  1. Smaller models: pruning and distillation18 min
  2. Packaging models: formats and containers17 min
  3. Serving a model behind an API18 min

Video lesson · coming soon

A category suggestion that arrives 48 seconds late

is the online store this course uses as its example. It sells 20 million products, and sellers add new ones from the Kartly seller app. When a seller photographs a product, a model suggests one of 20 categories, so a phone case doesn’t end up under Phones.

Our biggest sale ever · Black Friday

Flat 50% Off

Pro

Continue reading

Unlock every course, now and later

  • System Design, live
  • AI Engineering, live
  • Data Engineering, live
  • Machine Learning Engineering, live
  • Inference Engineering, coming soon
  • AI Research, coming soon
  • Performance Engineering, coming soon
  • Agent & Harness Engineering, coming soon
  • LLM Fine-tuning, coming soon
  • LLM Pre-training & Post-training, coming soon
  • Reinforcement Learning, coming soon
  • AI Infrastructure & Platform Engineering, coming soon
  • AI Evaluation & Safety, coming soon
  • Forward Deployed Engineering, coming soon
  • Cloud Computing, coming soon
  • DevOps, coming soon

50% off · Annual and Lifetime

BLACKFRIDAY50Applied at checkout

Choose a plan