LiteRT

AIApache-2.0

Google's on-device inference runtime, formerly TensorFlow Lite.

Latest v2.2.0 · by GoogleWritten in C++Websitegoogle-ai-edge/LiteRTRSS

Release activity

Release activity — 11 releases across 11 days since Nov 13, 2025. Each cell is one day; darker means more releases that day. Nothing is recorded before Nov 13, 2025. Older weeks are hidden at this screen width.
JunJulAugSep
SundayNo releases on May 31, 2026No releases on Jun 7, 2026No releases on Jun 14, 2026No releases on Jun 21, 2026No releases on Jun 28, 2026No releases on Jul 5, 2026No releases on Jul 12, 2026No releases on Jul 19, 2026No releases on Jul 26, 2026No releases on Aug 2, 2026No releases on Aug 9, 2026No releases on Aug 16, 2026No releases on Aug 23, 2026No releases on Aug 30, 2026No releases on Sep 6, 2026No releases on Sep 13, 2026
MondayNo releases on Jun 1, 2026No releases on Jun 8, 2026No releases on Jun 15, 2026No releases on Jun 22, 2026No releases on Jun 29, 2026No releases on Jul 6, 2026No releases on Jul 13, 2026No releases on Jul 20, 2026No releases on Jul 27, 2026No releases on Aug 3, 2026No releases on Aug 10, 2026No releases on Aug 17, 2026No releases on Aug 24, 2026No releases on Aug 31, 2026No releases on Sep 7, 2026No releases on Sep 14, 2026
TuesdayNo releases on Jun 2, 2026No releases on Jun 9, 2026No releases on Jun 16, 2026No releases on Jun 23, 2026No releases on Jun 30, 2026No releases on Jul 7, 2026No releases on Jul 14, 2026No releases on Jul 21, 2026No releases on Jul 28, 2026No releases on Aug 4, 2026No releases on Aug 11, 2026No releases on Aug 18, 2026No releases on Aug 25, 2026No releases on Sep 1, 2026No releases on Sep 8, 2026
WednesdayNo releases on Jun 3, 2026No releases on Jun 10, 2026No releases on Jun 17, 2026No releases on Jun 24, 2026No releases on Jul 1, 2026No releases on Jul 8, 2026No releases on Jul 15, 2026No releases on Jul 22, 2026No releases on Jul 29, 2026No releases on Aug 5, 2026No releases on Aug 12, 2026No releases on Aug 19, 2026No releases on Aug 26, 2026No releases on Sep 2, 2026No releases on Sep 9, 2026
ThursdayNo releases on Jun 4, 2026No releases on Jun 11, 2026No releases on Jun 18, 2026No releases on Jun 25, 20261 release on Jul 2, 2026No releases on Jul 9, 2026No releases on Jul 16, 2026No releases on Jul 23, 2026No releases on Jul 30, 2026No releases on Aug 6, 20261 release on Aug 13, 2026No releases on Aug 20, 2026No releases on Aug 27, 2026No releases on Sep 3, 2026No releases on Sep 10, 2026
FridayNo releases on Jun 5, 2026No releases on Jun 12, 2026No releases on Jun 19, 2026No releases on Jun 26, 2026No releases on Jul 3, 2026No releases on Jul 10, 2026No releases on Jul 17, 2026No releases on Jul 24, 2026No releases on Jul 31, 2026No releases on Aug 7, 2026No releases on Aug 14, 2026No releases on Aug 21, 2026No releases on Aug 28, 2026No releases on Sep 4, 2026No releases on Sep 11, 2026
SaturdayNo releases on Jun 6, 2026No releases on Jun 13, 2026No releases on Jun 20, 2026No releases on Jun 27, 2026No releases on Jul 4, 2026No releases on Jul 11, 2026No releases on Jul 18, 2026No releases on Jul 25, 2026No releases on Aug 1, 2026No releases on Aug 8, 2026No releases on Aug 15, 2026No releases on Aug 22, 2026No releases on Aug 29, 2026No releases on Sep 5, 2026No releases on Sep 12, 2026

