Skip to content

fixes to pass webnn DequantizeLinear compliance tests over webgpu ep#27778

Merged
guschmue merged 17 commits intomainfrom
gs/wgpu-webnn-dequant
Mar 30, 2026
Merged

fixes to pass webnn DequantizeLinear compliance tests over webgpu ep#27778
guschmue merged 17 commits intomainfrom
gs/wgpu-webnn-dequant

Conversation

@guschmue
Copy link
Copy Markdown
Contributor

This PR is on top of a previous PR and fixes the remaining issues.
#27706

All tests here should be passing now over webgpu:
https://wpt.live/webnn/conformance_tests/dequantizeLinear.https.any.html?gpu

@guschmue guschmue added the ep:WebGPU ort-web webgpu provider label Mar 20, 2026
Copy link
Copy Markdown
Contributor

@github-actions github-actions Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can commit the suggested changes from lintrunner.

Comment thread onnxruntime/core/providers/webgpu/quantization/quantize_linear.cc Outdated
guschmue and others added 2 commits March 20, 2026 08:57
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Comment thread onnxruntime/core/providers/webgpu/quantization/quantize_linear.cc Outdated
Comment thread onnxruntime/core/providers/webgpu/quantization/quantize_linear.cc Outdated
@edgchen1
Copy link
Copy Markdown
Contributor

are we hitting the new code paths with our existing unit tests? I'm not sure if all of the relevant tests in onnxruntime\test\providers\cpu\tensor\quantize_linear_test.cc are running for WebGPU EP.

@guschmue guschmue enabled auto-merge (squash) March 26, 2026 16:43
@guschmue guschmue closed this Mar 30, 2026
auto-merge was automatically disabled March 30, 2026 15:22

Pull request was closed

@guschmue guschmue reopened this Mar 30, 2026
@guschmue
Copy link
Copy Markdown
Contributor Author

yes, some of the ut was not enabled for webgpu. Fixed now.

@guschmue guschmue enabled auto-merge (squash) March 30, 2026 18:25
@guschmue guschmue merged commit 5b580e2 into main Mar 30, 2026
144 of 190 checks passed
@guschmue guschmue deleted the gs/wgpu-webnn-dequant branch March 30, 2026 20:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ep:WebGPU ort-web webgpu provider

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants