Skip to content

[Web] Fail to run some WPT WebNN argMin/argMax conformance tests of uint32/uint64 types by default CPU EP #25183

Open
@BruceDai

Description

@BruceDai

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

  1. Download and install latest Chrome Canary for Windows 11/10 64-bit
  2. Open Command Prompt, execute blow command to launch Chrome Canary
"%LOCALAPPDATA%\Google\Chrome SxS\Application\chrome.exe" --enable-features=WebMachineLearningNeuralNetwork,WebNNOnnxRuntime
  1. 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

f217402

Execution Provider

Other / Unknown

Metadata

Metadata

Assignees

No one assigned

    Labels

    ep:WebNNWebNN execution providerplatform:webissues related to ONNX Runtime web; typically submitted using template

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions