14

PyTorch on Mobile Devices

In the previous chapter, we learned extensively about operationalizing PyTorch models as services in production systems. While productionizing machine learning (ML) models as services in the cloud remains the most popular form of ML deployment, several use cases require models to be deployed on mobile devices, such as:

  • User data protection – mobile models do not require third-party data transfer, as the processing is done where the data is first acquired
  • Reduced latency – mobile models save us the cloud network I/O time
  • Better user experience – mobile models can provide real-time user interaction with lower latency compared to running models remotely from the cloud
  • Leveraging dedicated mobile hardware and software ...

Get Mastering PyTorch - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.