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

Uncaught (in promise) NotSupportedError: Failed to execute 'createContext' on 'ML': DirectML: WebNN is blocklisted for NPU. #798

Closed
sandeepks1 opened this issue Dec 9, 2024 · 1 comment

Comments

@sandeepks1
Copy link

Can some one help me to fix this issue
Uncaught (in promise) NotSupportedError: Failed to execute 'createContext' on 'ML': DirectML: WebNN is blocklisted for NPU.

Getting the above error when i try webnn code from intel based AI PC.

Thanks
Sandeep

@huningxin
Copy link
Contributor

@sandeepks1 , you may need to install the latest NPU driver. Some old NPU drivers have issues and are blocklisted. Feel free to checkout Running WebNN on NPU guide of webnn-samples.

This repo is for WebNN spec discussion. If you still have issues when running WebNN code in browsers, you may want to open issues against browser WebNN implementation, e.g. for Chromium: https://issues.chromium.org/issues/new?component=1456206&template=0. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants