pykeio/ort

Fast ML inference & training for ONNX models in Rust

What it solves

It provides a way for Rust developers to run machine learning models in the ONNX format with hardware acceleration. This allows models trained in frameworks like PyTorch, TensorFlow, Keras, scikit-learn, or PaddlePaddle to be deployed efficiently on a variety of devices, from data centers to end-user hardware.

How it works

ort acts as a Rust interface (wrapper) for Microsoft's ONNX Runtime library, while also supporting other pure-Rust runtimes. It enables the execution of ONNX models across almost any hardware accelerator available.

Who it’s for

Rust developers who need to deploy pre-trained machine learning models on-device or in the cloud with high performance and hardware acceleration.

Highlights

  • Hardware-accelerated inference and training.
  • Supports a wide range of hardware accelerators via ONNX Runtime.
  • Compatible with models from PyTorch, TensorFlow, Keras, scikit-learn, and PaddlePaddle.
  • Lightweight enough for on-device deployment.

Related

  • Project
  • Project
  • Project
  • Project
  • Project