Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

image-classification benchmark failed #267

Open
jlb6740 opened this issue Aug 3, 2023 · 1 comment
Open

image-classification benchmark failed #267

jlb6740 opened this issue Aug 3, 2023 · 1 comment
Assignees

Comments

@jlb6740
Copy link
Collaborator

jlb6740 commented Aug 3, 2023

root@4722daa600d1:/sightglass# /sightglass/target/release/sightglass-cli benchmark --processes=3 --engine /sightglass/engines/wasmtime/libengine.so --raw --output-format csv --output-file /sightglass/benchmarks//results//image-classification_wasm_results.csv -- /sightglass/benchmarks/image-classification/image-classification-benchmark.wasm
failed to instantiate

Caused by:
unknown import: wasi_ephemeral_nn::load has not been defined
thread 'main' panicked at 'assertion failed: (left == right)
left: -1,
right: 0', /sightglass/crates/recorder/src/bench_api.rs:221:9
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
Error: benchmark subprocess did not exit successfully

@rahulchaphalkar
Copy link

This error was due to not using --engine-flags="--wasi nn".
I've opened a PR to make setup of environment of the benchmark simpler.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants