]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
Restore clip's cb() to its rightful glory - extract common debugging elements in...
authorPiotr Wilkin (ilintar) <redacted>
Wed, 14 Jan 2026 19:29:35 +0000 (20:29 +0100)
committerGitHub <redacted>
Wed, 14 Jan 2026 19:29:35 +0000 (20:29 +0100)
commitd98b548120eecf98f0f6eaa1ba7e29b3afda9f2e
treedc8322a40a5f2033ed23dd7f814466383ec72492
parent8fb717557638f819e668e87f6d7dc0f39eb09c68
Restore clip's cb() to its rightful glory - extract common debugging elements in llama (#17914)

* Extract common debugging functions; plug eval-callback and mtmd's MTMD_DEBUG_GRAPH with same functionality

* Move to common

* Remove unneeded header

* Unlink from common

* chore: update webui build output

* Cleanup; properly pass params to mtmd without depending on common; factorize debug.cpp to use common debug code.

* Revert change to webapp

* Post-merge adjust

* Apply suggestions from code review

Co-authored-by: Xuan-Son Nguyen <redacted>
* Apply code review changes

* Remove changes to server-context

* Remove mtmd.h include

* Remove utility functions from header

* Apply suggestions from code review

Co-authored-by: Xuan-Son Nguyen <redacted>
* Rename functions

* Update tools/mtmd/clip.cpp

Co-authored-by: Xuan-Son Nguyen <redacted>
* Update tools/mtmd/clip.cpp

Co-authored-by: Xuan-Son Nguyen <redacted>
* Update tools/mtmd/clip.cpp

Co-authored-by: Xuan-Son Nguyen <redacted>
---------

Co-authored-by: Xuan-Son Nguyen <redacted>
12 files changed:
common/CMakeLists.txt
common/debug.cpp [new file with mode: 0644]
common/debug.h [new file with mode: 0644]
docs/backend/hexagon/CMakeUserPresets.json
examples/debug/debug.cpp
examples/eval-callback/eval-callback.cpp
tools/mtmd/clip-graph.h
tools/mtmd/clip.cpp
tools/mtmd/clip.h
tools/mtmd/mtmd-cli.cpp
tools/mtmd/mtmd.cpp
tools/mtmd/mtmd.h