11 releases since Nov 13, 2025

Changelog

What changed from 1 to 2

v2.2.0

Latest
Added 14
  • Published google-ai-edge-litert crate on crates.io enabling C++ SDK capabilities in Rust
  • Added ABI version tracking to key modules (libLiteRT.so, GPU accelerator, Dispatch, Compiler) for smoother upgrades across 2.2.x binary versions
  • Added LiteRT Tensor API support and features for recurrent KV cache swapping in LiteRT.js
  • Added JIT/tracing support for custom tensor graphs in LiteRT.js
  • Added native support for F8E4M3FN and F8E5M2 tensor element data types
  • Added full JIT/AOT support for Intel NPU (LunarLake and PantherLake)
Changed 5
  • Added new precision mode kLiteRtDelegatePrecisionFp16WithFp32Accum for GPU backend using FP16 storage and arithmetic with FP32 accumulation
  • Changed batch size for GPU weight re-arrangement to scale with total model size for improved memory usage and initialization time
  • Improved MTK NPU backend's channelwise quantization support for classical vision models
  • Aligned Qualcomm QAIRT SoC coverage with SDK 2.47
  • Added LiteRT.js API support for streamed weight loading Dynamic Range Quantized models to WebGPU

From LiteRT

LiteRT Release Notes: Version 2.2.0
Executive Summary & Scope

API and Platform updates:

  • Rust Integration - Published google-ai-edge-litert crate on crates.io enabling C++ SDK capabilities in Rust
  • ABI Compatibility - Added ABI version tracking to key modules (libLiteRT.so, GPU accelerator, Dispatch, Compiler) facilitating smoother upgrades across 2.2.x binary versions. API Updates:
    • LiteRT.js - LiteRT Tensor API support and features for recurrent KV cache swapping; and JIT/tracing support for custom tensor graphs.
    • (check: do we call out SetSelectedSignatures?)
  • New Data Type - Added native support for for F8E4M3FN and F8E5M2 tensor elements New HW support
  • Intel NPU - Added full JIT/AOT support for LunarLake and Panther Lake
  • Qualcomm - QAIRT : Improved SoC coverage with SDK 2.47
  • MediaTek - Improvements to channelwise quantization support
  • CPU (Experimental) : New YNNPack accelerator Performance and Model optimizations
  • LLM throughput improvements - added ROPE composite Ops for GPU, resulting in ~5% faster decode performance
  • Multiple optimizations for memory efficiency and GPU execution Validation / Testing Infrastructure
  • Faster test registration
  • New multi-criteria validation framework (ConformanceSpec) for mixed-precision verification.
🌟 Release 2.2.0 Summary
1. LiteRT Runtime

Overview: Core C/C++ inference engine, delegate interfaces, platform APIs (Swift, Python, C), memory management, and hardware acceleration plugins.

🤖 Model/ Operator Coverage

XNNPACK supports for fp16 DEPTHWISE_CONV_2D, CONV_2D, FULLY_CONNECTED, and BATCH_MATMUL ⚡ Performance and Memory

  • Added a new precision mode, kLiteRtDelegatePrecisionFp16WithFp32Accum.Currently it is GPU only. When enabled the GPU backend will use FP16 storage and arithmetic with FP32 accumulation for CONV_2D, DEPTHWISE_CONV_2D, FULLY_CONNECTED, TRANSPOSE_CONV and BATCH_MAT_MUL operators , which can provide a midground between pure 32-bit and pure 16-bit computation.
  • Prepares input on GPU for the models which don’t run embedding lookup on CPU, including Gemma3 or before, and Open weight models like Qwen3
  • Added ROPE composite op for GPU to improve the performance for LLMs. The decode performance increased ~5%
  • For best GPU performance, weights are re-arranged in batches on the GPU to be the optimal format for execution. In this release, the batch size was changed to scale with the total size of the model to reduce memory usage and improve initialization time. The impact will vary depending on model and device type but Gemma 4 E2B on a Linux NVIDIA machine saved ~200MB.
