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.

Windows OS:

Enabling WebNN

Install the latest Chrome Canary or Edge Canary

Search for Enables WebNN API and change it to Enabled

Exit browser

Running WebNN on Windows ML backend (CPU, GPU and NPU)

Window 11, version 24H2 or newer

Install Windows ML Runtime from Microsoft Store

Install Windows ML Runtime Intel OpenVINO Execution Provider from Microsoft Store

Search for ONNX Runtime backend for WebNN and change it to Enabled

Relaunch browser

Running WebNN on LiteRT backend (CPU and GPU)

Windows 11, 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

Last updated on