wowsuch ai
Live

GoogleDeveloper platform

LiteRT Tensor API

LiteRT Tensor API is a C++ authoring layer for building and optimizing on-device model computation graphs. It supports running graphs through LiteRT on CPU, GPU, or NPU, or directly on CPU with XNNPACK.

What it does

Developers can use it to author and optimize portable on-device model pipelines, including preprocessing and postprocessing, with shared accelerator buffers.

Availability
Tensor API guide, reference, and buildable SAM 2 sample are available
Pricing model
Not established
Deployment
On-device; LiteRT on CPU, GPU, or NPU, or directly on CPU through XNNPACK
Privacy
On-device execution
Licence
Not established
Capability
automation
Modality
code
Access
APISDK
Deployment
on-device
Pricing
unknown
Target user
developer

Evidence

6 claims
  • Google announced the release of the LiteRT Tensor API. [1]
    To solve the above challenges, we are excited to announce the release of the novel LiteRT Tensor API , a lightweight authoring layer in the LiteRT stack, designed to improve handcrafting models.
    Google. Quoted text is outside CC BY 4.0 and keeps its original rights.
  • Developers can build computation graphs op by op in C++. [1]
  • The API can load weights directly from checkpoints such as Hugging Face .safetensors files. [1]
    Direct weight ingestion : load weights straight from model checkpoints, such as Hugging Face .safetensors files, without conversion scripts needed in between.
    Google. Quoted text is outside CC BY 4.0 and keeps its original rights.
  • The same graph can run through LiteRT on CPU, GPU, or NPU, or directly on CPU through XNNPACK. [1]
    The same graph can run through LiteRT on CPU, GPU (powered by open-source ML Drift ) and NPU, or without model file or runtime directly on CPU through XNNPACK, so you don't rewrite it for each new hardware target.
    Google. Quoted text is outside CC BY 4.0 and keeps its original rights.
  • Preprocessing, model partitions, and postprocessing can share accelerator buffers without copying intermediate data. [1]
    Tensor-centric buffer interop : pre-processing, model partitions, and post-processing pass tensors to each other through shared accelerator buffers, so intermediate data stays on the accelerator with zero copies.
    Google. Quoted text is outside CC BY 4.0 and keeps its original rights.
  • Google provides a Tensor API guide, reference, and buildable end-to-end SAM 2 example. [1]
    Point it to the Tensor API README and the SAM 2 sample ; together they cover the API and a buildable end-to-end example.
    Google. Quoted text is outside CC BY 4.0 and keeps its original rights.

Sources

1
1
Verified

Versions

3
VersionEffectiveChangeChanged fieldsState
32026-10-28 00:15 UTCmaterial changecapability, access, availability, deploymentCurrent
22026-10-21 00:08 UTCmaterial changecapability, modality, availability, deployment, privacyCurrent
12026-10-19 23:09 UTCpublicationNoneCurrent

In briefs

1

Open in the catalog

Original catalog content is licensed under CC BY 4.0, attributed to wowsuchai. Source quotations and linked content keep their original rights.