🛠️ Hardware Acceleration
  • [Experimental] New CPU accelerator YNNPACK can be enabled through the compilation flag: --define litert_enable_ynnpack=true and runtime flag: --enable_ynnpack=true.
  • Improved MTK NPU backend's channelwise quantization support for classical vision models, such as resnet18 and mobilenet.
  • Added support for Intel NPU (LunarLake and PantherLake), enabling both JIT and AOT compilation. Verified on a variety of classic and selected GenAI models (Gemma4 2B instructions) on Windows and Linux.
  • LiteRT QAIRT accelerator
    • Major Features and Improvements
      • Supported specifying the Qualcomm SoC using either the SoC name or numeric SoC model.
      • Aligned SoC coverage with QAIRT SDK 2.47.
      • Refined OP validation and debugging logs.
      • Added documentation for QNN Native Path, QC options, and CMake toolchain builds.
      • Improved compiler plugin to avoid redundant QNN library reloads.
      • Enhanced OP coverage: A8W2 Fully Connected, BatchToSpaceNd, and SpaceToBatchNd.
    • Bug Fixes and Other Changes - Skipped custom op delegates when the custom op package is not registered.
🔌 APIs & Platform support
  • ABI version information has been added to data structures to enhance backward compatibility for data types used in interfaces between key LiteRT modules (libLiteRt.so, GPU Accelerators, Dispatch, Compiler). Once this compatibility feature is complete, the system will operate without issues even when using different 2.2.x version binaries together.
  • The new LiteRT Rust binding has been open-sourced. The google-ai-edge-litert crate was published on crates.io and can be used with the standard Rust Cargo build manager. The binding is built on top of the LiteRT C++ Binary SDK.
  • Introduced new SetSelectedSignatures API
  • Added two new tensor element data type: F8E4M3FN and F8E5M2.
  • LiteRt.js API added support for streamed weight loading Dynamic Range Quantized models to WebGPU.
  • Tensor API:
    • Added RegisterCustomOpParser and MixinRegistrar to map custom flatbuffer operators (CUSTOM, STABLEHLO_COMPOSITE) to typed LiteRT operations and dynamically bind backend execution logic.
    • Added FeedbackLoopConfig to automate recurrent KV cache swapping and zero-copy buffer bindings between execution steps without requiring manual per-iteration re-binding.
    • Added Tensor API python support, extended with transformer operation surfaces, explicit Q/DQ export, quantized TFLite lowering, and Safetensors loading with compressed weight ingestion (qb4w).
    • Added JIT compilation and tracing support (compile() / WrittenModel) for authoring and executing custom tensor graphs directly in LiteRT JS.
🐛 Security, Vulnerability and Stability
  • Added integer overflow checks to convolution, reshape and pad-like CPU kernels,
  • Stricter input shape restriction in Conv3DTranspose: older versions of LiteRT also allowed this op’s number of output channels to be a multiple of the number of filter channels, but that this case was never implemented correctly and is no longer permitted.
  • Fixed a transitivity violation in TopK comparator when NaN is present. NaNs are now treated as smaller than every non-NaN value, For example, for input [1, 2, 3, NaN] with k=3, the output should be [1,2,3].
  • Enforced that the 1D size operand (operand 1) for ResizeBilinear and ResizeNearestNeighbor TFLite ops is dynamic or has dimension length 2
  • Added initial fuzzing test based on https://github.com/google/fuzztest
  • Accelerator Test Suite (ATS) improvements over all accelerator backends:
    • Expanded Operator & Subgraph coverage: Added test graph generators for Pad, Concatenation, Softmax, Transpose, BatchMatmul, FullyConnected, Reshape, Reduction, BinaryBroadcast, and OneHot, alongside a compound TransformerLayer generator built with the litert::tensor C++ API.
    • Advanced Conformance and Precision Verification: Introduced the ConformanceSpec multi-criteria validation framework (MSE, exact match, quantized buckets, accumulation tolerance), expanded FullyConnected quantization with dynamic/shuffled weights, and enabled FP16 and mixed-precision delegate testing.
    • Harness Performance and Infrastructure: Optimized test registration to be ~30x faster (reducing filter setup time from ~170s to ~6s), added full delegation hints for GPU/CPU to prevent premature validation errors, and lazily initialized test buffers to significantly reduce log noise during test execution.
  • A fix was submitted that was preventing the GPU weight cache from being utilized.
