-
Notifications
You must be signed in to change notification settings - Fork 35
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
Benchmarking how to #61
Comments
Installing needed dependencies for Ubuntu 20.04wasi-nn
Wasmtime
Build tools
OpenVINO
Then you'll need to edit wasi-nn/build.sh, and change TensorFlow
Wasmtime w/TensorFlow support
|
Running the benchmark in wasi-nnThe script Flags-b Backend to use either ExamplesRun with an increasing number of CPUs. Here the backend is OpenVINO, model is Inception, loop 50 times, the name used for the graph will be "Desktop", it starts with one CPU (start and end CPU are the same), runs entire test (50 loops) 10 times, each time upping the CPU + 2. Once graphed this will show you which number of CPUs offers the best performance. 1, 3, 5, 7, 9, 11, 13, 15,17, or 19 CPUs.
Run with a fixed number of CPUs, in this case 32. It will loop 1000 times.
|
GraphingBuilding dependencies
Creating graphs
|
All the info needed to install / setup required dependencies and benchmark wasi-nn performance on any supported hardware.
The text was updated successfully, but these errors were encountered: