Ponder-24M
24.2M Looped-GAB human chess engine (23.9 MiB INT8 / 25.6 MiB full browser bundle) | 30 ms CPU
Ponder-24M (24,230,000 params, looped_gab: d_model=576, 9 heads, 4 unique blocks x 3 loops = 12 effective layers, trained strictly <= 2026-08) is the compact pure-INT8 tier of the Ponder family. Packed with a 0.49 MiB Stockfish-guided System-2 reranker and 10-parameter convex HpdInfoProjector, the full client-side browser bundle totals 25.57 MiB (including Stockfish 19 WASM).
Bundles
| Variant | Repo | Files (Sys1 + Sys2 + SF19 WASM) | Total | cal4k Top-1 / NLL |
elite2600 Top-1 / NLL |
CPU p50 |
|---|---|---|---|---|---|---|
| Ponder-24M Browser INT8 | this repo | ponder_1_24m_int8.onnx (23.88) + sys2 v1 (0.49) + SF19 (1.20) |
25.57 MiB |
56.92% / 1.3410 |
61.63% / 1.1531 |
29.9 ms |
| Ponder-51M Browser W4 | sibling | ponder_51m_w4a16_matmul_nbits.onnx (28.01) + sys2_compact (0.56) + SF19 (1.20) |
29.77 MiB |
56.72% / 1.3338 |
61.63% / 1.1400 |
20.5 ms |
| Ponder-51M Desktop INT8 | sibling | ponder_51m_int8.onnx (49.41) + sys2_l128_3l (2.69) + SF19 (1.20) |
53.30 MiB |
57.28% / 1.3282 | 62.57% / 1.1319 | 21.0 ms |
Usage
hf download Honkware/ponder-24m --local-dir ./ponder-24m
pip install "ponder[onnx] @ git+https://github.com/Honkware/ponder.git"
from huggingface_hub import hf_hub_download
from ponder.export import OnnxSys1Adapter, OnnxSys2Reranker
from ponder.eval.adapters.sys2_wrapper import Sys2RerankedAdapter
from ponder.models.sys2.hpd_proj import HpdInfoProjector
from ponder.schema import EvalPosition
pos = EvalPosition.from_fen(
moves_prefix=("e2e4", "c7c5", "g1f3", "d7d6"),
clocks_prefix=(600.0, 600.0, 597.0, 595.0),
think_prefix=(0.0, 0.0, 3.0, 5.0),
self_elo=1800, opp_elo=1800, tc_base=600, tc_inc=0, self_clock_before=597.0, opp_clock_before=595.0,
)
sys1 = OnnxSys1Adapter(hf_hub_download("Honkware/ponder-24m", "ponder_1_24m_int8.onnx"))
pred = sys1.predict(pos)
top_move, top_prob = next(iter(pred.move_probs.items()))
print(f"Sys1: {top_move} ({top_prob:.1%}), WDL={pred.wdl}, think={pred.think_s:.1f}s")
# Optional System-2 ONNX reranker + HPD projector with local Stockfish 19 binary
sys2 = OnnxSys2Reranker(hf_hub_download("Honkware/ponder-24m", "ponder_1_sys2.onnx"))
hpd = HpdInfoProjector.load_json(hf_hub_download("Honkware/ponder-24m", "ponder_1_hpd.json"))
engine = Sys2RerankedAdapter(sys1, sys2, stockfish_path="stockfish", keep_horizons=(True, True, True, False), hpd_projector=hpd)
reranked = engine.predict(pos)
engine.close()
Browser (onnxruntime-web) & Exact ONNX Tensor Contract
ponder_1_24m_int8.onnx uses standard ONNX opset 17 (Cast + Mul weight decompression constant-folded once at session init), so it runs across all onnxruntime-web WASM and WebGPU builds without custom operators.
import * as ort from "onnxruntime-web";
const session = await ort.InferenceSession.create("./ponder_1_24m_int8.onnx", {
executionProviders: ["webgpu", "wasm"],
});
const out = await session.run({
board_feats: new ort.Tensor("float32", boardData, [1, 64, 18]),
temporal_feats: new ort.Tensor("float32", temporalData, [1, 24]),
history_feats: new ort.Tensor("float32", historyData, [1, 20, 12]),
history_mask: new ort.Tensor("bool", historyMaskData, [1, 20]),
});
- Perspective: vertically mirror board squares (
sq ^ 56) and UCI moves whenever Black is to move. - History order: right-aligned oldest-to-newest (most recent ply in slot
19, padded left withhistory_mask = False). - System-1 inputs:
board_feats [B, 64, 18] f32,temporal_feats [B, 24] f32,history_feats [B, 20, 12] f32,history_mask [B, 20] bool. - System-1 outputs:
policy_logits [B, 1858] f32(mask illegal moves),wdl_logits [B, 3] f32,resign_logit [B] f32,think_logits [B, 64] f32(0..300slog-spaced bins).
Evaluation (> 2026-08)
Strictly post-cutoff (2026-09 and 2026-10) BOT/TOS-verified Lichess splits (cal4k and elite2600; standalone Ponder-24M FP32 reaches 55.85% / 1.3551 on eval35k).
| Variant | Bundle | cal4k Top-1 / NLL |
elite2600 Top-1 / NLL |
mHPD-80 |
SF19 Class L1 |
Rapid 10+0 SF19 Elo (flags) |
|---|---|---|---|---|---|---|
Maia-3-79M (raw) |
316.0 MiB | 55.59% / 1.3632 | 59.51% / 1.2434 | 0.34 pp | 2.80 pp | 1642 (0/12) |
Temporal-23M |
92.0 MiB | 56.85% / 1.3253 | 62.96% / 1.1270 | 1.03 pp | 2.90 pp | 1474 (0/12) |
Ponder-24M (INT8 Sys1) |
23.88 MiB | 56.92% / 1.3410 | 61.63% / 1.1531 | 0.18 pp | 3.01 pp | 1413 (1/12) |
Ponder-24M + Sys2 v1 + HPD |
25.57 MiB | 56.72% / 1.3378 | 62.02% / 1.1450 | 0.11 pp | 1.05 pp | 1749 (0/12) |
Ponder-24M + Sys2 v2 m96_3l |
26.45 MiB | 57.00% / 1.3386 | 62.26% / 1.1391 (HPD) | 0.44 pp | 1.68 pp (raw) | 1309 (overall) |
Ponder-24M + Sys2 v2 l128_3l |
27.39 MiB | 57.05% / 1.3380 | 62.10% (16k) |
0.69 pp | 1.54 pp (raw) | 1696 (0/12) |
ONNX Quantization & CPU Latency (cal4k, onnxruntime 1.32.0 CPU)
| Variant | Disk Size | Top-1 | Top-5 | NLL | mHPD-80 |
WDL Brier | Max Policy Diff | CPU p50 | CPU p95 |
|---|---|---|---|---|---|---|---|---|---|
fp32 |
92.98 MiB | 57.03% | 90.72% | 1.3411 | 0.21 pp | 0.1568 | 8.00e-06 | 43.09 ms | 44.42 ms |
fp16 |
46.81 MiB | 57.03% | 90.72% | 1.3411 | 0.21 pp | 0.1568 | 3.56e-03 | 30.30 ms | 38.38 ms |
int8 (shipped winner) |
23.88 MiB | 56.92% | 90.67% | 1.3410 | 0.18 pp | 0.1567 | 1.17e-01 | 29.94 ms | 37.01 ms |
fp8 |
24.11 MiB | 56.90% | 90.67% | 1.3420 | 0.23 pp | 0.1569 | 3.59e-01 | 35.47 ms | 37.72 ms |
w4a16 (opset-21 INT4) |
13.95 MiB | 56.64% | 90.49% | 1.3502 | 0.61 pp | 0.1581 | 1.68e+00 | 257.81 ms | 262.72 ms |
Full receipts in quant_sweep_cal4k.json, sys2_v2_sweep.json, and gauntlet_parity/.
Files & Artifacts
(Artifact filenames retain the initial ponder_1_ prefix from Phase 3/4 exports.)
| File | Size | Purpose |
|---|---|---|
ponder_1_24m_int8.onnx |
23.88 MiB |
Primary pure-INT8 browser System-1 ONNX (29.9 ms CPU) |
ponder_1_24m.pt |
375.79 MiB |
PyTorch System-1 checkpoint (weights + EMA + optimizer state) |
ponder_1_sys2.onnx / .pt |
0.49 / 0.43 MiB |
Default compact System-2 v1 reranker (64/2L, 107k params) |
ponder_1_hpd.json |
0.01 MiB |
10-parameter convex HpdInfoProjector for System-2 v1 |
ponder_1_sys2_v2_l128_3l.onnx / .pt |
2.32 / 2.22 MiB |
System-2 v2 (217k OOS) l128_3l reranker (57.05% cal4k Top-1) |
ponder_1_sys2_v2_m96_3l.onnx / .pt |
1.37 / 1.27 MiB |
System-2 v2 (217k OOS) m96_3l reranker (62.26% elite2600) |
ponder_1_sys2_v2.onnx / .pt |
2.98 / 2.86 MiB |
System-2 v2 (217k OOS) l128_4l_reg reranker (1.35 pp raw Class L1) |
quant_sweep_cal4k.{json,md}, sys2_v2_sweep.json, gauntlet_parity/ |
1.35 MiB |
Quantization, System-2 sweep, and live CPU gauntlet receipts |
Training & Reproduction
| Field | Value |
|---|---|
| Repository | Honkware/ponder |
| System-1 corpus | 12.42M pre-cutoff (<= 2026-08) Lichess rows (33.5% 0.55 Allie 2.1 + 0.45 Temporal-79M, 66.5% Temporal-79M) |
| System-2 v1 / v2 corpus | 42,942 (v1) / 217,144 (v2) strictly pre-cutoff OOS rows with 4-horizon SF19 ladders (160 / 1.6k / 16k / 60k nodes) |
Forensics parity (INT8 vs FP32) |
-0.03 pp mHPD-80, +0.01 pp Class L1, 0.0 cp Severity MAE, 0.00 pp blunder-rate drift |
Limitations & License
- Ponder models human move distributions, including human inaccuracies and blunders for the requested Elo and clock state; WDL outputs represent human outcome probabilities, not Stockfish evaluations.
- Conditioning is best calibrated between
1000and2600Lichess Elo, and System-1 reads the most recent 20 plies rather than full-game sequences from ply 1. - Intended for sparring, analysis, research, and Lichess-compliant BOT accounts; do not use to assist human play in rated games.
- Weights and code are released under the MIT License. Built clean-room by Honkware with PyTorch, ONNX Runtime,
python-chess, Stockfish 19 (GPL-3.0, distributed separately), and public rated game archives from the Lichess open database.