Skip to content

kolibri1: cross-check the CPU gates against llama.cpp 62318cd57 - #3485

Merged
lu-zero merged 1 commit into
localai-org:mainfrom
lu-zero:row/KOLIBRI-LLAMACPP-CROSSCHECK
Oct 20, 2026
Merged

lu-zero merged 1 commit into
localai-org:mainfrom
lu-zero:row/KOLIBRI-LLAMACPP-CROSSCHECK

Conversation

@lu-zero

@lu-zero lu-zero commented Oct 20, 2026 •

Copy link
Copy Markdown
Collaborator

kolibri1: cross-check the CPU gates against llama.cpp 62318cd57

Add upstream llama.cpp's freshly-merged Kolibri-1 support (ggml-org/llama.cpp
#30673, merge 62318cd57, 2026-10-17) as a third independent reference for
the MODEL-TEXT-kolibri-1 correctness record, and measure three-way agreement.
No product code changes: the oracle pin, its gateability evidence, and one
local issue.

Pin. .agents/oracles/llama-cpp.md advances from 11fe0215 to
62318cd57 — the first upstream object that loads the released
Aleph-Alpha/Kolibri-1 checkpoint at all. Gates recorded against 11fe0215
stay attributed to it; non-kolibri denominators are not re-based.

Gateability. Built CPU-only from a clean tree at the exact commit
(GGML_NATIVE=ON, aarch64 FEAT_BF16 — the same hardware class as our
production bf16-dot default), converted the fp8 checkpoint through the
upstream converter (convert_hf_to_gguf.py, default auto): 903 tensors,
general.architecture = kolibri1, MOSTLY_BF16, 149,069.2 MiB, sha256
76ddb05e458cce1a023d42cd4f13dc8e8152fbb6501c1f680918fc7d2a0fcefd. Served
and generated coherently end-to-end. Executed path: llama-server -t 16,
all other defaults.

Three-way agreement (primary = aleph-alpha-inference top-100 rows, 202
aligned teacher-forced positions over the 8-prompt battery):

side vs primary emitted token positions top-1
ours (production bf16-dot default, committed) 202 198/202 = 98.0%
llama.cpp 62318cd57 bf16 GGUF 202 198/202 = 98.0%

Chain decode llama.cpp vs the golden chains: 126/256 = 49.2%, 3 of 8 prompts
token-exact through 32 steps, first divergences at steps 0/1/0/5/7 — the
near-tie re-rank shape our own chains show. The aligned numbers are the
numerics statistic; nothing was tuned on either side.

Gates. check-agent-record ok, agent-preflight.sh --staged ok,
commit style ok, trailer contract ok. agent-ready.py reports one
pre-existing failure on this host: check-windows-portability.py fails
identically on a clean origin/main checkout (the ps1 fake-tool contract
cannot find dotnet--NoProfile), which this change does not touch.

Evidence: docs/bench-evidence/kolibri1-llamacpp-crosscheck-20261020.md.
docs/USAGE.md owes no line: no command, config key, or workflow changed.

This change was produced under the AGENTS.md protocol; a fresh reviewer
still owes the mutation pass on the head.

CAVEAT (added post-review): the 98.0% figures were measured against the primary top-100 rows as they exist on main, which carry a confirmed off-by-one (writer stored each row one position behind the generated chain; repair in flight on row/PRIMARY-ROWS-OFFBYONE). Both sides used the same lagged alignment, so the equality of the two percentages — two independent implementations agreeing exactly — is the meaningful statistic; the absolute 98.0% label is provisional until the repaired rows land.

FOLLOWING_AGENTS_PROTOCOL

Following-Agents-Protocol: true
AI-Assisted: true
Assisted-by: AGENT:zai/glm-5.3-flash [maki]

Add upstream llama.cpp's freshly-merged Kolibri-1 support (#30673, merge
62318cd57, 2026-10-17) as a third independent reference for the row's
correctness record, and record the three-way agreement measurement. No
product code changes: this is the oracle pin, its gateability evidence, and
one local issue.

The pin advances from 11fe0215 to 62318cd57 because that revision is the
first upstream object that loads the released Aleph-Alpha/Kolibri-1
checkpoint at all. The gateability run built CPU-only from a clean tree at
the exact commit (GGML_NATIVE=ON, aarch64 FEAT_BF16, the same hardware class
as our production bf16-dot default), converted the fp8 checkpoint through
the upstream converter to a bf16 GGUF (903 tensors, 149069.2 MiB, sha256
76ddb05e458cce1a023d42cd4f13dc8e8152fbb6501c1f680918fc7d2a0fcefd), and
generated coherently end-to-end.

The measurement: over the primary oracle's 202 aligned teacher-forced
positions, llama.cpp top-1 is 198/202 = 98.0% — identical to our committed
production bf16-dot number. Chain decode vs the golden chains is 126/256 =
49.2% with 3 of 8 prompts token-exact, the near-tie re-rank shape our own
chains show; the aligned numbers are the numerics statistic, the chain
number is not a quality verdict. Nothing was tuned on either side.

Closes .agents/issues/MODEL-TEXT-kolibri-1-kolibri1-for-causal-lm/
ISSUE-LOCAL-01M5CRZ3J4CFX1KEJD6ZRE4A8R.

FOLLOWING_AGENTS_PROTOCOL

Following-Agents-Protocol: true
AI-Assisted: true
Assisted-by: AGENT:zai/glm-5.3-flash [maki]
@lu-zero
lu-zero force-pushed the row/KOLIBRI-LLAMACPP-CROSSCHECK branch from 74ead29 to 6fee3fc Compare October 20, 2026 14:30
@lu-zero
lu-zero merged commit c64e6e0 into localai-org:main Oct 20, 2026
23 of 29 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant