Skip to content

Commit 5db65aa

Browse files
authored
Merge pull request #300 from mingmingtasd/npu_steps
Add some notes for flags to README
2 parents 6e6f188 + 8f90a33 commit 5db65aa

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

README.md

+8-2
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ WebNN Samples is currently hosted on GitHub Pages, with model files stored on Am
4646

4747
To get started with WebNN on Intel AI PCs you will need:
4848
* Window 11, version 21H2 or newer
49-
* 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) on Windows for improved WebNN compatibility and performance
49+
* 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) for improved WebNN compatibility and performance
5050

5151
1. Download and install the latest [Chrome Canary](https://www.google.com/chrome/canary/) or [Edge Canary](https://www.microsoft.com/en-us/edge/download/insider?form=MA13FJ)
5252
2. Navigate to `about://flags` in browser address bar
@@ -56,6 +56,11 @@ To get started with WebNN on Intel AI PCs you will need:
5656
#### Running WebNN on CPU or GPU
5757
1. Launch Chrome Canary or Edge Canary
5858

59+
* **Notes**:
60+
61+
1. Running WebNN on Qualcomm GPUs is disabled by default. You can use the `--disable_webnn_for_gpu=0` flag to bypass.
62+
2. If you run WebNN on Intel GPUs with old driver versions between 31.0.101.5518 and 32.0.101.6083, the performance may not be good enough, because the DirectML execution of metacommands on these drivers is disabled by default due to some stability bugs. You can use `--disable_dml_meta_commands_for_gpu=0` to bypass. However, the functionality is not guaranteed.
63+
5964
#### Running WebNN on NPU
6065
At present, the [image classification](https://webmachinelearning.github.io/webnn-samples/image_classification/) and [object detection](https://webmachinelearning.github.io/webnn-samples/object_detection/) samples support NPU.
6166

@@ -84,7 +89,8 @@ At present, the [image classification](https://webmachinelearning.github.io/webn
8489

8590
* **Notes**:
8691

87-
Running WebNN on NPU requires a higher version of DirectML.dll than the one in the Windows system. Using the `--use-redist-dml` flag will allow Google Chrome Canary to load the downloaded DirectML.dll with a sufficiently high version.
92+
1. Running WebNN on NPU requires a higher version of DirectML.dll than the one in the Windows system. Using the `--use-redist-dml` flag will allow Google Chrome Canary to load the downloaded DirectML.dll with a sufficiently high version.
93+
2. Since the NPU drivers may be blocked by default if they are not the latest [Intel® Core™ Ultra NPU Driver on Windows](https://www.intel.com/content/www/us/en/download/794734/intel-npu-driver-windows.html), you can use the `--disable_webnn_for_npu=0` flag to bypass. However, the functionality is not guaranteed.
8894

8995
## Support and Feedback
9096
If you encounter any issues or have feedback on the WebNN Samples, please open an issue on the repository. We appreciate your input and will strive to address any problems as quickly as possible.

0 commit comments

Comments
 (0)