AI Development

Google updates LiteRT in Play services with faster GPU inference

Google adds its newer GPU engine to the shared Android runtime, reporting smaller apps while keeping device and deployment limits clear.

Published Updated
GoogleLiteRTOn-device AI

Google announced an update to LiteRT in Google Play services on October 28, bringing its newer GPU acceleration system to the shared Android runtime used for running custom machine learning models. The change gives developers another way to deliver features such as image processing without packaging a separate copy of the runtime inside each application. Google describes it as the service’s biggest upgrade yet.

According to Google’s testing, GPU inference runs about 1.4 times as fast as the legacy TensorFlow Lite GPU delegate, while applications switching from a bundled runtime were about 8 MB smaller. Those figures describe the company’s comparisons, rather than a guaranteed improvement for every phone or model. The savings come from distributing the runtime and accelerator through Play services for applications to share.

The announcement also expands the supported settings beyond phones running Android 7 or later to Wear OS 4 and newer, and Android Automotive OS based on Android 11 or later. Google points to image segmentation in the Scrapbook feature of its AI Edge Gallery application as an example of the shared runtime in use. It says updates arrive through staged Play services releases.

The official documentation separates the switch in software distribution from the move to the newer execution interface. Applications using the older Interpreter interface can change their dependency and continue running on the CPU. Accessing the new GPU path requires the CompiledModel interface. This makes a gradual migration possible, but replacing a dependency alone does not mean an application has begun using the graphics processor.

The same documentation explains an important privacy distinction. Input such as pictures, video and text is processed on the device by these APIs and is not sent to Google servers by them. However, the service can contact Google for updates and accelerator compatibility information, and it sends usage and performance metrics. Local processing therefore does not mean the runtime has no network communication or diagnostic reporting.

The GPU engine behind the update, ML Drift, was released as open source on October 8. Google designed it to handle differences among mobile graphics processors and the demands of both conventional machine learning and generative models. Its explanation describes a shared foundation spanning graphics systems including OpenGL ES, OpenCL, Metal and WebGPU, reducing the need to maintain separate implementations for each environment.

In that earlier technical account, Google also described changing how calculations are arranged for the two stages of language model inference: reading the initial context and generating subsequent tokens. These place different pressures on computing capacity and memory bandwidth. This background helps explain the work beneath the new distribution option; it does not establish that every supported Android application can run a large conversational model at the advertised speed.

There are still practical limits to the Play services route. Google’s documentation directs developers needing custom operations, immediate NPU acceleration or support for devices without Play services to standalone LiteRT. NPU support in the shared service remains forthcoming. For application teams, the immediate choice concerns packaging, supported devices and the CPU or GPU execution path, with the final result depending on their own model and deployment requirements.