Closed abrown closed 3 years ago
The --features wasi-nn
flag will no longer be necessary once the next version of Wasmtime is released (v0.27.0). After https://github.com/bytecodealliance/wasmtime/pull/2859, wasi-nn can be enabled by passing the --wasi-modules=experimental-wasi-nn
flag at runtime. After the next Wasmtime release, we should:
--wasi-modules
flag is necessary, build.sh
script to use the --wasi-modules
flag.Docs have been updated. And the CI uses the build.sh script to test, and that script has been updated with the needed flags.
The documentation does not make it clear that currently one must build Wasmtime with a special flag
--features wasi-nn
in order to enable the wasi-nn features. This is present in the GitHub workflow but it should be made explicit somewhere (perhaps in the top-level README and linked to from theas
andrust
READMEs?).