-
Notifications
You must be signed in to change notification settings - Fork 3k
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
[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.
#22994
Comments
#22997 is submitted for fixing the shader bug in |
Unfortunately the error still persists: https://jsfiddle.net/gf7b3ck6/4/ |
Reopen the issue. need further investigation. |
### Description Fix a bug in transpose shader, when input/output rank is 1. ### Motivation and Context Fixes microsoft#22994
### Description Fix a bug in transpose shader, when input/output rank is 1. ### Motivation and Context Fixes microsoft#22994
### Description Fix a bug in transpose shader, when input/output rank is 1. ### Motivation and Context Fixes microsoft#22994
JS EP may handle NHWC incorrectly in this case. If the demo sets |
The issue also exists on CUDA EP when compiling with option From the spec https://onnx.ai/onnx/operators/onnx__Squeeze.html, the input shape of Let us take the input's shape(int64[batch_size,sequence_length]) is [1, 8] as an example. When using NCHW ops and calling session.initialize() to parse the model, the output shapes of nodes is shown as below, the shapes which parsing from model are all 3-D. When calling session.run() to run the model, the output shapes of nodes is shown as below, some shapes are all 1-D for the When using NHWC ops and session.initialize() to parse the model, after making layout transforms, we will traverse all nodes to apply Transpose optimization, the topology is shown as below before traversing After traversing When using NHWC ops and session.run() to run the model, the output shapes of nodes is shown as below, some shapes are all 1-D for the In summary, I think that we must firstly modify the outputs dims' value of model nodes after the |
Describe the issue
Unable to run https://huggingface.co/onnx-community/WavTokenizer-large-speech-75token_decode on WebGPU
To reproduce
https://jsfiddle.net/Lq725aou/3/
Urgency
Blocks WebGPU for this demo: huggingface/transformers.js-examples#17
ONNX Runtime Installation
Released Package
ONNX Runtime Version or Commit ID
1.20.1
Execution Provider
'webgpu' (WebGPU)
The text was updated successfully, but these errors were encountered: