WebNN Installation Guide for the AI PC
To get started with WebNN on Intel AI PCs you will need:
  1. Download and install the latest Chrome Canary or Edge Canary
  2. Navigate to about://flags in browser address bar
  3. Search for Enables WebNN API and change it to Enabled
  4. Exit browser

Running WebNN on CPU or GPU

  1. Launch Chrome Canary or Edge Canary

Running WebNN on NPU

Chrome Canary

  1. Download the latest redistributable Microsoft.AI.DirectML, rename microsoft.ai.directml.<version>.nupkg to microsoft.ai.directml.<version>.nupkg.zip and extract it
  2. Copy \bin\x64-win\DirectML.dll to %LOCALAPPDATA%\Google\Chrome SxS\Application\<version>\
    • %LOCALAPPDATA% means C:\Users\<username>\AppData\Local\
    • Note that Chrome Canary frequently updates automatically. When this occurs, recopy the DirectML.dll to the new version's directory.
  3. Launch Chrome Canary in Windows Command Line: "%LOCALAPPDATA%\Google\Chrome SxS\Application\chrome.exe" --use-redist-dml --disable_webnn_for_npu=0

Edge Canary

  1. Ensure the DirectML.dll was downloaded automatically (may take several minutes)
    1. Launch Edge Canary
    2. Go to %LOCALAPPDATA%\Microsoft\Edge SxS\User Data, check the EdgeOnnxRuntimeDirectML\<version>\DirectML.dll exists
    3. %LOCALAPPDATA% means C:\Users\<username>\AppData\Local\
    4. Exit Edge Canary
  2. Launch Edge Canary in Windows Command Line: "%LOCALAPPDATA%\Microsoft\Edge SxS\Application\msedge.exe" --disable_webnn_for_npu=0
  3. If EdgeOnnxRuntimeDirectML\<version>\DirectML.dll does not exist under %LOCALAPPDATA%\Microsoft\Edge SxS\User Data:
    • Go to edge://components/
    • Click Check for update button of Edge Video Super Resolution
    • Repeat step 2

ONNX Runtime Web

Select the Dev version of ONNX Runtime Web to be tested.

ONNX Runtime Web

Select the Stable version of ONNX Runtime Web to be tested.
Runtime Web
Wasm · WebGPU · WebNN

Your CPU Model

This website does not collect any test equipment information or user data. It is intended solely for your local use.
Estimating Memory