]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commit
ggml : Callback before abort (llama/14481)
authorBjörn Ganster <redacted>
Wed, 2 Jul 2025 05:19:31 +0000 (07:19 +0200)
committerGeorgi Gerganov <redacted>
Sat, 12 Jul 2025 16:23:56 +0000 (19:23 +0300)
commitab850d4680f415f7b804a0a5a89defca03f3b833
tree9904d9e58a0574f9f5e41d37fddf655385b80e65
parentcdf5e72163517e1c271ed36a02a2af2e2f44167c
ggml : Callback before abort (llama/14481)

* Add a callback that will be called just before abort. This allows apps without a console to display a message to the user and save data if needed.

* Return previous callback to allow callback chaining

* style fixes

---------

Co-authored-by: Diego Devesa <redacted>
ggml/include/ggml.h
ggml/src/ggml.c