76 16 hours ago

Gemma 4 12B uncensored, 1.5M max context: certified 10/10 to 1.31M on a 32GB card. Vision included.

vision tools thinking
ollama run satgeze/gemma4-12b-uncensored-1.5m

Details

16 hours ago

4eabc5be7dfb · 7.6GB ·

gemma4
·
11.9B
·
Q4_K_M
clip
·
52.4M
·
BF16
{ "num_ctx": 262144 }

Readme

Gemma 4 1.5M

Gemma 4 12B Uncensored, 1.5M context

The beyond-1M build: same HauhauCS uncensored Gemma-4-12B trunk as gemma4-12b-uncensored-1m, baked with YaRN factor 6 for a 1,572,864-token maximum. The longest needle-certified context we know of, and the whole certification ran on a single 32GB RTX 5090. Native renderer and parser set:

ollama launch claude --model satgeze/gemma4-12b-uncensored-1.5m

Verified, not claimed

NIAH heatmap

Tier Context Result
Certified (f16 KV) 262K / 1M / 1,310,720 1010 at every rung
Budget (q8_0 KV) 1M 1010
Budget (q8_0 KV) 1,572,864 910, the miss is published

We also tested a factor-8 build to 2M: it scored 610 there, below our bar, so it stays unshipped and the full study is published instead (beyond-1M study). NVIDIA RULER results are next for this build.

Tags

Tag Size Note
latest 7.6GB The only quant: Google ships this QAT checkpoint in 4-bit only. Vision bundled

Raise context with /set parameter num_ctx (up to 1572864; Gemma’s sliding-window attention keeps KV tiny). For the certified experience stay at or below 1310720.

MTP note

A separate 254MB draft head on the repo gives +51 percent decode under llama.cpp with -md; Ollama has no speculative decoding yet.

Links

Full repo, study data, heatmap: Hugging Face | ModelScope Method and harness: github.com/satindergrewal/aviary-1m

Credits: Google (Gemma 4 + QAT), HauhauCS (uncensoring), Unsloth (MTP head), SatGeze (1.5M extension, beyond-1M certification, 2M ceiling study).