HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
WebAssembly
wasi-nn
AI & Machine Learning2023–2023
WebAssembly / wasi-nn

wasi-nn

Neural Network proposal for WASI

2Distinct people
2Mentions
0Explicit recommenders
562GitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

Neural Network proposal for WASI

GitHub

Where it is used

No documented product use has been verified yet.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 3:03:16 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by day2 dated mentions

Observed mentions: 2023-11-13 09:05:41 UTC to 2023-11-21 13:37:17 UTC.

012023-11-13 00:00:00 UTC to 2023-11-14 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 commentsNov 132023-11-14 00:00:00 UTC to 2023-11-15 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-11-15 00:00:00 UTC to 2023-11-16 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-11-16 00:00:00 UTC to 2023-11-17 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-11-17 00:00:00 UTC to 2023-11-18 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 commentsNov 172023-11-18 00:00:00 UTC to 2023-11-19 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-11-19 00:00:00 UTC to 2023-11-20 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-11-20 00:00:00 UTC to 2023-11-21 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-11-21 00:00:00 UTC to 2023-11-22 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 commentsNov 21

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
Nov 132023-11-13 00:00:00 UTC2023-11-14 00:00:00 UTC101
Nov 142023-11-14 00:00:00 UTC2023-11-15 00:00:00 UTC000
Nov 152023-11-15 00:00:00 UTC2023-11-16 00:00:00 UTC000
Nov 162023-11-16 00:00:00 UTC2023-11-17 00:00:00 UTC000
Nov 172023-11-17 00:00:00 UTC2023-11-18 00:00:00 UTC000
Nov 182023-11-18 00:00:00 UTC2023-11-19 00:00:00 UTC000
Nov 192023-11-19 00:00:00 UTC2023-11-20 00:00:00 UTC000
Nov 202023-11-20 00:00:00 UTC2023-11-21 00:00:00 UTC000
Nov 212023-11-21 00:00:00 UTC2023-11-22 00:00:00 UTC101

What Hacker News says

2 sources
Mmm… The wasm-nn that this relies on (https://github.com/WebAssembly/wasi-nn) is a proposal that relies on 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 as-is into WasmEdge 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
Read the rest
’t portable. It’s not sandboxed. It’s not a HAL. 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. …and if you do, you’re just calling the llama.cpp ggml code, so it’s as safe as that library is… There’s a lot of “so portable” and “such rust” talk in this article which really seems misplaced; this doesn’t seem to have the benefits of either of those two things. Let’s imagine you have some new hardware with a WASI runtime on it, can you run your model on it? Does it have GPU support? Well, turns out the answer is “go and see if llama.cpp compiles on that platform with GPU support and if the runtime you’re using happens have a ggml plugin in it and happens to have a copy of that version of ggml vendored in it, and if not, then no”. ..at which point, wtf are you even using WASI for? Cross platform GPU support is hard, but this… I dunno. It seems absolutely ridiculous. Imagine if webGPU was just “post some binary chunk to the GPU and maybe it’ll draw something or whatever if it’s the right binary chunk for the current hardware.” That’s what this is.
In Fast and Portable Llama2 Inference on the Heterogeneous Edge

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.