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

ort

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

39 releases (23 stable)

new 2.0.0-rc.9 Nov 21, 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 16743/week @ 2024-08-02 18702/week @ 2024-08-09 19278/week @ 2024-08-16 15539/week @ 2024-08-23 17072/week @ 2024-08-30 19467/week @ 2024-09-06 21887/week @ 2024-09-13 22593/week @ 2024-09-20 18609/week @ 2024-09-27 26655/week @ 2024-10-04 17479/week @ 2024-10-11 18224/week @ 2024-10-18 18033/week @ 2024-10-25 24531/week @ 2024-11-01 17528/week @ 2024-11-08 18097/week @ 2024-11-15

80,676 downloads per month
Used in 61 crates (41 directly)

MIT/Apache

640KB
13K SLoC


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

ort is an (unofficial) ONNX Runtime 1.20 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
~130K SLoC