-
Notifications
You must be signed in to change notification settings - Fork 719
Closed
Labels
Description
I try to run wasm file built from rust, but WAMR prints that cannot import functions in wasi_ephemeral_nn
module and failed when try to call load
:
warning: failed to link import function (wasi_ephemeral_nn, load)
warning: failed to link import function (wasi_ephemeral_nn, init_execution_context)
warning: failed to link import function (wasi_ephemeral_nn, compute)
warning: failed to link import function (wasi_ephemeral_nn, get_output)
warning: failed to link import function (wasi_ephemeral_nn, set_input)
...
Exception: failed to call unlinked import function (wasi_ephemeral_nn, load)
It seems that the wasm file built from rust requires wasi_ephemeral_nn
module instead of wasi_nn
. Does WAMR support wasi_ephemeral_nn
module? If not currently, can I add the wasi_ephemeral_nn
module, just as wasi-nn
was written, and follow the wasi-ephemeral-nn interface defined in rust?