sonos/tract
Tiny, no-nonsense, self-contained, Tensorflow and ONNX inference observed · 2026-08-28
Health v2 · maintenance only
99/100
- Activity 99
- Release rhythm 98
- Longevity 100
Flags: no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: 20.0
- age_days: 3313
- days_rel: 14
- days_push: 7
- n_releases_24m: 21
Adoption not part of the score
3045 stars · 281 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Tract is Sonos' tiny, self-contained neural-network inference engine written in Rust. It loads ONNX, TensorFlow/TFLite, and NNEF models, optimizes them, and runs them on everything from embedded ARM CPUs to GPUs and WebAssembly.
Use cases
- run onnx models in rust
- neural network inference on embedded arm devices
- run llm inference locally in rust
- speech recognition inference for wake word detection
- run stable diffusion models without python
- run machine learning models in the browser via webassembly
- deploy tensorflow lite models on edge devices
When to choose
- you need a small, self-contained inference runtime with no heavy dependencies
- you target embedded or resource-constrained hardware
- you want to ship a tiny runtime with models pre-translated to NNEF
- you need ONNX or TFLite inference in Rust or Python across many platforms
When to avoid
- you need the full training or ecosystem tooling of PyTorch or TensorFlow
- you require broad operator coverage for exotic models
- you depend on internal tract crates, which are not a stable API
Facets
library · maturity active
machine-learning llm-inference speech-recognition image-processing stable-diffusion machine-learning deep-learning artificial-intelligence speech-processing computer-vision rust python windows wasm embedded cross-platform onnx nnef tensorflow tflite inference-engine embedded-ai neural-networks linux macos gpu
2 sources
- readme: https://github.com/sonos/tract · fetched 2026-08-28 · 652f2838e9fe
- registry_crates: https://crates.io/api/v1/crates/tract · fetched 2026-08-29 · b66d0e979ccc
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| sonos/tract | main | 99 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem