-
-
Notifications
You must be signed in to change notification settings - Fork 152
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
VAD-WEB error on safari : SIMD not supported in the current environment #157
Comments
Hi @Serotoninene can you share what version of onnxruntime-web you are using? |
Hi @ricky0123 ! I'm not sure, I followed your doc and used those scripts :
After doing some research, I found out that SIMD wasn't supported in Safari prior to version 16. Is there any way to make it work on older versions, or is it simply not feasible? |
Hi @Serotoninene can you try using an older version of onnxruntime-web? You can try these script tags
|
I also encountered the same problem. I think it may be caused by the problem described in: 15644. I tried to follow the possible solutions mentioned there, but I couldn't complete it, so I'm not sure if it works. I want to know if Ricky has a good way to solve or avoid it. My usage scenario is in the ionic capacitor project, and my js part of the code runs in the webview, so I am also affected by the iOS webviewb version and defects |
Hi all, can you test using the most recent version of the library? |
I have upgraded to the latest version, which solves the problem that versions below iOS 16.5 cannot be used. Thank you very much for your help. |
Description
I'm using the MicVAD library for voice activity detection, and it works well in Chrome. However, when I try to run it in Safari, I get an error indicating that "SIMD is not supported in the current environment".
Complete error : "no available backend found. ERR: [wasm] Error: WebAssembly SIMD is not supported in the current environment., [cpu] Error: previous call to 'initWasm()' failed"
Code Snippet
Here’s a simplified version of how I am initializing MicVAD:
I would like to know if there is a way to use MicVAD or a fallback approach when SIMD is not supported by the browser.
Environment
The text was updated successfully, but these errors were encountered: