You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use [classification-example](https://github.com/bytecodealliance/wasi-nn/tree/main/rust/examples/classification-example) as a smoke test case to make sure the wasi-nn support in WAMR is working properly.
There are model files(*mobilenet\**) and wasm files(*wasi-nn-example.wasm*) in the directory */workspaces/wasi-nn/rust/examples/classification-example/build* in the image of wasi-nn-example:v1.0.
131
+
132
+
### build iwasm and test
133
+
134
+
*TODO: May need alternative steps to build the iwasm and test in the container of wasi-nn-example:v1.0*
135
+
136
+
```bash
137
+
$ pwd
138
+
/workspaces/wasm-micro-runtime
139
+
140
+
$ docker run --rm -it -v $(pwd):/workspaces/wasm-micro-runtime wasi-nn-example:v1.0 /bin/bash
141
+
```
142
+
143
+
> [!Caution]
144
+
> The following steps are executed in the container of wasi-nn-example:v1.0.
145
+
146
+
```bash
147
+
$ cd /workspaces/wasm-micro-runtime/product-mini/platforms/linux
# FIXME: upgrade to 2024.1 or latest after wasi-nn(rust binding) is ready
25
+
WORKDIR /opt/intel
26
+
RUN wget -q https://storage.openvinotoolkit.org/repositories/openvino/packages/2022.3.2/linux/l_openvino_toolkit_ubuntu20_2022.3.2.9279.e2c7e4d7b4d_x86_64.tgz
27
+
RUN tar -xf l_openvino_toolkit_ubuntu20_2022.3.2.9279.e2c7e4d7b4d_x86_64.tgz \
0 commit comments