Skip to content

A lightweight WebAssembly runtime that is fast, secure, and standards-compliant

[wasi-nn] Update openvino-rs (#13892)

Rahulb42bccdcfe84
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 517b8950d4..177590ded9 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -1030,7 +1030,7 @@ jobs:
- uses: ./.github/actions/install-rust
# Install OpenVINO
- - uses: abrown/install-openvino-action@v10
+ - uses: abrown/install-openvino-action@v12
if: runner.arch == 'X64'
# Install WinML for testing wasi-nn WinML backend. WinML is only available
diff --git a/Cargo.lock b/Cargo.lock
index 72aafd5706..4d6b455b20 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -2732,9 +2732,9 @@ dependencies = [
[[package]]
name = "openvino"
-version = "0.9.0"
+version = "0.11.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3308ec088481c27b5b521598ced2d5d5f67253d9639f5a3cce5a2ea4c4062a94"
+checksum = "118567863ab1a45b3e9b2df6ebf988dd6164752ef5099160a412f754b95b75a7"
dependencies = [
"openvino-finder",
"openvino-sys",
@@ -2742,9 +2742,9 @@ dependencies = [
[[package]]
name = "openvino-finder"
-version = "0.9.0"
+version = "0.11.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "bba5393f3522f98d9c4703a6a73afc7feff2bf9cc00a0722957b54c44ecda5fe"
+checksum = "a527e1414732f5bcad520b9febf29fd92ef4bba100588b4591cba8370ab6cbda"
dependencies = [
"cfg-if",
"log",
@@ -2752,9 +2752,9 @@ dependencies = [
[[package]]
name = "openvino-sys"
-version = "0.9.0"
+version = "0.11.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "da7d035914ff5c8e12d7e05982929fb275e6f06eafcbe529f316001760b08786"
+checksum = "637459f74d22a7bb772af9d3a5df61c88608d8daaa6fefe950849c7aabf891c3"
dependencies = [
"env_logger 0.11.5",
"libloading",
diff --git a/crates/wasi-nn/Cargo.toml b/crates/wasi-nn/Cargo.toml
index 17b397dc7c..e787a5f00a 100644
--- a/crates/wasi-nn/Cargo.toml
+++ b/crates/wasi-nn/Cargo.toml
@@ -36,7 +36,7 @@ ort = { version = "2.0.0-rc.10", default-features = false, features = [
tch = { version = "0.17.0", default-features = false, optional = true}
[target.'cfg(target_pointer_width = "64")'.dependencies]
-openvino = { version = "0.9.0", features = [
+openvino = { version = "0.11.0", features = [
"runtime-linking",
], optional = true }
diff --git a/supply-chain/audits.toml b/supply-chain/audits.toml
index 262c0b9a51..f4f513c857 100644
--- a/supply-chain/audits.toml
+++ b/supply-chain/audits.toml
@@ -4159,6 +4159,12 @@ who = "Andrew Brown <[email protected]>"
criteria = "safe-to-deploy"
delta = "0.8.0 -> 0.9.0"
+[[audits.openvino]]
+who = "Alex Crichton <[email protected]>"
+criteria = "safe-to-deploy"
+delta = "0.9.0 -> 0.11.0"
+notes = "Unsafe bindings, but comes with the territory. Nothing awry."
+
[[audits.openvino-finder]]
who = "Matthew Tamayo-Rios <[email protected]>"
criteria = "safe-to-deploy"
@@ -4193,6 +4199,12 @@ who = "Andrew Brown <[email protected]>"
criteria = "safe-to-deploy"
delta = "0.8.0 -> 0.9.0"
+[[audits.openvino-finder]]
+who = "Alex Crichton <[email protected]>"
+criteria = "safe-to-deploy"
+delta = "0.9.0 -> 0.11.0"
+notes = "Just some paths changing here, nothing major"
+
[[audits.openvino-sys]]
who = "Matthew Tamayo-Rios <[email protected]>"
criteria = "safe-to-deploy"
@@ -4227,6 +4239,12 @@ who = "Andrew Brown <[email protected]>"
criteria = "safe-to-deploy"
delta = "0.8.0 -> 0.9.0"
+[[audits.openvino-sys]]
+who = "Alex Crichton <[email protected]>"
+criteria = "safe-to-deploy"
+delta = "0.9.0 -> 0.11.0"
+notes = "Nothing unexpected for a sys crate update"
+
[[audits.ort]]
who = "Andrew Brown <[email protected]>"
criteria = "safe-to-deploy"