<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: SignalTech</title>
    <description>The latest articles on DEV Community by SignalTech (@signaltech).</description>
    <link>https://dev.to/signaltech</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4189791%2Ff2959948-75b2-410c-90e2-642f59b35819.jpg</url>
      <title>DEV Community: SignalTech</title>
      <link>https://dev.to/signaltech</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/signaltech"/>
    <language>en</language>
    <item>
      <title>Google Just Open-Sourced ML Drift, the GPU Engine Behind LiteRT. Here's What Changes for You</title>
      <dc:creator>SignalTech</dc:creator>
      <pubDate>Sat, 17 Oct 2026 04:05:27 +0000</pubDate>
      <link>https://dev.to/signaltech/google-just-open-sourced-ml-drift-the-gpu-engine-behind-litert-heres-what-changes-for-you-3g6n</link>
      <guid>https://dev.to/signaltech/google-just-open-sourced-ml-drift-the-gpu-engine-behind-litert-heres-what-changes-for-you-3g6n</guid>
      <description>&lt;p&gt;If you've ever tried to ship an ML model that runs fast on users' GPUs, you know the problem: you have no idea which GPU, driver or graphics API your app will meet. A Pixel, an iPhone, a browser tab and a Windows laptop all speak different dialects.&lt;/p&gt;

&lt;p&gt;On 8 October, Google's AI Edge team open-sourced the engine it uses to deal with exactly that. It's called &lt;strong&gt;ML Drift&lt;/strong&gt;, and if you use TensorFlow Lite or LiteRT, it affects you.&lt;/p&gt;

&lt;h2&gt;
  
  
  What ML Drift is
&lt;/h2&gt;

&lt;p&gt;ML Drift is an open-source (Apache 2.0), cross-platform GPU compute engine built for on-device AI/ML inference. It hides the hardware and low-level API differences across &lt;strong&gt;OpenGL ES, OpenCL, Metal and WebGPU&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;It's the core GPU acceleration engine inside &lt;strong&gt;LiteRT&lt;/strong&gt; (Google's on-device runtime), and it's also available as a standalone library if you're building your own graphics or inference runtime.&lt;/p&gt;

&lt;p&gt;It isn't a research toy. Google says it already runs in production on millions of devices daily, in Chrome, YouTube Shorts, Photos and Meet.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why it matters
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;One shader codebase instead of three.&lt;/strong&gt; The old TFLite GPU delegate needed separately maintained shaders for OpenGL, OpenCL and Metal, with tensors hardcoded to physical GPU objects like textures and buffers. ML Drift introduces &lt;em&gt;tensor virtualization&lt;/em&gt;: a tensor's logical layout is separated from how it's physically stored on the GPU, so one set of shader templates works across backends, with minimal runtime overhead according to Google.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;5D tensors, finally.&lt;/strong&gt; The legacy delegate was hardcoded to 4D tensors. ML Drift supports 5D out of the box, which helps 3D convolutional and spatiotemporal models. Google names YOLO 11n, MobileViT v2 and Swin Transformer v2 as examples.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Built with on-device LLMs in mind.&lt;/strong&gt; LLM inference has a compute-heavy prefill stage and a memory-bandwidth-heavy decode stage. ML Drift switches kernels and layouts depending on which stage it's in. In Google's Gemma benchmarks, it used up to 12% less memory than other frameworks.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Desktop, too (in preview).&lt;/strong&gt; The WebGPU backend, compiled natively through Dawn (Chromium's WebGPU implementation), lets ML Drift run on Windows and Linux, alongside a native Metal backend on macOS. Mobile and edge remain the main focus.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Custom ops are easier.&lt;/strong&gt; There's a custom op framework with direct registration APIs, plus a &lt;code&gt;SKILL.md&lt;/code&gt; guide that helps coding agents write, register and check custom shaders.&lt;/p&gt;

&lt;p&gt;The production numbers Google shares: up to &lt;strong&gt;40% lower average frame latency&lt;/strong&gt; for YouTube Shorts effects on Android and iOS, up to &lt;strong&gt;30% faster&lt;/strong&gt; on-device performance for some Adobe Lightroom and Photoshop features, and &lt;strong&gt;30% lower model latency&lt;/strong&gt; for some Snapchat lens effects.&lt;/p&gt;

&lt;h2&gt;
  
  
  If you use the TFLite GPU delegate
&lt;/h2&gt;

&lt;p&gt;This is the part to act on. &lt;strong&gt;The legacy TFLite GPU delegate will no longer receive new feature updates.&lt;/strong&gt; Google recommends moving to the &lt;strong&gt;LiteRT ML Drift GPU accelerator&lt;/strong&gt;, which it says is fully backwards compatible with existing models. Google also says models already running on TFLite GPU should maintain or beat their previous benchmarks.&lt;/p&gt;

&lt;p&gt;One caveat for Android developers using unbundled runtimes to keep app size down: ML Drift acceleration is available now in the standalone LiteRT packages, but it's still "coming soon" to LiteRT in Google Play Services.&lt;/p&gt;

&lt;h2&gt;
  
  
  How to get started
&lt;/h2&gt;

&lt;p&gt;The announcement gives two paths:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;App developers:&lt;/strong&gt; use the LiteRT ML Drift accelerator. You get model partitioning, tensor virtualization and LLM acceleration out of the box.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;GPU and systems engineers:&lt;/strong&gt; build directly on ML Drift's standalone C++ APIs from the GitHub repo to build custom &lt;code&gt;GpuModel&lt;/code&gt; compute graphs and write your own shaders. There are quickstarts for OpenCL on Android and WebGPU via Dawn.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Source code: &lt;a href="https://github.com/google-ai-edge/ml-drift" rel="noopener noreferrer"&gt;github.com/google-ai-edge/ml-drift&lt;/a&gt;. Issues and feature requests go on GitHub, and questions go to the Google AI Edge Community Forum.&lt;/p&gt;

&lt;h2&gt;
  
  
  The takeaway
&lt;/h2&gt;

&lt;p&gt;If your app relies on the TFLite GPU delegate, it won't break today, but it's now frozen. Put a migration to the LiteRT ML Drift accelerator on your roadmap, benchmark your models before and after, and check the Play Services caveat if you ship an unbundled runtime.&lt;/p&gt;

&lt;p&gt;Source: &lt;a href="https://developers.googleblog.com/ml-drift-next-gen-gpu-aiml-inference-at-the-edge/" rel="noopener noreferrer"&gt;ML Drift: Next-Gen GPU AI/ML Inference at the Edge&lt;/a&gt; (Google Developers Blog)&lt;/p&gt;




&lt;p&gt;I write Signal Tech, a free weekly plain-English briefing on AI, chips and dev tools: &lt;a href="https://dailysignaltech.beehiiv.com" rel="noopener noreferrer"&gt;https://dailysignaltech.beehiiv.com&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Disclosure: this post was drafted with help from an AI assistant and reviewed and edited by me.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>machinelearning</category>
      <category>opensource</category>
      <category>android</category>
      <category>webgpu</category>
    </item>
  </channel>
</rss>
