sonos/tract
Some data may be outdated — see provenance labels.
Tiny, no-nonsense, self-contained, Tensorflow and ONNX inference observed · 2026-09-29
Health v2 · maintenance only
97/100
- Activity 97
- Release rhythm 96
- 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-10-21. Adoption (stars, forks) is never an input.
- gap_med: 12.5
- age_days: 3361
- days_rel: 29
- days_push: 22
- n_releases_24m: 25
Adoption not part of the score
3075 stars · 291 forks observed · 2026-09-29
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-09-29 · 652f2838e9fe
- registry_crates: https://crates.io/api/v1/crates/tract · fetched 2026-08-29 · b66d0e979ccc
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| sonos/tract | main | 97 |
For agents
Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem