#7171st of 433 in ML frameworks and libraries
tract
Rust inference engine for ONNX and NNEF models on embedded, GPU and WASM targets
Run it:Vast.ai ↗ (opens in a new tab)Clore.ai ↗ (opens in a new tab)Affiliate links, no effect on a rank.
Watch puts tract on your watch list: its new releases and known problems since your last visit. Kept in this browser, no account.tract is on your watch list. Its new releases and problems show there.
- Stars
- 3.1k
- License
- custom license
- Last commit
- Nov 2026
- Last release
- Nov 2026
- Language
- Rust
2,878 on 2 May 20263,143 on 28 Nov 2026
From GitHub's daily star counts.
Checked on GitHub.
Overview
tract loads ONNX, NNEF and TensorFlow Lite models, optimises them, and runs them on CPU (x86, ARM, hand-written SIMD kernels), Apple Metal, NVIDIA CUDA or WebAssembly. Sonos uses it in production for wake-word and streaming speech recognition. Models can be converted once to NNEF (tract-OPL) so only a small runtime ships. Rust and Python APIs are provided.
Who it is for: Engineers embedding neural-network inference in Rust, edge or browser apps
Strengths
- Targets Cortex-A7 to x86, RISC-V, Metal, CUDA and WebAssembly, benchmarked nightly
- Convert to NNEF once, then ship only tract-core and tract-nnef without protobuf
- Pulsification turns sequence models into fixed-size streaming ones for real-time audio
- Original code dual-licensed MIT/Apache-2.0; Rust crate and Python package on PyPI
Weaknesses
- Library and CLI only; no HTTP server or OpenAI-compatible API
- ONNX is load-only; saving a converted model goes through NNEF
- Only the top-level tract crate is a stable API; internal crates are not
- tract-OPL extensions still change; compatibility only promised within 0.x patch releases
What it needs
- GPU optional
- Models: ONNX, NNEF, TensorFlow Lite, TensorFlow 1 frozen graph
What changed
From the release notes. No flag means the note does not say so, not that the upgrade is safe. Releases and problems by RSS
Also in ML frameworks and libraries
See all 433| Rank | Project | Score |
|---|---|---|
| #69 | pyodPython library of 61 anomaly detectors with fit/predict API and agent skill | 78 out of 100 |
| #70 | nlpaugPython library for augmenting text, audio and spectrogram training data | 78 out of 100 |
| #72 | wandbPython SDK for tracking ML experiments and versioning datasets and models | 77 out of 100 |
| #73 | stanzaPython NLP toolkit for tokenizing, tagging and parsing text in 60+ languages | 77 out of 100 |
| #74 | anomalibLibrary for training and benchmarking visual anomaly detection models | 77 out of 100 |