microsoft / microsoft/onnxruntime

[WebGPU] `Error: [WebGPU] Kernel "[Mul] /head/istft/Mul_1" failed. Error: Failed to generate kernel's output[0] with dims [1,3520,3520]. If you are running with pre-allocated output, please make sure the output type/dims are correct. Error: 81415528.`

Open
#22,994 14 comments 0 reactions 2 assignees Claimed by @fs-eire View on GitHub
ep:WebGPU no stale platform:web
Dominant language
C++
Stars
21.9k
Forks
4.2k
Avg merge
4d 11h
Merged PRs (30d)
184

Description

### Describe the issue

Unable to run https://huggingface.co/onnx-community/WavTokenizer-large-speech-75token_decode on WebGPU

> [E:onnxruntime:, sequential_executor.cc:516 ExecuteKernel] Non-zero status code returned while running Mul node. Name:'/head/istft/Mul_1' Status Message: Failed to run JSEP kernel
> failed to inference ONNX model: Error: [WebGPU] Kernel "[Mul] /head/istft/Mul_1" failed. Error: Failed to generate kernel's output[0] with dims [1,3520,3520]. If you are running with pre-allocated output, please make sure the output type/dims are correct. Error: 81415528.

![Image](https://github.com/user-attachments/assets/ddbaad50-f87f-40a9-9eaf-c39eaeeb9fe7)

### To reproduce

https://jsfiddle.net/Lq725aou/3/

### Urgency

Blocks WebGPU for this demo: https://github.com/huggingface/transformers.js-examples/pull/17

### ONNX Runtime Installation

Released Package

### ONNX Runtime Version or Commit ID

1.20.1

### Execution Provider

'webgpu' (WebGPU)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.