-
Notifications
You must be signed in to change notification settings - Fork 850
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
Current use of execution providers is suboptimal #30
Comments
Hi! Yes, please do make a PR :) any contributions are most welcome. I just had a question about webgl support for some of the models. When initially testing with the webgl backend, I kept getting errors saying that certain operations weren't supported. It might have been because the models are quantised (8-bit), but either way, I wasn't able to get it working reliably enough. Do you have any suggestions? |
Good! Let's do it!
m open sourcing a project called aiui that transforms a model into an app, My first support was ONNX and it also happened to me. Not every layer is supported in webgl. It will depend on the model, but at least for the supported ones the speed will be very good. Let me check what your script is doing. |
Currently the library only operates with the WASM backend even in nodejs. However the better approach should be use node bindings in node and add the
webgl
EP to automatically fallback towasm
ifwebgl
is not supported by the model.Currenly in code:
Hack to at least improve in the web
I can prepare a PR to improve the execution in node and web 😃
The text was updated successfully, but these errors were encountered: