From 6ae6fb92db7402777fda89a419e41abdea988e11 Mon Sep 17 00:00:00 2001 From: Mahfuza Date: Thu, 8 Jun 2023 19:32:40 +0600 Subject: [PATCH 1/3] update Currently Released Plug-in section Signed-off-by: Mahfuza --- docs/contribute/plugin/intro.md | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/docs/contribute/plugin/intro.md b/docs/contribute/plugin/intro.md index e815858d..b30c6346 100644 --- a/docs/contribute/plugin/intro.md +++ b/docs/contribute/plugin/intro.md @@ -21,20 +21,21 @@ Please [refer to the plugin example code](https://github.com/WasmEdge/WasmEdge/t ## WasmEdge Currently Released Plug-ins There are several plug-in releases with the WasmEdge official releases. -Please check the following table to check the release status and how to build from source with the plug-ins. + +The following table lists the plug-ins currently released with the WasmEdge official releases, their Rust crate names, the platforms they are released on, and their respective build steps. > The `WasmEdge-Process` plug-in is attached in the WasmEdge release tarballs. -| Plug-in | Rust Crate | Released Platforms | Build Steps | -| --------------------------------------------------------------------------------------------------------------------------- | ------------------------------ | ------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | -| WasmEdge-Process | [wasmedge_process_interface][] | `manylinux2014 x86_64`, `manylinux2014 aarch64`, and `ubuntu 20.04 x86_64` (since `0.10.0`) | [Default](/contribute/source/os/linux) | -| [WASI-Crypto] | [wasi-crypto][] | `manylinux2014 x86_64`, `manylinux2014 aarch64`, and `ubuntu 20.04 x86_64` (since `0.10.1`) | [Build With WASI-Crypto](/contribute/source/plugin/wasi_crypto) | -| [WASI-NN with OpenVINO backend](/develop/rust/ai_inference/openvino) | [wasi-nn][] | `ubuntu 20.04 x86_64` (since `0.10.1`) | [Build With WASI-NN](/contribute/source/plugin/was_nn#get-wasmedge-with-wasi-nn-plug-in-openvino-backend) | -| [WASI-NN with PyTorch backend](/develop/rust/ai_inference/pytorch) | [wasi-nn][] | `ubuntu 20.04 x86_64` (since `0.11.1`) | [Build With WASI-NN](/contribute/source/plugin/was_nn#build-wasmedge-with-wasi-nn-pytorch-backend) | -| [WASI-NN with TensorFlow-Lite backend](/develop/rust/ai_inference/pytorch) | [wasi-nn][] | `manylinux2014 x86_64`, `manylinux2014 aarch64`, and `ubuntu 20.04 x86_64` (since `0.11.2`) | [Build With WASI-NN](/contribute/source/plugin/was_nn#build-wasmedge-with-wasi-nn-tensorflow-lite-backend) | -| [WasmEdge-HttpsReq] | [wasmedge_http_req][] | `manylinux2014 x86_64`, and `manylinux2014 aarch64` (since `0.11.1`) | [Build With WasmEdge-HttpsReq](/contribute/source/plugin/httpsreq) | +| Plug-in | Rust Crate | Description | Released Platforms | Build Steps | +| --------------------------------------------------------------------------------------------------------------------------- | ------------------------------ | ----------- | ------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | +| WasmEdge-Process | [wasmedge_process_interface][] | Provides process management and execution capabilities | `manylinux2014 x86_64`, `manylinux2014 aarch64`, and `ubuntu 20.04 x86_64` (since `0.10.0`) | [Default](/contribute/source/os/linux) | +| [WASI-Crypto](/develop/rust/crypto) | [wasi-crypto][] | Implements cryptographic functions and protocols | `manylinux2014 x86_64`, `manylinux2014 aarch64`, and `ubuntu 20.04 x86_64` (since `0.10.1`) | [Build With WASI-Crypto](/contribute/source/plugin/wasi_crypto) | +| [WASI-NN with OpenVINO backend](/develop/rust/ai_inference/openvino) | [wasi-nn][] | Provides AI inference capabilities using OpenVINO backend | `ubuntu 20.04 x86_64` (since `0.10.1`) | [Build With WASI-NN](/contribute/source/plugin/was_nn#get-wasmedge-with-wasi-nn-plug-in-openvino-backend) | +| [WASI-NN with PyTorch backend](/develop/rust/ai_inference/pytorch) | [wasi-nn][] | Provides AI inference capabilities using PyTorch backend | `ubuntu 20.04 x86_64` (since `0.11.1`) | [Build With WASI-NN](/contribute/source/plugin/was_nn#build-wasmedge-with-wasi-nn-pytorch-backend) | +| [WASI-NN with TensorFlow-Lite backend](/develop/rust/ai_inference/tensorflow_lite) | [wasi-nn][] | Provides AI inference capabilities using TensorFlow-Lite backend | `manylinux2014 x86_64`, `manylinux2014 aarch64`, and `ubuntu 20.04 x86_64` (since `0.11.2`) | [Build With WASI-NN](/contribute/source/plugin/was_nn#build-wasmedge-with-wasi-nn-tensorflow-lite-backend) | +| WasmEdge-HttpsReq | [wasmedge_http_req][] | Enables HTTP/HTTPS requests and response handling | `manylinux2014 x86_64`, and `manylinux2014 aarch64` (since `0.11.1`) | [Build With WasmEdge-HttpsReq](/contribute/source/plugin/httpsreq) | -> Due to the `OpenVINO` and `PyTorch` dependencies, we only release the WASI-NN plug-in on `Ubuntu 20.04 x86_64` now. We'll work with `manylinux2014` versions in the future. +> Due to the dependencies on `OpenVINO` and `PyTorch`, the current release of the WASI-NN plug-in is limited to `Ubuntu 20.04 x86_64`. However, we have plans to expand support for `manylinux2014` versions in the future, which will enable compatibility with a wider range of platforms. [wasmedge_process_interface]: https://crates.io/crates/wasmedge_process_interface [wasi-crypto]: https://crates.io/crates/wasi-crypto From dba57a35f106639c84e8856d78189fca0579e8ab Mon Sep 17 00:00:00 2001 From: Mahfuza Date: Tue, 13 Jun 2023 16:00:31 +0600 Subject: [PATCH 2/3] updating to pass lint --- docs/contribute/plugin/intro.md | 17 +++++++------ package-lock.json | 44 ++++++++++++++++----------------- package.json | 4 +-- 3 files changed, 32 insertions(+), 33 deletions(-) diff --git a/docs/contribute/plugin/intro.md b/docs/contribute/plugin/intro.md index 29f3707d..ad9b2609 100644 --- a/docs/contribute/plugin/intro.md +++ b/docs/contribute/plugin/intro.md @@ -26,14 +26,14 @@ The following table lists the plug-ins currently released with the WasmEdge offi > The `WasmEdge-Process` plug-in is attached in the WasmEdge release tarballs. -| Plug-in | Rust Crate | Description | Released Platforms | Build Steps | -| --------------------------------------------------------------------------------------------------------------------------- | ------------------------------ | ----------- | ------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | -| WasmEdge-Process | [wasmedge_process_interface][] | Provides process management and execution capabilities | `manylinux2014 x86_64`, `manylinux2014 aarch64`, and `ubuntu 20.04 x86_64` (since `0.10.0`) | [Default](/contribute/source/os/linux) | -| [WASI-Crypto](/develop/rust/crypto) | [wasi-crypto][] | Implements cryptographic functions and protocols | `manylinux2014 x86_64`, `manylinux2014 aarch64`, and `ubuntu 20.04 x86_64` (since `0.10.1`) | [Build With WASI-Crypto](/contribute/source/plugin/wasi_crypto) | -| [WASI-NN with OpenVINO backend](/develop/rust/ai_inference/openvino) | [wasi-nn][] | Provides AI inference capabilities using OpenVINO backend | `ubuntu 20.04 x86_64` (since `0.10.1`) | [Build With WASI-NN](/contribute/source/plugin/was_nn#get-wasmedge-with-wasi-nn-plug-in-openvino-backend) | -| [WASI-NN with PyTorch backend](/develop/rust/ai_inference/pytorch) | [wasi-nn][] | Provides AI inference capabilities using PyTorch backend | `ubuntu 20.04 x86_64` (since `0.11.1`) | [Build With WASI-NN](/contribute/source/plugin/was_nn#build-wasmedge-with-wasi-nn-pytorch-backend) | -| [WASI-NN with TensorFlow-Lite backend](/develop/rust/ai_inference/tensorflow_lite) | [wasi-nn][] | Provides AI inference capabilities using TensorFlow-Lite backend | `manylinux2014 x86_64`, `manylinux2014 aarch64`, and `ubuntu 20.04 x86_64` (since `0.11.2`) | [Build With WASI-NN](/contribute/source/plugin/was_nn#build-wasmedge-with-wasi-nn-tensorflow-lite-backend) | -| WasmEdge-HttpsReq | [wasmedge_http_req][] | Enables HTTP/HTTPS requests and response handling | `manylinux2014 x86_64`, and `manylinux2014 aarch64` (since `0.11.1`) | [Build With WasmEdge-HttpsReq](/contribute/source/plugin/httpsreq) | +| Plug-in | Rust Crate | Description | Released Platforms | Build Steps | +| --- | --- | --- | --- | --- | +| WasmEdge-Process | [wasmedge_process_interface][] | Provides process management and execution capabilities | `manylinux2014 x86_64`, `manylinux2014 aarch64`, and `ubuntu 20.04 x86_64` (since `0.10.0`) | [Default](/contribute/source/os/linux) | +| [WASI-Crypto](/develop/rust/crypto) | [wasi-crypto][] | Implements cryptographic functions and protocols | `manylinux2014 x86_64`, `manylinux2014 aarch64`, and `ubuntu 20.04 x86_64` (since `0.10.1`) | [Build With WASI-Crypto](/contribute/source/plugin/wasi_crypto) | +| [WASI-NN with OpenVINO backend](/develop/rust/ai_inference/openvino) | [wasi-nn][] | Provides AI inference capabilities using OpenVINO backend | `ubuntu 20.04 x86_64` (since `0.10.1`) | [Build With WASI-NN](/contribute/source/plugin/was_nn#get-wasmedge-with-wasi-nn-plug-in-openvino-backend) | +| [WASI-NN with PyTorch backend](/develop/rust/ai_inference/pytorch) | [wasi-nn][] | Provides AI inference capabilities using PyTorch backend | `ubuntu 20.04 x86_64` (since `0.11.1`) | [Build With WASI-NN](/contribute/source/plugin/was_nn#build-wasmedge-with-wasi-nn-pytorch-backend) | +| [WASI-NN with TensorFlow-Lite backend](/develop/rust/ai_inference/tensorflow_lite) | [wasi-nn][] | Provides AI inference capabilities using TensorFlow-Lite backend | `manylinux2014 x86_64`, `manylinux2014 aarch64`, and `ubuntu 20.04 x86_64` (since `0.11.2`) | [Build With WASI-NN](/contribute/source/plugin/was_nn#build-wasmedge-with-wasi-nn-tensorflow-lite-backend) | +| WasmEdge-HttpsReq | [wasmedge_http_req][] | Enables HTTP/HTTPS requests and response handling | `manylinux2014 x86_64`, and `manylinux2014 aarch64` (since `0.11.1`) | [Build With WasmEdge-HttpsReq](/contribute/source/plugin/httpsreq) | > Due to the dependencies on `OpenVINO` and `PyTorch`, the current release of the WASI-NN plug-in is limited to `Ubuntu 20.04 x86_64`. However, we have plans to expand support for `manylinux2014` versions in the future, which will enable compatibility with a wider range of platforms. @@ -41,3 +41,4 @@ The following table lists the plug-ins currently released with the WasmEdge offi [wasi-crypto]: https://crates.io/crates/wasi-crypto [wasi-nn]: https://crates.io/crates/wasi-nn [wasmedge_http_req]: https://crates.io/crates/wasmedge_http_req + diff --git a/package-lock.json b/package-lock.json index 89310ad4..6f464699 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,7 +10,7 @@ "dependencies": { "@docusaurus/core": "^2.4.0", "@docusaurus/preset-classic": "^2.4.0", - "@easyops-cn/docusaurus-search-local": "^0.35.0", + "@easyops-cn/docusaurus-search-local": "^0.26.1", "@mdx-js/react": "^1.6.22", "@node-rs/jieba": "^1.7.0", "classnames": "^2.3.2", @@ -42,7 +42,7 @@ "eslint-plugin-regexp": "^1.12.0", "husky": "^8.0.3", "lint-staged": "^13.1.2", - "prettier": "^2.8.4", + "prettier": "^2.8.8", "stylelint": "^14.16.1", "stylelint-config-prettier": "^9.0.5", "stylelint-config-standard": "^29.0.0", @@ -2818,15 +2818,15 @@ } }, "node_modules/@easyops-cn/docusaurus-search-local": { - "version": "0.35.0", - "resolved": "https://registry.npmjs.org/@easyops-cn/docusaurus-search-local/-/docusaurus-search-local-0.35.0.tgz", - "integrity": "sha512-sHQ8jxsVgHH8MNXJlj20nZZfP/Q0peNTAJwKCN2aPuBwfRIoO0i7LmZFaYKenZmVAW/BD2MtfVd65SREmm3zxg==", - "dependencies": { - "@docusaurus/plugin-content-docs": "^2.0.0-rc.1", - "@docusaurus/theme-translations": "^2.0.0-rc.1", - "@docusaurus/utils": "^2.0.0-rc.1", - "@docusaurus/utils-common": "^2.0.0-rc.1", - "@docusaurus/utils-validation": "^2.0.0-rc.1", + "version": "0.26.1", + "resolved": "https://registry.npmjs.org/@easyops-cn/docusaurus-search-local/-/docusaurus-search-local-0.26.1.tgz", + "integrity": "sha512-cX/A7+3YUmR3Az6FCpIzx7seOzcTHk6ufmr8LqewDINDzh/2rYrBDNmBi+UZvYKshG+HyEkrp9ViHzJImec8BQ==", + "dependencies": { + "@docusaurus/theme-common": "^2.0.0-beta.20", + "@docusaurus/theme-translations": "^2.0.0-beta.20", + "@docusaurus/utils": "^2.0.0-beta.20", + "@docusaurus/utils-common": "^2.0.0-beta.20", + "@docusaurus/utils-validation": "^2.0.0-beta.20", "@easyops-cn/autocomplete.js": "^0.38.1", "@node-rs/jieba": "^1.6.0", "cheerio": "^1.0.0-rc.3", @@ -2843,9 +2843,7 @@ "node": ">=12" }, "peerDependencies": { - "@docusaurus/theme-common": "^2.0.0-rc.1", - "react": "^16.14.0 || ^17.0.0 || ^18.0.0", - "react-dom": "^16.14.0 || ^17.0.0 || ^18.0.0" + "react": "^16.14.0 || 17 || 18" } }, "node_modules/@eslint-community/eslint-utils": { @@ -20476,15 +20474,15 @@ } }, "@easyops-cn/docusaurus-search-local": { - "version": "0.35.0", - "resolved": "https://registry.npmjs.org/@easyops-cn/docusaurus-search-local/-/docusaurus-search-local-0.35.0.tgz", - "integrity": "sha512-sHQ8jxsVgHH8MNXJlj20nZZfP/Q0peNTAJwKCN2aPuBwfRIoO0i7LmZFaYKenZmVAW/BD2MtfVd65SREmm3zxg==", - "requires": { - "@docusaurus/plugin-content-docs": "^2.0.0-rc.1", - "@docusaurus/theme-translations": "^2.0.0-rc.1", - "@docusaurus/utils": "^2.0.0-rc.1", - "@docusaurus/utils-common": "^2.0.0-rc.1", - "@docusaurus/utils-validation": "^2.0.0-rc.1", + "version": "0.26.1", + "resolved": "https://registry.npmjs.org/@easyops-cn/docusaurus-search-local/-/docusaurus-search-local-0.26.1.tgz", + "integrity": "sha512-cX/A7+3YUmR3Az6FCpIzx7seOzcTHk6ufmr8LqewDINDzh/2rYrBDNmBi+UZvYKshG+HyEkrp9ViHzJImec8BQ==", + "requires": { + "@docusaurus/theme-common": "^2.0.0-beta.20", + "@docusaurus/theme-translations": "^2.0.0-beta.20", + "@docusaurus/utils": "^2.0.0-beta.20", + "@docusaurus/utils-common": "^2.0.0-beta.20", + "@docusaurus/utils-validation": "^2.0.0-beta.20", "@easyops-cn/autocomplete.js": "^0.38.1", "@node-rs/jieba": "^1.6.0", "cheerio": "^1.0.0-rc.3", diff --git a/package.json b/package.json index ee9d811e..9780bf02 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,7 @@ "dependencies": { "@docusaurus/core": "^2.4.0", "@docusaurus/preset-classic": "^2.4.0", - "@easyops-cn/docusaurus-search-local": "^0.35.0", + "@easyops-cn/docusaurus-search-local": "^0.26.1", "@mdx-js/react": "^1.6.22", "@node-rs/jieba": "^1.7.0", "classnames": "^2.3.2", @@ -63,7 +63,7 @@ "eslint-plugin-regexp": "^1.12.0", "husky": "^8.0.3", "lint-staged": "^13.1.2", - "prettier": "^2.8.4", + "prettier": "^2.8.8", "stylelint": "^14.16.1", "stylelint-config-prettier": "^9.0.5", "stylelint-config-standard": "^29.0.0", From 5ba6de045ab56baf1c56a7502eae1bc48c424cf7 Mon Sep 17 00:00:00 2001 From: Mahfuza Date: Tue, 13 Jun 2023 16:02:49 +0600 Subject: [PATCH 3/3] removing white space Signed-off-by: Mahfuza --- docs/contribute/plugin/intro.md | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/contribute/plugin/intro.md b/docs/contribute/plugin/intro.md index ad9b2609..1683eeab 100644 --- a/docs/contribute/plugin/intro.md +++ b/docs/contribute/plugin/intro.md @@ -41,4 +41,3 @@ The following table lists the plug-ins currently released with the WasmEdge offi [wasi-crypto]: https://crates.io/crates/wasi-crypto [wasi-nn]: https://crates.io/crates/wasi-nn [wasmedge_http_req]: https://crates.io/crates/wasmedge_http_req -