chore(sys): ONNX Runtime v1.22.1

This commit is contained in:
Carson M.
2025-07-10 13:51:13 -05:00
parent eaf9c7fafa
commit 20593489c1
11 changed files with 30 additions and 31 deletions

View File

@@ -5,7 +5,7 @@ on:
onnxruntime-branch:
type: string
description: "ONNX Runtime branch"
default: "v1.22.0"
default: "v1.22.1"
push:
paths:
- 'ort-sys/build.rs'
@@ -24,7 +24,7 @@ jobs:
- uses: actions/checkout@v4
- name: Compile ONNX Runtime
run: |
git clone https://github.com/microsoft/onnxruntime --recursive --branch ${{ inputs.onnxruntime-branch || 'v1.22.0' }} --single-branch --depth 1
git clone https://github.com/microsoft/onnxruntime --recursive --branch ${{ inputs.onnxruntime-branch || 'v1.22.1' }} --single-branch --depth 1
cd onnxruntime
./build.sh --update --build --config Release --parallel --compile_no_warning_as_error --skip_submodule_sync
cd ..
@@ -43,7 +43,7 @@ jobs:
- uses: actions/checkout@v4
- name: Compile ONNX Runtime
run: |
git clone https://github.com/microsoft/onnxruntime --recursive --branch ${{ inputs.onnxruntime-branch || 'v1.22.0' }} --single-branch --depth 1
git clone https://github.com/microsoft/onnxruntime --recursive --branch ${{ inputs.onnxruntime-branch || 'v1.22.1' }} --single-branch --depth 1
cd onnxruntime
./build.sh --update --build --config Release --parallel --compile_no_warning_as_error --skip_submodule_sync --minimal_build
cd ..

View File

