Registry / other / ort
library2.0.0-rc.12rscratesunverified

A safe Rust wrapper for ONNX Runtime 1.24 to optimize and accelerate machine learning inference and training.

# Cargo.toml [dependencies] ort = "2.0.0-rc.12"
INSTALL
IMPORT
SIG · ORT
O
ort
otherrustv2.0.0-rc.12
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Session
use ort::Session;

Load an ONNX model for inference.

use ort::Session; fn main() -> ort::Result<()> { let _session = Session::builder()?.commit_from_file("model.onnx")?; Ok(()) }
Debug
Known issues
gotchaRequires the `load-dynamic` feature for dynamic linking.
fix
Add `ort = { version = "2.0", features = ["load-dynamic"] }` to Cargo.toml.
affects: >=2.0.0-rc.12
Upgrade
Version history
2.0.0-rc.12latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Amazon
1
Resources
ort — cargo add ort · libregistry