Comments (3)
I have no problems with OpenBLAS 0.3.27.
Maybe the libopenblas.dll you are using is still 0.3.26?
Try copying libopenblas.dll from 0.3.27 to the directory of the binaries.
cd C:\whisper.cpp
Invoke-WebRequest https://github.com/OpenMathLib/OpenBLAS/releases/download/v0.3.27/OpenBLAS-0.3.27-x64-64.zip -OutFile .\openblas.zip
Expand-Archive .\openblas.zip -DestinationPath .\openblas
$env:OPENBLAS_PATH = "C:\whisper.cpp\openblas"
cmake -B build -DWHISPER_OPENBLAS=ON -DWHISPER_OPENBLAS_INTERFACE64=ON
...
cmake --build build -j --config Release
...
copy .\openblas\bin\libopenblas.dll .\build\bin\Release\ # <==== COPY THE DLL FILE
.\build\bin\Release\main.exe -m .\ggml-model-whisper-medium.bin -f .\samples\jfk.wav
whisper_init_from_file_with_params_no_state: loading model from '.\ggml-model-whisper-medium.bin'
whisper_model_load: loading model
whisper_model_load: n_vocab = 51865
whisper_model_load: n_audio_ctx = 1500
whisper_model_load: n_audio_state = 1024
whisper_model_load: n_audio_head = 16
whisper_model_load: n_audio_layer = 24
whisper_model_load: n_text_ctx = 448
whisper_model_load: n_text_state = 1024
whisper_model_load: n_text_head = 16
whisper_model_load: n_text_layer = 24
whisper_model_load: n_mels = 80
whisper_model_load: ftype = 1
whisper_model_load: qntvr = 0
whisper_model_load: type = 4 (medium)
whisper_model_load: adding 1608 extra tokens
whisper_model_load: n_langs = 99
whisper_model_load: CPU total size = 1533.14 MB
whisper_model_load: model size = 1533.14 MB
whisper_init_state: kv self size = 132.12 MB
whisper_init_state: kv cross size = 147.46 MB
whisper_init_state: compute buffer (conv) = 28.68 MB
whisper_init_state: compute buffer (encode) = 594.22 MB
whisper_init_state: compute buffer (cross) = 7.85 MB
whisper_init_state: compute buffer (decode) = 138.87 MB
system_info: n_threads = 4 / 8 | AVX = 1 | AVX2 = 1 | AVX512 = 0 | FMA = 1 | NEON = 0 | ARM_FMA = 0 | METAL = 0 | F16C = 1 | FP16_VA = 0 | WASM_SIMD = 0 | BLAS = 1 | SSE3 = 1 | SSSE3 = 0 | VSX = 0 | CUDA = 0 | COREML = 0 | OPENVINO = 0
main: processing '.\samples\jfk.wav' (176000 samples, 11.0 sec), 4 threads, 1 processors, 5 beams + best of 5, lang = en, task = transcribe, timestamps = 1 ...
[00:00:00.000 --> 00:00:11.000] And so my fellow Americans, ask not what your country can do for you, ask what you can do for your country.
from whisper.cpp.
@tamo Thanks for testing
Strangely enough they have two zip files x64 and x64-64
I used x64
And I see you used x64-64
So I'm wondering if there's a difference.
Also - I've compiled and linked whisper.cpp vs the v0.3.27 and then it failed, not the .dll drop-in way.
If it makes a difference.
I'll do a few more tests to get to the bottom of it.
from whisper.cpp.
0.3.27-x64 works fine here (without -DWHISPER_OPENBLAS_INTERFACE64=ON)
So I have no information about your crash
except it is
on whisper_full().
I hope you'll find a solution
but provide some more info if you need a help
from whisper.cpp.
Related Issues (20)
- Docker "no matching manifest for `linux/arm64`"
- `make stream` failed because of the problem of ‘SDL_HINT_AUDIO_RESAMPLING_MODE’ was not declared in this scope
- Undefined symbols for architecture arm64: "_MTLCopyAllDevices" HOT 1
- Problem creating node addon HOT 2
- [Feature Request] Any plans for translation using OpenAI instead of DeepL? HOT 1
- Feature request - Support WhisperSpeech for voice generation with whisper model HOT 2
- Problem compiling addon.node (+solution) HOT 7
- ci: windows-msys2 CLANG64 builds are failing HOT 1
- CPU Performance Regression? (Older version much faster) HOT 13
- ci: emscripten builds are failing with Emscripten SDK 3.1.58 HOT 1
- Stream: noise ouput
- Spam Attack HOT 2
- Ubuntu 22.04 - tested commit 8fac645 - microphone is not passing audio to talk-llama , older builds ( from a month passing microphone audio ) HOT 2
- MSVC static runtime library
- The path to metal files is not validated when whisper.cpp is used as a subproject
- Disabling WHISPER_LOG_INFO HOT 2
- Unable to generate the large-v3 CoreML model
- chinese characters not showing up on windows HOT 2
- When transcribing Chinese audio, using whisper_full_get_segment_text can return the correct text, but using whisper_full_get_token_text might result in NULL.
- main.exe does nothing on transcribe task (crash probably) HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from whisper.cpp.