Skip to content

Commit ef7a296

Browse files
authored
wasi-nn: update OpenVINO to v2025.1 (#11054)
* wasi-nn: update OpenVINO to v2025.1 This updates the version of the bindings used for communicating with OpenVINO to v0.9.0 as well as the GitHub action used to install the latest version of OpenVINO (v2025.1.0) in CI. * deny: remove skipped `wit-bindgen` This avoids an `unmatched-skip-root` warning emitted by `cargo-deny`: "skip tree root was not found in the dependency graph." * deny: ignore `file-per-thread-logger` This crate has not been updated in a while and thus imports some older dependencies, causing duplicates that `cargo-deny` flags. * vet: certify update of `openvino-*` crates prtest:full
1 parent c5fd5bb commit ef7a296

5 files changed

Lines changed: 25 additions & 20 deletions

File tree

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -794,7 +794,7 @@ jobs:
794794
- uses: ./.github/actions/install-rust
795795

796796
# Install OpenVINO
797-
- uses: abrown/install-openvino-action@v9
797+
- uses: abrown/install-openvino-action@v10
798798
if: runner.arch == 'X64'
799799

800800
# Install WinML for testing wasi-nn WinML backend. WinML is only available

Cargo.lock

Lines changed: 6 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/wasi-nn/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ ort = { version = "2.0.0-rc.2", default-features = false, features = [
3838
tch = { version = "0.17.0", default-features = false, optional = true}
3939

4040
[target.'cfg(target_pointer_width = "64")'.dependencies]
41-
openvino = { version = "0.8.0", features = [
41+
openvino = { version = "0.9.0", features = [
4242
"runtime-linking",
4343
], optional = true }
4444

deny.toml

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,6 @@ wildcards = "allow"
3737
deny = []
3838

3939
skip-tree = [
40-
# wit-bindgen and wasmtime both depend on the wasm-tools crates, and
41-
# wit-bindgen's latest release may sometimes lag behind when we bump
42-
# wasmtime's dependencies on wasm-tools. wit-bindgen is only used for
43-
# building component-based test programs, so we are going to ignore
44-
# the multiple-versions errors it will introduce.
45-
{ name = "wit-bindgen", depth = 20 },
46-
4740
# proptest depends on bitflags 1.x.x while other crates depend on 2.x.x so
4841
# ignore its dependency tree until it updates.
4942
{ name = "proptest", depth = 20 },
@@ -52,10 +45,6 @@ skip-tree = [
5245
# dependencies relative to Wasmtime's main dependency tree.
5346
{ name = "witx", depth = 20 },
5447

55-
# The openvino-sys crate uses an older version of `pretty_env_logger` so
56-
# ignore its dependency tree for now until it updates.
57-
{ name = "openvino-sys", depth = 20 },
58-
5948
# They want to publish version 2.0 to upgrade `hashbrown` so in the meantime
6049
# it is duplicated for us.
6150
{ name = "indexmap", depth = 2 },
@@ -65,4 +54,6 @@ skip-tree = [
6554

6655
# right now terminal_size pulls in an older version of io-lifetimes
6756
{ name = "io-lifetimes" },
57+
58+
{ name = "file-per-thread-logger", reason = "this uses an old version of env-logger; may be unmaintained?" }
6859
]

supply-chain/audits.toml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2695,6 +2695,11 @@ criteria = "safe-to-deploy"
26952695
delta = "0.7.2 -> 0.8.0"
26962696
notes = "No new unsafe functionality, just brings in openvino-sys changes and other minor improvements."
26972697

2698+
[[audits.openvino]]
2699+
who = "Andrew Brown <andrew.brown@intel.com>"
2700+
criteria = "safe-to-deploy"
2701+
delta = "0.8.0 -> 0.9.0"
2702+
26982703
[[audits.openvino-finder]]
26992704
who = "Matthew Tamayo-Rios <matthew@geekbeast.com>"
27002705
criteria = "safe-to-deploy"
@@ -2724,6 +2729,11 @@ criteria = "safe-to-deploy"
27242729
delta = "0.7.2 -> 0.8.0"
27252730
notes = "No logic changes in version bump."
27262731

2732+
[[audits.openvino-finder]]
2733+
who = "Andrew Brown <andrew.brown@intel.com>"
2734+
criteria = "safe-to-deploy"
2735+
delta = "0.8.0 -> 0.9.0"
2736+
27272737
[[audits.openvino-sys]]
27282738
who = "Matthew Tamayo-Rios <matthew@geekbeast.com>"
27292739
criteria = "safe-to-deploy"
@@ -2753,6 +2763,11 @@ criteria = "safe-to-deploy"
27532763
delta = "0.7.2 -> 0.8.0"
27542764
notes = "This diff simply re-generates slightly newer C headers with a slightly newer version of bindgen."
27552765

2766+
[[audits.openvino-sys]]
2767+
who = "Andrew Brown <andrew.brown@intel.com>"
2768+
criteria = "safe-to-deploy"
2769+
delta = "0.8.0 -> 0.9.0"
2770+
27562771
[[audits.ort]]
27572772
who = "Andrew Brown <andrew.brown@intel.com>"
27582773
criteria = "safe-to-deploy"

0 commit comments

Comments
 (0)