]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
mtmd: fix Granite4 Vision image sequence assembly (#26653) upstream/0.0.10438
authorHemanth Battu <redacted>
Fri, 14 Aug 2026 22:25:26 +0000 (15:25 -0700)
committerGitHub <redacted>
Fri, 14 Aug 2026 22:25:26 +0000 (00:25 +0200)
commit9d57ce456c94d241dde672b2db9cf18879766568
tree1210db073bc7451c953630c6c04f34352cacf8fa
parent16d222fc5ead59d20039501a37251c9ed457a454
mtmd: fix Granite4 Vision image sequence assembly (#26653)

* mtmd: fix granite 4v grid assembly

(cherry picked from commit 91f82eb1b489bff0dc3f649edf2cb9e0b7f656e9)

* mtmd: fix truncation for scaled image height and width before unpad

Signed-off-by: Hemanth Battu <redacted>
* mtmd: remove MTMD_DUMP_EMBD debug scaffolding

Signed-off-by: Hemanth Battu <redacted>
* clean up comments, clarify about anyres_info excluded from serialization

* add_newline is now dead code

---------

Signed-off-by: Hemanth Battu <redacted>
Co-authored-by: Xuan Son Nguyen <redacted>
Co-authored-by: Hemanth Battu <redacted>
tools/mtmd/clip-impl.h
tools/mtmd/clip.cpp
tools/mtmd/models/granite4-vision.cpp
tools/mtmd/models/models.h
tools/mtmd/mtmd-image.cpp
tools/mtmd/mtmd-image.h
tools/mtmd/mtmd.cpp