Open flatsiedatsie opened 5 months ago
I tested the official whisper example with the same settings, and get the same result. It must be a memory issue, as running the example on the phone withtiny
and quant
enabled does work.
Hmm, still getting errors, even when using tiny+quantization:
Funny, when searching for the error code the first result is for Transformers.js, and whisper.
System Info
While it runs fine on desktop, it crashes on mobile.
Pixel 6A Android 14 (6gb ram)
Using Transformers.js V2 (the website is a mix of V2 and V3, but with this test no V3 things (e.g. musicgen) have loaded, running Whisper in a webworker.
The webworker is based on the
AutomaticSpeechRecognitionPipelineFactory
example.The model being loaded is
Xenova/whisper-base.en
. Right before the crash I see the serviceworker confirm that it was downloaded and caching it.Environment/Platform
Description
Chrome on Android crashed with an "Aw snap" screen. This happens consistently every time.
I managed to connect remote debugging and saw this:
Some code from the worker:
and
Reproduction
I will email you a link so you can try it yourself.
I will also try to create a lower resource version and see if I can find out more.