Description
Describe the issue
When running WPT WebNN argMin/argMax conformance tests by default CPU EP on latest Chrome Canary (version: 140.0.7260.0), below 4 tests of uint32
/uint64
types run Fail.
argMin uint32 4D tensor, axis=1, all options
argMin uint64 4D tensor, axis=1, all options
argMax uint32 4D tensor, axis=1, all options
argMax uint64 4D tensor, axis=1, all options
Error message on the tab of navigating to chrome://gpu
.
[24856:30700:0626/134813.515:ERROR:services\webnn\ort\graph_impl_ort.cc:178] : [WebNN] Failed to call ort_model_editor_api->CreateSessionFromModel( env.get(), model_info->model.get(), session_options->get(), ScopedOrtSession::Receiver(session).get()): [WebNN] ORT status error code: 9 error message: Could not find an implementation for ArgMin(13) node with name '_0'
[24856:30700:0626/134813.545:ERROR:services\webnn\ort\graph_impl_ort.cc:178] : [WebNN] Failed to call ort_model_editor_api->CreateSessionFromModel( env.get(), model_info->model.get(), session_options->get(), ScopedOrtSession::Receiver(session).get()): [WebNN] ORT status error code: 9 error message: Could not find an implementation for ArgMin(13) node with name '_0'
[24856:30700:0626/134814.361:ERROR:services\webnn\ort\graph_impl_ort.cc:178] : [WebNN] Failed to call ort_model_editor_api->CreateSessionFromModel( env.get(), model_info->model.get(), session_options->get(), ScopedOrtSession::Receiver(session).get()): [WebNN] ORT status error code: 9 error message: Could not find an implementation for ArgMax(13) node with name '_0'
[24856:30700:0626/134814.384:ERROR:services\webnn\ort\graph_impl_ort.cc:178] : [WebNN] Failed to call ort_model_editor_api->CreateSessionFromModel( env.get(), model_info->model.get(), session_options->get(), ScopedOrtSession::Receiver(session).get()): [WebNN] ORT status error code: 9 error message: Could not find an implementation for ArgMax(13) node with name '_0'
@fdwr @shiyi9801 PTAL, thanks!
To reproduce
- Download and install latest Chrome Canary for Windows 11/10 64-bit
- Open Command Prompt, execute blow command to launch Chrome Canary
"%LOCALAPPDATA%\Google\Chrome SxS\Application\chrome.exe" --enable-features=WebMachineLearningNeuralNetwork,WebNNOnnxRuntime
- Navigate to test URL
https://wpt.live/webnn/conformance_tests/arg_min_max.https.any.html?cpu
Urgency
No response
ONNX Runtime Installation
Built from Source
ONNX Runtime Version or Commit ID
Execution Provider
Other / Unknown