]> git.djapps.eu Git - pkg/ggml/sources/ggml/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 13:05:00 +0000 (16:05 +0300)
commit368cdf10f6471f1fba8aad8e1cb03e2702ad9d8b
tree4f71910d882cbed3e2ff073ddb57f84aba22ed7c
parent2768d6ebc1b5a7325dd464367081ab46ec9a1bc3
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>
include/ggml.h
src/ggml.c