-
Notifications
You must be signed in to change notification settings - Fork 3.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
main.exe silently crashes #860
Comments
Okay, this is the line it silently stops at.
Edit: |
Nevermind, I guess it's a CPU problem, my CPU doesn't seem to support F16C and possible some other instructions, so I guess I can't fix it. |
Tried to compile with CUDA support, hadn't helped either. |
Try to build like this: # build without F16C
mkdir build
cd build
cmake .. -DWHISPER_NO_F16C=ON
make -j
# run the model
./bin/main -m ../models/ggml-base.en.bin -f ../samples/jfk.wav |
There's no WHISPER_NO_F16C variable though. Edit: At least according to the CMake warning |
It seems like you can't compile with WHISPER_NO_F16C with MSVC so I'll try using another compiler tomorrow. |
@ggerganov, can you please help me compile the source? |
Try pulling latest |
@ggerganov, it didn't help. It still crashes even when I disable AVX, AVX2, F16C and FMA. Edit: I'll try using whisper.cpp again when I get better hardware |
None of these CMAKE options actually do anything when using MSVC, as it'll just pass change those |
@LazyDodo Thank you! Your solution has helped me! |
Never mind, it makes sense it's this slow as the hardware is quite old and I've disabled almost all of the instructions. |
Alright, I will do more tests and provide more information tomorrow. Thank you for all the help! |
@LazyDodo, @ggerganov Thank you for your help! |
Could you share how to make it run on older CPU i5 2400? |
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
andggml-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:
After that the process just silently stops.
My computer specs are:
Could you please tell me if it's a hardware issue or am I doing something wrong?
The text was updated successfully, but these errors were encountered: