From f779694a77b1858f2da7374356faff6cbbbec168 Mon Sep 17 00:00:00 2001 From: Pavlo Ratushnyi Date: Sun, 18 Oct 2026 05:30:29 +0200 Subject: [PATCH] docs: pointer from model-assets to the quality gate; pending jobs noted Co-Authored-By: Claude Sonnet 5.5 --- docs/model-assets.md | 2 +- docs/quality-gate.md | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/docs/model-assets.md b/docs/model-assets.md index 373a3c59..26502519 100644 --- a/docs/model-assets.md +++ b/docs/model-assets.md @@ -21,7 +21,7 @@ For a private Hugging Face repository, set `HF_TOKEN` in the process environment For small GGUF fixtures, `model ensure-sharded-preview MANIFEST --source-dir DIR --output FILE.kar --levels N` runs fetch, source verification, experimental KAR-2 preparation, and archive verification in one command. On rerun it hashes the source shards and verifies the archive payload, provenance, and level count before reusing the file. A damaged or mismatched archive fails closed and is never overwritten automatically. This preview is limited to 64 MiB of GGUF input; the embedded `qwen-iq3-s` manifest is deliberately rejected before download. It does not provide full-model conversion or an approved serving artifact. -`model ensure-sharded-streamed MANIFEST --source-dir DIR --output FILE.kar --levels N` is the opt-in, uncapped experimental path. It fetches and verifies source shards, prepares a bounded-memory KAR-2 archive if absent, independently verifies the new archive and provenance, and rehashes all sources plus the archive before reuse. It prints actual archive bytes and accounted bits per weight. Use a model volume with enough capacity for the GGUF shards, temporary sections, and final archive. Streamed policy v4 splits any tensor too large for KAR-2's 32-bit plane stride into adjacent records and records their parent mapping and per-part source/F32 hashes in provenance. The 51,200,245,760-element `per_layer_token_embd.weight` becomes two records of 32,000,000,000 and 19,200,245,760 elements. A complete level-2 archive measured 55,295,529,472 bytes (51.50 GiB, 66.13% of the source GGUF bytes); see [build validation](build-validation.md). Its maximum tensor relative L2 error was 0.68008092. Model-level quality and serving approval remain pending. +`model ensure-sharded-streamed MANIFEST --source-dir DIR --output FILE.kar --levels N` is the opt-in, uncapped experimental path. It fetches and verifies source shards, prepares a bounded-memory KAR-2 archive if absent, independently verifies the new archive and provenance, and rehashes all sources plus the archive before reuse. It prints actual archive bytes and accounted bits per weight. Use a model volume with enough capacity for the GGUF shards, temporary sections, and final archive. Streamed policy v4 splits any tensor too large for KAR-2's 32-bit plane stride into adjacent records and records their parent mapping and per-part source/F32 hashes in provenance. The 51,200,245,760-element `per_layer_token_embd.weight` becomes two records of 32,000,000,000 and 19,200,245,760 elements. A complete level-2 archive measured 55,295,529,472 bytes (51.50 GiB, 66.13% of the source GGUF bytes); see [build validation](build-validation.md). Its maximum tensor relative L2 error was 0.68008092. Model-level quality and serving approval remain pending. First measurement, Original only (6 prompts, <= 128 tokens, teacher-forced; [quality gate](quality-gate.md) section 6): KAR level-2 PLE against the GGUF PLE changes the top-1 log-probability by p99 0.34 nats (max 0.54) and the argmax at 3.4 % of positions, about 1.6 times the Original's own configuration-to-configuration spread, with no collapse; this is not the model-quality gate. `model checksum-kar-preview FILE.kar TENSOR LEVEL` independently decodes one bounded nested tensor from the archive and prints an FNV-1a checksum of the F32 output. On Linux, compare `output_fnv1a64` with the same field from `strata-kar-gpu-smoke FILE.kar TENSOR LEVEL ITERATIONS`. This checks CPU and CUDA reconstruction byte for byte on a fixture; it is not a full-model quality gate. diff --git a/docs/quality-gate.md b/docs/quality-gate.md index e3e99d66..ee594ea6 100644 --- a/docs/quality-gate.md +++ b/docs/quality-gate.md @@ -5,6 +5,11 @@ Status: measured on the RTX 5090 (driver 595.99.02, CUDA 13.2.86), 2026-10-17/18 Original = `stra169-ladder/build-sm120/strata` (sha256 714deada...), the build behind jobs 809/980; the `numerics-orig` build (diagnostic dump patches compiled in) reproduces it bit for bit on the reads (arm R6: all 612 rows, difference exactly 0). +**Pending at the time of writing (queued behind other agents' jobs, run `q_analyze.py` and `q_ladder.py` when they finish):** +`9968-quality-orig-retrieval-read` (Original log-probabilities along its 100k/180k answers), `9969-quality-port-retrieval-fixed` (port after the stop-set +fix, free and forced along those answers: section R of the report) and `9970-quality-ladder-p1` (layer-by-layer localisation of the one outlier row, section 9.2). +Everything else in this document is measured. + ## 1. Method **Teacher forcing, both directions.** A *path* is the prompt followed by the tokens an engine produced. Both engines are made to decode along