Skip to content

Commit a78a1aa

Browse files
authored
Merge pull request #20 from ibelem/install-windowsml
Update installation for Windows ML backend
2 parents be56628 + ca10d01 commit a78a1aa

File tree

3 files changed

+16
-22
lines changed

3 files changed

+16
-22
lines changed

app/style.css

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,18 @@ h5 {
164164
color: var(--light);
165165
}
166166

167+
.light h3 .x\:text-primary-600 {
168+
color: var(--n-1);
169+
background-color: var(--dark-bg);
170+
border-radius: 5px;
171+
padding: 0 0.4rem;
172+
}
173+
174+
.light h3:hover .x\:text-primary-600 {
175+
color: white;
176+
background-color: var(--n-1);
177+
}
178+
167179
.x\:mt-16 {
168180
margin-top: 0;
169181
display: none;

content/en/learn/get-started/installation.mdx

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -18,17 +18,16 @@ import InfoIcon from '../../../../app/_components/icons/info.jsx'
1818
### Exit browser
1919
</Steps>
2020

21-
## Running WebNN on Windows ML backend
21+
## Running WebNN on Windows ML backend 🚧 (CPU, GPU and NPU)
2222

2323
<Steps>
2424
### Install [Windows ML Runtime](https://apps.microsoft.com/detail/9mvl55dvgwww) from Microsoft Store
25+
### Install [Windows ML Runtime Intel OpenVINO Execution Provider](https://apps.microsoft.com/detail/9ph4ckr43xlp) from Microsoft Store
2526
### Navigate to `about://flags` in browser address bar
2627
### Search for `ONNX Runtime backend for WebNN` and change it to `Enabled`
2728
### Exit browser
2829
</Steps>
2930

30-
### CPU
31-
3231
#### Launch Chrome Canary or Edge Canary
3332

3433
```bash copy showLineNumbers filename="launch-chrome-canary"
@@ -39,14 +38,6 @@ import InfoIcon from '../../../../app/_components/icons/info.jsx'
3938
"%LOCALAPPDATA%\Microsoft\Edge SxS\Application\msedge.exe"
4039
```
4140

42-
### GPU
43-
44-
🚧 WIP
45-
46-
### NPU
47-
48-
🚧 WIP
49-
5041
## Running WebNN on DirectML backend
5142

5243
### GPU

content/zh/learn/get-started/installation.mdx

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -18,17 +18,16 @@ import InfoIcon from '../../../../app/_components/icons/info.jsx'
1818
### Exit browser
1919
</Steps>
2020

21-
## Running WebNN on Windows ML backend
21+
## Running WebNN on Windows ML backend 🚧 (CPU, GPU and NPU)
2222

2323
<Steps>
2424
### Install [Windows ML Runtime](https://apps.microsoft.com/detail/9mvl55dvgwww) from Microsoft Store
25+
### Install [Windows ML Runtime Intel OpenVINO Execution Provider](https://apps.microsoft.com/detail/9ph4ckr43xlp) from Microsoft Store
2526
### Navigate to `about://flags` in browser address bar
2627
### Search for `ONNX Runtime backend for WebNN` and change it to `Enabled`
2728
### Exit browser
2829
</Steps>
2930

30-
### CPU
31-
3231
#### Launch Chrome Canary or Edge Canary
3332

3433
```bash copy showLineNumbers filename="launch-chrome-canary"
@@ -39,14 +38,6 @@ import InfoIcon from '../../../../app/_components/icons/info.jsx'
3938
"%LOCALAPPDATA%\Microsoft\Edge SxS\Application\msedge.exe"
4039
```
4140

42-
### GPU
43-
44-
🚧 WIP
45-
46-
### NPU
47-
48-
🚧 WIP
49-
5041
## Running WebNN on DirectML backend
5142

5243
### GPU

0 commit comments

Comments
 (0)