-
Notifications
You must be signed in to change notification settings - Fork 480
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
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
Mobile / Edge / ARM / ONNX Use Cases #37
Comments
Some ARM builds here |
Nice, this guy bothered to create a Dockerfile! |
Tract, written in Rust, can easily be compiled to ARM devices, and streaming audio on edge devices is one of their use-cases. I tried running it but there's an unimplemented op. Support for it is being tracked on above mentioned issue. |
Running silero-vad on Android - https://github.com/bgubanov/VadExample You need to use this model - https://github.com/snakers4/silero-vad/blob/master/files/model_micro_mobile.jit |
Will keep this issue pinned for everyone to see |
I’m looking to do an iOS version.
|
The People actually successfully managed to run the model on Android - #37 (comment) Since PyTorch also has packages now and we created this project some time ago, we reserved the more obvious names -
Using our internal datasets and algorithms.
We decided against sharing our pipelines since we consider our VAD as a domain agnostic solution as opposed to yet another toolkit. If some tweaks or optimizations are required - we do them as commercial projects. |
Great thanks. BTW your original web article’s source code link is broken. |
Which of the articles? Can you send the link / tell which exact link is broken? |
And the original one this is syndicated from |
For some reason the English articles has a broken link to TorchHub |
HI, @snakers4 as you pointed, the |
There is no real convention for these new things, i.e. TorchScript models ( |
The new VAD model in v3.0 release should be compatible with all versions of PyTorch (mobile, ARM, x86, etc) since it does not:
|
Some interesting comments on this topic worthy of sharing with the general public: |
The new release has an ONNX model, albeit only for 16 kHz - https://github.com/snakers4/silero-vad/releases/tag/v3.1 |
Hello, when I use the new models Running silero-vad on Android - https://github.com/bgubanov/VadExample , there are still errors about "RuntimeError: stft: ATen not compiled with MKL support". Is there a solution here? |
@uloveqian2021, you are using the new V3 model, right? This one - https://github.com/snakers4/silero-vad/blob/master/files/silero_vad.jit ? The old model works? This model should not contain Can you check this please? |
Our current jit and onnx models do not contain Please try latest models, it should work |
@uloveqian2021 |
Yes, It's work now, Thanks! |
Yes, It's work now, Thanks! |
这是来自QQ邮箱的假期自动回复邮件。
您好!我已收到您的邮件!
|
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
While the VAD (especially the micro one) was explicitly designed for IOT / edge / mobile use cases, we do not have the resource or expertise to provide instructions for corresponding ARM / mobile builds for PyTorch and / or ONNX.
ONNX guides were refurbished recently and it is implied that ARM binaries will be made available (but they are not yet).
People from the community (see telegram chat) have also claimed successful builds and use of silero-models on pytorch replacing
mkl
withcblas
.In any case sharing such dockerized builds (e.g. based off debian / ubuntu / alpine) for your tested used cases will be of great value for the community, PRs greatly encouraged and appreciated.
Please see some examples here - https://github.com/microsoft/onnxruntime/blob/master/dockerfiles/README.md#arm-32v7
If you feel like doing something like this - please provide a build in a dockerfile and provide some background info on which arch / device / processor you are running it, if this hardware is generally available, what is the end performance etc
The text was updated successfully, but these errors were encountered: