Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Engine reference — generated from the canonical engineering source. Do not edit this page by hand.

Local-Inference Benchmark Artifact

The machine ledger for lane measurements is local-inference-benchmark.csv (docs/local-inference-benchmark.csv). Rows are appended by the operator runner (scripts/lane-certify.sh) through ci/lane_benchmark.py append — flocked, fsynced, written atomically in the same directory (never staged through /tmp; the ghost wipe of a round’s rows is the lesson). The generated block at the bottom of this file is rendered from the CSV by ci/lane_benchmark.py render and gated by ci/lane_benchmark_claims_lint.py (a hand-edit is a CI failure).

The 24 columns

columndomainnotes
hostred/green/blue/testnode label (node_classes in the configs)
lanelane idmust exist in inference_lanes (all three configs)
engine_ref<repo>@<40-hex>[#prN] (zerg) or <repo>@<7-40 hex> / ghost/<name>@<tag> (ghost)join key to engines/*.json by ref + build for zerg rows; ghost rows are provenance only
buildnon-emptye.g. b11639 (llama.cpp) or 0.1.44.1 (Strata)
model / quant / ctx / kv / spec / temprun identityparity identity = these + lane/engine_ref/build
vram_mib / free_mib / load_s / prompt_tps / wall_snumbers or -host facts at measurement time
eval_tpsnumber > 0 when measureddecode tok/s
acceptance0..1 float, token, or -MTP acceptance / suite ratio
needlepass/fail/gated/-exact-substring recall gate
statusok/pass/failed/fail/gated/launch_failed/errorok and pass are the measured classes
notesfree texta bounded k=v; token list before `
atISO-8601 UTCfreshness key (TTL, validation record at)
manifest_hash64-hex or unverifiedengine tree hash; unverified only against a state=reference manifest
needle_decode_tpsnumber > 0 or -decode tok/s of the needle fill
originzerg/ghostonly zerg rows are validation candidates; ghost rows are imported evidence

Evidence vs validation

origin=ghost rows were imported from the sibling ghost checkout with ci/lane_benchmark.py import-ghost using a curated map whose every entry cites the exact source line (ghost/docs/benchmark-serving.csv:<line>) and is verified against that line at import time. A mismatch refuses. origin=zerg rows are produced by the needle harness through the admin validation route and are the only rows that can back a lane’s validated state. Unbacked registry expected.* values are counted, never fabricated; ling_flash (vram_mib=18534), ling_reap288 (vram_mib=18534) and qwen38_flashnext (vram_mib=23347) have no matching ghost row and stay on the residual list until a ZERG run lands. The GSQ-RCO / Strata rows are all origin=ghost (ghost P7 tag p7-strata-b11639-2026-10-18, fixture plan/fixtures/ghost-p7-standard-b0454f2.md). They record the ghost hypothesis on two engines; the zerg-side validation run is and is pending — no ${lane} row below is a validation candidate until an origin=zerg row lands. The two open ghost gates (mmproj formal caption A/B; code/agentic tool-call JSON spot-check) also remain open.

Parity

Parity pairs temp-0 measured rows of one identity across hosts;

delta_pct = abs(a - b) / max(a, b) * 100

benchmarks/parity-bands.json carries default_pct (1.5, the ghost deterministic-row band), a per-lane pct, and optional per-host hosts.<label>.pct overrides. Two lanes need host-specific bands because the X3D/CPU-fed phases are a machine-class deficit, not drift: ling_flash (3.0) and ling_reap288 (17.0). The GSQ-RCO Coder needs a 5.0 band for the ghost Strata red/green pair (113.8 / 108.5 = 4.66%). The llama.cpp GSQ-RCO rows keep the measured recipe in spec (fittarget256 vs moe_cache_mib_4096), so the cache/no-cache runs are never paired as one identity. A breach is a finding with a decay_at, feeds the runtime record as parity.status=breach, and keeps the lane unvalidated (no failover) until a fresh paired run.

Seeded evidence (all origin=ghost, red/green pairs): qwen38_atx eval_tps=93.2 and qwen38_atx needle_decode_tps=64.4, ling_tiny eval_tps=231.3, ling_flash eval_tps=41.1, ling_reap288 eval_tps=44.8 (each paired with the green peer in the CSV). The P7 multi-engine rows add qwen38_gsq_coder eval_tps=113.8 (Strata, red), qwen38_gsq_coder_llama eval_tps=45.7 (b11639 + moe-cache, 128k) and qwen38_gsq_coder_llama eval_tps=48.9 (b11639 + moe-cache, 256k).

The P7 b11639 / GSQ-RCO / Strata import

The new artifact rows are imported from the ghost P7 CSV at b0454f2f7f2f3d3614e6ae8e663a0d1610bc13e7:

qwen38_gsq_coder — Strata 0.1.44.1 (Niko1221/Strata@296b59d2f7), 131k/256k int8/MTP rows, including the 518k red-only needle escape and the batch4 row. Strata parity on the standardized config measured 113.8 red / 108.5 green (4.66%, band 5.0). qwen38_gsq_coder_llama — llama.cpp b11639 on the same shards: fittarget256 rows (39.8 @128k / 37.3 @256k; needle 38.1 with needle_decode_tps=28.8) and moe_cache_mib_4096 rows (45.7 @128k / 48.9 @256k). The cache flag is part of spec, not a silent identity change.

Neither lane has a zerg row; docs/local-inference-benchmark.csv stays at zero origin=zerg entries after this import.

Invalidation

lane.validation is derived at read time, never a trusted stored flag. The runtime measurement record lives at <data_dir>/lane-validation.json (written 0600 atomically by Sol, single writer = the admin validate route). Every read compares the record against the live environment: registry engine ref/build, the engine install receipt manifest_hash/build, the lane model pin (file + sha256), the TTL (lane_validation_ttl_ms, default 30 days) and the parity verdict. Any mismatch yields a typed reason (engine_pin_changed, engine_reinstalled, model_pin_changed, stale, needle_failed, parity_breach, host_mismatch, malformed_record, no_record), the lane projects as unvalidated, and production placement refuses with {engine_unvalidated, Lane, Reason}. Non-production lanes (the fixture engine) bypass the gate with not_required.

Operator surfaces

scripts/lane-certify.sh --plan --host red prints the lane × engine × host matrix (no GPU, the CI-testable leg); the real run probes each cell through POST /api/v1/inference/lanes/:lane/validate, appends the row, computes parity, and only then commits. A partial run never commits. A single_host parity verdict does not commit by default — pass --allow-single-host to record the explicit ack (forwarded as allow_single_host on commit and recorded in the transcript, ). GET /api/v1/inference/lanes renders validation.state + reason per lane so a blocked lane is visible with its cause; the same row carries the registry use_case facet for the editor picker.

Generated from docs/local-inference-benchmark.csv by ci/lane_benchmark.py render — do not hand-edit.

rows=24 zerg=1 ghost=23 unbacked_expected=3 parity=ling_flash=pass ling_reap288=pass ling_tiny=pass qwen38_atx=pass qwen38_gsq_coder=pass qwen38_gsq_coder_llama=pass

hostlaneengine_refbuildmodelquantctxkvspectempvram_mibeval_tpsneedleneedle_decode_tpsatorigin
redglm47_fimggml-org/llama.cpp@a0e6dc7384edb8f5d927155e1d26c10b4a310e6db11639GLM-4.7-Flash-Uncen-Hrt-NEO-CODE-MAX-imat-D_AU-IQ3_MIQ3_M16384q4_0none0.014139120.8--2026-10-18T00:00:00Zzerg
greenling_flashggml-org/llama.cpp@aa39d7a3e145a88202793a89462d65e94a5fc25fb11011Ling-3.0-flash-IQ3_XXSIQ3_XXS262144f16none0.02111440.4--2026-09-16T00:00:00Zghost
redling_flashggml-org/llama.cpp@aa39d7a3e145a88202793a89462d65e94a5fc25fb11011Ling-3.0-flash-IQ3_XXSIQ3_XXS262144f16none0.02140141.1--2026-09-16T00:00:00Zghost
greenling_reap288ggml-org/llama.cpp@aa39d7a3e145a88202793a89462d65e94a5fc25fb11011Ling-3.0-flash-REAP288-71B-A5B-Q3_K_MQ3_K_M262144f16none0.01807437.7--2026-09-16T00:00:00Zghost
redling_reap288ggml-org/llama.cpp@aa39d7a3e145a88202793a89462d65e94a5fc25fb11011Ling-3.0-flash-REAP288-71B-A5B-Q3_K_MQ3_K_M262144f16none0.01836144.8--2026-09-16T00:00:00Zghost
greenling_tinyggml-org/llama.cpp@aa39d7a3e145a88202793a89462d65e94a5fc25fb11011Ling-3.0-tiny-Q4_K_MQ4_K_M524288f16none0.09110233.2--2026-09-16T00:00:00Zghost
redling_tinyghost/llama.cpp@b10867b10867Ling-3.0-tiny-Q4_K_MQ4_K_M131072q8_0none0.06248236.1--2026-09-08T00:00:00Zghost
redling_tinyggml-org/llama.cpp@aa39d7a3e145a88202793a89462d65e94a5fc25fb11011Ling-3.0-tiny-Q4_K_MQ4_K_M524288f16none0.09397231.3--2026-09-16T00:00:00Zghost
greenqwen38_atxggml-org/llama.cpp@aa39d7a3e145a88202793a89462d65e94a5fc25fb11011Qwen3.8-27B-ATX-4-XSIQ4_XS-M229376q4_0draft_mtp_d30.02356794.5--2026-09-16T00:00:00Zghost
greenqwen38_atxggml-org/llama.cpp@aa39d7a3e145a88202793a89462d65e94a5fc25fb11011Qwen3.8-27B-ATX-4-XSIQ4_XS-M229376q4_0draft_mtp_d30.02356764.5pass64.52026-09-16T00:00:00Zghost
redqwen38_atxggml-org/llama.cpp@aa39d7a3e145a88202793a89462d65e94a5fc25fb11011Qwen3.8-27B-ATX-4-XSIQ4_XS-M229376q4_0draft_mtp_d30.02384993.2--2026-09-16T00:00:00Zghost
redqwen38_atxggml-org/llama.cpp@aa39d7a3e145a88202793a89462d65e94a5fc25fb11011Qwen3.8-27B-ATX-4-XSIQ4_XS-M229376q4_0draft_mtp_d30.02384964.4pass64.42026-09-16T00:00:00Zghost
greenqwen38_gsq_coderNiko1221/Strata@296b59d2f70.1.44.1Qwen3.8-Flash-Next-GSQ-RCO-IQ1_MIQ1_M131072int8mtp0.023717108.5--2026-10-15T00:00:00Zghost
greenqwen38_gsq_coderNiko1221/Strata@296b59d2f70.1.44.1Qwen3.8-Flash-Next-GSQ-RCO-IQ1_MIQ1_M262144int8mtp0.02349739.1pass-2026-10-15T00:00:00Zghost
redqwen38_gsq_coderNiko1221/Strata@296b59d2f70.1.44.1Qwen3.8-Flash-Next-GSQ-RCO-IQ1_MIQ1_M131072int8mtp0.023887113.8--2026-10-15T00:00:00Zghost
redqwen38_gsq_coderNiko1221/Strata@296b59d2f70.1.44.1Qwen3.8-Flash-Next-GSQ-RCO-IQ1_MIQ1_M131072int8mtp0.02388799.0pass-2026-10-15T00:00:00Zghost
redqwen38_gsq_coderNiko1221/Strata@296b59d2f70.1.44.1Qwen3.8-Flash-Next-GSQ-RCO-IQ1_MIQ1_M131072int8mtp0.02388785.9--2026-10-15T00:00:00Zghost
greenqwen38_gsq_coder_llamaggml-org/llama.cpp@a0e6dc7384edb8f5d927155e1d26c10b4a310e6db11639Qwen3.8-Flash-Next-GSQ-RCO-IQ1_MIQ1_M131072q4_0fittarget2560.02354739.5--2026-10-15T00:00:00Zghost
greenqwen38_gsq_coder_llamaggml-org/llama.cpp@a0e6dc7384edb8f5d927155e1d26c10b4a310e6db11639Qwen3.8-Flash-Next-GSQ-RCO-IQ1_MIQ1_M262144q4_0fittarget2560.02345736.9--2026-10-15T00:00:00Zghost
redqwen38_gsq_coder_llamaggml-org/llama.cpp@a0e6dc7384edb8f5d927155e1d26c10b4a310e6db11639Qwen3.8-Flash-Next-GSQ-RCO-IQ1_MIQ1_M131072q4_0fittarget2560.02340339.8--2026-10-14T00:00:00Zghost
redqwen38_gsq_coder_llamaggml-org/llama.cpp@a0e6dc7384edb8f5d927155e1d26c10b4a310e6db11639Qwen3.8-Flash-Next-GSQ-RCO-IQ1_MIQ1_M131072q4_0fittarget2560.02340338.1pass28.82026-10-14T00:00:00Zghost
redqwen38_gsq_coder_llamaggml-org/llama.cpp@a0e6dc7384edb8f5d927155e1d26c10b4a310e6db11639Qwen3.8-Flash-Next-GSQ-RCO-IQ1_MIQ1_M262144q4_0fittarget2560.02349737.3--2026-10-14T00:00:00Zghost
redqwen38_gsq_coder_llamaggml-org/llama.cpp@a0e6dc7384edb8f5d927155e1d26c10b4a310e6db11639Qwen3.8-Flash-Next-GSQ-RCO-IQ1_MIQ1_M131072q4_0moe_cache_mib_40960.02354545.7--2026-10-16T00:00:00Zghost
redqwen38_gsq_coder_llamaggml-org/llama.cpp@a0e6dc7384edb8f5d927155e1d26c10b4a310e6db11639Qwen3.8-Flash-Next-GSQ-RCO-IQ1_MIQ1_M262144q4_0moe_cache_mib_40960.02356748.9--2026-10-16T00:00:00Zghost

FIM / inline completion round (2026-10-18)

The serving CSV is the agent/prose/needle artifact. The FIM round has its own frozen corpus and measured packet: ../benchmarks/fim-round-2026-10-18.md (benchmarks/fim-round-2026-10-18.md). Result: glm47_fim (GLM-4.7-Flash Uncensored NEO-CODE MAX IQ3_M, b11639 native /infill) 26/40 accept@1, 120.8 decode t/s, 0.80 s warm-cache at 96 tokens; qwen38_atx fallback 18/40; Ling-3.0-tiny rejected 0/40 (no FIM template/training); Strata has no native infill.