]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
mtmd : add C public API (#13184)
authorXuan-Son Nguyen <redacted>
Sun, 4 May 2025 21:43:42 +0000 (23:43 +0200)
committerGitHub <redacted>
Sun, 4 May 2025 21:43:42 +0000 (23:43 +0200)
commit27aa2595321c4d9cc4086a8e67bdea204b8309b0
tree16edad63d00cbab6654c81e0162a3de0abd4c0fc
parent9fdfcdaeddd1ef57c6d041b89cd8fb7048a0f028
mtmd : add C public API (#13184)

* init

* wip

* working version

* add mtmd::bitmaps

* add test target

* rm redundant define

* test: mtmd_input_chunks_free

* rm outdated comment

* fix merging issue

* explicitly create mtmd::input_chunks

* mtmd_input_chunk_copy

* add clone()

* add const to various places

* add warning about breaking changes

* helper: use mtmd_image_tokens_get_n_pos
tests/CMakeLists.txt
tests/test-mtmd-c-api.c [new file with mode: 0644]
tools/llava/clip-impl.h
tools/llava/clip.h
tools/llava/mtmd-cli.cpp
tools/llava/mtmd.cpp
tools/llava/mtmd.h