google-ai-edge/LiteRT-LM
LiteRT-LM is Google's production-ready, high-performance, open-source inference framework for deploying Large Language Models on edge devices.
What it solves
LiteRT-LM provides a production-ready way to run large language models (LLMs) directly on consumer devices. It solves the challenge of deploying resource-heavy AI models across diverse hardware—such as mobile phones, web browsers, and IoT devices—while maintaining high performance and efficiency.
How it works
It acts as an orchestration layer that connects models to the hardware's native capabilities. By leveraging LiteRT, it utilizes GPU and NPU acceleration to speed up inference. It supports various input types, including text, vision, and audio, and includes features like tool use for agentic workflows and speculative decoding to increase generation speed.
Who it’s for
It is designed for developers building on-device AI applications who need to deploy models like Gemma, Llama, Phi-4, or Qwen across Android, iOS, web, desktop, or IoT platforms. It is suitable for those who need a stable, cross-platform solution that is already powering Google products like Chrome and Pixel Watch.
Highlights
- Cross-platform support for Android, iOS, Web, Desktop, and IoT.
- Hardware acceleration via GPU and NPU for peak performance.
- Multimodal capabilities supporting vision and audio inputs.
- Built-in support for tool use and function calling.
- Broad model compatibility including Gemma, Llama, and Qwen.
- Accelerated inference using multi-token prediction (MTP) and logit masking.
Related
- Project
- Project
- Project
- Project
- Project