Skip to content

Commit 841fac1

Browse files
authored
Update openvino workflows (#30)
* chore(openvino): update installation script Signed-off-by: Xin Liu <[email protected]> * ci(openvino): update workflows Signed-off-by: Xin Liu <[email protected]> --------- Signed-off-by: Xin Liu <[email protected]>
1 parent 83bb521 commit 841fac1

File tree

3 files changed

+6
-11
lines changed

3 files changed

+6
-11
lines changed

.github/workflows/build_openvino_mobilenet.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,17 +41,14 @@ jobs:
4141
apt install -y libtbb2
4242
4343
- name: Install OpenVINO
44-
env:
45-
OPENVINO_VERSION: "2023.0.0"
46-
OPENVINO_YEAR: "2023"
4744
working-directory: scripts
4845
run: |
4946
bash install_openvino.sh
5047
5148
- name: Install WasmEdge with Wasi-NN OpenVINO plugin
5249
env:
5350
CMAKE_BUILD_TYPE: "Release"
54-
VERSION: "0.13.2"
51+
VERSION: "0.13.4"
5552
run: |
5653
ldconfig
5754
curl -sSf https://raw.githubusercontent.com/WasmEdge/WasmEdge/master/utils/install.sh | bash -s -- -v $VERSION -p /usr/local --plugins wasi_nn-openvino
@@ -66,7 +63,7 @@ jobs:
6663
cargo build --target wasm32-wasi --release
6764
cd ..
6865
wasmedge --dir .:. ./rust/target/wasm32-wasi/release/wasmedge-wasinn-example-mobilenet.wasm mobilenet.xml mobilenet.bin tensor-1x224x224x3-f32.bgr
69-
66+
7067
- name: Build and run openvino-mobilenet-image
7168
working-directory: openvino-mobilenet-image
7269
run: |
@@ -75,4 +72,4 @@ jobs:
7572
cd rust
7673
cargo build --target wasm32-wasi --release
7774
cd ..
78-
wasmedge --dir .:. ./rust/target/wasm32-wasi/release/wasmedge-wasinn-example-mobilenet-image.wasm mobilenet.xml mobilenet.bin input.jpg
75+
wasmedge --dir .:. ./rust/target/wasm32-wasi/release/wasmedge-wasinn-example-mobilenet-image.wasm mobilenet.xml mobilenet.bin input.jpg

.github/workflows/build_openvino_road_seg_adas.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,17 +40,14 @@ jobs:
4040
apt install -y libtbb2
4141
4242
- name: Install OpenVINO
43-
env:
44-
OPENVINO_VERSION: "2023.0.0"
45-
OPENVINO_YEAR: "2023"
4643
working-directory: scripts
4744
run: |
4845
bash install_openvino.sh
4946
5047
- name: Install WasmEdge with Wasi-NN OpenVINO plugin
5148
env:
5249
CMAKE_BUILD_TYPE: "Release"
53-
VERSION: "0.13.2"
50+
VERSION: "0.13.4"
5451
run: |
5552
ldconfig
5653
curl -sSf https://raw.githubusercontent.com/WasmEdge/WasmEdge/master/utils/install.sh | bash -s -- -v $VERSION -p /usr/local --plugins wasi_nn-openvino

scripts/install_openvino.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
#!/usr/bin/env bash
22
set -e
3-
echo "Installing OpenVINO with version 2023.0.0"
3+
echo "Installing OpenVINO with version 2023.0.2"
44
wget https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB
55
apt-key add GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB
66
echo "deb https://apt.repos.intel.com/openvino/2023 ubuntu20 main" | tee /etc/apt/sources.list.d/intel-openvino-2023.list
77
apt update
88
apt-get -y install openvino
99
ldconfig
10+
export PATH=/usr/lib/x86_64-linux-gnu:$PATH

0 commit comments

Comments
 (0)