@@ -3,7 +3,7 @@
<hr />
<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://crates.io/crates/ort" target="_blank"><img alt="Crates.io" src="https://img.shields.io/crates/d/ort?style=for-the-badge"></a> <a href="https://opencollective.com/pyke-osai" target="_blank"><img alt="Open Collective backers and sponsors" src="https://img.shields.io/opencollective/all/pyke-osai?style=for-the-badge&label=sponsors"></a>
<br />
<a href="https://crates.io/crates/ort" target="_blank"><img alt="Crates.io" src="https://img.shields.io/crates/v/ort?style=for-the-badge&label=ort&logo=rust"></a> <img alt="ONNX Runtime" src="https://img.shields.io/badge/onnxruntime-v1.22.0-blue?style=for-the-badge&logo=cplusplus">
<a href="https://crates.io/crates/ort" target="_blank"><img alt="Crates.io" src="https://img.shields.io/crates/v/ort?style=for-the-badge&label=ort&logo=rust"></a> <img alt="ONNX Runtime" src="https://img.shields.io/badge/onnxruntime-v1.22.1-blue?style=for-the-badge&logo=cplusplus">
</div>
`ort` is an (unofficial) [ONNX Runtime](https://onnxruntime.ai/) 1.22 wrapper for Rust based on the now inactive [`onnxruntime-rs`](https://github.com/nbigaouette/onnxruntime-rs). ONNX Runtime accelerates ML inference and training on both CPU & GPU.

View File

@@ -1,7 +1,7 @@
[package]
name = "ort-candle-standalone"
publish = false
version = "1.22.0"
version = "1.22.1"
edition = "2021"
[package.metadata.winresource]

View File

@@ -5,7 +5,7 @@ static API_BASE: ort_sys::OrtApiBase = ort_sys::OrtApiBase {
static API: ort_sys::OrtApi = ort_candle::api();
unsafe extern "system" fn get_version_string() -> *const ort_sys::c_char {
c"1.22.0+candle@0.8-wrapper@0.1.0".as_ptr()
c"1.22.1+candle@0.8-wrapper@0.1.0".as_ptr()
}
unsafe extern "system" fn get_api(version: u32) -> *const ort_sys::OrtApi {

View File

@@ -1,7 +1,7 @@
[package]
name = "ort-tract-standalone"
publish = false
version = "1.22.0"
version = "1.22.1"
edition = "2021"
[package.metadata.winresource]

View File

@@ -5,7 +5,7 @@ static API_BASE: ort_sys::OrtApiBase = ort_sys::OrtApiBase {
static API: ort_sys::OrtApi = ort_tract::api();
unsafe extern "system" fn get_version_string() -> *const ort_sys::c_char {
c"1.22.0+tract@0.21-wrapper@0.1.0".as_ptr()
c"1.22.1+tract@0.21-wrapper@0.1.0".as_ptr()
}
unsafe extern "system" fn get_api(version: u32) -> *const ort_sys::OrtApi {

View File

@@ -9,7 +9,7 @@ description: Information about `ort`'s versioning and relation to ONNX Runtime v
| **ort** | **ONNX Runtime** |
| -------- | ----------------:|
| v2.0.0+ | v1.22.0 |
| v2.0.0+ | v1.22.1 |
| v1.16.0-v1.16.2 | v1.16.0 |
| v1.15.0-v1.15.5 | v1.15.1 |
| v1.14.2-v1.14.8 | v1.14.1 |

View File

@@ -5,7 +5,7 @@ use std::{
};
#[allow(unused)]
const ONNXRUNTIME_VERSION: &str = "1.22.0";
const ONNXRUNTIME_VERSION: &str = "1.22.1";
const ORT_ENV_SYSTEM_LIB_LOCATION: &str = "ORT_LIB_LOCATION";
const ORT_ENV_SYSTEM_LIB_PROFILE: &str = "ORT_LIB_PROFILE";

View File

@@ -1,19 +1,18 @@
train,cu12 x86_64-pc-windows-msvc https://cdn.pyke.io/0/pyke:ort-rs/ms@1.22.0/x86_64-pc-windows-msvc+train+cu12.tgz 34C9295D8F4FDA5A053DBEA1A0CBDF7BB3816F766AB558A6CA69F03A0153015B
cu12 x86_64-pc-windows-msvc https://cdn.pyke.io/0/pyke:ort-rs/ms@1.22.0/x86_64-pc-windows-msvc+cu12.tgz 743380B97FAC97EDB2CB0DD656C517B99C5FEDD37516DA40F696335A3EDB5E55
train,cu12 x86_64-unknown-linux-gnu https://cdn.pyke.io/0/pyke:ort-rs/ms@1.22.0/x86_64-unknown-linux-gnu+train+cu12.tgz 2AEBF5EB93BC15D51490AF54B11F092866B980640B5FA6DF65F43EBEFE994FDA
cu12 x86_64-unknown-linux-gnu https://cdn.pyke.io/0/pyke:ort-rs/ms@1.22.0/x86_64-unknown-linux-gnu+cu12.tgz 8BBB8416566A668A240B72A56DBBB82F99F430AF86F64D776D7EBF53E144EFC9
wgpu x86_64-pc-windows-msvc https://cdn.pyke.io/0/pyke:ort-rs/ms@1.22.0/x86_64-pc-windows-msvc+wgpu.tgz D435BE3D344A5E8C4426AC2E8A49F726A115A76D8F812967B78912A9153B0149
train x86_64-pc-windows-msvc https://cdn.pyke.io/0/pyke:ort-rs/ms@1.22.0/x86_64-pc-windows-msvc+train.tgz 5365CB19CFB108FE09725EFC3AA22C96303BD3C0F32BE7A36C652AD3FEF26AB9
train aarch64-pc-windows-msvc https://cdn.pyke.io/0/pyke:ort-rs/ms@1.22.0/aarch64-pc-windows-msvc+train.tgz 0DF2BDD6AA23BC536780E72A6FD81970F2BC2F1A375B2AC2ECF1B8A83EF96486
none x86_64-pc-windows-msvc https://cdn.pyke.io/0/pyke:ort-rs/ms@1.22.0/x86_64-pc-windows-msvc.tgz 540D19B3379FDA6FB8F7280D8C15EFDE20ED225A67A357A6DAE38C4300FE190D
none aarch64-pc-windows-msvc https://cdn.pyke.io/0/pyke:ort-rs/ms@1.22.0/aarch64-pc-windows-msvc.tgz 9E6EDACC42AF2616C863EA5FB4D74E9F260E9A9530E12C5A91DA33F7E830A0CF
train x86_64-apple-darwin https://cdn.pyke.io/0/pyke:ort-rs/ms@1.22.0/x86_64-apple-darwin+train.tgz 76BA116987AFA98BB9689970C2BE1DC863826769BE7F5977A7290C1BD89CA2FF
train aarch64-unknown-linux-gnu https://cdn.pyke.io/0/pyke:ort-rs/ms@1.22.0/aarch64-unknown-linux-gnu+train.tgz EFC624FE76E86BA851B5A3CAE6FB5BBC02FE5564A78954DDC46BEBC30A6CEAB2
none aarch64-apple-darwin https://cdn.pyke.io/0/pyke:ort-rs/ms@1.22.0/aarch64-apple-darwin.tgz 00FBFD6F08BAC2A4E28C66723AF900D58D1B4B1C73EFBA6290637CD3019883D5
none wasm32-unknown-emscripten https://cdn.pyke.io/0/pyke:ort-rs/ms@1.22.0+068d902/wasm32-unknown-emscripten.tgz 78FC5BCADEAB0E281D9A945557E66C613D7385FC51945B5B8AEB434C84AC9BBD
train aarch64-apple-darwin https://cdn.pyke.io/0/pyke:ort-rs/ms@1.22.0/aarch64-apple-darwin+train.tgz 9D4D04609EDC1537260C28AB0748FF3E8ECAA29ECEAF3D085F290618A312A6AE
wgpu x86_64-unknown-linux-gnu https://cdn.pyke.io/0/pyke:ort-rs/ms@1.22.0/x86_64-unknown-linux-gnu+wgpu.tgz D766B62A8419124D242BB02A0AB1D2407B86C39011FEC6214D83D5AC304D5593
train x86_64-unknown-linux-gnu https://cdn.pyke.io/0/pyke:ort-rs/ms@1.22.0/x86_64-unknown-linux-gnu+train.tgz 081B3D09E73F5B07CBCE33EEB231F11A74FF198722673CC517BF2C0D624EA280
none x86_64-apple-darwin https://cdn.pyke.io/0/pyke:ort-rs/ms@1.22.0/x86_64-apple-darwin.tgz E0538783248BBB77D2E97556134B8CC47CFC35AC3D762067D51EAF8355C0F48E
none aarch64-unknown-linux-gnu https://cdn.pyke.io/0/pyke:ort-rs/ms@1.22.0/aarch64-unknown-linux-gnu.tgz 24E4760207136FC50B854BB5012AB81DE6189039CF6D4FD3F5B8D3DB7E929F1E
none x86_64-unknown-linux-gnu https://cdn.pyke.io/0/pyke:ort-rs/ms@1.22.0/x86_64-unknown-linux-gnu.tgz ED1716DE95974BF47AB0223CA33734A0B5A5D09A181225D0E8ED62D070AEA893
train,cu12 x86_64-pc-windows-msvc https://cdn.pyke.io/0/pyke:ort-rs/ms@1.22.1/x86_64-pc-windows-msvc+train+cu12.tgz 733FAD37507DD7DB82932C755A77C6F537BFC883205F8BAB7CB81A2CBDC9A7BF
cu12 x86_64-pc-windows-msvc https://cdn.pyke.io/0/pyke:ort-rs/ms@1.22.1/x86_64-pc-windows-msvc+cu12.tgz B214153E940CC74C875622BA9709269D1DDA6302F213B1EAC78FBB4E306BD4DE
train,cu12 x86_64-unknown-linux-gnu https://cdn.pyke.io/0/pyke:ort-rs/ms@1.22.1/x86_64-unknown-linux-gnu+train+cu12.tgz 0A89AE896C71282054C6EF1FB6031B412AEAB7D2593CAC69FBE14223A685AE85
cu12 x86_64-unknown-linux-gnu https://cdn.pyke.io/0/pyke:ort-rs/ms@1.22.1/x86_64-unknown-linux-gnu+cu12.tgz C0DA77050FE1D2E9A719B92C1E7D57AA49B6E6D0FF3157AFAA2D7C834F17A892
wgpu x86_64-pc-windows-msvc https://cdn.pyke.io/0/pyke:ort-rs/ms@1.22.1/x86_64-pc-windows-msvc+wgpu.tgz D9DFF7CBFBBA80DCAED553A954E0032D2353B4D43376C0589FC4031CE7013D51
train x86_64-pc-windows-msvc https://cdn.pyke.io/0/pyke:ort-rs/ms@1.22.1/x86_64-pc-windows-msvc+train.tgz 2627A3F69D439F24E169805C4052CF74930C8D6D0FEBD36840B1054B73004764
train aarch64-pc-windows-msvc https://cdn.pyke.io/0/pyke:ort-rs/ms@1.22.1/aarch64-pc-windows-msvc+train.tgz D27474EF926F3CA9D11FBBF4E75445D9028A35443DA4D6A8E843BDACE8970C01
none x86_64-pc-windows-msvc https://cdn.pyke.io/0/pyke:ort-rs/ms@1.22.1/x86_64-pc-windows-msvc.tgz DB87454C0918939AE50CC2615521297A25F799D9782717463AD8C4EEE8AEE74A
none aarch64-pc-windows-msvc https://cdn.pyke.io/0/pyke:ort-rs/ms@1.22.1/aarch64-pc-windows-msvc.tgz B5D1D9746D626E2687438BBB202F4C5149897121682772EDA3BB797B9F64AB37
train x86_64-apple-darwin https://cdn.pyke.io/0/pyke:ort-rs/ms@1.22.1/x86_64-apple-darwin+train.tgz D742D152E63E6E6E23F08082B5D987C3199139F200CD62E2D8EB135DB9AA8A45
train aarch64-unknown-linux-gnu https://cdn.pyke.io/0/pyke:ort-rs/ms@1.22.1/aarch64-unknown-linux-gnu+train.tgz 6F73D46CACF4AFB675FEF8162F364F41C348747020A0025B632D3B767D1B7EA5
none aarch64-apple-darwin https://cdn.pyke.io/0/pyke:ort-rs/ms@1.22.1/aarch64-apple-darwin.tgz 47A4DCF38801D0F0F1AAA51C1B9D01971093E3D0DB35FE22ACB5D4C25D0481AB
train x86_64-unknown-linux-gnu https://cdn.pyke.io/0/pyke:ort-rs/ms@1.22.1/x86_64-unknown-linux-gnu+train.tgz E54857AE50704DFC7FB3D3CDDEB4CE961E04E0443ACBCF27C770AF031DC83374
none x86_64-apple-darwin https://cdn.pyke.io/0/pyke:ort-rs/ms@1.22.1/x86_64-apple-darwin.tgz 1492C57F52C6AF4A47ACD8711C7C0BF246821339C60C4516BE645BAB47530252
wgpu x86_64-unknown-linux-gnu https://cdn.pyke.io/0/pyke:ort-rs/ms@1.22.1/x86_64-unknown-linux-gnu+wgpu.tgz A29B4835B0EAEE93561630BECF6440BEC1C1D209D6FFC125FAE91646E29C157E
none x86_64-unknown-linux-gnu https://cdn.pyke.io/0/pyke:ort-rs/ms@1.22.1/x86_64-unknown-linux-gnu.tgz 6091157395630D55AC75F18068254ED76C53502D9EF6917F5C40AC4BEF9B9AF4
none aarch64-unknown-linux-gnu https://cdn.pyke.io/0/pyke:ort-rs/ms@1.22.1/aarch64-unknown-linux-gnu.tgz D9D83F10347F071CCCB47475F3D3E36065AD1989D1ACD7FC95DAD1111DBFD2F0
train aarch64-apple-darwin https://cdn.pyke.io/0/pyke:ort-rs/ms@1.22.1/aarch64-apple-darwin+train.tgz BE531C956D7976B0125EE181F434D979F22B03BEF41AD0C8F500A2564A5C9C06

View File

@@ -259,7 +259,7 @@ impl EnvironmentBuilder {
/// Typically, only Windows builds of ONNX Runtime provided by Microsoft will have telemetry enabled.
/// Pre-built binaries provided by pyke, or binaries compiled from source, won't have telemetry enabled.
///
/// The exact kind of telemetry data sent can be found [here](https://github.com/microsoft/onnxruntime/blob/v1.22.0/onnxruntime/core/platform/windows/telemetry.cc).
/// The exact kind of telemetry data sent can be found [here](https://github.com/microsoft/onnxruntime/blob/v1.22.1/onnxruntime/core/platform/windows/telemetry.cc).
/// Currently, this includes (but is not limited to): ONNX graph version, model producer name & version, whether or
/// not FP16 is used, operator domains & versions, model graph name & custom metadata, execution provider names,
/// error messages, and the total number & time of session inference runs. The ONNX Runtime team uses this data to

View File

@@ -425,7 +425,7 @@ impl MemoryInfo {
// All getter functions are (at least currently) infallible - they simply just dereference the corresponding fields,
// and always return `nullptr` for the status; so none of these have to return `Result`s.
// https://github.com/microsoft/onnxruntime/blob/v1.22.0/onnxruntime/core/framework/allocator.cc#L181
// https://github.com/microsoft/onnxruntime/blob/v1.22.1/onnxruntime/core/framework/allocator.cc#L181
/// Returns the [`MemoryType`] described by this struct.
/// ```