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 simulultaneously optimize quantized size and model performance.
All K-quants are used for faster CPU processing. For this file the layer quants are as follows: (refreshed 4/21/2026)
To bypass thinking inject the think block delimiters following the assistant prompt template.
The model is strong with think blocked bypassed but less accurate on harder prompts. It was found to be prone to
overthinking on many of the eval prompts, but did solve most of the test prompts correctly in think mode.
The model can be efficiently run by offloading expert tensors to CPU via -ot exps=CPU
to open up very large context space on even limited GPU VRAM platforms (8-12G GPUs). The smaller size of the
optimally quantized parameters will give an effective boost in CPU processing speed due to reducing the memory
BW needed to repeatedly copy them from main memory to SIMD regs. It can also run fully offloaded on GPU via
RPC or high VRAM GPU where gen rates should be very high due to only 3B active parameters.
High context yarn config is as follows: Arbitrarily set base context for yarn rope scale compute to 35840 (vs a training context of 40960),
then with a context of NCTX tokens the rope scale = NCTX / 35840. Note: this factor can be tweaked on a per application or even per prompt basis.
For instance testing with other qwen3 128k yarn models showed 40000 worked best on a long context prompt, but this model appears to work well with
using 34840 together with the Q4_K_H quant.
Example: on 12G VRAM, F16 KV, NCTX maxes out at 107520 tokens with -ot exps=CPU. Then rope scale = 107520.0 / 35840.0 = 3.0.
Then on model start pass -c 107520 --rope-scaling yarn --yarn-orig-ctx 35840 --rope_scale 3.0
Later versions of llama.cpp have a bug which soft caps context length to the training context, effectively disabling yarn context extension.
Patch server-context.cpp according to https://github.com/ggml-org/llama.cpp/issues/22140 to fix it.
Long context tests:
These tests were done with -ot exps=CPU and greedy sampling with no speculation.