abrown opened PR #3174 from wasi-nn-multiple-backends to main:
@radu-matei has recently been working on an alternate backend for wasi-nn using ONNX and has written about it on his blog. This PR refactors the wasi-nn crate to support multiple backends. The wasi-nn context will choose which backend to use based on the
GraphEncodingvalue passed towasi_nn::load. Multiple backends can now coexist and a WebAssembly module could use multiple backends at runtime.
abrown updated PR #3174 from wasi-nn-multiple-backends to main.
alexcrichton submitted PR review.
alexcrichton created PR review comment:
Typically this is done with
From<#ident> for #tag_tyinstead ofIntowhich automatically gives theIntotrait implementation as well.
alexcrichton submitted PR review.
abrown updated PR #3174 from wasi-nn-multiple-backends to main.
abrown merged PR #3174.
Last updated: Dec 06 2025 at 06:05 UTC