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
GraphEncoding
value 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_ty
instead ofInto
which automatically gives theInto
trait 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 23 2024 at 13:07 UTC