onnx-runtime-ep-cpu 0.1.0-dev.5

CPU execution provider for the ORT 2.0 runtime
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
name = "onnx-runtime-ep-cpu"
version = "0.1.0-dev.5"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "CPU execution provider for the ORT 2.0 runtime"
readme = false
keywords = [
    "onnx",
    "cpu",
    "execution-provider",
    "inference",
    "runtime",
]
categories = [
    "science",
    "hardware-support",
]
license = "MIT"
repository = "https://github.com/justinchuby/onnx-genai"
resolver = "2"

[features]
gqa_phase_profile = []
mlas = ["dep:mlas-sys"]
tracing = ["dep:onnx-runtime-tracer"]

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

[[test]]
name = "kernel_numeric_regression"
path = "tests/kernel_numeric_regression.rs"

[[test]]
name = "mha_ort_parity"
path = "tests/mha_ort_parity.rs"

[[test]]
name = "msft_attention_ort_parity"
path = "tests/msft_attention_ort_parity.rs"

[[test]]
name = "qwen35_ort_parity"
path = "tests/qwen35_ort_parity.rs"

[[bench]]
name = "kernels"
path = "benches/kernels.rs"
harness = false

[dependencies.half]
version = "2"

[dependencies.libc]
version = "0.2"

[dependencies.libm]
version = "0.2"

[dependencies.mlas-sys]
version = "=0.1.0-dev.5"
optional = true

[dependencies.onnx-runtime-ep-api]
version = "=0.1.0-dev.5"

[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-quantization]
version = "=0.1.0-dev.5"

[dependencies.onnx-runtime-tracer]
version = "=0.1.0-dev.5"
optional = true

[dependencies.rayon]
version = "1"

[dependencies.thiserror]
version = "2"

[dev-dependencies.criterion]
version = "0.5"

[target."cfg(windows)".dependencies.windows-sys]
version = "0.61"
features = [
    "Win32_Foundation",
    "Win32_System_SystemInformation",
    "Win32_System_Threading",
    "Win32_System_Kernel",
]