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

Expose WebNN API to service workers #804

Open
zweack opened this issue Jan 16, 2025 · 1 comment
Open

Expose WebNN API to service workers #804

zweack opened this issue Jan 16, 2025 · 1 comment

Comments

@zweack
Copy link

zweack commented Jan 16, 2025

While WebNN works well within a web app using onnxruntime-web, it fails to work in a browser extension.

image

Is there any way to use WebNN in a browser extension (background script)? If not, is there a plan to support browser extensions?

@anssiko
Copy link
Member

anssiko commented Jan 23, 2025

It looks like this request is to expose WebNN API to service workers.

Considering also WebGPU added support for service workers to enable use cases such as WebLLM chrome extension I will label this also as a feature request. Further feedback on use cases and possible implementation considerations are welcome in this issue.

@anssiko anssiko changed the title Support for Browser Extension Expose WebNN API to service workers Jan 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants