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

LFX Mentorship (Mar-May, 2024): Integrate whisper.cpp as a new WASI-NN backend #3170

Closed
hydai opened this issue Jan 22, 2024 · 6 comments
Closed
Assignees
Labels
c-WASI-NN enhancement New feature or request LFX Mentorship Tasks for LFX Mentorship participants

Comments

@hydai
Copy link
Member

hydai commented Jan 22, 2024

Summary

WasmEdge supports PyTorch, TensorFlow Lite, llama.cpp, and more NN backend. Dealing with the voice-to-text is a big thing that we want to achieve. To make it possible, we would like to integrate whisper.cpp, a port of OpenAI's Whisper model in C/C++ as a new WASI-NN backend.

Details

  • Pre-test: To apply for this mentorship, you MUST finish a pre-test. Pre-test link: LFX Mentorship 2024-01 Pre-test #3182
  • Expected Outcome: A new plugin provides a whisper.cpp WASI-NN backend, a test suite for validating the plugin, documents, and examples for explaining how to use the plugin.
  • Recommended Skills: C++, Wasm
  • Mentor(s):

Appendix

  1. whisper.cpp: https://github.com/ggerganov/whisper.cpp
  2. WASI-NN: https://github.com/second-state/wasmedge-wasi-nn
  3. WASI-NN llama.cpp backend(check ggml.h and ggml.cpp): https://github.com/WasmEdge/WasmEdge/tree/master/plugins/wasi_nn
@hydai hydai added enhancement New feature or request LFX Mentorship Tasks for LFX Mentorship participants c-WASI-NN labels Jan 22, 2024
@Selomn
Copy link

Selomn commented Jan 23, 2024

Hello, sir. I have two questions. Could the project be done in Rust? And when is the estimated time for the pre-test?

@hydai
Copy link
Member Author

hydai commented Jan 23, 2024

Could the project be done in Rust?

No. Unless you can prove that there is a Rust version that provides a faster and better performance solution than the whisper.cpp project.

And when is the estimated time for the pre-test?

We will announce the pre-test when the application opens.

@Selomn
Copy link

Selomn commented Jan 24, 2024

Thank you sir.

@octonawish-akcodes
Copy link

I am interested in this issue for the LFX mentorship. Looking forward to apply.

@hydai
Copy link
Member Author

hydai commented Jun 4, 2024

Because the previous mentee didn't finish this, there was no response to the second stage of the LFX mentorship. We decide to pick it up and implement it by our maintainer, @q82419

@q82419
Copy link
Collaborator

q82419 commented Jul 8, 2024

Replaced by the roadmap issue #3538 .

@q82419 q82419 closed this as completed Jul 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c-WASI-NN enhancement New feature or request LFX Mentorship Tasks for LFX Mentorship participants
Projects
None yet
Development

No branches or pull requests

4 participants