View originalPermalink
How v2.2.0 went

v2.1.6

Added 1
  • Released ARMv7 prebuilts
Changed 3
  • Refactored CC APIs to be header only
  • CC APIs can now be used without linking Abseil
  • Expanded Accelerator Test Suite (ATS) single op coverage to 43 ops across f16 and f32 data types
Fixed 1
  • Improved built-in kernels to support high dimensional tensors and fixed GPU kernel issues like broadcast

From LiteRT

Release 2.1.6

Major Features and Improvements
  • Refactored CC APIs to be header only
  • CC APIs now can be used without linking Abseil
  • Released ARMv7 prebuilts
  • Expanded Accelerator Test Suite (ATS) single op coverage to 43 ops across f16 and f32 data types.
Bug Fixes and Other Changes
  • Improved built-in kernels to support high dimensional tensors, and fixed GPU kernel issues (like broadcast)
View originalPermalink
How v2.1.6 went

v2.1.5

Added 3
  • PyPI wheels for Python 3.14
  • Support LiteRT environment and option APIs directly from Python
  • Raspberry Pi 5 GPU acceleration support
Changed 2
  • Make LiteRT C++ APIs header only
  • Made LiteRT Options class as pure data only object without requiring a LiteRT C API call to create and update
Fixed 2
  • GPU prebuilts for iOS devices
  • Bug on creating host memory TensorBuffer with alignment
Removed 1
  • libLiteRt.so dependency from GPU Accelerator and Dispatch API shared libraries

From LiteRT

Release 2.1.5

Major Features and Improvements
  • Python 3.14 Support: Added PyPI wheels for Python 3.14
  • Make LiteRT C++ APIs header only
  • Support LiteRT environment and option APIs directly from Python
  • Removed libLiteRt.so dependency from GPU Accelerator and Dispatch API shared libraries. They no longer require libLiteRt.so to use.
  • Made LiteRT Options class as pure data only object. It doesn’t require a LiteRT C API call to create & update the object.
  • Added Raspberry Pi 5 GPU acceleration support
Bug Fixes and Other Changes
View originalPermalink
How v2.1.5 went

v2.1.4

Added 1
  • Introduced Environment to Python Compiled Model API to allow passing options
Changed 2
  • Improved c/cc API surfaces to avoid using deprecated methods
  • Improved CMake build system's build stability

From LiteRT

Release 2.1.4

Major Features and Improvements
  • Improved c/cc API surfaces to avoid using deprecated methods
  • Improved CMake build system’s build stability
  • Introduced Environment to Python Compiled Model API to allow passing options
View originalPermalink
How v2.1.4 went

v2.1.3

Added 2
  • Added experimental support for multi-threaded CompiledModel creation
  • Added basic support for Broadcom VideoCore GPUs
Changed 7
  • Updated CMake build rules to support both CompiledModel and Interpreter APIs
  • Expanded MediaTek NPU support to all applicable Android versions by supporting bundling MediaTek libraries in application binary
  • Individual Options APIs (litert/cc/options) no longer use LiteRT C APIs (LiteRtXXX) and are updated to use string based serialization and use LrtXXX() functions which can be linked individually
  • Move the experimental API GetProfiler() out of litert::CompiledModel
  • Updated litert::Event::Type() to return C++ types instead of C types
  • LiteRT headers no longer define OpenCL type names cl_mem and cl_event in the global namespace when OpenCL is not supported, replaced with type aliases LiteRtClMem and LiteRtClEvent in litert/c/litert_opencl_types.h
  • LiteRT headers no longer define WebGPU type names struct WGPUBufferImpl and WGPUBuffer in the global namespace when WebGPU is supported, replaced with type alias LiteRtWGPUBuffer in litert/c/litert_webgpu_types.h
