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/debug.mdx
+17-6Lines changed: 17 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ import NvidiaIcon from '../../../../app/_components/icons/ihv/nvidia.jsx'
12
12
13
13
1. Follow the [WebNN Installation Guide](installation) to enable WebNN API and switch to Windows ML / ONNX Runtime backend
14
14
2. Put the ONNX Runtime dynamic link librares into a folder under `C:\Program Files\`, e.g. `C:\Program Files\ONNXRuntime`
15
-
3. Launch your Chrome or Edge browser with switch [--webnn-ort-library-path-for-testing](../../api-reference/browser-compatibility/chrome-flags#--webnn-ort-library-path-for-testing)
15
+
3. Launch your Chrome or Edge browser with switch [`--webnn-ort-library-path-for-testing`](../../api-reference/browser-compatibility/chrome-flags#--webnn-ort-library-path-for-testing)
16
16
17
17
<divclassName="ort-ep">
18
18
```shell
@@ -32,7 +32,7 @@ If you are running WebNN on AMD, Intel, Nvidia, or Qualcomm devices and need to
32
32
33
33
1. Follow the [WebNN Installation Guide](installation) to enable WebNN API and switch to Windows ML / ONNX Runtime backend
34
34
2. Put the ONNX Runtime and Execution Provider dynamic link librares into a folder under `C:\Program Files\`, e.g. `C:\Program Files\ONNXRuntime-EP`
35
-
3. Launch your Chrome or Edge browser with switch [--webnn-ort-ep-library-path-for-testing](../../api-reference/browser-compatibility/chrome-flags#--webnn-ort-ep-library-path-for-testing)
35
+
3. Launch your Chrome or Edge browser with switch [`--webnn-ort-ep-library-path-for-testing`](../../api-reference/browser-compatibility/chrome-flags#--webnn-ort-ep-library-path-for-testing)
36
36
37
37
### Execution Provider Mapping Table for Independent Hardware Vendors
38
38
@@ -97,7 +97,7 @@ TBD
97
97
98
98
## Use Custom Build of GPU or NPU Drivers
99
99
100
-
If you are testing with custom or internal GPU or NPU drivers, add the [--allow-third-party-modules](../../api-reference/browser-compatibility/chrome-flags#--allow-third-party-modules) switch when launching the browser.
100
+
If you are testing with custom or internal GPU or NPU drivers, add the [`--allow-third-party-modules`](../../api-reference/browser-compatibility/chrome-flags#--allow-third-party-modules) switch when launching the browser.
101
101
102
102
<divclassName="ort-ep">
103
103
```shell
@@ -113,7 +113,7 @@ If you are testing with custom or internal GPU or NPU drivers, add the [--allow-
113
113
114
114
## Debug Sandbox Issues
115
115
116
-
In some cases, you may need to debug WebNN by disabling Chromium's security sandbox using the [--disable-gpu-sandbox](../../api-reference/browser-compatibility/chrome-flags#--disable-gpu-sandbox) switch.
116
+
In some cases, you may need to debug WebNN by disabling Chromium's security sandbox using the [`--disable-gpu-sandbox`](../../api-reference/browser-compatibility/chrome-flags#--disable-gpu-sandbox) switch.
117
117
118
118
<divclassName="ort-ep">
119
119
```shell
@@ -129,7 +129,7 @@ In some cases, you may need to debug WebNN by disabling Chromium's security sand
129
129
130
130
## Inspect the Verbose Logging
131
131
132
-
You can configure the logging severity level of ONNX Runtime using the switch [--webnn-ort-logging-level](../../api-reference/browser-compatibility/chrome-flags#--webnn-ort-logging-level). Other available severity levels include "INFO", "WARNING", "ERROR" (default), and "FATAL".
132
+
You can configure the logging severity level of ONNX Runtime using the switch [`--webnn-ort-logging-level`](../../api-reference/browser-compatibility/chrome-flags#--webnn-ort-logging-level). Other available severity levels include "INFO", "WARNING", "ERROR" (default), and "FATAL".
133
133
134
134
<divclassName="ort-ep">
135
135
```shell
@@ -143,6 +143,17 @@ You can configure the logging severity level of ONNX Runtime using the switch [-
Copy file name to clipboardExpand all lines: content/zh/learn/get-started/debug.mdx
+17-6Lines changed: 17 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ import NvidiaIcon from '../../../../app/_components/icons/ihv/nvidia.jsx'
12
12
13
13
1. Follow the [WebNN Installation Guide](installation) to enable WebNN API and switch to Windows ML / ONNX Runtime backend
14
14
2. Put the ONNX Runtime dynamic link librares into a folder under `C:\Program Files\`, e.g. `C:\Program Files\ONNXRuntime`
15
-
3. Launch your Chrome or Edge browser with switch [--webnn-ort-library-path-for-testing](../../api-reference/browser-compatibility/chrome-flags#--webnn-ort-library-path-for-testing)
15
+
3. Launch your Chrome or Edge browser with switch [`--webnn-ort-library-path-for-testing`](../../api-reference/browser-compatibility/chrome-flags#--webnn-ort-library-path-for-testing)
16
16
17
17
<divclassName="ort-ep">
18
18
```shell
@@ -32,7 +32,7 @@ If you are running WebNN on AMD, Intel, Nvidia, or Qualcomm devices and need to
32
32
33
33
1. Follow the [WebNN Installation Guide](installation) to enable WebNN API and switch to Windows ML / ONNX Runtime backend
34
34
2. Put the ONNX Runtime and Execution Provider dynamic link librares into a folder under `C:\Program Files\`, e.g. `C:\Program Files\ONNXRuntime-EP`
35
-
3. Launch your Chrome or Edge browser with switch [--webnn-ort-ep-library-path-for-testing](../../api-reference/browser-compatibility/chrome-flags#--webnn-ort-ep-library-path-for-testing)
35
+
3. Launch your Chrome or Edge browser with switch [`--webnn-ort-ep-library-path-for-testing`](../../api-reference/browser-compatibility/chrome-flags#--webnn-ort-ep-library-path-for-testing)
36
36
37
37
### Execution Provider Mapping Table for Independent Hardware Vendors
38
38
@@ -97,7 +97,7 @@ TBD
97
97
98
98
## Use Custom Build of GPU or NPU Drivers
99
99
100
-
If you are testing with custom or internal GPU or NPU drivers, add the [--allow-third-party-modules](../../api-reference/browser-compatibility/chrome-flags#--allow-third-party-modules) switch when launching the browser.
100
+
If you are testing with custom or internal GPU or NPU drivers, add the [`--allow-third-party-modules`](../../api-reference/browser-compatibility/chrome-flags#--allow-third-party-modules) switch when launching the browser.
101
101
102
102
<divclassName="ort-ep">
103
103
```shell
@@ -113,7 +113,7 @@ If you are testing with custom or internal GPU or NPU drivers, add the [--allow-
113
113
114
114
## Debug Sandbox Issues
115
115
116
-
In some cases, you may need to debug WebNN by disabling Chromium's security sandbox using the [--disable-gpu-sandbox](../../api-reference/browser-compatibility/chrome-flags#--disable-gpu-sandbox) switch.
116
+
In some cases, you may need to debug WebNN by disabling Chromium's security sandbox using the [`--disable-gpu-sandbox`](../../api-reference/browser-compatibility/chrome-flags#--disable-gpu-sandbox) switch.
117
117
118
118
<divclassName="ort-ep">
119
119
```shell
@@ -129,7 +129,7 @@ In some cases, you may need to debug WebNN by disabling Chromium's security sand
129
129
130
130
## Inspect the Verbose Logging
131
131
132
-
You can configure the logging severity level of ONNX Runtime using the switch [--webnn-ort-logging-level](../../api-reference/browser-compatibility/chrome-flags#--webnn-ort-logging-level). Other available severity levels include "INFO", "WARNING", "ERROR" (default), and "FATAL".
132
+
You can configure the logging severity level of ONNX Runtime using the switch [`--webnn-ort-logging-level`](../../api-reference/browser-compatibility/chrome-flags#--webnn-ort-logging-level). Other available severity levels include "INFO", "WARNING", "ERROR" (default), and "FATAL".
133
133
134
134
<divclassName="ort-ep">
135
135
```shell
@@ -143,6 +143,17 @@ You can configure the logging severity level of ONNX Runtime using the switch [-
0 commit comments