From b2acf612eff7540ff023861ae49e09b8c50ed5d4 Mon Sep 17 00:00:00 2001 From: Rickvanderveen Date: Thu, 1 May 2025 11:41:08 +0200 Subject: [PATCH 1/5] update openvino-rs dependency --- Cargo.lock | 9 +++------ Cargo.toml | 4 +++- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index bb3dcfc..f2419ac 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -513,8 +513,7 @@ checksum = "b410bbe7e14ab526a0e86877eb47c6996a2bd7746f027ba551028c925390e4e9" [[package]] name = "openvino" version = "0.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f03a664ab0b6917131f5c1a787795fa4d19ad6a334caf9c96284453abdf23fd" +source = "git+https://github.com/Rickvanderveen/openvino-rs.git?rev=b590f0fe2467c52b74ef4e9a636ba79b9e6a693f#b590f0fe2467c52b74ef4e9a636ba79b9e6a693f" dependencies = [ "openvino-finder", "openvino-sys", @@ -523,8 +522,7 @@ dependencies = [ [[package]] name = "openvino-finder" version = "0.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "34d6bbb3e00d9ad3cd60bca1341665a9cfb2b6764df37c58d921627368ae32fc" +source = "git+https://github.com/Rickvanderveen/openvino-rs.git?rev=b590f0fe2467c52b74ef4e9a636ba79b9e6a693f#b590f0fe2467c52b74ef4e9a636ba79b9e6a693f" dependencies = [ "cfg-if", "log", @@ -533,8 +531,7 @@ dependencies = [ [[package]] name = "openvino-sys" version = "0.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "04315994236727c3573f7e8d8bf857e93ff373ee2e063f08aa78aceac58e3bc5" +source = "git+https://github.com/Rickvanderveen/openvino-rs.git?rev=b590f0fe2467c52b74ef4e9a636ba79b9e6a693f#b590f0fe2467c52b74ef4e9a636ba79b9e6a693f" dependencies = [ "env_logger", "libloading", diff --git a/Cargo.toml b/Cargo.toml index 16f63a8..5c4baf3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -21,4 +21,6 @@ pedantic = { level = "warn", priority = -1 } clap = { version = "4.5.26", features = ["derive"] } criterion = "0.5.1" miette = { version = "7.2.0", features = ["fancy"] } -openvino = { version = "0.8", features = ["runtime-linking"] } +# openvino = { version = "0.8", features = ["runtime-linking"] } +openvino = { git = "https://github.com/Rickvanderveen/openvino-rs.git", rev = "b590f0fe2467c52b74ef4e9a636ba79b9e6a693f", features = ["runtime-linking"] } + From dc9ce1cd944c2dc9cc5689e6f171997185fc63e5 Mon Sep 17 00:00:00 2001 From: Rickvanderveen Date: Thu, 1 May 2025 11:43:53 +0200 Subject: [PATCH 2/5] Increment version --- Cargo.lock | 2 +- Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index f2419ac..5b207b0 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -472,7 +472,7 @@ dependencies = [ [[package]] name = "ml-bench" -version = "0.2.0" +version = "0.3.0" dependencies = [ "clap", "criterion", diff --git a/Cargo.toml b/Cargo.toml index 5c4baf3..0015ac4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ml-bench" -version = "0.2.0" +version = "0.3.0" edition = "2021" authors = ["Gijs de Jong "] description = "A tool for benchmarking inference time of onnx models using the OpenVINO runtime." From 899adf5d37cdd0699a408451f76e57b623b659f4 Mon Sep 17 00:00:00 2001 From: Rickvanderveen Date: Thu, 1 May 2025 11:46:50 +0200 Subject: [PATCH 3/5] Remove comment --- Cargo.toml | 1 - 1 file changed, 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 0015ac4..ae45425 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -21,6 +21,5 @@ pedantic = { level = "warn", priority = -1 } clap = { version = "4.5.26", features = ["derive"] } criterion = "0.5.1" miette = { version = "7.2.0", features = ["fancy"] } -# openvino = { version = "0.8", features = ["runtime-linking"] } openvino = { git = "https://github.com/Rickvanderveen/openvino-rs.git", rev = "b590f0fe2467c52b74ef4e9a636ba79b9e6a693f", features = ["runtime-linking"] } From c844f81759cfb6308b611108abe3dbd93fd6944a Mon Sep 17 00:00:00 2001 From: Rickvanderveen Date: Thu, 1 May 2025 12:00:41 +0200 Subject: [PATCH 4/5] format Cargo.toml --- Cargo.toml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index ae45425..05ffda8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -21,5 +21,6 @@ pedantic = { level = "warn", priority = -1 } clap = { version = "4.5.26", features = ["derive"] } criterion = "0.5.1" miette = { version = "7.2.0", features = ["fancy"] } -openvino = { git = "https://github.com/Rickvanderveen/openvino-rs.git", rev = "b590f0fe2467c52b74ef4e9a636ba79b9e6a693f", features = ["runtime-linking"] } - +openvino = { git = "https://github.com/Rickvanderveen/openvino-rs.git", rev = "b590f0fe2467c52b74ef4e9a636ba79b9e6a693f", features = [ + "runtime-linking", +] } From 427cbe5c65dc8c3afe6fa743cf0936d68db97aec Mon Sep 17 00:00:00 2001 From: Rickvanderveen Date: Thu, 1 May 2025 12:28:22 +0200 Subject: [PATCH 5/5] Use new `openvino-rs` commit (where the version is incremented) --- Cargo.lock | 12 ++++++------ Cargo.toml | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 5b207b0..b22df0b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -512,8 +512,8 @@ checksum = "b410bbe7e14ab526a0e86877eb47c6996a2bd7746f027ba551028c925390e4e9" [[package]] name = "openvino" -version = "0.8.0" -source = "git+https://github.com/Rickvanderveen/openvino-rs.git?rev=b590f0fe2467c52b74ef4e9a636ba79b9e6a693f#b590f0fe2467c52b74ef4e9a636ba79b9e6a693f" +version = "0.9.0" +source = "git+https://github.com/Rickvanderveen/openvino-rs.git?rev=eef188a4f0fd52020bfe95822ead35f37ee4efaf#eef188a4f0fd52020bfe95822ead35f37ee4efaf" dependencies = [ "openvino-finder", "openvino-sys", @@ -521,8 +521,8 @@ dependencies = [ [[package]] name = "openvino-finder" -version = "0.8.0" -source = "git+https://github.com/Rickvanderveen/openvino-rs.git?rev=b590f0fe2467c52b74ef4e9a636ba79b9e6a693f#b590f0fe2467c52b74ef4e9a636ba79b9e6a693f" +version = "0.9.0" +source = "git+https://github.com/Rickvanderveen/openvino-rs.git?rev=eef188a4f0fd52020bfe95822ead35f37ee4efaf#eef188a4f0fd52020bfe95822ead35f37ee4efaf" dependencies = [ "cfg-if", "log", @@ -530,8 +530,8 @@ dependencies = [ [[package]] name = "openvino-sys" -version = "0.8.0" -source = "git+https://github.com/Rickvanderveen/openvino-rs.git?rev=b590f0fe2467c52b74ef4e9a636ba79b9e6a693f#b590f0fe2467c52b74ef4e9a636ba79b9e6a693f" +version = "0.9.0" +source = "git+https://github.com/Rickvanderveen/openvino-rs.git?rev=eef188a4f0fd52020bfe95822ead35f37ee4efaf#eef188a4f0fd52020bfe95822ead35f37ee4efaf" dependencies = [ "env_logger", "libloading", diff --git a/Cargo.toml b/Cargo.toml index 05ffda8..d543e0f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -21,6 +21,6 @@ pedantic = { level = "warn", priority = -1 } clap = { version = "4.5.26", features = ["derive"] } criterion = "0.5.1" miette = { version = "7.2.0", features = ["fancy"] } -openvino = { git = "https://github.com/Rickvanderveen/openvino-rs.git", rev = "b590f0fe2467c52b74ef4e9a636ba79b9e6a693f", features = [ +openvino = { git = "https://github.com/Rickvanderveen/openvino-rs.git", rev = "eef188a4f0fd52020bfe95822ead35f37ee4efaf", features = [ "runtime-linking", ] }