sonos / tract

Tiny, no-nonsense, self-contained, Tensorflow and ONNX inference
Other
2.24k stars 214 forks source link

Support for running without the standard library #580

Open Michael-F-Bryan opened 3 years ago

Michael-F-Bryan commented 3 years ago

Is it on the roadmap to allow tract's crates to be used without the standard library?

The use case we have in mind is using tract on embedded devices because a pure Rust library is a lot easier to cross-compile and link to than the TensorFlow Lite or ONNX C++ libraries.

kali commented 2 years ago

It is not on the roadmap, and it is quite a bit of work. I woud be inclined to accept PR pulling towards the goal if they have little performance impact. data + core + nnef could be enough to unlock relevant use cases, leaving the high level frontends as they are.