AI Cloud Architect

ML Drift: Next-Gen GPU AI/ML Inference at the Edge

GoogleAnnouncement by Chintan Parikh and Juhyun LeeGoogle Developers Blog

Read the original (opens the source's page in a new tab)

AI: Summary

What it is

ML Drift, an Apache 2.0 open-source on-device GPU engine for AI inference, is released; it replaces the TFLite GPU delegate and runs inside LiteRT or as a standalone library.

Who it is for

Mobile and edge developers deploying classical vision models or on-device LLMs on GPUs who must choose between the legacy TFLite GPU delegate and LiteRT ML Drift.

Key points

  • The legacy TFLite GPU delegate no longer gets new features; LiteRT ML Drift is offered as a backward-compatible replacement.
  • Adds 5D tensor support, which the TFLite GPU delegate lacked (for example for 3D convolutional networks).
  • Google reports up to 40% lower frame latency for YouTube Shorts and up to 30% faster on-device performance for Adobe Lightroom; these are vendor-reported.
  • Google Play Services support is described as coming soon; standalone LiteRT packages are available now.

Timeline

Posts about LiteRT, oldest first.

  1. Update to an existing featureUnlocking Peak Performance on Qualcomm NPU with LiteRT · Google · Announcement
  2. New featureMediaTek NPU and LiteRT: Powering the next generation of on-device AI · Google · Announcement
  3. Generally availableLiteRT: The Universal Framework for On-Device AI · Google · Announcement
  4. Blog postBuilding real-world on-device AI with LiteRT and NPU · Google · Blog post
  5. How-toAccelerating on-device AI: A look at Arm and Google AI Edge optimization · Google · How-to
  6. This postML Drift: Next-Gen GPU AI/ML Inference at the Edge
  7. New featureNative Model Authoring for Edge with LiteRT Tensor API · Google · Announcement
  8. How-toSmaller apps and faster GPU inference with LiteRT in Google Play services · Google · How-to