Skip to content

Commit

Permalink
fix: update instructions in the rust-wasi-nn-preload example
Browse files Browse the repository at this point in the history
  • Loading branch information
Angelmmiguel committed Sep 28, 2023
1 parent 0b160a4 commit de99069
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion examples/rust-wasi-nn-preload/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ Compile a Rust that performs Machine Learning (ML) inference with [WASI-NN](http
```shell-session
cargo build --target wasm32-wasi --release && \
cp target/wasm32-wasi/release/rust-wasi-nn.wasm ./inference.wasm
cp target/wasm32-wasi/release/rust-wasi-nn-preload.wasm ./inference.wasm
```

## Run
Expand Down
5 changes: 1 addition & 4 deletions examples/rust-wasi-nn-preload/inference.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
name = "wasi-nn-mobilenet"
name = "wasi-nn-mobilenet-preload"
version = "1"

[vars]
MODEL = "model"

[[features.wasi_nn.preload_models]]
backend = "openvino"
provider = { type = "local", dir = "./_models/mobilenet/" }
Expand Down

0 comments on commit de99069

Please sign in to comment.