okami.mom/strata

git clone https://git.nkp.pet/okami.mom/strata

Niko1221Merge f-141-fixb: Python, docs and bench fixes and portsef8071303

main
3.6 KiB51 linesraw

Scope of validation

The unmodified release builds all 199 native targets. Its complete registered CTest suite reports 30 tests: 26 pass, four fail. These failures were retained and investigated before model benchmarks:

TestFinding
iq_parityCTest supplies --selftest, which this program treats as a fixture directory. A separate run against the available actual IQ fixtures passes. Native GGUF expert oracles across eight layers also pass.
ple_parityThe standalone Q2_0 fixture is unavailable. This case remains unqualified. The measured profile uses original IQ2_XS/native model artifacts.
gr_parityOrdinary/native GR subchecks pass. Opt-in QFUSE and multi-QFUSE checks fail because the SYCL implementations explicitly return false. STRATA_QFUSE is absent in these measurements.
s2_expert_grouped_parityOld/new grouped kernels differ bitwise in four cases. All CPU-oracle comparisons report zero rows outside tolerance, with worst normalized error no greater than 1.03e-7. This path is used by the drafter, so independent exact target-only/one-draft/MTP4 model-stream checks were required.

Those model-stream checks pass independently for both prefill profiles. No engine code was patched or numeric tolerance relaxed. This does not qualify other models, formats or optional fused paths.

An earlier CTest attempt refused to run because its log directory was owned by root. Only Testing/Temporary ownership was repaired; the build and binary remained root-owned. That pre-execution refusal and the classified full-suite failures are excluded from performance summaries. No hardware fault occurred in either attempt; recovery was checked before continuing.

A controller progress-file read race also stopped a queued phase before its payload started. Atomic progress-file replacement fixed it and passed a concurrent-read check. The failed controller receipts were preserved; no native test or benchmark had to be repeated because of that failure. A subsequent pre-install audit encountered the restored UI's health listener before it was ready. The controller stopped before installation; a bounded transport-readiness check fixed that sequencing issue. Full idle recovery passed before continuing. This did not invalidate or repeat any benchmark.

Each 8K profile passes 21 native checks and 24 API checks, including cancellation, restart, tools, queued isolation and near-8K capacity. Reference checks compare actual token streams, not only successful loading or fluent text. Benchmark repeats within each profile match exactly. Different prefill sizes can change long continuations, so their decode-rate difference is not a pure kernel comparison. Arithmetic accuracy is recorded separately from runtime validity. The 262K profile separately passes five native reference checks and 12 API checks at progressive and full context, including exact speculative/reference agreement and overflow rejection. Full-window timings are individual capacity checks, separate from the three-run matched-input benchmarks.

Independent guards enforce exclusive GPU ownership, Gen4 x16, zero watched PCIe errors, 30.5 GiB resident-VRAM ceiling, 32 GiB host-memory margin, an 80 GiB cgroup with no swap, bounded execution and sensor-specific thermal margins. Content/logs/configuration live in RAM; core dumps, persistent SYCL cache and crash capture during generation are disabled. Cleanup verifies payload exit before deleting RAM content and restoring normal services/crash capture. Only numeric/hashes are attached. qualification.json gives sample counts, observed peaks/minima and fault counts for each successful phase.

1# Scope of validation
2
3The unmodified release builds all 199 native targets. Its complete registered
4CTest suite reports 30 tests: 26 pass, four fail. These failures were retained
5and investigated before model benchmarks:
6
7| Test | Finding |
8| --- | --- |
9| `iq_parity` | CTest supplies `--selftest`, which this program treats as a fixture directory. A separate run against the available actual IQ fixtures passes. Native GGUF expert oracles across eight layers also pass. |
10| `ple_parity` | The standalone Q2_0 fixture is unavailable. This case remains unqualified. The measured profile uses original IQ2_XS/native model artifacts. |
11| `gr_parity` | Ordinary/native GR subchecks pass. Opt-in QFUSE and multi-QFUSE checks fail because the SYCL implementations explicitly return false. `STRATA_QFUSE` is absent in these measurements. |
12| `s2_expert_grouped_parity` | Old/new grouped kernels differ bitwise in four cases. All CPU-oracle comparisons report zero rows outside tolerance, with worst normalized error no greater than 1.03e-7. This path is used by the drafter, so independent exact target-only/one-draft/MTP4 model-stream checks were required. |
13
14Those model-stream checks pass independently for both prefill profiles. No
15engine code was patched or numeric tolerance relaxed. This does not qualify
16other models, formats or optional fused paths.
17
18An earlier CTest attempt refused to run because its log directory was owned by
19root. Only `Testing/Temporary` ownership was repaired; the build and binary
20remained root-owned. That pre-execution refusal and the classified full-suite
21failures are excluded from performance summaries. No hardware fault occurred
22in either attempt; recovery was checked before continuing.
23
24A controller progress-file read race also stopped a queued phase before its
25payload started. Atomic progress-file replacement fixed it and passed a
26concurrent-read check. The failed controller receipts were preserved; no
27native test or benchmark had to be repeated because of that failure.
28A subsequent pre-install audit encountered the restored UI's health listener
29before it was ready. The controller stopped before installation; a bounded
30transport-readiness check fixed that sequencing issue. Full idle recovery
31passed before continuing. This did not invalidate or repeat any benchmark.
32
33Each 8K profile passes 21 native checks and 24 API checks, including cancellation,
34restart, tools, queued isolation and near-8K capacity. Reference checks compare
35actual token streams, not only successful loading or fluent text. Benchmark
36repeats within each profile match exactly. Different prefill sizes can change
37long continuations, so their decode-rate difference is not a pure kernel
38comparison. Arithmetic accuracy is recorded separately from runtime validity.
39The 262K profile separately passes five native reference checks and 12 API
40checks at progressive and full context, including exact speculative/reference
41agreement and overflow rejection. Full-window timings are individual capacity
42checks, separate from the three-run matched-input benchmarks.
43
44Independent guards enforce exclusive GPU ownership, Gen4 x16, zero watched
45PCIe errors, 30.5 GiB resident-VRAM ceiling, 32 GiB host-memory margin, an 80 GiB
46cgroup with no swap, bounded execution and sensor-specific thermal margins.
47Content/logs/configuration live in RAM; core dumps, persistent SYCL cache and
48crash capture during generation are disabled. Cleanup verifies payload exit
49before deleting RAM content and restoring normal services/crash capture.
50Only numeric/hashes are attached. `qualification.json` gives sample counts,
51observed peaks/minima and fault counts for each successful phase.