Skip to content

Commit 033e35f

Browse files
authored
Fix the installation description error. (#132)
Signed-off-by: YiYing He <[email protected]>
1 parent 7bd9080 commit 033e35f

File tree

2 files changed

+12
-12
lines changed
  • docs/develop/build-and-run
  • i18n/zh/docusaurus-plugin-content-docs/current/develop/build-and-run

2 files changed

+12
-12
lines changed

docs/develop/build-and-run/install.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -56,17 +56,17 @@ WasmEdge plugins are pre-build native modules that provide additional functional
5656
curl -sSf https://raw.githubusercontent.com/WasmEdge/WasmEdge/master/utils/install.sh | bash -s -- --plugins wasi_nn-tensorflowlite
5757
```
5858

59-
To install multiple plugins, you can pass a list of plugins seperated by commas. For example, the following command installs both the HTTPS request and Tensorflow Lite plugins.
59+
To install multiple plugins, you can pass a list of plugins with the `--plugins` option. For example, the following command installs both the `wasi-nn TensorFlow-Lite backend` and the `wasmedge_tensorflow` plugins.
6060

6161
```bash
62-
curl -sSf https://raw.githubusercontent.com/WasmEdge/WasmEdge/master/utils/install.sh | bash -s -- --plugins wasi_nn-tensorflowlite,wasmedge_tensorflow
62+
curl -sSf https://raw.githubusercontent.com/WasmEdge/WasmEdge/master/utils/install.sh | bash -s -- --plugins wasi_nn-tensorflowlite wasmedge_tensorflow
6363
```
6464

6565
The installer downloads the plugin files from the WasmEdge release on GitHub, unzips them, and then copies them over to the `~/.wasmedge/plugin/` folder (for user install) and to the `/usr/local/lib/wasmedge/` folder (for system install).
6666

6767
<!-- prettier-ignore -->
6868
:::note
69-
AI plugins for WasmEdge, such as the Tensorflow Lite or PyTorch plugins, have additional dependencies on the Tensorflow or PyTorch runtime libraries. See the next section for commands to install plugin dependencies.
69+
AI plugins for WasmEdge, such as the OpenVINO or PyTorch plugins, have additional dependencies on the OpenVINO or PyTorch runtime libraries. See the next section for commands to install plugin dependencies.
7070
:::
7171

7272
To see a list of supported plugins and their specific install commands, [see the next section](#install-wasmedge-plugins-and-dependencies).
@@ -91,7 +91,7 @@ dnf install wasmedge
9191

9292
For more usages, please check out Fedora docs.
9393

94-
To install plugins, you can download plugin binary modules from the WasmEdge release page, unzip them, and then copy them over to `/usr/local/lib\wasmedge\`.
94+
To install plugins, you can download plugin binary modules from the WasmEdge release page, unzip them, and then copy them over to `/usr/local/lib/wasmedge/`.
9595

9696
## What's installed
9797

@@ -218,15 +218,15 @@ Then, go to [TensorFlow-lite in Rust chapter](../rust/ai_inference/tensorflow_li
218218

219219
### WASI-NN plugin with OpenVINO™ backend
220220

221-
WASI-NN plugin for OpenVINO allows WasmEdge applications to perform OpenVINO model inference. To use OpenVINO, the WasmEdge version should be at least `0.10.1`. To install WasmEdge with OpenVINO plugin on Linux, run the following installer command.
221+
WASI-NN plugin for OpenVINO allows WasmEdge applications to perform OpenVINO model inference. To use it, the WasmEdge version should be at least `0.10.1`. To install WasmEdge with the WASI-NN OpenVINO backend plugin on Linux, run the following installer command.
222222

223223
```bash
224224
curl -sSf https://raw.githubusercontent.com/WasmEdge/WasmEdge/master/utils/install.sh | bash -s -- --plugins wasi_nn-openvino
225225
```
226226

227227
Run `source $HOME/.wasmedge/env` to make the installed binary available in the current session.
228228

229-
Now, the WasmEdge OpenVINO plugin depends on the OpenVINO C library to perform AI/ML computations. You need to install the [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.
229+
Now, the WASI-NN OpenVINO backend plugin depends on the OpenVINO C library to perform AI/ML computations. You need to install the [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.
230230

231231
```bash
232232
export OPENVINO_VERSION="2021.4.582"

i18n/zh/docusaurus-plugin-content-docs/current/develop/build-and-run/install.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -56,17 +56,17 @@ WasmEdge plugins are pre-build native modules that provide additional functional
5656
curl -sSf https://raw.githubusercontent.com/WasmEdge/WasmEdge/master/utils/install.sh | bash -s -- --plugins wasi_nn-tensorflowlite
5757
```
5858

59-
To install multiple plugins, you can pass a list of plugins seperated by commas. For example, the following command installs both the HTTPS request and Tensorflow Lite plugins.
59+
To install multiple plugins, you can pass a list of plugins with the `--plugins` option. For example, the following command installs both the `wasi-nn TensorFlow-Lite backend` and the `wasmedge_tensorflow` plugins.
6060

6161
```bash
62-
curl -sSf https://raw.githubusercontent.com/WasmEdge/WasmEdge/master/utils/install.sh | bash -s -- --plugins wasi_nn-tensorflowlite,wasmedge_tensorflow
62+
curl -sSf https://raw.githubusercontent.com/WasmEdge/WasmEdge/master/utils/install.sh | bash -s -- --plugins wasi_nn-tensorflowlite wasmedge_tensorflow
6363
```
6464

6565
The installer downloads the plugin files from the WasmEdge release on GitHub, unzips them, and then copies them over to the `~/.wasmedge/plugin/` folder (for user install) and to the `/usr/local/lib/wasmedge/` folder (for system install).
6666

6767
<!-- prettier-ignore -->
6868
:::note
69-
AI plugins for WasmEdge, such as the Tensorflow Lite or PyTorch plugins, have additional dependencies on the Tensorflow or PyTorch runtime libraries. See the next section for commands to install plugin dependencies.
69+
AI plugins for WasmEdge, such as the OpenVINO or PyTorch plugins, have additional dependencies on the OpenVINO or PyTorch runtime libraries. See the next section for commands to install plugin dependencies.
7070
:::
7171

7272
To see a list of supported plugins and their specific install commands, [see the next section](#install-wasmedge-plugins-and-dependencies).
@@ -91,7 +91,7 @@ dnf install wasmedge
9191

9292
For more usages, please check out Fedora docs.
9393

94-
To install plugins, you can download plugin binary modules from the WasmEdge release page, unzip them, and then copy them over to `/usr/local/lib\wasmedge\`.
94+
To install plugins, you can download plugin binary modules from the WasmEdge release page, unzip them, and then copy them over to `/usr/local/lib/wasmedge/`.
9595

9696
## What's installed
9797

@@ -218,15 +218,15 @@ Then, go to [TensorFlow-lite in Rust chapter](../rust/ai_inference/tensorflow_li
218218

219219
### WASI-NN plugin with OpenVINO™ backend
220220

221-
WASI-NN plugin for OpenVINO allows WasmEdge applications to perform OpenVINO model inference. To use OpenVINO, the WasmEdge version should be at least `0.10.1`. To install WasmEdge with OpenVINO plugin on Linux, run the following installer command.
221+
WASI-NN plugin for OpenVINO allows WasmEdge applications to perform OpenVINO model inference. To use it, the WasmEdge version should be at least `0.10.1`. To install WasmEdge with the WASI-NN OpenVINO backend plugin on Linux, run the following installer command.
222222

223223
```bash
224224
curl -sSf https://raw.githubusercontent.com/WasmEdge/WasmEdge/master/utils/install.sh | bash -s -- --plugins wasi_nn-openvino
225225
```
226226

227227
Run `source $HOME/.wasmedge/env` to make the installed binary available in the current session.
228228

229-
Now, the WasmEdge OpenVINO plugin depends on the OpenVINO C library to perform AI/ML computations. You need to install the [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.
229+
Now, the WASI-NN OpenVINO backend plugin depends on the OpenVINO C library to perform AI/ML computations. You need to install the [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.
230230

231231
```bash
232232
export OPENVINO_VERSION="2021.4.582"

0 commit comments

Comments
 (0)