What's the context length for this model?

#6
by DesertCookie - opened

The table on the original model says 128k for the vanilla model and 8k for quantized models. I thus assume, if I go for anything but the FP16 I do get the limited 8k, correct?

No, that's a common mix-up. Quantization doesn't reduce context length. Every quant here carries the same trained context as the original (128k / 131072); the quant level only changes weight precision and file size, not how much context the model can attend to.

What actually sets your usable context at runtime is two things:

The -c / --ctx-size flag you pass — llama.cpp defaults low (often 4096), so you have to raise it toward 131072 if you want the full window; and
Memory — the KV cache grows with context, so a large window costs a lot of RAM/VRAM regardless of quant.

So pick your quant purely on size/quality, then set -c to the context you need and watch memory. The 8k figure in that table isn't a quantization cap.

Sign up or log in to comment