microsoft / onnxruntime

ONNX Runtime: cross-platform, high performance ML inferencing and training accelerator
https://onnxruntime.ai
MIT License
14.77k stars 2.94k forks source link

[WebNN] Remove wasm.currentContext check #22886

Closed Honry closed 2 days ago

Honry commented 2 days ago

If a WebNN session is threw early, this check for wasm.currentContext will break all the following WebNN sessions, this often happens in npm tests.

Honry commented 2 days ago

@egalli, @fdwr, PTAL, thanks!

guschmue commented 2 days ago

/azp run ONNX Runtime Web CI Pipeline,Windows GPU CI Pipeline,Linux Android Emulator QNN CI Pipeline

guschmue commented 2 days ago

/azp run Linux CPU CI Pipeline,Linux CPU Minimal Build E2E CI Pipeline,Linux GPU CI Pipeline,Linux GPU TensorRT CI Pipeline,Linux OpenVINO CI Pipeline,Linux QNN CI Pipeline,MacOS CI Pipeline,Windows ARM64 QNN CI Pipeline,Windows CPU CI Pipeline

guschmue commented 2 days ago

/azp run Windows GPU TensorRT CI Pipeline,onnxruntime-binary-size-checks-ci-pipeline,orttraining-linux-ci-pipeline,orttraining-linux-gpu-ci-pipeline,orttraining-ortmodule-distributed,Windows x64 QNN CI Pipeline,Big Models

azure-pipelines[bot] commented 2 days ago
Azure Pipelines successfully started running 1 pipeline(s).
azure-pipelines[bot] commented 2 days ago
Azure Pipelines could not run because the pipeline triggers exclude this branch/path.
guschmue commented 2 days ago

/azp run Windows GPU CUDA CI Pipeline,Windows GPU DML CI Pipeline,Windows GPU Doc Gen CI Pipeline

azure-pipelines[bot] commented 2 days ago
Azure Pipelines successfully started running 1 pipeline(s).
azure-pipelines[bot] commented 2 days ago
Azure Pipelines could not run because the pipeline triggers exclude this branch/path.