Skip to content

Commit

Permalink
[WebNN EP] Update chromium flag (microsoft#20732)
Browse files Browse the repository at this point in the history
WebNN is currently enabled behind "Enables WebNN API" flag.
  • Loading branch information
Honry authored May 20, 2024
1 parent ddafbf2 commit 0399d1b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion js/web/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ Refer to the following links for development information:
- \[2]: WebGPU requires Chromium v113 or later on Windows. Float16 support requires Chrome v121 or later, and Edge v122 or later.
- \[3]: WebGPU requires Chromium v121 or later on Windows.
- \[4]: WebGL support is in maintenance mode. It is recommended to use WebGPU for better performance.
- \[5]: Requires to launch browser with commandline flag `--enable-experimental-web-platform-features`.
- \[5]: Requires to launch browser with commandline flag `--enable-features=WebMachineLearningNeuralNetwork`.

### Operators

Expand Down
2 changes: 1 addition & 1 deletion js/web/script/test-runner-cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -569,7 +569,7 @@ async function main() {
chromiumFlags.push('--enable-dawn-features=allow_unsafe_apis,use_dxc');
}
if (webnn) {
chromiumFlags.push('--enable-experimental-web-platform-features');
chromiumFlags.push('--enable-features=WebMachineLearningNeuralNetwork');
}
if (process.argv.includes('--karma-debug')) {
karmaArgs.push('--log-level debug');
Expand Down

0 comments on commit 0399d1b

Please sign in to comment.