The hybrid quant employs different quantization levels on a per layer basis to increased
flexibility of trading off performance vs file size. Less parameter bits are used at deep layers
and more bits at cortex layers to simultaneously optimize quantized size and model performance.
These quants were specifically optimized so the vision mode of the model produced good outputs
with no nonsense words across all the quants on a test case, while reducing the file size significantly to enable
full offload (in non vision mode) of the smallest two quants on a 12G VRAM GPU. Three quants
are available : Q2_K_H, Q3_K_H, and Q4_K_H. The layer quants are as follows:
These quants were optimized for both good reasoning and vision performance.
Comparison:
Quant
size
PPL
Comment
Q2_K
8.89e9
6.62
not tested, most likely unusable
Q2_K_H
9.8e9
5.96
optimized for good performance in vision mode
Q3_K_H
10.5e9
5.82
slighly better than Q2_K_H
Q3_K_M
11.5e9
5.58
not tested, should work well
Q4_K_H
12.5e9
5.49
slightly smaller than IQ4_XS, similar performance
IQ4_XS
12.9e9
5.38
not tested, should work well
Usage:
This is a vision capable model. It can be used together with its multimedia projector layers to process images and text inputs
and generate text outputs. The mmproj file is made available in this repository. To test vision mode follow the docs in the mtmd
readme in the tools directory of the source tree https://github.com/ggml-org/llama.cpp/blob/master/tools/mtmd/README.md .
Use of the best available model (Q4_K_H) is recommended to maximize the accuracy of vision mode. To run it on a 12G VRAM
GPU use --ngl 32. Generation speed is still quite good with partial offload.
Mistral-Small-3.1-24B-Instruct-2503 compares most closely with gemma-3-27B-it available here: https://huggingface.co/steampunque/gemma-3-27b-it-Hybrid-GGUF .
A short summary of some key evals comparing the two models is given here for convenience: