Skip to Content
🚧 The WebNN documentation is work-in-progress. Share feedback →
LearnGet Started⚙️ Installation

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

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 

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

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