Installation
To use WebNN before the Origin Trial milestone, complete these setup requirements
Install GPU and NPU drivers for optimal compatibility and performance
Windows OS
| IHVs | GPU Driver | NPU Driver |
|---|---|---|
| Intel® Arc™ & Iris® Xe Graphics | Intel® Core™ Ultra NPU Driver | |
| TBD | TBD | |
| TBD | TBD | |
| TBD | TBD |
Enable WebNN
The Windows ML / OpenVINO Execution Provider requires Windows 11, version 24H2 or newer to run
Install the latest Chrome Canary or Edge Canary
Navigate to about://flags in browser address bar
Search for Enables WebNN API and change it to Enabled
Relaunch browser
Run WebNN on LiteRT backend (CPU and GPU)
Windows 11 versions prior to 24H2, Windows 10 and Linux
Navigate to about://flags in browser address bar
Search for ONNX Runtime backend for WebNN and change it to Disabled
Search for DirectML backend for WebNN and change it to Disabled
Relaunch browser
Debug
Learn how to determine if you are running on Windows ML / OpenVINO Execution Provider on Windows 11.
If you are a developer, visit the debug page for information about WebNN debugging options.
Last updated on