whisper.cpp: main.exe silently crashes
I’ve tried using whisper.net and failed due to external errors (from whisper-cpp) occuring on model loading.
Then I’ve also tried using compiled binaries from v1.4.0 and then v1.2.0 and neither of them worked.
I’ve also tried several different models (mostly the base ones, including both ggml-model-whisper-base.en.bin and ggml-model-whisper-base.bin) with the sample wav and none of them work for me.
my prompt is
main.exe -m ggml-model-whisper-base.en.bin -f jfk.wav -l en -t 8
main.exe outputs the following:
whisper_init_from_file: loading model from 'ggml-model-whisper-base.en.bin'
whisper_model_load: loading model
whisper_model_load: n_vocab = 51864
whisper_model_load: n_audio_ctx = 1500
whisper_model_load: n_audio_state = 512
whisper_model_load: n_audio_head = 8
whisper_model_load: n_audio_layer = 6
whisper_model_load: n_text_ctx = 448
whisper_model_load: n_text_state = 512
whisper_model_load: n_text_head = 8
whisper_model_load: n_text_layer = 6
whisper_model_load: n_mels = 80
whisper_model_load: f16 = 1
whisper_model_load: type = 2
whisper_model_load: mem required = 215.00 MB (+ 6.00 MB per decoder)
whisper_model_load: kv self size = 5.25 MB
whisper_model_load: kv cross size = 17.58 MB
whisper_model_load: adding 1607 extra tokens
whisper_model_load: model ctx = 140.60 MB
whisper_model_load: model size = 140.54 MB
After that the process just silently stops.
My computer specs are:
- CPU: Intel Xeon E5-2640
- GPU: NVIDIA GeForce GTX 1060 6GB
- OS: Win10 x64
Could you please tell me if it’s a hardware issue or am I doing something wrong?
About this issue
- Original URL
- State: closed
- Created a year ago
- Comments: 15 (13 by maintainers)
Commits related to this issue
- cmake : add options to disable CPU flags (#860) — committed to ggerganov/whisper.cpp by ggerganov a year ago
- cmake : add options to disable CPU flags (#860) — committed to jacobwu-b/Transcriptify-by-whisper.cpp by ggerganov a year ago
- cmake : add options to disable CPU flags (#860) — committed to jacobwu-b/Transcriptify-by-whisper.cpp by ggerganov a year ago
- cmake : add options to disable CPU flags (#860) — committed to landtanin/whisper.cpp by ggerganov a year ago
@LazyDodo, @ggerganov Thank you for your help! Not only did I manage to compile and run the model on my device, I have also managed to achieve very good performance by using the right compilation options! (disabling all the instructions but AVX, enabling BLAS and using several (4+) threads).