You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/en/learn/get-started/installation.mdx
+16-62Lines changed: 16 additions & 62 deletions
Original file line number
Diff line number
Diff line change
@@ -5,84 +5,38 @@ import InfoIcon from '../../../../app/_components/icons/info.jsx'
5
5
6
6
> <InfoIcon /> To use WebNN before the [Origin Trial](https://developer.chrome.com/docs/web-platform/origin-trials) milestone, complete these setup requirements.
7
7
8
-
- Window 11, version 21H2 or newer
9
-
- It's recommended to install the latest [Intel® Arc™ & Iris® Xe Graphics on Windows](https://www.intel.com/content/www/us/en/download/785597/intel-arc-iris-xe-graphics-windows.html)
10
-
- It's recommended to install the latest [Intel® Core™ Ultra NPU Driver on Windows](https://www.intel.com/content/www/us/en/download/794734/intel-npu-driver-windows.html)
8
+
Windows OS:
9
+
- It's recommended to install the latest [Intel® Arc™ & Iris® Xe Graphics](https://www.intel.com/content/www/us/en/download/785597/intel-arc-iris-xe-graphics-windows.html)
10
+
- It's recommended to install the latest [Intel® Core™ Ultra NPU Driver](https://www.intel.com/content/www/us/en/download/794734/intel-npu-driver-windows.html)
11
11
12
12
## Enabling WebNN
13
13
14
14
<Steps>
15
-
### Download and install the latest [Chrome Canary](https://google.com/chrome/canary) or [Edge Canary](https://www.microsoft.com/en-us/edge/download/insider?form=MA13FJ)
15
+
### Install the latest [Chrome Canary](https://google.com/chrome/canary) or [Edge Canary](https://www.microsoft.com/en-us/edge/download/insider?form=MA13FJ)
16
16
### Navigate to `about://flags` in browser address bar
17
17
### Search for `Enables WebNN API` and change it to `Enabled`
18
18
### Exit browser
19
19
</Steps>
20
20
21
-
## Running WebNN on Windows ML backend 🚧 (CPU, GPU and NPU)
21
+
## Running WebNN on Windows ML backend (CPU, GPU and NPU)
22
+
23
+
> <InfoIcon /> Window 11, version 24H2 or newer
22
24
23
25
<Steps>
24
26
### Install [Windows ML Runtime](https://apps.microsoft.com/detail/9mvl55dvgwww) from Microsoft Store
25
27
### Install [Windows ML Runtime Intel OpenVINO Execution Provider](https://apps.microsoft.com/detail/9ph4ckr43xlp) from Microsoft Store
26
28
### Navigate to `about://flags` in browser address bar
27
29
### Search for `ONNX Runtime backend for WebNN` and change it to `Enabled`
- It's recommended to install the [Intel® Core™ Ultra NPU Driver 32.0.100.3717 on Windows](https://www.intel.com/content/www/us/en/download/794734/848729/intel-npu-driver-windows.html) for improved WebNN compatibility and performance
59
-
- Prepare the `DirectML.dll`. Download the latest redistributable [Microsoft.AI.DirectML](https://www.nuget.org/packages/Microsoft.AI.DirectML/1.15.2), rename `microsoft.ai.directml.[version].nupkg` to `microsoft.ai.directml.[version].nupkg.zip` and extract it
35
+
> <InfoIcon /> Windows 11, Windows 10 and Linux
60
36
61
-
#### Chrome Canary
62
-
63
-
##### Put the `DirectML.dll` into correct path
64
-
65
-
Copy `\bin\x64-win\DirectML.dll` to `%LOCALAPPDATA%\Google\Chrome SxS\Application\[version]\`
66
-
-`%LOCALAPPDATA%` means `C:\Users\<username>\AppData\Local\`
67
-
- Note that Chrome Canary frequently updates automatically. When this occurs, recopy the `DirectML.dll` to the new version's directory.
68
-
##### Launch Chrome Canary in Windows Command Line
Copy file name to clipboardExpand all lines: content/zh/learn/get-started/installation.mdx
+16-62Lines changed: 16 additions & 62 deletions
Original file line number
Diff line number
Diff line change
@@ -5,84 +5,38 @@ import InfoIcon from '../../../../app/_components/icons/info.jsx'
5
5
6
6
> <InfoIcon /> To use WebNN before the [Origin Trial](https://developer.chrome.com/docs/web-platform/origin-trials) milestone, complete these setup requirements.
7
7
8
-
- Window 11, version 21H2 or newer
9
-
- It's recommended to install the latest [Intel® Arc™ & Iris® Xe Graphics on Windows](https://www.intel.com/content/www/us/en/download/785597/intel-arc-iris-xe-graphics-windows.html)
10
-
- It's recommended to install the latest [Intel® Core™ Ultra NPU Driver on Windows](https://www.intel.com/content/www/us/en/download/794734/intel-npu-driver-windows.html)
8
+
Windows OS:
9
+
- It's recommended to install the latest [Intel® Arc™ & Iris® Xe Graphics](https://www.intel.com/content/www/us/en/download/785597/intel-arc-iris-xe-graphics-windows.html)
10
+
- It's recommended to install the latest [Intel® Core™ Ultra NPU Driver](https://www.intel.com/content/www/us/en/download/794734/intel-npu-driver-windows.html)
11
11
12
12
## Enabling WebNN
13
13
14
14
<Steps>
15
-
### Download and install the latest [Chrome Canary](https://google.com/chrome/canary) or [Edge Canary](https://www.microsoft.com/en-us/edge/download/insider?form=MA13FJ)
15
+
### Install the latest [Chrome Canary](https://google.com/chrome/canary) or [Edge Canary](https://www.microsoft.com/en-us/edge/download/insider?form=MA13FJ)
16
16
### Navigate to `about://flags` in browser address bar
17
17
### Search for `Enables WebNN API` and change it to `Enabled`
18
18
### Exit browser
19
19
</Steps>
20
20
21
-
## Running WebNN on Windows ML backend 🚧 (CPU, GPU and NPU)
21
+
## Running WebNN on Windows ML backend (CPU, GPU and NPU)
22
+
23
+
> <InfoIcon /> Window 11, version 24H2 or newer
22
24
23
25
<Steps>
24
26
### Install [Windows ML Runtime](https://apps.microsoft.com/detail/9mvl55dvgwww) from Microsoft Store
25
27
### Install [Windows ML Runtime Intel OpenVINO Execution Provider](https://apps.microsoft.com/detail/9ph4ckr43xlp) from Microsoft Store
26
28
### Navigate to `about://flags` in browser address bar
27
29
### Search for `ONNX Runtime backend for WebNN` and change it to `Enabled`
- It's recommended to install the [Intel® Core™ Ultra NPU Driver 32.0.100.3717 on Windows](https://www.intel.com/content/www/us/en/download/794734/848729/intel-npu-driver-windows.html) for improved WebNN compatibility and performance
59
-
- Prepare the `DirectML.dll`. Download the latest redistributable [Microsoft.AI.DirectML](https://www.nuget.org/packages/Microsoft.AI.DirectML/1.15.2), rename `microsoft.ai.directml.[version].nupkg` to `microsoft.ai.directml.[version].nupkg.zip` and extract it
35
+
> <InfoIcon /> Windows 11, Windows 10 and Linux
60
36
61
-
#### Chrome Canary
62
-
63
-
##### Put the `DirectML.dll` into correct path
64
-
65
-
Copy `\bin\x64-win\DirectML.dll` to `%LOCALAPPDATA%\Google\Chrome SxS\Application\[version]\`
66
-
-`%LOCALAPPDATA%` means `C:\Users\<username>\AppData\Local\`
67
-
- Note that Chrome Canary frequently updates automatically. When this occurs, recopy the `DirectML.dll` to the new version's directory.
68
-
##### Launch Chrome Canary in Windows Command Line
0 commit comments