mirror of
https://github.com/pykeio/ort
synced 2026-04-25 16:34:55 +02:00
1.14.0-beta.0
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
[package]
|
||||
name = "ort"
|
||||
description = "A Rust wrapper for ONNX Runtime 1.13 - Optimize and Accelerate Machine Learning Inferencing"
|
||||
version = "1.14.0-alpha.0"
|
||||
description = "A Rust wrapper for ONNX Runtime 1.14 - Optimize and Accelerate Machine Learning Inferencing"
|
||||
version = "1.14.0-beta.0"
|
||||
edition = "2021"
|
||||
license = "MIT/Apache-2.0"
|
||||
repository = "https://github.com/pykeio/ort"
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<a href="https://app.codecov.io/gh/pykeio/ort" target="_blank"><img alt="Coverage Results" src="https://img.shields.io/codecov/c/gh/pykeio/ort?style=for-the-badge"></a> <a href="https://github.com/pykeio/ort/actions/workflows/test.yml"><img alt="GitHub Workflow Status" src="https://img.shields.io/github/actions/workflow/status/pykeio/ort/test.yml?branch=main&style=for-the-badge"></a><a href="https://crates.io/crates/ort" target="_blank"><img alt="Crates.io" src="https://img.shields.io/crates/d/ort?style=for-the-badge"></a>
|
||||
</div>
|
||||
|
||||
`ort` is an ONNX Runtime wrapper for Rust based on [`onnxruntime-rs`](https://github.com/nbigaouette/onnxruntime-rs). `ort` is updated for ONNX Runtime 1.13.1 and contains many API improvements & fixes.
|
||||
`ort` is an ONNX Runtime wrapper for Rust based on [`onnxruntime-rs`](https://github.com/nbigaouette/onnxruntime-rs). `ort` is updated for ONNX Runtime 1.14.0 and contains many API improvements & fixes.
|
||||
|
||||
See [the docs](https://docs.rs/ort) and [`examples/`](https://github.com/pykeio/ort/tree/main/examples) for more detailed information.
|
||||
|
||||
|
||||
5
build.rs
5
build.rs
@@ -9,7 +9,7 @@ use std::{
|
||||
str::FromStr
|
||||
};
|
||||
|
||||
const ORT_VERSION: &str = "1.13.1";
|
||||
const ORT_VERSION: &str = "1.14.0";
|
||||
const ORT_RELEASE_BASE_URL: &str = "https://github.com/microsoft/onnxruntime/releases/download";
|
||||
const ORT_ENV_STRATEGY: &str = "ORT_STRATEGY";
|
||||
const ORT_ENV_SYSTEM_LIB_LOCATION: &str = "ORT_LIB_LOCATION";
|
||||
@@ -567,6 +567,9 @@ fn generate_bindings(include_dir: &Path) {
|
||||
|
||||
let bindings = bindgen::Builder::default()
|
||||
.header("src/wrapper.h")
|
||||
.allowlist_var("Ort.+|ORT.+")
|
||||
.allowlist_function("Ort.+")
|
||||
.allowlist_type("Ort.+")
|
||||
.clang_args(clang_args)
|
||||
// Tell cargo to invalidate the built crate whenever any of the included header files changed.
|
||||
.parse_callbacks(Box::new(bindgen::CargoCallbacks))
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user