Discover and explore top open-source AI tools and projects—updated daily.
Flutter library for running ONNX models on any platform
Top 93.0% on SourcePulse
Telosnex/fonnx provides a Flutter library for running ONNX machine learning models natively across multiple platforms, including mobile, desktop, and web. It targets Flutter developers seeking to integrate AI capabilities like text embeddings and voice processing directly into their applications, offering benefits of privacy and low latency by enabling on-device inference.
How It Works
FONNX leverages the ONNX Runtime, integrating with platform-specific acceleration frameworks such as CoreML on iOS, Android Neural Networks API, and WASM SIMD on the web. This approach allows for efficient, native execution of ONNX models, which can be converted from popular frameworks like PyTorch and TensorFlow using tools like Hugging Face's optimum-cli
.
Quick Start & Requirements
fonnx
to your Flutter project's pubspec.yaml
.Cross-Origin-Embedder-Policy: require-corp
, Cross-Origin-Opener-Policy: same-origin
) for optimal performance.Highlighted Details
Maintenance & Community
Licensing & Compatibility
Limitations & Caveats
3 months ago
1+ week