~/talk

Deploying machine learning in wasm to CPU, GPU and NPU with the new wa...

Talkat WasmCon 2024 · on Monday, 2024-11-11· [webassembly, machine-learning]
links:none on file
slides:none on file

A new wasi-nn WinML backend lets wasm apps run ONNX models on CPU, GPU (DirectML/DirectX) and NPU paths by mapping wasi-nn APIs to Windows ML calls, implemented in Rust with windows-rs. Example runs MobileNet.onnx image classification end-to-end (preprocess → set_input → compute → get_output) and returns top-1 cat at ~96% probability on GPU and similar on CPU. Known limits: FP16 experimental (internal buffers still FP32) and NPU support pending (PR #8756).

AI-written summary · about

~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.