ggerganov / whisper.cpp

Port of OpenAI's Whisper model in C/C++
MIT License
32.93k stars 3.29k forks source link

GGML Concat function changed and now we get error #2201

Open paulocoutinhox opened 1 month ago

paulocoutinhox commented 1 month ago

Hi,

Error:

/Users/paulo/Developer/workspaces/cpp/ai-kit/vendor/whisper/whisper.cpp:2593:48: error: no matching function for call to 'ggml_concat'
                            aheads_cross_QKs = ggml_concat(ctx0, aheads_cross_QKs, aheads_KQs);
                                               ^~~~~~~~~~~

Commit: af5833e29819810f2d83228228a9a3077e5ccd93 GGML: 2aae01fd9b8f9399f343cf18f46f38996ef52e2c

The concat function changed:

https://github.com/ggerganov/ggml/commit/f911bede8783988ee6ab1a38093b22e854692f99

ggerganov commented 4 weeks ago

Change to aheads_cross_QKs = ggml_concat(ctx0, aheads_cross_QKs, aheads_KQs, 2);