Fixed 2
  • Fixed GPU support for Python on Windows
  • Fixed a bug that given CPU Buffers are not always synced with GPU Accelerator from the second inference
Removed 1
  • Removed methods from litert::Event which uses C type LiteRtEnvironment

From LiteRT

Release 2.1.3

Major Features and Improvements
  • Updated CMake build rules to support both CompiledModel and Interpreter APIs.   cmake_example/CMakeLists.txt shows how you can use both libraries.

  • Expanded MediaTek NPU support to all applicable Android versions   (only Android 15 previously) by supporting bundling MediaTek libraries in   application binary.

  • Added experimental support for multi-threaded CompiledModel creation

  • Fixed GPU support for Python on Windows

  • Individual Options APIs (litert/cc/options) no longer use LiteRT C APIs (LiteRtXXX). They’re updated to use string based serialization and use LrtXXX() functions which can be linked individually.

  • Added basic support for Broadcom VideoCore GPUs.

Bug Fixes and Other Changes
  • Move the experimental API GetProfiler() out of litert::CompiledModel.

  • Fixed a bug that given CPU Buffers are not always synced with GPU Accelerator   from the second inference.

  • Removed methods from litert::Event which uses C type LiteRtEnvironment.   All C++ API should uses C++ litert::Environment instead.   Also removed method CreateFromSyncFenceFd() that doesn't accept   litert::Environment.

  • Updated litert::Event::Type() to return C++ types instead of C types.

  • The LiteRT headers no longer define the following OpenCL type names in the   global namespace when OpenCL is not supported: cl_mem, cl_event.   These have been replaced with the type aliases LiteRtClMem and   LiteRtClEvent, defined in a new header litert/c/litert_opencl_types.h.   All of these symbols that didn't include the LiteRt prefix in their name   were never intended to be part of the LiteRT API, and their presence   in the global namespace risked conflicts with header files from other   packages.

  • Likewise, and for the same reason, the LiteRT headers no longer define the   following WebGPU type names in the global namespace when WebGPU is   supported: struct WGPUBufferImpl, WGPUBuffer. These have been   replaced with the type alias LiteRtWGPUBuffer which is defined in a   new header file litert/c/litert_webgpu_types.h. Alternatively, apps   using these symbols can get them from WebGPU's webgpu.h header file.

  • Added experimental support for multi-threaded CompiledModel creation

View originalPermalink
How v2.1.3 went

v2.1.2

Added 2
  • Desktop GPU support in the ai-edge-litert Python package for Linux through WebGPU and Mac through Metal
  • Windows ai-edge-litert Python package with CPU inference support

From LiteRT

Release 2.1.2

Major Features and Improvements
  • Added Desktop GPU support in the ai-edge-litert Python package for Linux (through WebGPU) and Mac (through Metal).
  • Released Windows ai-edge-litert Python package that supports CPU inference (WebGPU on Windows in Python is coming soon)
View originalPermalink
How v2.1.2 went

v2.1.1

Fixed 2
  • MacOS wheel build issue
  • Qualcomm options passing issue in Kotlin API

From LiteRT

Release 2.1.1

Bug Fixes and Other Changes
  • Fixed the MacOS wheel build issue
  • Fixed the Qualcomm options passing issue in Kotlin API
View originalPermalink
How v2.1.1 went

v2.1.0

Added 15
  • Custom op is supported through custom op dispatcher
  • CMake Build is supported in addition to Bazel
  • Released LiteRT C++ SDK using prebuilt libLiteRt.so file
  • Added Profiler API in CompiledModel
  • Added ErrorReporter API in CompiledModel
  • Added ResizeInputTensor API in CompiledModel
