sonos/tract

Tiny, no-nonsense, self-contained, Tensorflow and ONNX inference

70
/ 100
Verified

Implements graph-level optimization passes (constant folding, operator fusion, quantization-aware transformations) and supports symbolic dimensions for dynamic shapes, enabling efficient inference on resource-constrained embedded systems. Built in Rust with zero external dependencies, it provides both a standalone CLI and language bindings (Python, C) for framework integration. Handles ONNX (85%+ operator coverage), TensorFlow 1.x, and NNEF formats with a production-focused subset philosophy that excludes rarely-used features like tensor sequences in favor of maintainability and performance.

2,818 stars. Actively maintained with 323 commits in the last 30 days.

No Package No Dependents
Maintenance 25 / 25
Adoption 10 / 25
Maturity 16 / 25
Community 19 / 25

How are scores calculated?

Stars

2,818

Forks

250

Language

Rust

License

Last pushed

Mar 13, 2026

Commits (30d)

323

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/ml-frameworks/sonos/tract"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.