Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Web] Uncaught WebGPU validation error on Snapdragon SM8450 but works on SM8250 #21970

Open
tbmc opened this issue Sep 3, 2024 · 2 comments
Open
Labels
ep:WebGPU ort-web webgpu provider platform:mobile issues related to ONNX Runtime mobile; typically submitted using template platform:web issues related to ONNX Runtime web; typically submitted using template

Comments

@tbmc
Copy link

tbmc commented Sep 3, 2024

Describe the issue

Web app using onnxruntime Web GPU fails on some Snapdragon.
It works on my computer, it works on my old phone but not on my more recent tablet.

Device OS CPU GPU Chrome version Status
My computer Windows 11 I9-9900K GTX 3070 128.0.6613.114 No error
Samsung S20 FE 5G (SM-G781B) Android 13 Qualcomm SM8250 Snapdragon 865 5G Adreno 650 128.0.6613.99 No error
Samsung Galaxy Tab S8 (SM-X700) Android 14 Qualcomm SM8450 Snapdragon 8 Gen 1 Adreno 730 128.0.6613.99 ⚠️ $${\color{red}Error}$$

Error logs:
Errors

To reproduce

I did a small Sveltekit repo which can reproduce the bug
https://github.com/tbmc/onnx-web-error-example

Otherwise:

  • Export yolov7-tiny to Onnx
  • Run an inference with the model on a Galaxy Tab S8 in Chrome with WebGPU

Urgency

No response

ONNX Runtime Installation

Released Package

ONNX Runtime Version or Commit ID

1.18.0 & 1.19.0 & 1.19.2

Execution Provider

'webgpu' (WebGPU)

@tbmc tbmc added the platform:web issues related to ONNX Runtime web; typically submitted using template label Sep 3, 2024
@github-actions github-actions bot added ep:WebGPU ort-web webgpu provider platform:mobile issues related to ONNX Runtime mobile; typically submitted using template labels Sep 3, 2024
@tbmc tbmc changed the title [Web] Uncaught WebGPU validation error on Snapdragon SM8450 but not on SM8250 [Web] Uncaught WebGPU validation error on Snapdragon SM8450 but works on SM8250 Sep 4, 2024
Copy link
Contributor

github-actions bot commented Oct 4, 2024

This issue has been automatically marked as stale due to inactivity and will be closed in 30 days if no further activity occurs. If further support is needed, please provide an update and/or more details.

@github-actions github-actions bot added the stale issues that have not been addressed in a while; categorized by a bot label Oct 4, 2024
@tbmc
Copy link
Author

tbmc commented Oct 9, 2024

On [email protected] I still have the issue.
After updating to this version, I didn't have the error anymore because I was passing an empty array to ONNX Runtime. I updated the repo to use an image as input and errors are back.

I retested all 3 devices and errors are still the same with updated Chrome versions.

Device Chrome version Status
My computer 129.0.6668.101 No error
Samsung S20 FE 5G (SM-G781B) 129.0.6668.81 No error
Samsung Galaxy Tab S8 (SM-X700) 129.0.6668.81 ⚠️ $${\color{red}Error}$$

@github-actions github-actions bot removed the stale issues that have not been addressed in a while; categorized by a bot label Oct 9, 2024
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 platform:mobile issues related to ONNX Runtime mobile; typically submitted using template platform:web issues related to ONNX Runtime web; typically submitted using template
Projects
None yet
Development

No branches or pull requests

1 participant