[package]
edition = "2024"
name = "onnx-runtime-session"
version = "0.1.0-dev.5"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Session and inference API for the ORT 2.0 runtime: intent-based SessionBuilder and sequential executor (skeleton)"
readme = false
keywords = [
"onnx",
"session",
"inference",
"runtime",
]
categories = [
"science",
"api-bindings",
]
license = "MIT"
repository = "https://github.com/justinchuby/onnx-genai"
resolver = "2"
[features]
cuda = ["dep:onnx-runtime-ep-cuda"]
default = []
mlas = ["onnx-runtime-ep-cpu/mlas"]
[lib]
name = "onnx_runtime_session"
path = "src/lib.rs"
[[example]]
name = "conformance_runner"
path = "examples/conformance_runner.rs"
[[test]]
name = "bert_toy_conformance"
path = "tests/bert_toy_conformance.rs"
[[test]]
name = "bert_toy_optimized_parity"
path = "tests/bert_toy_optimized_parity.rs"
[[test]]
name = "control_flow"
path = "tests/control_flow.rs"
[[test]]
name = "cuda_control_flow_safety"
path = "tests/cuda_control_flow_safety.rs"
[[test]]
name = "epcontext"
path = "tests/epcontext.rs"
[[test]]
name = "executor"
path = "tests/executor.rs"
[[test]]
name = "fused_attention_parity"
path = "tests/fused_attention_parity.rs"
[[test]]
name = "fused_gemm_parity"
path = "tests/fused_gemm_parity.rs"
[[test]]
name = "gelu_parity"
path = "tests/gelu_parity.rs"
[[test]]
name = "graph_perf_audit"
path = "tests/graph_perf_audit.rs"
[[test]]
name = "model_local_functions"
path = "tests/model_local_functions.rs"
[[test]]
name = "model_metadata"
path = "tests/model_metadata.rs"
[[test]]
name = "projection_fusion"
path = "tests/projection_fusion.rs"
[[test]]
name = "sequence_ops"
path = "tests/sequence_ops.rs"
[[test]]
name = "slice_view"
path = "tests/slice_view.rs"
[dependencies.half]
version = "2"
[dependencies.onnx-genai-runtime-config]
version = "=0.1.0-dev.5"
[dependencies.onnx-runtime-ep-api]
version = "=0.1.0-dev.5"
[dependencies.onnx-runtime-ep-cpu]
version = "=0.1.0-dev.5"
[dependencies.onnx-runtime-ep-cuda]
version = "=0.1.0-dev.5"
optional = true
[dependencies.onnx-runtime-ir]
version = "=0.1.0-dev.5"
[dependencies.onnx-runtime-loader]
version = "=0.1.0-dev.5"
[dependencies.onnx-runtime-optimizer]
version = "=0.1.0-dev.5"
[dependencies.onnx-runtime-shape-inference]
version = "=0.1.0-dev.5"
[dependencies.onnx-runtime-tracer]
version = "=0.1.0-dev.5"
[dependencies.thiserror]
version = "2"
[dev-dependencies.prost]
version = "0.13"