AI Cloud Architect

On-device GenAI in Chrome, Chromebook Plus, and Pixel Watch with LiteRT-LM

GoogleBlog post by Yu-hui Chen and Ram IyengarGoogle Developers Blog

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

AI: Summary

What it is

LiteRT-LM, Google's open-source C++ inference framework for running LLMs on-device, is now available to developers in preview; it already runs Gemini Nano in Chrome, Chromebook Plus and Pixel Watch.

Who it is for

Developers building on-device LLM features across Android, Linux, macOS, Windows or Raspberry Pi who need low-level control over model inference.

Key points

  • The C++ interface is in preview; higher-level APIs include the MediaPipe LLM Inference API and Chrome Built-in AI APIs.
  • Supports CPU, GPU and NPU acceleration through the LiteRT runtime.
  • Some optimizations described in the post, such as copy-on-write KV-cache, are not in the early preview.

The same at other vendors

Same approach

MicrosoftAnnouncement

Foundry Local is now Generally Available

AI:Both are vendor on-device LLM runtimes for running models locally in apps without cloud calls, so a reader would compare them side by side.

Timeline

Posts about LiteRT-LM, oldest first.

  1. This postOn-device GenAI in Chrome, Chromebook Plus, and Pixel Watch with LiteRT-LM
  2. Update to an existing featureBlazing fast on-device GenAI with LiteRT-LM · Google · Announcement