Changed 8
  • Improved LiteRT Op coverage for Qualcomm and MediaTek
  • Improved performance and memory footprint for GPU
  • Improved memory utilization when executing on GPUs
  • TensorBuffer::CreateManaged() requires Environment always
  • All TensorBuffer creation requires Environment except HostMemory types
  • LiteRT C++ constructors are hidden and all LiteRT C++ objects should be created by Create() methods
  • Moved internal only C++ APIs to litert/cc/internal
  • CompiledModel::Create() API no longer needs litert::Model and can be created from filename or model buffers directly
Fixed 3
  • Fixes Android min SDK version to 23
  • Fixes partition algorithm when the full model cannot be offloaded to NPU
  • Better error handling without crashing on Delegation errors
Removed 4
  • Removed direct C headers usage
  • Removed Tensor, Subgraph, Signature access from litert::Model
  • Removed Annotation and Metrics APIs from CompiledModel
  • Removed individual OpaqueOptions creation

From LiteRT

Release 2.1.0

Release 2.1.0 is the LiteRT beta release.

LiteRT APIs are stable and have achieved feature parity. This milestone marks a significant step forward, introducing full feature parity with TensorFlow Lite, stable LiteRT APIs, and critical performance enhancements for GPU and NPU acceleration. With this release, we are officially recommending that developers begin their transition to LiteRT.

Major Features and Improvements
LiteRT Runtime
  • Custom op is supported through custom op dispatcher.
  • CMake Build is supported in addition to Bazel
  • Released LiteRT C++ SDK using prebuilt libLiteRt.so file
  • Added Profiler API in CompiledModel
  • Added ErrorReporter API in CompiledModel
  • Added ResizeInputTensor API in CompiledModel
LiteRT NPU
  • Introduced LiteRT Accelerator Test Suite for coverage and regression testing
  • Introduced LiteRT graph transformation APIs for compiler plugins
  • Qualcomm
    • Added support for Qualcomm Snapdragon Gen5
    • Added support for NPU JIT mode
    • LiteRT Op coverage improvements
  • MediaTek
    • Added support for NPU JIT mode
    • LiteRT Op coverage improvements
LiteRT GPU
  • Increased GPU coverage with WebGPU/Dawn and OpenCL including Android, Linux, MacOS, Windows, iOS, IoT devices
  • Added asynchronous execution to Metal, WebGPU backends
  • Improved performance and memory footprint
  • Added an option to control GPU inference priority
  • Better error handling (without crashing) on Delegation errors
LLM Support
  • Provided Desktop GPU backends prebuilt for Linux (x64, arm64), MacOS (arm64), Windows (x64)
  • Improved memory utilization when executing on GPUs
  • Published new LLMs on https://huggingface.co/litert-community
    • litert-community/FastVLM-0.5B
    • litert-community/Qwen3-0.6B
    • litert-community/embeddinggemma-300m with new NPU precompiled models
    • litert-community/gemma-3-270m-it with new NPU precompiled model
  • Published Function Gemma on https://huggingface.co/google
    • google/functiongemma-270m-it
LiteRT on Android
  • Added Interpreter API (CPU only) in the Maven v2.1.0+ packages
  • Added Instruction to use pre-built CompiledModell C++ API from the Maven package.
Bug Fixes and Other Changes

Fixes Android min SDK version and it’s 23 now.

LiteRT NPU: Fixes partition algorithm when the full model cannot be offloaded to NPU.

Breaking Changes
  • Removed direct C headers usage. Users no longer need to include C headers.
  • TensorBuffer::CreateManaged() requires Environment always.
  • All TensorBuffer creation requires Environment except HostMemory types.
  • LiteRT C++ constructors are hidden. All LiteRT C++ objects should be created by Create() methods.
  • Moved internal only C++ APIs(such as litert_logging.h) to litert/cc/internal
  • Removed Tensor, Subgraph, Signature access from litert::Model. Instead users can access SimpleTensor, SimpleSignature.
  • The CompiledModel::Create() API no longer needs litert::Model. They can be created from filename, model buffers directly.
  • Users can access SimpleTensor and SimpleSignature from CompiledModel.
  • Annotation, Metrics APIs are removed from CompiledModel.
  • Removed individual OpaqueOptions creation. These OpaqueOptions objects are obtained by Options directly.
    • Options::GetCpuOptions()
    • Options::GetGpuOptions()
    • Options::GetRuntimeOptions()
