Skip to content

Does WAMR support wasi_ephemeral_nn module? #3229

@AuYang261

Description

@AuYang261

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions