You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This PR adds new PROJECTOR_TYPE to support for Sarashina2.2 Vision 3B model to llama.cpp, both llama-cli, llama-server and connvert_hf_to_gguf.py.
This implementation is updated to support the Sarashina model with minimum modifications.
Additional information
Changes
This PR updates six (6) files
convert_hf_to_gguf.py
Add Sarashina2VisionForCausalLM
Add some logic to proceed Sarashina2.2-vision-3B model
gguf-py/gguf/constants.py
Add SARASHINA2VL
tools/mtmd/clip-impl.h
tools/mtmd/clip.cpp
tools/mtmd/mtmd.cpp
Add PROJECTOR_TYPE_SARASHINA2VL_MERGER
Modify switch-case to support the type
tools/mtmd/tests.sh
Add sarashina2.2-vision-3b:Q4_K_M as add_test_vision
Testing
ctest -L main passed
tools/mtmd/tests.sh passed (with this modification)
Manual test with using llama-cli and llama-server with following models
Activity
samuraieng commentedon Apr 17, 2026
Overview
This PR adds new PROJECTOR_TYPE to support for Sarashina2.2 Vision 3B model to llama.cpp, both llama-cli, llama-server and connvert_hf_to_gguf.py.
This implementation is updated to support the Sarashina model with minimum modifications.
Additional information
Changes
This PR updates six (6) files
Testing
Requirements