Native Model Authoring for Edge with LiteRT Tensor API- Google Developers Blog
Oct 19, 2026Ping Yu, Quentin Khan, Chintan Parikh, Lu Wang

Summary
Introduces the LiteRT Tensor API, a new C++ authoring layer for handcrafting on-device AI models. It provides full control over graph structure, direct weight ingestion from checkpoints (e.g., .safetensors), tensor-centric buffer interoperability for zero-copy data transfer on accelerators (CPU, GPU, NPU), and serves as a foundation for AI coding agents. Demonstrates its use by authoring the Segment Anything Model 2 (SAM 2) in C++ via the API, achieving real-time performance on WebGPU and showing cross-platform performance on Metal (macOS, iOS) and OpenCL (Android). The API supports exporting graphs as .tflite files for LiteRT execution or direct CPU execution via XNNPACK.
More from the Coral Edge AI Platform trail
- Unifying Edge AI: How Coral NPU’s open standard brings portable, energy-viable intelligence from model to silicon- Google Developers Blog
- Bringing Visual Graph Debugging to Custom Edge Compilers with Model Explorer- Google Developers Blog
- ML Drift: Next-Gen GPU AI/ML Inference at the Edge- Google Developers Blog
- Bring multimodal semantic search to the edge with EmbeddingGemma 2- Google Developers Blog
- EmbeddingGemma 2: The Developer Guide- Google Developers Blog