跳至主要内容

WasmEdge Plug-ins

For those workloads which are too heavy to compile into WebAssembly, it would be more appropriate to build them into native host functions. To satisfy the portability of WebAssembly runtime, WasmEdge introduced the plug-in mechanism to make the host functions loadable and portable.

The plug-in mechanism for WasmEdge is an easy way to extend the host modules from loadable shared libraries. With the plug-ins, users can load and instantiate the host functions from the shared libraries released by WasmEdge official or even by other developers.

Official Released Plug-ins

The following lists are the WasmEdge official released plug-ins. Users can install them easily by the installer.

Plug-inDescriptionPlatform SupportGuest Language SupportBuild From Source
WASI-LoggingLogging API for WebAssembly program to log messages.manylinux2014 (x86_64, aarch64)
ubuntu 20.04 (x86_64)
darwin (x86_64, arm64)
(since 0.13.0)
RustSteps
WASI-CryptoAPIs that a runtime can expose to WebAssembly modules in order to perform cryptographic operations and key management.manylinux2014 (x86_64, aarch64)
ubuntu 20.04 (x86_64)
(since 0.10.1)
RustSteps
WASI-NN (OpenVINO backend)AI inference using OpenVINO models.ubuntu 20.04 (x86_64)
(since 0.10.1)
Rust, JavaScriptSteps
WASI-NN (Pytorch backend)AI inference using Pytorch models.manylinux2014 (x86_64)
ubuntu 20.04 (x86_64)
(since 0.11.1)
Rust, JavaScriptSteps
WASI-NN (TensorFlow-Lite backend)AI inference using TensorFlow-Lite models.manylinux2014 (x86_64, aarch64)
ubuntu 20.04 (x86_64)
(since 0.11.2)
Rust, JavaScriptSteps
WASI-NN (Ggml backend)AI inference using LLM interfaces.manylinux2014 (x86_64, aarch64)
ubuntu 20.04 (x86_64)
darwin (x86_64, arm64)
(since 0.13.4)
RustSteps
WASI-NN (Piper backend)AI inference using Piper models.manylinux_2_28 (x86_64, aarch64)
ubuntu 20.04 (x86_64)
(since 0.14.1)
RustSteps
WASI-NN (Whisper backend)AI inference using Whisper models.manylinux2014 (x86_64, aarch64)
ubuntu 20.04 (x86_64)
darwin (x86_64, arm64)
(since 0.14.1)
RustSteps
WASI-NN Burn.rs backend (Squeezenet)AI inference using Squeezenet models in Burn.rs.ubuntu 20.04 (x86_64)
(since 0.14.1)
Rust
WASI-NN Burn.rs backend (Whisper)AI inference using Whisper models in Burn.rs.ubuntu 20.04 (x86_64)
(since 0.14.1)
Rust
WasmEdge-ffmpegmanylinux2014 (x86_64, aarch64)
ubuntu 20.04 (x86_64)
darwin (x86_64, arm64)
(since 0.14.0)
WasmEdge-ImageA native library to manipulate images for AI inference tasks.manylinux2014 (x86_64, aarch64)
ubuntu 20.04 (x86_64)
darwin (x86_64, arm64)
(since 0.13.0)
Rust (0.3.0)Steps
WasmEdge-LLMCmanylinux2014 (x86_64, aarch64)
ubuntu 20.04 (x86_64)
(since 0.14.1)
WasmEdge-OpenCVVery popular utility functions to process images and videos for AI input/output.manylinux2014 (x86_64, aarch64)
ubuntu 20.04 (x86_64)
darwin (x86_64, arm64)
(since 0.13.3)
WasmEdge-ProcessAllows WebAssembly programs to execute native commands in the host operating system. It supports passing arguments, environment variables, STDIN/STDOUT pipes, and security policies for host access.manylinux2014 (x86_64, aarch64)
ubuntu 20.04 (x86_64)
(since 0.10.0)
RustSteps
WasmEdge-StableDiffusionmanylinux2014 (x86_64, aarch64)
ubuntu 20.04 (x86_64)
darwin (x86_64, arm64)
(since 0.14.1)
WasmEdge-TensorflowA native library for inferring TensorFlow models.manylinux2014 (x86_64, aarch64)
ubuntu 20.04 (x86_64)
darwin (x86_64, arm64)
(since 0.13.0)
Rust (0.3.0)Steps
WasmEdge-TensorflowLiteA native library for inferring TensorFlow-Lite models.manylinux2014 (x86_64, aarch64)
ubuntu 20.04 (x86_64)
darwin (x86_64, arm64)
(since 0.13.0)
Rust (0.3.0)Steps
WasmEdge-zlib???manylinux2014 (x86_64, aarch64)
ubuntu 20.04 (x86_64)
darwin (x86_64, arm64)
(since 0.13.5)
WasmEdge-eBPFA native library for inferring eBPF applicationsmanylinux2014 (x86_64, aarch64)
ubuntu 20.04 (x86_64)
(since 0.13.2)
RustSteps
WasmEdge-rustls (DEPRECATED)A native library for inferring Rust and TLS Librarymanylinux2014 (x86_64, aarch64)
ubuntu 20.04 (x86_64)
darwin (x86_64, arm64)
(since 0.13.0, until 0.13.5)
RustSteps