howtospark
models / openbmb/MiniCPM5-2B
?

2.5B paramsbfloat16GQA 16:2131K ctxapache-2.0
Sparks
~14 GB
~13 GB
~12 GB
~11 GB
~10 GB
110 usable
Spec decode
Context33K / 131KKV
On the Sparks — 1× · 1-bit GGUF (dynamic) · 33K ctx · FP16 KV~2.4M ctx fits usable
spark
100 GB free
110 usable
10* / 110 GB
9% of usable
Dense 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
42 layerstransformer layer
in
out
all 42 layers fire per token — 2.5B active
Optimize
Verdict

3B params, ~5 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 ~54.2 tok/s ceiling; a trained EAGLE-style draft multiplies tokens per weight-read.

Tame the KV cache

At 131072 tokens the KV cache alone is ~6 GB at FP16; quantize or evict.

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.