View originalPermalink
How v2.1.0 went

v2.1.0rc1

Pre-release
Added 3
  • Added support for Qualcomm Snapdragon Gen5 NPU
  • Added support for MediaTek Dimensity 9500 NPU
  • Added NPU JIT mode support on Qualcomm and MediaTek
Changed 4
  • TensorBuffer::CreateManaged() now requires Environment always
  • All TensorBuffer creation requires Environment except HostMemory types
  • Moved internal only C++ APIs such as litert_logging.h to litert/cc/internal
  • CompiledModel::Create() API no longer requires litert::Model and can be created from filename or model buffers directly
Fixed 2
  • Fixed Android min SDK version to 23
  • Fixed NPU partition algorithm when the full model cannot be offloaded to NPU
Removed 5
  • Removed direct C headers usage
  • Hidden LiteRT C++ constructors; all LiteRT C++ objects must be created by Create() methods
  • Removed Tensor, Subgraph, Signature access from litert::Model; users can access SimpleTensor and SimpleSignature from CompiledModel instead
  • Removed Annotation and Metrics APIs from CompiledModel
  • Removed individual OpaqueOptions creation; OpaqueOptions objects are obtained directly via Options methods

From LiteRT

Release 2.1.0rc1

Major Features and Improvements
  • NPU: Added support for Qualcomm Snapdragon Gen5
  • NPU: Added support for MediaTek Dimensity 9500
  • NPU: Added support for NPU JIT mode on Qualcomm and MediaTek
Bug Fixes and Other Changes
  • Fixes Android min SDK version to 23.
  • NPU: Fixes partition algorithm when the full model cannot be offloaded to NPU.
Breaking Changes
  • Removed direct C headers usage. Users no longer need to include C headers.
  • TensorBuffer::CreateManaged() requires Environment always.
  • All TensorBuffer creation requires Environment except HostMemory types.
  • LiteRT C++ constructors are hidden. All LiteRT C++ objects should be created by Create() methods.
  • Move internal only C++ APIs(such as litert_logging.h) to litert/cc/internal
  • Remove Tensor, Subgraph, Signature access from litert::Model. Instead users can access SimpleTensor, SimpleSignature from CompiledModel.
  • The CompiledModel::Create() API no longer needs litert::Model. They can be created from filename, model buffers directly.
  • Annotation, Metrics APIs are removed from CompiledModel.
  • Removed individual OpaqueOptions creation. These OpaqueOptions objects are obtained by Options directly.
    • Options::GetCpuOptions()
    • Options::GetGpuOptions()
    • Options::GetRuntimeOptions()
View originalPermalink
How v2.1.0rc1 went

v1.4.1

Fixed 1
  • Fixed Android minSDK version to 21

From LiteRT

Release 1.4.1

Bug Fixes and Other Changes
  • Fixed Android minSDK version to 21
View originalPermalink
How v1.4.1 went

v2.0.3

Added 1
  • Add Python backend for Google Tensor
Changed 2
  • Change manufacturer to Google and SoC models to include the Tensor_ prefix for Google Tensor
  • Minor naming changes to some flags for the Google Tensor compiler plugin

From LiteRT

Release 2.0.3

Major Features and Improvements
  • Add Python backend for Google Tensor. The backend doesn't yet register itself, so it's available by default.
  • Change manufacturer to Google and SoC models to include the Tensor_ prefix for Google Tensor.
  • Minor naming changes to some flags for the Google Tensor compiler plugin.
Bug Fixes and Other Changes
  • N/A
View originalPermalink
How v2.0.3 went
View all

Discussion

If you publish LiteRT, you can claim this product by proving you administer its repository.