Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 3 additions & 6 deletions .github/workflows/build_openvino_mobilenet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,17 +41,14 @@ jobs:
apt install -y libtbb2

- name: Install OpenVINO
env:
OPENVINO_VERSION: "2023.0.0"
OPENVINO_YEAR: "2023"
working-directory: scripts
run: |
bash install_openvino.sh

- name: Install WasmEdge with Wasi-NN OpenVINO plugin
env:
CMAKE_BUILD_TYPE: "Release"
VERSION: "0.13.2"
VERSION: "0.13.4"
run: |
ldconfig
curl -sSf https://raw.githubusercontent.com/WasmEdge/WasmEdge/master/utils/install.sh | bash -s -- -v $VERSION -p /usr/local --plugins wasi_nn-openvino
Expand All @@ -66,7 +63,7 @@ jobs:
cargo build --target wasm32-wasi --release
cd ..
wasmedge --dir .:. ./rust/target/wasm32-wasi/release/wasmedge-wasinn-example-mobilenet.wasm mobilenet.xml mobilenet.bin tensor-1x224x224x3-f32.bgr

- name: Build and run openvino-mobilenet-image
working-directory: openvino-mobilenet-image
run: |
Expand All @@ -75,4 +72,4 @@ jobs:
cd rust
cargo build --target wasm32-wasi --release
cd ..
wasmedge --dir .:. ./rust/target/wasm32-wasi/release/wasmedge-wasinn-example-mobilenet-image.wasm mobilenet.xml mobilenet.bin input.jpg
wasmedge --dir .:. ./rust/target/wasm32-wasi/release/wasmedge-wasinn-example-mobilenet-image.wasm mobilenet.xml mobilenet.bin input.jpg
5 changes: 1 addition & 4 deletions .github/workflows/build_openvino_road_seg_adas.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,17 +40,14 @@ jobs:
apt install -y libtbb2

- name: Install OpenVINO
env:
OPENVINO_VERSION: "2023.0.0"
OPENVINO_YEAR: "2023"
working-directory: scripts
run: |
bash install_openvino.sh

- name: Install WasmEdge with Wasi-NN OpenVINO plugin
env:
CMAKE_BUILD_TYPE: "Release"
VERSION: "0.13.2"
VERSION: "0.13.4"
run: |
ldconfig
curl -sSf https://raw.githubusercontent.com/WasmEdge/WasmEdge/master/utils/install.sh | bash -s -- -v $VERSION -p /usr/local --plugins wasi_nn-openvino
Expand Down
3 changes: 2 additions & 1 deletion scripts/install_openvino.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
#!/usr/bin/env bash
set -e
echo "Installing OpenVINO with version 2023.0.0"
echo "Installing OpenVINO with version 2023.0.2"
wget https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB
apt-key add GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB
echo "deb https://apt.repos.intel.com/openvino/2023 ubuntu20 main" | tee /etc/apt/sources.list.d/intel-openvino-2023.list
apt update
apt-get -y install openvino
ldconfig
export PATH=/usr/lib/x86_64-linux-gnu:$PATH