wasi-nn VS wasmer

Compare wasi-nn vs wasmer and see what are their differences.

wasi-nn

Neural Network proposal for WASI (by WebAssembly)

wasmer

🚀 The leading Wasm Runtime supporting WASIX, WASI and Emscripten (by wasmerio)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
wasi-nn wasmer
3 131
402 17,829
4.7% 1.2%
5.6 9.9
7 days ago 5 days ago
Rust Rust
- MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

wasi-nn

Posts with mentions or reviews of wasi-nn. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-11-21.
  • Self-Hosting Open Source LLMs: Cross Devices and Local Deployment of Mistral 7B
    6 projects | news.ycombinator.com | 21 Nov 2023
    I really like the post that they mention (https://www.secondstate.io/articles/fast-llm-inference/). The reasons for avoiding python all resonate with me. I'm excited to play with WASI-NN (https://github.com/WebAssembly/wasi-nn) and that rust code is very readable to load up a GGUL model.
  • Run LLMs on my own Mac fast and efficient Only 2 MBs
    5 projects | news.ycombinator.com | 12 Nov 2023
    Mmm…

    The wasm-nn that this relies on (https://github.com/WebAssembly/wasi-nn) is a proposal that relies of arbitrary plugin backends sending arbitrarily chunks to some vendor implementation. The api is literally like set input, compute, set output.

    …and that is totally non portable.

    The reason this works, is because it’s relying on the abstraction already implemented in llama.cpp that allows it to take a gguf model and map it to multiple hardware targets,which you can see has been lifted here: https://github.com/WasmEdge/WasmEdge/tree/master/plugins/was...

    So..

    > Developers can refer to this project to write their machine learning application in a high-level language using the bindings, compile it to WebAssembly, and run it with a WebAssembly runtime that supports the wasi-nn proposal, such as WasmEdge.

    Is total rubbish; no, you can’t.

    This isn’t portable.

    It’s not sandboxed.

    If you have a wasm binary you might be able to run it if the version of the runtime you’re using happens to implement the specific ggml backend you need, which it probably doesn’t… because there’s literally no requirement for it to do so.

    There’s a lot of “so portable” talk in this article which really seems misplaced.

  • The Promise of WASM
    4 projects | dev.to | 26 May 2022
    in machine learning (https://github.com/WebAssembly/wasi-nn)

wasmer

Posts with mentions or reviews of wasmer. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-03-12.

What are some alternatives?

When comparing wasi-nn and wasmer you can also consider the following projects:

distroless - 🥑 Language focused docker images, minus the operating system.

wasmtime - A fast and secure runtime for WebAssembly

wagi - Write HTTP handlers in WebAssembly with a minimal amount of work

SSVM - WasmEdge is a lightweight, high-performance, and extensible WebAssembly runtime for cloud native, edge, and decentralized applications. It powers serverless apps, embedded functions, microservices, smart contracts, and IoT devices.

WasmEdge-WASINN-examples

wasm3 - 🚀 A fast WebAssembly interpreter and the most universal WASM runtime

quickjs-emscripten - Safely execute untrusted Javascript in your Javascript, and execute synchronous code that uses async functions

awesome-wasm-runtimes - A list of webassemby runtimes

wasm-bindgen - Facilitating high-level interactions between Wasm modules and JavaScript

actix-web - Actix Web is a powerful, pragmatic, and extremely fast web framework for Rust.

wazero - wazero: the zero dependency WebAssembly runtime for Go developers

Node RED - Low-code programming for event-driven applications