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

WASI-NN support for Zephyr Os #3821

Open
jignesh222 opened this issue Sep 27, 2024 · 1 comment
Open

WASI-NN support for Zephyr Os #3821

jignesh222 opened this issue Sep 27, 2024 · 1 comment
Labels

Comments

@jignesh222
Copy link

I'm expecting WASI-NN based examples for Zephyr Platform to run small NN models in controller environment using WAMR.

Can I get any solution on this?

@lum1n0us
Copy link
Collaborator

lum1n0us commented Oct 7, 2024

I think the hardest part is to find a wasi-nn backend that works with ZephyrOS. Right now, WAMR has three backends: tensorflow-lite, openvino, and llama.cpp. You'll have to make one of these work on ZephyrOS. I'm not sure if any of them have been adapted for it yet.

Afterwards, you just need to compile WAMR's source code again with wasi-nn support turned on (using WAMR_BUILD_WASI_NN, WAMR_BUILD_WASI_EPHEMERAL_NN and the backend you picked), sort out any issues with the compilation, like warnings or errors, and then test it out.

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

No branches or pull requests

3 participants