howtospark
models / gemma-4-26b-a4b-it
Google logo

google/gemma-4-26B-A4B-it
26B params~3.1B activebfloat16MoE 128×1GQA 16:8262K ctxmultimodalapache-2.0
Sparks
~68 GB
~55 GB
~42 GB
~29 GB
~23 GB
~25 GB
~23 GB
110 usable
REAP dialno pruning · 128 experts
Spec decode
Context33K / 262KKV
On the Sparks — 1× · 2-bit experts + NVFP4 dense · 33K ctx · FP16 KV~386K ctx fits usable
spark
87 GB free
110 usable
23* / 110 GB
21% of usable
Expert planesDense weightsKV cacheActivations + graphsOS reserve

* segment sizes marked with an asterisk are estimates pending a measured run

Estimated per-node footprint, weights + KV sharded across the Spark (tensor parallel). Overhead ~8 GB/node; KV at FP16.

layer map
30 layerssliding window×25full attention×5
in
out

one MoE layer · 128 experts, 1 fire per token

each expert ≈ 6M params

resident: 30 MoE layers × 128 experts × 6M 22.8B

active/token: 30 × 1 × 6M 178M experts

+ 3.0B always-on dense (attention, embeddings, shared stack) = 3.1B active

Eval scores (compare all)

Reported

88.3AIME 2025
82.6MMLU-Pro
82.3GPQA Diamond
77.1LiveCodeBench
35.8SWE-bench Verified
27.33SWE-bench Multilingual
9.58SWE-bench Pro
82.01PinchBench
30.84SciCode
20.94Terminal-Bench 2.1
22.06KAT-Code-Bench

Recipes (all recipes)

Worked deployments that run this model on DGX Spark — each shows how it fills each node's unified memory.

Optimize
Quantized from

google/gemma-4-26B-A4B

Analyze the original repo for the full architecture picture.

Verdict

26B params, ~52 GB at bfloat16 — fits on one Spark as-is.

Make it fit

Get the weights (and headroom for KV) inside the 128 GB pool — the hard gate.

Lossless compression

BF16 weights entropy-code ~30% smaller bit-exact — smaller downloads and less bandwidth per token, no quality question at all.

Make it fast

Once it fits: fewer bytes per token and fewer decode steps against 273 GB/s.

Add a speculative decoder

Decode is bandwidth-bound at ~43.4 tok/s ceiling; a trained EAGLE-style draft multiplies tokens per weight-read.

Prune experts for speed

Fewer experts ⇒ smaller working set ⇒ better cache/page behavior, even when it already fits.

Make it yours

Change what the model does — adapt, edit, or steer it — independent of size.

Fine-tune it

LoRA/QLoRA adapts behavior on one Spark without touching the base weights.

Gemma 4 26B-A4B — How to Spark · How To Spark