whisper-web icon indicating copy to clipboard operation
whisper-web copied to clipboard

Make WebGPU an option

Open PierreMesure opened this issue 9 months ago • 0 comments

This PR should be merged after #57

It removes the requirement to have WebGPU support in the browser and adds a checkbox to choose between GPU or no GPU. This checkbox is unchecked by default and disabled when WebGPU isn't available.

I am new to transformers.js so I'd like some extra feedback on this line. Is this the best way to configure how it should run based on WebGPU availability? Is there any better option than wasm?

Screenshots

Settings in Chrome:

localhost_5173_

Settings in Safari:

Capture d’écran 2025-02-27 at 03 31 02

PierreMesure avatar Feb 27 '25 02:02 PierreMesure