llama.cpp
08f49598 - mtmd: require a 2x2 spatial merge for the Qwen-VL projectors (#32130)

Commit
21 days ago
mtmd: require a 2x2 spatial merge for the Qwen-VL projectors (#32130) The Qwen2-VL, Qwen2.5-VL, Qwen3-VL and Ling3-VL graphs build their input with a temporal merge that assumes a 2x2 patch grid, and the Qwen2-VL merger reshapes by 4. Any other spatial_merge_size from the GGUF reaches a GGML_ASSERT at the first image request and aborts the server. Reject a spatial_merge_size other than 2 when loading the hparams.
Parents
Loading