Fast ML inference & training for ONNX models in Rust
  • Rust 98.1%
  • Python 0.7%
  • TypeScript 0.6%
  • JavaScript 0.6%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Reynard User 52c9ec9559
Some checks failed
🧪 Cargo Tests / Run tests-3 (push) Has been cancelled
🧩 Backends / Candle (push) Has been cancelled
🧩 Backends / Candle-1 (push) Has been cancelled
🧩 Backends / Tract (push) Has been cancelled
🧩 Backends / Tract-1 (push) Has been cancelled
🧩 Backends / Tract-2 (push) Has been cancelled
🧩 Backends / Web (push) Has been cancelled
📋 Code Quality / Lint & format (push) Has been cancelled
📋 Code Quality / Code coverage (push) Has been cancelled
📋 Code Quality / docs.rs build (push) Has been cancelled
🔗 Static Linking / Linux (x64) (push) Has been cancelled
🚩 Misc Checks / --no-default-features (push) Has been cancelled
🚩 Misc Checks / MSRV (1.88) (push) Has been cancelled
🚩 Misc Checks / Multiversion (push) Has been cancelled
🧪 Cargo Tests / Run tests (push) Has been cancelled
🧪 Cargo Tests / Run tests-1 (push) Has been cancelled
🧪 Cargo Tests / Run tests-2 (push) Has been cancelled
Update crates and massage code, start of offline build
Signed-off-by: Reynard User <kade@sly.so>
2026-03-17 18:55:05 +01:00
.cargo tests: add valgrind sample program 2025-03-22 23:44:02 -05:00
.github ci(misc): enable default features for multiversion check 2026-02-22 09:05:38 -06:00
.vscode config: update R-A config 2025-04-23 09:09:20 -05:00
backends docs: update 2026-03-06 01:10:37 -06:00
docs docs: update 2026-03-06 01:10:37 -06:00
examples 2.0.0-rc.12 2026-03-04 23:02:09 -06:00
ort-sys Update crates and massage code, start of offline build 2026-03-17 18:55:05 +01:00
src Update crates and massage code, start of offline build 2026-03-17 18:55:05 +01:00
tests Update crates and massage code, start of offline build 2026-03-17 18:55:05 +01:00
tools chore(tools): update API ignore list 2026-02-22 00:03:14 -06:00
.editorconfig 1.13.0 2022-11-26 15:16:30 -06:00
.gitattributes config: mark ONNX models as binary files 2025-03-19 23:38:42 -05:00
.gitignore feat: copy tensors (#382) 2025-04-13 15:16:37 -05:00
AGENTS.md docs: add CONTRIBUTING & SECURITY 2025-11-16 23:30:45 -06:00
Cargo.toml Update crates and massage code, start of offline build 2026-03-17 18:55:05 +01:00
clippy.toml config: silence clippy warning 2026-02-28 00:36:38 -06:00
codecov.yml feat: Update to ONNX Runtime v1.22 (#393) 2025-05-20 00:46:18 -05:00
CONTRIBUTING.md docs: add CONTRIBUTING & SECURITY 2025-11-16 23:30:45 -06:00
LICENSE-APACHE chore: cleanup manifests, split license file 2023-11-06 19:21:58 -06:00
LICENSE-MIT 🎆 2026-01-01 01:50:26 -06:00
README.md 2.0.0-rc.12 2026-03-04 23:02:09 -06:00
rustfmt.toml chore: use 2024 edition Rust 2025-10-25 15:39:24 -05:00
SECURITY.md docs: add CONTRIBUTING & SECURITY 2025-11-16 23:30:45 -06:00


Coverage Results Crates.io Open Collective backers and sponsors
Crates.io ONNX Runtime
💖 Sponsored by
Rime.ai Authentic AI voice models for enterprise.

ort is a Rust interface for performing hardware-accelerated inference & training on machine learning models in the Open Neural Network Exchange (ONNX) format.

Based on the now-inactive onnxruntime-rs crate, ort is primarily a wrapper for Microsoft's ONNX Runtime library, but offers support for other pure-Rust runtimes.

ort with ONNX Runtime is super quick - and it supports almost any hardware accelerator you can think of. Even still, it's light enough to run on your users' devices.

When you need to deploy a PyTorch/TensorFlow/Keras/scikit-learn/PaddlePaddle model either on-device or in the datacenter, ort has you covered.

📖 Documentation

🤔 Support

🌠 Backers

💖 FOSS projects using ort

Open a PR to add your project here 🌟

  • Text Embeddings Inference (TEI) uses ort to deliver high-performance ONNX Runtime inference for text embedding models.
  • Magika uses ort for neural network-based file type detection.
  • retto uses ort for reliable, fast ONNX inference of PaddleOCR models on Desktop and WASM platforms.
  • edge-transformers uses ort for accelerated transformer model inference at the edge.
  • sbv2-api is a fast implementation of Style-BERT-VITS2 text-to-speech using ort.
  • BoquilaHUB uses ort for local AI deployment in biodiversity conservation efforts.
  • CamTrap Detector uses ort to detect animals, humans and vehicles in trail camera imagery.
  • Ortex uses ort for safe ONNX Runtime bindings in Elixir.
  • oar-ocr A comprehensive OCR library, built in Rust with ort for efficient inference.
  • FastEmbed-rs uses ort for generating vector embeddings, reranking locally.
  • Ahnlich uses ort to power their AI proxy for semantic search applications.
  • Murmure uses ort as its core engine, leveraging NVIDIA Parakeet to deliver fully local, free, private and crossplatform SpeechtoText enhanced with LLM postprocessing.
  • Valentinus uses ort to provide embedding model inference inside LMDB.
  • SilentKeys uses ort for fast, on-device real-time dictation with NVIDIA Parakeet and Silero VAD.