#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.

Stars
3.1k
License
custom license
Last commit
Nov 2026
Last release
Nov 2026
Language
Rust
Stars, last 30 weeks+265
2 May 2026: 2,878 stars9 May 2026: 2,886 stars16 May 2026: 2,897 stars23 May 2026: 2,909 stars30 May 2026: 2,915 stars6 Jun 2026: 2,931 stars13 Jun 2026: 2,939 stars20 Jun 2026: 2,951 stars27 Jun 2026: 2,959 stars4 Jul 2026: 2,968 stars11 Jul 2026: 2,979 stars18 Jul 2026: 2,989 stars25 Jul 2026: 3,002 stars1 Aug 2026: 3,012 stars8 Aug 2026: 3,019 stars15 Aug 2026: 3,026 stars22 Aug 2026: 3,036 stars29 Aug 2026: 3,043 stars5 Sept 2026: 3,054 stars12 Sept 2026: 3,061 stars19 Sept 2026: 3,066 stars26 Sept 2026: 3,075 stars3 Oct 2026: 3,079 stars10 Oct 2026: 3,087 stars17 Oct 2026: 3,093 stars24 Oct 2026: 3,097 stars31 Oct 2026: 3,108 stars7 Nov 2026: 3,114 stars14 Nov 2026: 3,120 stars21 Nov 2026: 3,135 stars28 Nov 2026: 3,143 stars

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
Also in ML frameworks and libraries
RankProjectScore
#69pyodPython library of 61 anomaly detectors with fit/predict API and agent skill Live demo ↗ (opens in a new tab)10.1k starsBSD-2-Clause78 out of 100
#70nlpaugPython library for augmenting text, audio and spectrogram training data4.7k starsMIT78 out of 100
#72wandbPython SDK for tracking ML experiments and versioning datasets and models11.3k starsMIT77 out of 100
#73stanzaPython NLP toolkit for tokenizing, tagging and parsing text in 60+ languages7.9k starscustom license77 out of 100
#74anomalibLibrary for training and benchmarking visual anomaly detection models6.4k stars+102 (+1.6%) in 30 daysApache-2.077 out of 100