Record Linux arm64 static CLI and real-sample verification
This commit is contained in:
@@ -106,3 +106,4 @@ The test toolchain was installed into ignored `artifacts/tool-venv/` for this ru
|
||||
- On a **provisional real-data sample** from the partially downloaded first Qwen shard, a 28,835,840-byte leading slice of `blk.17.ffn_gate_exps.weight` (IQ3_S, starting at absolute GGUF offset 19,192,385,920) and the 921,600-byte `blk.0.ffn_down_shexp.weight` (IQ4_NL, offset 1,385,570,304) were wrapped as two minimal GGUF shards outside Git. Their GGUF bytes total 29,757,760 and their level-2 KAR-2 archive is 21,485,056 bytes (72.1998% of this sample, 2.500179 accounted bits per weight), SHA-256 `ebacd3cd488274a21bc94630c841d157b5633ce62721bb991c39b78dad8cef23`. The dedicated verifier matched manifest source hashes, derived-F32 identity, provenance, KAR source records, and payload CRCs. The maximum tensor relative L2 error was **0.40491666**, so this level is not approved for serving. The full source shard hash has not yet been checked; this sample is not representative of whole-model size or quality. `scripts/measure-real-sample.py` reproduces this measurement into an output directory outside Git; pass `--index-gguf` only while the source is a partial download, and `--source-sha256` after its full hash is known. The chosen source GGUF offsets are absolute as printed by `model index`; no data-start offset is added.
|
||||
- Repeated the same sample through `scripts/measure-real-sample.py`: level 2 reproduced the same 21,485,056-byte archive and SHA-256. Level 3 gave a 30,078,464-byte archive (101.0777% of sampled GGUF input), SHA-256 `3e6bc55254ba30bea5ed4f40c970ac9290ad4b1fd160e5c92e71caaaff0328e2`, and maximum tensor relative L2 error **0.18060363**. Both archives passed the dedicated manifest/provenance/payload verifier. These measurements show a sample rate/error tradeoff, not a whole-model compression or agent-quality result; neither rate is enabled for serving.
|
||||
- `cargo run --locked --release --example compare-iq3-s -- <external-sample-gguf> 262144` compared every block in the sampled real IQ3_S slice: **262,144 blocks / 67,108,864 F32 values were bit-identical** between the independent Rust decoder and the pinned ggml C decoder. This is a non-lossy decoder parity check on source bytes from the incomplete first shard; the complete shard still needs manifest SHA-256 verification.
|
||||
- Built the committed static-CLI Dockerfile on an arm64 Linux container with `RUST_TARGET=aarch64-unknown-linux-musl`. The resulting single `strata-next` ELF is 14 MiB (`file` reports `statically linked`), SHA-256 `3faa76d410f08134cb39bc77009674ffba8e9a3190bfa7af0099028ed5282285`. The `scratch` image ran `--version` successfully and independently verified the real-slice level-2 KAR archive through a read-only bind mount, including manifest source hashes, provenance, source records, and payload CRCs. This validates the Linux/arm64 static control-plane/CLI artifact, not the x86_64 release path or a CUDA-enabled inference runtime. Hosted GitHub Actions still has not run because this checkout has no GitHub repository or remote.
|
||||
|
||||
+1
-1
@@ -105,6 +105,6 @@ Pull requests and main commits run Rust format, Clippy, tests, synthetic replay,
|
||||
|
||||
## Current status
|
||||
|
||||
P0 has local CI assets and a synthetic static-CLI smoke, but hosted Actions cannot run until a GitHub repository exists. P1 has `model fetch` and `model verify`; the real two-shard model download is in progress. P2 has bounded GGUF indexing, native tokenization, pinned ggml CPU decoding of all target quantized kinds, and an experimental bounded-memory sharded GGUF-to-KAR path with source and archive verification. A small real IQ3_S/IQ4_NL slice produced verified KAR archives: level 2 was 72.2% of sampled GGUF bytes with 0.405 maximum relative L2 error; level 3 lowered that error to 0.181 but grew to 101.1% of the source slice. The full source shard is not yet SHA-256 verified. The Responses route has a restricted non-streaming text preview backed by the worker queue and synthetic tests. Live streaming, tool calls, full-model quality, CUDA decode, GPU baseline, and a complete single-file GPU runtime remain pending.
|
||||
P0 has local CI assets and a Linux/arm64 musl static CLI that ran from `scratch` and verified a real-data KAR sample; hosted Actions and x86_64 validation still need a GitHub repository and runner. P1 has `model fetch` and `model verify`; the real two-shard model download is in progress. P2 has bounded GGUF indexing, native tokenization, pinned ggml CPU decoding of all target quantized kinds, and an experimental bounded-memory sharded GGUF-to-KAR path with source and archive verification. A small real IQ3_S/IQ4_NL slice produced verified KAR archives: level 2 was 72.2% of sampled GGUF bytes with 0.405 maximum relative L2 error; level 3 lowered that error to 0.181 but grew to 101.1% of the source slice. The sampled IQ3_S values matched the pinned ggml decoder bit for bit, but the full source shard is not yet SHA-256 verified. The Responses route has a restricted non-streaming text preview backed by the worker queue and synthetic tests. Live streaming, tool calls, full-model quality, CUDA decode, GPU baseline, and a complete single-file GPU runtime remain pending.
|
||||
|
||||
References: [NVIDIA CUDA 13.0 release notes](https://docs.nvidia.com/cuda/archive/13.0.0/cuda-toolkit-release-notes/index.html), [NVIDIA driver components](https://docs.nvidia.com/deploy/cuda-compatibility/latest/why-cuda-compatibility.html), and [Rust musl target support](https://doc.rust-lang.org/rustc/platform-support.html).
|
||||
|
||||
Reference in New Issue
Block a user