WasmEdge  by WasmEdge

Wasm runtime for cloud, edge, and decentralized apps

created 5 years ago
9,983 stars

Top 5.1% on sourcepulse

GitHubView on GitHub
Project Summary

WasmEdge is a high-performance WebAssembly runtime designed for cloud-native, edge, and decentralized applications. It enables developers to run sandboxed code written in various languages (C/C++, Rust, JavaScript, etc.) efficiently on servers, personal computers, and IoT devices, with a particular focus on accelerating AI workloads like LLMs.

How It Works

WasmEdge provides a secure execution sandbox for WebAssembly bytecode, isolating it from host system resources. It boasts a lightweight design and claims to be the fastest Wasm VM, supporting standard WebAssembly features and extensions for networking, databases, and AI inference. This approach allows for safe, portable, and performant execution of third-party or user-defined code as plug-ins within larger applications.

Quick Start & Requirements

  • Install WasmEdge via its install script: curl -s https://raw.githubusercontent.com/WasmEdge/WasmEdge/main/install.sh | bash
  • Requires a Linux, macOS, or Windows environment.
  • Supports GPU acceleration (NVIDIA CUDA, AMD ROCm) for AI workloads.
  • Official documentation and quick start guides are available.

Highlighted Details

  • Achieves high performance, cited as the fastest Wasm VM in specific benchmarks.
  • Supports running LLMs, speech-to-text, and text-to-image models via the LlamaEdge framework.
  • Integrates with cloud-native tools like Kubernetes and Dapr.
  • Extensible with custom functions and supports various programming languages.

Maintenance & Community

  • An official CNCF sandbox project.
  • Active community with Discord and mailing list channels.
  • Regular community meetings are held.
  • Roadmap and contribution guidelines are publicly available.

Licensing & Compatibility

  • Licensed under Apache 2.0.
  • Permissive license suitable for commercial use and integration into closed-source applications.

Limitations & Caveats

  • The runtime is not yet thread-safe, requiring careful consideration for concurrent usage within host applications.
Health Check
Last commit

3 days ago

Responsiveness

1 day

Pull Requests (30d)
27
Issues (30d)
42
Star History
882 stars in the last 90 days

Explore Similar Projects

Feedback? Help us improve.