]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
model: Add Kimi-K2.5 support (#19170)
authorAesSedai <redacted>
Wed, 11 Feb 2026 15:47:30 +0000 (07:47 -0800)
committerGitHub <redacted>
Wed, 11 Feb 2026 15:47:30 +0000 (16:47 +0100)
commite463bbdf659fed30b0fba822257ec7d8b373d1c2
treed943476e8cbfc491c1f28f0b3bc7dd0fec6833b3
parent53de59f67dfd17fe9df32bf48e0df757e833419f
model: Add Kimi-K2.5 support (#19170)

* Move dequant_model to after the text_config merge
Add new kimi-k2.5 keys to mtmd convert
Update V_MMPROJ tensor mapping for new mm_projector.proj keys
Update V_M_IMP_NORM for new mm_projector.pre_norm key

* Fix a couple of oversights

* Add image support for Kimi-K2.5

* Revert changes to KimiVLForConditionalGeneration

* Fix an assert crash

* Fix permute swapping w / h on accident

* Kimi-K2.5: Use merged QKV for vision

* Kimi-K2.5: pre-convert vision QK to use build_rope_2d

* Kimi-K2.5: support non-interleaved rope for vision

* Kimi-K2.5: fix min / max pixel

* Kimi-K2.5: remove v/o permutes, unnecessary

* Kimi-K2.5: update permute name to match

* Update convert_hf_to_gguf.py

Co-authored-by: Sigbjørn Skjæret <redacted>
* Kimi-K2.5: replace build_rope_2d ggml_cont with ggml_view_3d pointers

---------

Co-authored-by: Sigbjørn Skjæret <redacted>
convert_hf_to_gguf.py
gguf-py/gguf/constants.py
gguf-py/gguf/tensor_mapping.py
tools/mtmd/CMakeLists.txt
tools/mtmd/clip-impl.h
tools/mtmd/clip.cpp
tools/mtmd/models/kimik25.cpp [new file with mode: 0644]
tools/mtmd/models/models.h