Back to AI updates
GoogleNew features

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

This is a technical, developer-facing release, relevant mainly if your organisation builds its own on-device AI apps for mobile or edge devices and needs faster, more memory-efficient GPU inference. It has no direct impact on how you use consumer AI products like Gemini.

Read the original source 3 min read
ML Drift GPU API support diagram showing three columns: OpenCL and OpenGL ES for Android and Linux, Metal for iOS and macOS, and WebGPU for web via Chromium and native via Dawn for Linux, macOS, and Windows
Google AI Edge ML Drift supported GPU APIs across platforms ↗

What changed

Google's AI Edge team open-sourced ML Drift, a cross-platform GPU compute engine for on-device AI inference that runs on OpenGL ES, OpenCL, Metal, and WebGPU, serving as the GPU acceleration engine inside LiteRT and usable as a standalone library. It includes a tensor virtualisation layer so one shader codebase works across GPU backends, a custom-ops registration API with an agent-oriented SKILL.md guide for coding agents, 5D tensor support for models like 3D convolutional networks, LLM-specific kernel/layout optimisations for prefill and decode stages, and early desktop previews (WebGPU on Windows/Linux, Metal on macOS). In Gemma benchmarks Google reports up to 12% less memory use than other frameworks. The code is open source under Apache 2.0; standalone LiteRT packages with ML Drift are available now for Android developers using unbundled runtimes, with support via Google Play Services described as "coming soon". The legacy TFLite GPU delegate will no longer receive new features. Desktop support and benchmarks are described as an early preview/snapshot, with mobile and edge devices the primary focus.

Why it matters to your work

This is a technical, developer-facing release, relevant mainly if your organisation builds its own on-device AI apps for mobile or edge devices and needs faster, more memory-efficient GPU inference. It has no direct impact on how you use consumer AI products like Gemini.

When this could help

Useful when shipping on-device ML features needing GPU acceleration across varied hardware (e.g. video/image processing, spatiotemporal models, or on-device LLM decode), or when building a custom inference runtime that needs direct low-level GPU shader access without rewriting per backend.

ML Drift is Google's open-sourced, cross-platform GPU compute engine that replaces the legacy TensorFlow Lite GPU delegate as LiteRT's GPU accelerator, with broader backend support (OpenGL ES, OpenCL, Metal, WebGPU), custom-op authoring tools, native 5D tensor support, and LLM-specific kernel optimisations for faster, lower-memory on-device inference.

How to get started

  1. Application developers: follow the LiteRT ML Drift GPU accelerator documentation to use it through LiteRT.

    Provider guidance ↗
  2. GPU/systems engineers: clone the standalone repository and use the C++ APIs to build GpuModel compute graphs and custom shaders.

    Provider guidance ↗
  3. Follow the OpenCL-on-Android quickstart (docs/hello_world_cl.md) or the WebGPU-via-Dawn quickstart (docs/hello_world_webgpu.md) in the repository to get a first model running.

    Provider guidance ↗

What to check

  • ML Drift is the GPU engine; it doesn't change CPU or NPU acceleration paths, and desktop WebGPU support on Windows/Linux relies on Dawn rather than a platform-native GPU API. Source ↗

Sources & provider guides

Official documentation checked 12 Oct 2026. SCALA prompts and workflows are suggestions, not claims of hands-on testing.

Source & availability

This is a summary of a published provider announcement, with practical context from SCALA’s feed.

Plan, region, workspace and rollout conditions may affect access in Australia. Check the original source for current availability.

developers.googleblog.com

This update is primarily for technical teams.