* scripts/e2e/decode/draftvocab-ab.sh: speedtrain3-ab shape, one binary in every arm, counterbalanced
base/en order, arms dv-base, dv-en, dv-en-eqslots; spec-stats give tokens per round, accepted/offered and
the accepted-length histogram; validity rejects fallback, missing or unexpected draft-vocab log lines
* scripts/e2e/decode/draftvocab-id.sh: teacher-forced replay with LELEKA_ORIGINAL_SERVE_RT_DIR set (the older
identity jobs draft over the full head), A/A floor, en against default, optional LELEKA_SPEC=3 control
* docs/experiments/2026-10-30-draft-vocab-en.md: what upstream does (format, digests, selection, default off),
our status, the port, expectations, what is not verified
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Rewrite the 5090 server model paths in 30 repo files (scripts, tools, docs) from the old
locations (/home/para/leleka-gates, $HOME/leleka-gates, /data/models) to
/home/para/work/leleka/models/..., add the AGENTS.md workspace rule and the move record
docs/experiments/models-move.md. Not merged: the smoke test is pending.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Needed for the slot gain: the slabs save physical bytes the Context never charged, so the
budget must rise by about that much. Smoke with this budget: ~11,568 slots, lowest free VRAM
1,035 MiB. Also the systemd unit template, the config and reconfigure tests, and the docs.
Preflight now needs 31,299 MiB free at start (was 30,720; idle 5090 reports 32,110).
Revert by restoring 32212254720. Owner confirmation required before merge.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The reserve cut was not the cause (the budget was) but it is unproven on the card; per the conservative rule only the slab ships by default. The job runs
both arms with E2E_GPU_BUDGET 31,300 MiB (the slab's savings need budget headroom; the base is card-bound at either value) and RUN_TAG lets a rerun sit beside the
earlier run directories.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
docs/experiments/vram-footprint-5090.md: stage-by-stage account from the speedtrain-ab logs (882 MiB of the 2.27 GiB gap is driver rounding, 324 MiB a second token
table, ~1 GiB the prompt/MoE/MTP side), the three reductions with estimated slots, the candidates not done, what is not verified.
slots-footprint-ab.sh: base-noseed vs slots-noseed (and the alias arm, and a short ledger arm), 100 ms card sampler, FOOTPRINT.txt per run.
slots-id.sh: replay with a static tier and an equal fixed slot count; the footprint changes must not move a logit.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Seed OFF is a profile setting only: the engine default (seed on) and the laptop profile are unchanged. Placement-class change, NOT bit-identical; it does not fit the strict Original
envelope (p99 <= 0.22, max <= 0.43) and neither does the control; it meets the relative criterion on 1,717 teacher-forced rows (p99 0.2500 vs control 0.2278, max 0.7567 vs 0.6751,
flips 2.10 % vs 2.59 %; limits 1.5x control and 2.8 %). Gain: 108.1 -> 137.2 tok/s decode over turns 1-4 of the frozen 245k session (3 runs per arm). Revert: remove the key or set
LELEKA_ORIGINAL_SERVE_SEED=on in the operator environment. Test: only_the_server_profile_turns_the_prompt_routing_seed_off; leleka-deploy tests 125 passed in WSL.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
CPU-only audit of causes (b) compiler/optimizer and (c) settings of the decode gap against vanilla Strata 0.2.6. Measured, read-from-source and
estimated figures are labelled; the A/B arms are in scripts/e2e/decode/parity-audit-ab.sh and are queued by the orchestrator.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Per-round component tables of vanilla Strata 0.2.6 (default, DT-only, tail skip off)
and of the pinned ours build over the 5-turn 245k session, the per-component gap
table (all rows INCONCLUSIVE: no A/A series), and the measured causes: request
cold-start burst of expert misses, late-window hit rate, cache size, draft cost.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Server access and layout, the wave-1 ours pin (ffb264e0 + bin-e2e4, tree equality
evidence), secrets handling, workload commands and source snapshot hash, model
digest mapping with server sha256 outputs, non-privileged cache-state resets,
machine locks and holder queue, run hygiene SC11-SC14, measured per-arm overhead
of ours on the 5090 (dedicated GPU slot not run: gpu.lock held by STRA-267).
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
New page docs/experiments/2026-10-28-s0-7-vanilla-arms.md: binary provenance and digest of the
vanilla engine on the 5090 server, the CPU-family lines at the pin (generate.cpp 3485/3687),
one class and a pin file:line for each row of the digest section 1.3, row (b) as a literal
one-variable list, Linux launch commands verified by three start-ups and one short request,
the Windows command marked UNVERIFIED-ON-WINDOWS, the vanilla_cpu_family block.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Read-only audit page: one class and evidence row per profile key (27 + 27),
serve_tuning admitted sets, 51 serve-path and 14 prefill-chunk-path switch
names, vanilla cross-reference to STRA-247, findings for the second wave.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Static table of the 9 nv_defaults.cpp switches, DEQUANT_WIDE and two further
sm_86-keyed defaults vs our counterparts; every speed cell unknown, lossless
labelled by source reading; rows passed to STRA-271.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Owner-precondition checklist with read-only commands, SC3 stop/resume rules,
schema floors from monitor.sh and lap_run.sh, enforced.power.limit divergence,
exposure budget. No script or setting is changed.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Brings the Rust/CUDA port of the Strata mode17 serve path together with the
CPU/iGPU/NPU gpt-oss runtime that main gained meanwhile.
Control plane: the Qwen tokenizer is the implementation behind the Qwen35
variant of codec::TextCodec (qwen(), encode_prompt() widen the trait; QwenCodec
derefs to the tokenizer), so control-token marks, images, chat template, the
runtime backend and vision keep their behavior, while the gpt-oss/Harmony path
and the worker pool keep main's. Config carries the union of fields; extra_workers
is rejected together with runtime, lazy_load, idle_unload_s and vision; the
gpt-oss family refuses top_k/min_p/penalties (its GEN line has no such keys).
leleka-kar-codec takes f16_bits_to_f32 from leleka-quant-core (identical code).
Workspace members and default-members are the union of both sides.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Adds two EXPERIMENTAL AVX2 MXFP4 kernels that take the activation as f32
scales plus contiguous int8 quants (q8r, q8r4). q8r is tested bit-identical to
the ggml-layout kernel; q8r4 against the stated tolerance. Adds Windows core
topology and thread pinning (cpu-sys topology module) and three kernel-level
benchmarks that interleave variants and report paired ratios.
Findings, recorded in docs/experiments/2026-10-14-cpu-kernel-layout-and-pinning.md:
the chip has 2 fast cores and 10 slower ones; the new layout was faster for a
single thread (paired median 1.32x, 15 pairs) and inconclusive with many
threads; thread pinning did not beat the OS default. The machine was not in a
controlled state, so these are not accepted performance results.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
KarExpertSource (pinned base + optional overlay, levels 2..=5) verifies whole
archives on the retained descriptor, validates the 48-layer expert map at load,
stages exact ranges and runs one-drain device expert FFNs; ModelBinding gains a
consuming with_kar_expert_source builder, MoeExpertStage routes experts through
it (shared expert/combine unchanged, MMQ cache refused), and NativeBackendConfig
gets kar_expert_source with identity-mixed mode digest and a Load-time probe.
The pure selection, stager, expert map and CPU reference move to model-format
so they run on macOS; the CUDA program gains a SwiGLU entry and a per-context
cached module. Linux-target type-checked only; nvcc/GPU unverified, PTX unpinned.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>