pykeio/ort
Fast ML inference & training for ONNX models in Rust
What it solves
ort provides a high-performance Rust interface for running machine learning models in the ONNX format. It simplifies the process of deploying models trained in frameworks like PyTorch, TensorFlow, Keras, scikit-learn, or PaddlePaddle to either on-device environments or data centers.
How it works
It acts primarily as a wrapper for Microsoft's ONNX Runtime library, allowing Rust developers to leverage hardware acceleration across a wide variety of accelerators. It also supports other pure-Rust runtimes as backends.
Who it’s for
Rust developers who need to perform hardware-accelerated inference and training on ONNX models across different platforms, from edge devices to servers.
Highlights
- Broad Framework Support: Supports models from PyTorch, TensorFlow, Keras, scikit-learn, and PaddlePaddle.
- Hardware Acceleration: Compatible with almost any hardware accelerator via ONNX Runtime.
- Versatile Deployment: Light enough for on-device use while remaining powerful enough for data center deployment.
- Wide Adoption: Used by projects like Hugging Face's Text Embeddings Inference (TEI) and Google's Magika.
Related
- Project
- Project
- Project
- Project
- Dispatch