Open xenova opened 3 weeks ago
cc @guschmue for this. Another thing I've noticed is that the WASM version is much slower than a pure JS implementation (which I currently use). So, might be something to look into too.
makes sense. Kind surprising that wasm is slower then javascript, maybe it's an algo choice. We'll look at it.
Describe the feature request
To add WebGPU support for DFT and STFT ops:
Currently, neither are supported yet (as stated here).
Describe scenario use case
This will be used to optimize preprocessing performance for audio models like Whisper, specifically to be used in Transformers.js.