wasi-nn

Neural Network proposal for WASI (by WebAssembly)

Wasi-nn Alternatives

Similar projects and alternatives to wasi-nn

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better wasi-nn alternative or higher similarity.

wasi-nn reviews and mentions

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)
  • A note from our sponsor - SaaSHub
    www.saashub.com | 25 Apr 2024
    SaaSHub helps you find the best software and product alternatives Learn more →

Stats

Basic wasi-nn repo stats
3
399
5.8
16 days ago

The primary programming language of wasi-nn is Rust.


Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com