ort 2.0.0-rc.9

A safe Rust wrapper for ONNX Runtime 1.20 - Optimize and accelerate machine learning inference & training
Documentation
[[bench]]
harness = false
name = "squeezenet"
path = "benches/squeezenet.rs"

[dependencies.half]
optional = true
version = "2.1"

[dependencies.libloading]
optional = true
version = "0.8"

[dependencies.ndarray]
optional = true
version = "0.16"

[dependencies.ort-sys]
version = "2.0.0-rc.9"

[dependencies.sha2]
optional = true
version = "0.10"

[dependencies.tracing]
default-features = false
features = ["std"]
version = "0.1"

[dependencies.ureq]
default-features = false
features = ["tls"]
optional = true
version = "2.1"

[dev-dependencies.anyhow]
version = "1.0"

[dev-dependencies.glassbench]
version = "0.4"

[dev-dependencies.image]
version = "0.25"

[dev-dependencies.test-log]
default-features = false
features = ["trace"]
version = "0.2"

[dev-dependencies.tokio]
features = ["test-util"]
version = "1.36"

[dev-dependencies.tokio-test]
version = "0.4.3"

[dev-dependencies.tracing-subscriber]
default-features = false
features = ["env-filter", "fmt"]
version = "0.3"

[dev-dependencies.ureq]
version = "2.1"

[features]
acl = ["ort-sys/acl"]
armnn = ["ort-sys/armnn"]
cann = ["ort-sys/cann"]
copy-dylibs = ["ort-sys/copy-dylibs"]
coreml = ["ort-sys/coreml"]
cuda = ["ort-sys/cuda"]
default = ["ndarray", "half", "download-binaries", "copy-dylibs"]
directml = ["ort-sys/directml"]
download-binaries = ["ort-sys/download-binaries"]
fetch-models = ["ureq", "sha2"]
load-dynamic = ["libloading", "ort-sys/load-dynamic"]
migraphx = ["ort-sys/migraphx"]
nnapi = ["ort-sys/nnapi"]
onednn = ["ort-sys/onednn"]
openvino = ["ort-sys/openvino"]
qnn = ["ort-sys/qnn"]
rknpu = ["ort-sys/rknpu"]
rocm = ["ort-sys/rocm"]
tensorrt = ["ort-sys/tensorrt"]
training = ["ort-sys/training"]
tvm = ["ort-sys/tvm"]
vitis = ["ort-sys/vitis"]
xnnpack = ["ort-sys/xnnpack"]

[lib]
name = "ort"
path = "src/lib.rs"

[package]
authors = ["pyke.io <contact@pyke.io>", "Nicolas Bigaouette <nbigaouette@gmail.com>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["algorithms", "mathematics", "science", "science"]
description = "A safe Rust wrapper for ONNX Runtime 1.20 - Optimize and accelerate machine learning inference & training"
edition = "2021"
homepage = "https://ort.pyke.io/"
include = ["src/", "benches/", "LICENSE-APACHE", "LICENSE-MIT", "README.md"]
keywords = ["machine-learning", "ai", "ml"]
license = "MIT OR Apache-2.0"
name = "ort"
readme = "README.md"
repository = "https://github.com/pykeio/ort"
rust-version = "1.70"
version = "2.0.0-rc.9"

[package.metadata.docs.rs]
features = ["ndarray", "half", "training", "fetch-models", "load-dynamic", "copy-dylibs"]
rustdoc-args = ["--cfg", "docsrs"]
targets = ["x86_64-unknown-linux-gnu"]

[profile.release]
codegen-units = 1
lto = true
opt-level = 3
strip = true