]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
model: Add PaddleOCR-VL model support (#18825)
authormegemini <redacted>
Thu, 19 Feb 2026 16:05:25 +0000 (00:05 +0800)
committerGitHub <redacted>
Thu, 19 Feb 2026 16:05:25 +0000 (17:05 +0100)
commit237958db339300bdd8028608cc08b2ba2685ec33
treeff877cca21e1c8a1025869f759281419b9681b2b
parentabb9f3c42b5e6acee9e8e37836ef691d1a41bdb8
model: Add PaddleOCR-VL model support (#18825)

* support PaddleOCR-VL

* clip: update PaddleOCR model loader parameters to prevent OOM during warmup

* [update] add paddleocr vl text model instead of ernie4.5

* [update] restore change of minicpmv

* [update] format

* [update] format

* [update] positions and patch merge permute

* [update] mtmd_decode_use_mrope for paddleocr

* [update] image min/max pixels

* [update] remove set_limit_image_tokens

* upate: preprocess without padding

* clean up

* Update convert_hf_to_gguf.py

Co-authored-by: Sigbjørn Skjæret <redacted>
* Update convert_hf_to_gguf.py

Co-authored-by: Sigbjørn Skjæret <redacted>
---------

Co-authored-by: Xuan Son Nguyen <redacted>
Co-authored-by: Sigbjørn Skjæret <redacted>
16 files changed:
convert_hf_to_gguf.py
gguf-py/gguf/constants.py
gguf-py/gguf/tensor_mapping.py
src/CMakeLists.txt
src/llama-arch.cpp
src/llama-arch.h
src/llama-model.cpp
src/llama-vocab.cpp
src/models/models.h
src/models/paddleocr.cpp [new file with mode: 0644]
tools/mtmd/CMakeLists.txt
tools/mtmd/clip-impl.h
tools/mtmd/clip.cpp
tools/mtmd/models/models.h
tools/mtmd/models/paddleocr.cpp [new file with mode: 0644]
tools/mtmd/mtmd.cpp