This is an early release preview. You may encounter bugs.
LiteRT logo
Unclaimed

Tool coding

LiteRT

On-device runtime (formerly TensorFlow Lite) for running models at the edge.

A+ 93/100 GitHub score ? This grade is derived from GitHub signals, not user votes. Open for the full breakdown.
Discussion

01 / Summary

About LiteRT.

LiteRT is Google's runtime for running machine-learning and generative AI models on-device, and the successor to TensorFlow Lite. It takes models from PyTorch, TensorFlow, and JAX, converts and quantizes them into the .tflite or .litertlm format, and runs them on CPU, GPU, or NPU across mobile, desktop, web, and IoT targets.

Version 2 centers on the Compiled Model API, which selects an accelerator automatically, runs inference asynchronously, and handles I/O buffers without explicit delegates. A single API reaches NPUs from several chipset vendors, and GPU inference runs through the ML Drift backend. TensorFlow Lite's Interpreter API is in maintenance mode, and new code targets the Compiled Model API.

LiteRT is one part of the Google AI Edge tools: LiteRT Torch converts PyTorch models, the AI-Edge Quantizer optimizes converted models, LiteRT-LM runs large language models such as Gemma on edge devices, LiteRT.js runs models in the browser over WebGPU and WebAssembly, and MediaPipe builds cross-platform media pipelines on top. Converted models, including the Gemma 4 family and speech-recognition models, are published to a LiteRT community space on Hugging Face.

Platform GPU APIs NPU / accelerators
Android OpenCL, OpenGL Broadcom, Google Tensor, Intel, MediaTek, Qualcomm, S.LSI
iOS Metal Apple Neural Engine (coming soon)
Linux WebGPU Broadcom, Intel
macOS WebGPU, Metal Apple Neural Engine (coming soon)
Windows WebGPU Intel
Web WebGPU WebNN (coming soon)
IoT WebGPU Raspberry Pi (coming soon)
  • Compiled Model API: automatic accelerator selection, asynchronous execution, and efficient I/O buffer handling without manual delegates
  • Unified NPU access: one API for NPUs from Google Tensor, Qualcomm, MediaTek, Intel, Broadcom, and S.LSI
  • GPU acceleration: ML Drift GPU backend with buffer interoperability across GPU buffer types
  • Model conversion: exports from PyTorch, TensorFlow, and JAX to .tflite, and LLMs to .litertlm
  • On-device generative AI: runs quantized LLMs and diffusion models through LiteRT-LM
  • Web inference: LiteRT.js runs models client-side in the browser over WebGPU and WebAssembly
  • C++ Tensor API: a tensor-centric C++ library for graph authoring and memory control on mobile devices
  • Agent skills: SKILL.md playbooks that guide coding agents through conversion, quantization, on-device verification, benchmarking, app scaffolding, and TensorFlow Lite migration
  • LiteRT CLI: a command-line toolkit for model work from coding agents

02 / Discussion CREDIBILITY-GATED

Discussion

Reading is open to everyone. Posting and voting need a verified identity or a GitHub grade of B or higher.

  • No discussions yet.

03 / Related

More around LiteRT.

04 / Build

Build with LiteRT.

Browse the catalog for frameworks, tools, and harnesses, each scored on real GitHub credibility.

Get LiteRT →

Browse the catalog