Skip to content

docs(dspark): storage refuted; ratio stable at ~0.966 over three within-session pairs (#442) - #550

Merged
localai-bot merged 2 commits into
mainfrom
row/SPEC-DSPARK-LOADER
Aug 13, 2026
Merged

docs(dspark): storage refuted; ratio stable at ~0.966 over three within-session pairs (#442)#550
localai-bot merged 2 commits into
mainfrom
row/SPEC-DSPARK-LOADER

Conversation

@localai-bot

Copy link
Copy Markdown
Collaborator

Record-only change closing out the measurement question the developer raised: could the weights being on NAS, or not fully resident, be distorting the DSpark numbers?

Tested and refuted. The weights are on local NVMe (/dev/nvme0n1p2 ext4 — no NAS mount exists on the box). A run reads 22.06 GB total, i.e. one full model read at load. Decode-time RSS is 4.8 GB because the mapping is released after upload, and 8 warm reps hold a 0.5% spread (146.0–147.6). File-backed weights could not produce that stability; on GB10 the failure mode would be loud anyway, since host pages reach the GPU through ATS at a measured 20–30% per-GEMM penalty.

Recorded alongside it, because it is its own risk: that NVMe is 98% full (76 GB free), and this repo has already lost a gate run to ENOSPC reporting green over work that never ran.

Third within-session paired ratio, ours → oracle → ours at free clocks with drift bracketed at −0.89%: 140.98 vs a modal 147.32, RATIO 0.9569.

session ours oracle (modal) ratio
pinned clocks, pre-C_tmp 135.98 139.36 0.9757
pinned clocks, post-C_tmp 139.20 144.32 0.9646
free clocks, ours→oracle→ours 140.98 147.32 0.9569

That puts the gap at ~0.966 ± 0.01, consistently below 1.0, while the absolute numbers move up to 5% between sessions for the same binary because GB10's memory clock cannot be pinned — which is exactly why only the within-session ratio is quotable, and all three agree. The oracle's draws remain bimodal (~147.3 vs ~155.6) from the same one-extra-accepted-token effect, so its modal draws stay the honest denominator.

No code change. Issue: #442.

Gate: scripts/agent-preflight.sh --stagedAll gates green. (test_cpu_x86_llamacpp_floor failed once mid-session at loadavg 151 from another session's ctest storm — it is the harness's own contended-leg test — and passes 10/10 standalone.)

FOLLOWING_AGENTS_PROTOCOL

mudler added 2 commits August 12, 2026 23:23
…ions (#442)

The developer asked whether the weights sitting on NAS, or not being fully
resident, could be distorting these measurements. Tested and refuted: the
weights are on local NVMe (no NAS mount exists on the box), a run reads 22.06 GB
once at load, decode-time RSS is 4.8 GB because the mapping is released after
upload, and 8 warm reps hold a 0.5% spread. File-backed weights could not
produce that stability, and on GB10 the failure mode would be loud anyway --
host pages reach the GPU through ATS at a measured 20-30% per-GEMM penalty.

Recorded alongside it: that NVMe is 98% full (76 GB free). This repo has
already lost a gate run to ENOSPC reporting green over work that never ran.

Also records a third WITHIN-session paired ratio, ours -> oracle -> ours at free
clocks with drift bracketed at -0.89%: 140.98 vs a modal 147.32, RATIO 0.9569.
With the two pinned-clock pairs (0.9757, 0.9646) that puts the gap at
~0.966 +/- 0.01, consistently below 1.0, while the ABSOLUTE numbers move up to
5% between sessions for the same binary because GB10's memory clock cannot be
pinned. Only the within-session ratio is quotable, and all three agree. The
oracle's draws remain bimodal (~147.3 vs ~155.6) from the same one-extra-
accepted-token effect, so its modal draws stay the honest denominator.

No code change; this is the record catching up with the measurements.

FOLLOWING_AGENTS_PROTOCOL

Following-Agents-Protocol: true
AI-Assisted: true
Assisted-by: AGENT:claude-opus-5 [Claude Code]
Picks up the hf_snapshot.h build repair (#556) so this record-only PR builds.
Its CPU, sanitizer and Windows-compile jobs were red for that reason alone --
the branch changes four markdown files and cannot affect a build.

No overlap: #556 touches tests/parity/hf_snapshot.h, this branch touches the
DSpark spec, the benchmark record, STATUS and BENCHMARKS.

FOLLOWING_AGENTS_PROTOCOL

Following-Agents-Protocol: true
AI-Assisted: true
Assisted-by: AGENT:claude-opus-5 [Claude Code]
@localai-bot
localai-bot merged commit 72e661a into main Aug 13, 2026
23 of 25 checks passed
localai-bot pushed a commit that referenced this pull request Aug 13, 2026
#550 landed squashed, so its content arrives on main as a new commit while this
branch already carried it plus everything since. All three conflicts are that
shape -- HEAD is the superset in every hunk -- so HEAD is taken wholesale, which
is what the record-conflict rule asks for.

Verified rather than assumed: all 317 `## ` entries on main's
.agents/benchmark-record.md are present here, so the union lost nothing.

FOLLOWING_AGENTS_PROTOCOL

Following-Agents-Protocol: true
AI-Assisted: true
Assisted-by: AGENT:claude-opus-5 [Claude Code]
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.

2 participants