#machine-learning #cpu-gpu #artificial-intelligence #ai

ort

A safe Rust wrapper for ONNX Runtime 1.19 - Optimize and accelerate machine learning inference & training

38 releases (23 stable)

2.0.0-rc.8 Oct 19, 2024
2.0.0-rc.6 Sep 10, 2024
2.0.0-rc.4 Jul 7, 2024
2.0.0-rc.1 Mar 28, 2024
1.13.1 Nov 27, 2022

#2 in Machine learning

Download history 17084/week @ 2024-07-31 18220/week @ 2024-08-07 19017/week @ 2024-08-14 16251/week @ 2024-08-21 16227/week @ 2024-08-28 19046/week @ 2024-09-04 21857/week @ 2024-09-11 21613/week @ 2024-09-18 19463/week @ 2024-09-25 21909/week @ 2024-10-02 23110/week @ 2024-10-09 17819/week @ 2024-10-16 17666/week @ 2024-10-23 24038/week @ 2024-10-30 18934/week @ 2024-11-06 18822/week @ 2024-11-13

82,875 downloads per month
Used in 61 crates (41 directly)

MIT/Apache

605KB
12K SLoC


Coverage Results Crates.io Open Collective backers and sponsors
Crates.io ONNX Runtime

ort is an (unofficial) ONNX Runtime 1.19 wrapper for Rust based on the now inactive onnxruntime-rs. ONNX Runtime accelerates ML inference and training on both CPU & GPU.

πŸ“– Documentation

πŸ€” Support

πŸ’– Projects using ort

Open a PR to add your project here 🌟

  • Twitter uses ort to serve homepage recommendations to hundreds of millions of users.
  • Bloop uses ort to power their semantic code search feature.
  • edge-transformers uses ort for accelerated transformer model inference at the edge.
  • Ortex uses ort for safe ONNX Runtime bindings in Elixir.
  • Supabase uses ort to remove cold starts for their edge functions.
  • Lantern uses ort to provide embedding model inference inside Postgres.
  • Magika uses ort for content type detection.
  • sbv2-api is a fast implementation of Style-BERT-VITS2 text-to-speech using ort.

🌠 Sponsor ort


Dependencies

~2–11MB
~128K SLoC