#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 16367/week @ 2024-07-18 17645/week @ 2024-07-25 16949/week @ 2024-08-01 19022/week @ 2024-08-08 18618/week @ 2024-08-15 15958/week @ 2024-08-22 16345/week @ 2024-08-29 20136/week @ 2024-09-05 21373/week @ 2024-09-12 22223/week @ 2024-09-19 18567/week @ 2024-09-26 26156/week @ 2024-10-03 18957/week @ 2024-10-10 18314/week @ 2024-10-17 17069/week @ 2024-10-24 24429/week @ 2024-10-31

86,184 downloads per month
Used in 58 crates (39 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
~127K SLoC