flutter_litert 1.0.3
flutter_litert: ^1.0.3 copied to clipboard
LiteRT (formerly TensorFlow Lite) Flutter plugin. Drop-in on-device ML inference with bundled native libraries for all platforms.
1.0.3 #
- Add
SignatureRunnerfor on-device training workflows (train,infer,get_weights,set_weightssignatures) - Add Linux FlexDelegate support via
flutter_litert_flex(Linux x86_64, built from TF 2.20.0 source). All three desktop platforms (macOS, Windows, Linux) now fully support on-device training withSELECT_TF_OPSmodels and checkpoint save/restore. - Add
Interpreter.signatureCount,signatureKeys,getSignatureKey(),getSignatureRunner() - Add
SignatureRunner.cancel(),getInputTensors(),getOutputTensors(),lastNativeInferenceDurationMicroSeconds
1.0.2 #
- Add native dylibs to SPM Package.swift
- Update Dart loading paths for SPM bundle
1.0.1 #
- Improve Custom Ops documentation
1.0.0 #
- Upgrade Linux TFLite native library from 2.9.3 to 2.20.0 (built from source via CMake + Ninja + GCC x86_64)
- First stable release:
- All platforms are on updated 2.20.0 library files, official final stable release of TFLite
- Pre-bundling works on all platforms: users no longer need to do bundle libs as was required with
tflite_flutter - Custom ops supported - see face_detection_tflite v5.0.2
exampledirectory for a working example (the binary segmentation model selfie_segmenter.tflite uses custom ops) - Web support (experimental) functional - see pose_detection v1.0.1
web_exampledirectory for a working example
0.2.2 #
- Update dependencies
0.2.1 #
- Update documentation
0.2.0 #
- Web support (experimental)
0.1.16 #
- Register iOS pluginClass
0.1.15 #
- Add missing null check in interpreter teardown path on macOS
0.1.14 #
- Improve IsolateInterpreter shutdown reliability on iOS to prevent rare use-after-free when closing during active inference
0.1.13 #
- Add Swift Package Manager (SPM) support for iOS and macOS
0.1.12 #
- Upgrade Windows TFLite native library from 2.18.0 to 2.20.0 (built from source via CMake + Ninja + MSVC x64)
0.1.11 #
- Fix iOS: download xcframeworks at pod install time so static linking works on first build
0.1.10 #
- Fix macOS: bundle native libraries in pub package so
flutter testworks without manual setup
0.1.9 #
- Fix iOS and macOS podspec compatibility with Ruby 3.4+ (Prism parser)
0.1.8 #
- Upgrade iOS TensorFlow Lite from 2.17.0 (CocoaPods) to 2.20.0 (built from source via Bazel)
- Replace CocoaPods TensorFlowLiteSwift dependency with vendored xcframeworks (TensorFlowLiteC, Metal delegate, CoreML delegate)
- All xcframeworks support device arm64 + simulator arm64/x86_64 (Apple Silicon and Intel Macs)
0.1.7 #
- Improved documentation
0.1.6 #
- Upgrade macOS TFLite native library from 2.17.1 to 2.20.0 (latest stable, universal binary: arm64 + x86_64)
- Update all C API headers to TFLite 2.20.0
- Regenerate FFI bindings (
TfLiteOperatorCreatenow takes 4 params,TfLiteOperatorCreateWithDataremoved, newkTfLiteOutputShapeNotKnownstatus, new builtin ops) - Rebuild macOS custom ops dylib against 2.20.0
0.1.5 #
- Upgrade macOS TFLite native library from 2.11.0 to 2.17.1 (universal binary: arm64 + x86_64)
- Update all C API headers to TFLite 2.17.1 (including new
TfLiteOperatorAPI replacingTfLiteRegistrationExternal) - Regenerate FFI bindings with new APIs (SignatureRunner, TfLiteInterpreterCancel, and more)
- Rebuild macOS custom ops dylib as universal binary (arm64 + x86_64)
0.1.4 #
- Bundle
libtensorflowlite_c-win.dllfrom flutter_litert Windows plugin instead of downstream packages
0.1.3 #
- Fix Windows: build and bundle custom ops DLL (tflite_custom_ops.dll) for MediaPipe models
- Fix heap corruption crash when switching between segmentation models (custom op name string was freed prematurely)
0.1.2 #
- Fix Linux: build and bundle custom ops library (libtflite_custom_ops.so) so MediaPipe models with custom ops (e.g. selfie segmentation) work on Linux
0.1.1 #
- Update AndroidManifest.xml
0.1.0 #
- Fix IsolateInterpreter thread-safety bug causing intermittent native crashes when hardware delegates are active
0.0.1 #
- Initial release, forked from tflite_flutter_custom v1.2.5
- Rebranded to flutter_litert for LiteRT ecosystem
- All native libraries bundled automatically
- Custom ops support (MediaPipe models)
- Full platform support: Android, iOS, macOS, Windows, Linux