Skip to content

Commit 9bf4bdc

Browse files
authored
Updating docs for OpenVino (version 2023.0.0) (#139)
* Updated openvino docs Signed-off-by: Divyanshu GUpta <divyanshugupta585@gmail.com> * Updated openvino docs Signed-off-by: Divyanshu GUpta <divyanshugupta585@gmail.com> * Updated openvino docs Signed-off-by: Divyanshu GUpta <divyanshugupta585@gmail.com> --------- Signed-off-by: Divyanshu GUpta <divyanshugupta585@gmail.com>
1 parent 6adcdfb commit 9bf4bdc

File tree

4 files changed

+20
-28
lines changed

4 files changed

+20
-28
lines changed

docs/contribute/source/plugin/wasi_nn.md

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ sidebar_position: 2
66

77
## Prerequisites
88

9-
Currently, WasmEdge used OpenVINO™ or PyTorch as the WASI-NN backend implementation. For using WASI-NN on WasmEdge, you need to install [OpenVINO™](https://docs.openvino.ai/2021.4/openvino_docs_install_guides_installing_openvino_linux.html#)(2021) or [PyTorch 1.8.2 LTS](https://pytorch.org/get-started/locally/) for the backend.
9+
Currently, WasmEdge used OpenVINO™ or PyTorch as the WASI-NN backend implementation. For using WASI-NN on WasmEdge, you need to install [OpenVINO™](https://docs.openvino.ai/2023.0/openvino_docs_install_guides_installing_openvino_apt.html)(2023) or [PyTorch 1.8.2 LTS](https://pytorch.org/get-started/locally/) for the backend.
1010

1111
By default, we don't enable any WASI-NN backend in WasmEdge. Therefore developers should [build the WasmEdge from source](../os/linux.md) with the cmake option `WASMEDGE_PLUGIN_WASI_NN_BACKEND` to enable the backends.
1212

@@ -15,13 +15,11 @@ By default, we don't enable any WASI-NN backend in WasmEdge. Therefore developer
1515
For choosing and installing OpenVINO™ on `Ubuntu 20.04` for the backend, we recommend the following commands:
1616

1717
```bash
18-
export OPENVINO_VERSION="2021.4.582"
19-
export OPENVINO_YEAR="2021"
20-
curl -sSL https://apt.repos.intel.com/openvino/$OPENVINO_YEAR/GPG-PUB-KEY-INTEL-OPENVINO-$OPENVINO_YEAR | sudo gpg --dearmor > /usr/share/keyrings/GPG-PUB-KEY-INTEL-OPENVINO-$OPENVINO_YEAR.gpg
21-
echo "deb [signed-by=/usr/share/keyrings/GPG-PUB-KEY-INTEL-OPENVINO-$OPENVINO_YEAR.gpg] https://apt.repos.intel.com/openvino/$OPENVINO_YEAR all main" | sudo tee /etc/apt/sources.list.d/intel-openvino-$OPENVINO_YEAR.list
18+
wget https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB
19+
sudo apt-key add GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB
20+
echo "deb https://apt.repos.intel.com/openvino/2023 ubuntu20 main" | sudo tee /etc/apt/sources.list.d/intel-openvino-2023.list
2221
sudo apt update
23-
sudo apt install -y intel-openvino-runtime-ubuntu20-$OPENVINO_VERSION
24-
source /opt/intel/openvino_2021/bin/setupvars.sh
22+
sudo apt-get -y install openvino
2523
ldconfig
2624
```
2725

docs/start/install.md

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -181,16 +181,14 @@ Then, go to the [WASI-NN PyTorch backend in Rust chapter](../develop/rust/wasinn
181181

182182
`WASI-NN` plug-in with `OpenVINO™` backend allows WasmEdge applications to perform `OpenVINO™` model inference. To install WasmEdge with `WASI-NN OpenVINO™ backend` plug-in on Linux, please use the `--plugins wasi_nn-openvino` parameter when [running the installer command](#generic-linux-and-macos).
183183

184-
The `WASI-NN` plug-in with `OpenVINO™` backend depends on the `OpenVINO™` C library to perform AI/ML computations. [OpenVINO™](https://docs.openvino.ai/2021.4/openvino_docs_install_guides_installing_openvino_linux.html#)(2021) dependencies. The following instructions are for Ubuntu 20.04 and above.
184+
The `WASI-NN` plug-in with `OpenVINO™` backend depends on the `OpenVINO™` C library to perform AI/ML computations. [OpenVINO™](https://docs.openvino.ai/2023.0/openvino_docs_install_guides_installing_openvino_apt.html)(2023) dependencies. The following instructions are for Ubuntu 20.04 and above.
185185

186186
```bash
187-
export OPENVINO_VERSION="2021.4.582"
188-
export OPENVINO_YEAR="2021"
189-
curl -sSL https://apt.repos.intel.com/openvino/$OPENVINO_YEAR/GPG-PUB-KEY-INTEL-OPENVINO-$OPENVINO_YEAR | sudo gpg --dearmor > /usr/share/keyrings/GPG-PUB-KEY-INTEL-OPENVINO-$OPENVINO_YEAR.gpg
190-
echo "deb [signed-by=/usr/share/keyrings/GPG-PUB-KEY-INTEL-OPENVINO-$OPENVINO_YEAR.gpg] https://apt.repos.intel.com/openvino/$OPENVINO_YEAR all main" | sudo tee /etc/apt/sources.list.d/intel-openvino-$OPENVINO_YEAR.list
187+
wget https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB
188+
sudo apt-key add GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB
189+
echo "deb https://apt.repos.intel.com/openvino/2023 ubuntu20 main" | sudo tee /etc/apt/sources.list.d/intel-openvino-2023.list
191190
sudo apt update
192-
sudo apt install -y intel-openvino-runtime-ubuntu20-$OPENVINO_VERSION
193-
source /opt/intel/openvino_2021/bin/setupvars.sh
191+
sudo apt-get -y install openvino
194192
ldconfig
195193
```
196194

i18n/zh/docusaurus-plugin-content-docs/current/contribute/source/plugin/wasi_nn.md

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ sidebar_position: 2
66

77
## Prerequisites
88

9-
Currently, WasmEdge used OpenVINO™ or PyTorch as the WASI-NN backend implementation. For using WASI-NN on WasmEdge, you need to install [OpenVINO™](https://docs.openvino.ai/2021.4/openvino_docs_install_guides_installing_openvino_linux.html#)(2021) or [PyTorch 1.8.2 LTS](https://pytorch.org/get-started/locally/) for the backend.
9+
Currently, WasmEdge used OpenVINO™ or PyTorch as the WASI-NN backend implementation. For using WASI-NN on WasmEdge, you need to install [OpenVINO™](https://docs.openvino.ai/2023.0/openvino_docs_install_guides_installing_openvino_apt.html)(2023) or [PyTorch 1.8.2 LTS](https://pytorch.org/get-started/locally/) for the backend.
1010

1111
By default, we don't enable any WASI-NN backend in WasmEdge. Therefore developers should [build the WasmEdge from source](../os/linux.md) with the cmake option `WASMEDGE_PLUGIN_WASI_NN_BACKEND` to enable the backends.
1212

@@ -15,13 +15,11 @@ By default, we don't enable any WASI-NN backend in WasmEdge. Therefore developer
1515
For choosing and installing OpenVINO™ on `Ubuntu 20.04` for the backend, we recommend the following commands:
1616

1717
```bash
18-
export OPENVINO_VERSION="2021.4.582"
19-
export OPENVINO_YEAR="2021"
20-
curl -sSL https://apt.repos.intel.com/openvino/$OPENVINO_YEAR/GPG-PUB-KEY-INTEL-OPENVINO-$OPENVINO_YEAR | sudo gpg --dearmor > /usr/share/keyrings/GPG-PUB-KEY-INTEL-OPENVINO-$OPENVINO_YEAR.gpg
21-
echo "deb [signed-by=/usr/share/keyrings/GPG-PUB-KEY-INTEL-OPENVINO-$OPENVINO_YEAR.gpg] https://apt.repos.intel.com/openvino/$OPENVINO_YEAR all main" | sudo tee /etc/apt/sources.list.d/intel-openvino-$OPENVINO_YEAR.list
18+
wget https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB
19+
sudo apt-key add GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB
20+
echo "deb https://apt.repos.intel.com/openvino/2023 ubuntu20 main" | sudo tee /etc/apt/sources.list.d/intel-openvino-2023.list
2221
sudo apt update
23-
sudo apt install -y intel-openvino-runtime-ubuntu20-$OPENVINO_VERSION
24-
source /opt/intel/openvino_2021/bin/setupvars.sh
22+
sudo apt-get -y install openvino
2523
ldconfig
2624
```
2725

i18n/zh/docusaurus-plugin-content-docs/current/start/install.md

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -181,16 +181,14 @@ Then, go to the [WASI-NN PyTorch backend in Rust chapter](../develop/rust/wasinn
181181

182182
`WASI-NN` plug-in with `OpenVINO™` backend allows WasmEdge applications to perform `OpenVINO™` model inference. To install WasmEdge with `WASI-NN OpenVINO™ backend` plug-in on Linux, please use the `--plugins wasi_nn-openvino` parameter when [running the installer command](#generic-linux-and-macos).
183183

184-
The `WASI-NN` plug-in with `OpenVINO™` backend depends on the `OpenVINO™` C library to perform AI/ML computations. [OpenVINO™](https://docs.openvino.ai/2021.4/openvino_docs_install_guides_installing_openvino_linux.html#)(2021) dependencies. The following instructions are for Ubuntu 20.04 and above.
184+
The `WASI-NN` plug-in with `OpenVINO™` backend depends on the `OpenVINO™` C library to perform AI/ML computations. [OpenVINO™](https://docs.openvino.ai/2023.0/openvino_docs_install_guides_installing_openvino_apt.html)(2023) dependencies. The following instructions are for Ubuntu 20.04 and above.
185185

186186
```bash
187-
export OPENVINO_VERSION="2021.4.582"
188-
export OPENVINO_YEAR="2021"
189-
curl -sSL https://apt.repos.intel.com/openvino/$OPENVINO_YEAR/GPG-PUB-KEY-INTEL-OPENVINO-$OPENVINO_YEAR | sudo gpg --dearmor > /usr/share/keyrings/GPG-PUB-KEY-INTEL-OPENVINO-$OPENVINO_YEAR.gpg
190-
echo "deb [signed-by=/usr/share/keyrings/GPG-PUB-KEY-INTEL-OPENVINO-$OPENVINO_YEAR.gpg] https://apt.repos.intel.com/openvino/$OPENVINO_YEAR all main" | sudo tee /etc/apt/sources.list.d/intel-openvino-$OPENVINO_YEAR.list
187+
wget https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB
188+
sudo apt-key add GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB
189+
echo "deb https://apt.repos.intel.com/openvino/2023 ubuntu20 main" | sudo tee /etc/apt/sources.list.d/intel-openvino-2023.list
191190
sudo apt update
192-
sudo apt install -y intel-openvino-runtime-ubuntu20-$OPENVINO_VERSION
193-
source /opt/intel/openvino_2021/bin/setupvars.sh
191+
sudo apt-get -y install openvino
194192
ldconfig
195193
```
196194

0 commit comments

Comments
 (0)