microsoft / microsoft/onnxruntime
[Web] Different results for WebGPU and WASM on LightGlue-ONNX
- Dominant language
- C++
- Stars
- 21.9k
- Forks
- 4.2k
- Avg merge
- 4d 11h
- Merged PRs (30d)
- 184
Description
### Describe the issue
I am trying to run this superpoint + lightglue onnx model from this repository: https://github.com/fabio-sim/LightGlue-ONNX in onnxruntime-web with gpu acceleration.
When I test the model with the wasm ep, I get the expected results with keypoints, matches, and scores. When running with webgpu, I get keypoints, but no matches. When trying webnn, I get the same results as wasm.
I've also included a log file from turning on verbose logging, but I'm unsure of how to make sense of it to determine what is causing the issue, so insight on how to debug this with the logs would be helpful.
The first result is running with wasm, the second is webgpu.

Small snippet of the logs after the model is loaded.

### To reproduce
Model, images, test code, and logs: https://drive.google.com/drive/folders/1_vrhMIwPnakonMR97c8tdLvHfYFK__ef?usp=drive_link
### Urgency
_No response_
### ONNX Runtime Installation
Released Package
### ONNX Runtime Version or Commit ID
1.22.0
### Execution Provider
'webgpu' (WebGPU)
Contributor guide
Assessment
This issue has not been assessed yet.