v2.1.0rc1Pre-release
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
TensorBuffercreation 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,Signatureaccess fromlitert::Model. Instead users can accessSimpleTensor,SimpleSignaturefromCompiledModel. - The
CompiledModel::Create()API no longer needslitert::Model. They can be created from filename, model buffers directly. - Annotation, Metrics APIs are removed from
CompiledModel. - Removed individual
OpaqueOptionscreation. TheseOpaqueOptionsobjects are obtained byOptionsdirectly.Options::GetCpuOptions()Options::GetGpuOptions()Options::GetRuntimeOptions()- …