Commit Graph
39 Commits
Author SHA1 Message Date
Pavlo RatushnyiandClaude Sonnet 5.5 ff44dd606b e2e codex-delta: plan doc, matrix job generator, browser check helper
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-30 23:35:27 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 e1bd61f59b Merge claude/draft-vocab: opt-in LELEKA_DRAFT_VOCAB (default off). Identity 353/353 rows, 0 flips; paired A/B +0.08% tok/s: no speed claim
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-30 22:42:10 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 0cb0488665 docs: models-move root cause of the Shard0 failure (damaged copy after NVMe write aborts), direct-IO verification
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-30 05:01:38 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 d6fc908641 scripts, docs: draft-vocab paired A/B and identity jobs, upstream findings and port notes
* 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>
2026-10-30 03:29:07 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 5e4c9c9530 models: all model paths point into the work folder (models/leleka-gates, models/deepseek-v41-flash)
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>
2026-10-29 19:12:29 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 b63a91b2fa deploy: rtx5090-32g gpu_budget_bytes 30 GiB -> 32,819,404,800 (31,299 MiB) so the dense-slab slot gain reaches the product
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>
2026-10-29 11:59:55 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 83df1cfa7f Merge claude/slots-footprint (eef6f598, planner fix) into speed-train3
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-29 11:12:30 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 eef6f598b4 decode reserve back to 300 MiB (130 stays opt-in), A/B job: budget 31,300 MiB, RUN_TAG, slots-res130 arm; docs: the failed first A/B and its fix
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>
2026-10-29 11:07:46 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 f762fc5502 Merge claude/draft-tail into speed-train2
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-29 10:36:06 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 2d38ffb1c5 Merge claude/slots-footprint into speed-train2
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-29 10:36:01 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 d6ec7710e4 docs: 5090 per-round budget of the MTP draft and the host tail, the four lossless reductions, jobs and what is not verified
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-29 10:33:42 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 5326e634af docs: vram footprint page names the alias commit
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-29 10:29:21 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 7823672f04 docs+scripts: VRAM footprint account (ours vs vanilla), slots-footprint A/B job and static-tier identity job
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>
2026-10-29 10:21:45 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 fcb4f02ba9 deploy: RTX 5090 profile sets LELEKA_ORIGINAL_SERVE_SEED=off (placement class, owner confirmation required)
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>
2026-10-29 10:09:44 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 21401dd759 docs: decode-gap pages carry a note that their old-corpus numbers are unpaired and superseded
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-29 08:28:51 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 463a432a9c Merge claude/stra-258 into speed-train
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-29 08:26:42 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 4a35f39889 Merge claude/parity-audit into speed-train
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-29 08:26:41 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 bfb8bbe2ee docs: 5090 decode at 247k, seed, placeholder profile and the PLE row-cache scan (STRA-245 decode gap, first draft)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-29 03:27:36 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 402a9f852b docs: parity audit follows the orchestrator decisions (frozen corpus, guard, queue, experimental placement arms, corrected cuBLAS attribution)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-29 01:44:53 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 82fca1f691 docs: 5090 build-flag and settings parity audit, ranked table (STRA-245)
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>
2026-10-29 01:40:13 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 e809ca7a84 docs: 5090 decode breakdown, vanilla and ours, gap table (STRA-258/259/260)
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>
2026-10-29 01:05:53 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 883e0beb2b docs: S0.7b runbook preamble and SC7 index page (STRA-288)
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>
2026-10-28 21:11:59 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 f13c0c4635 Merge claude/stra-247 into Train A (STRA-245)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-28 20:31:07 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 fbd4ef8564 docs: S0.7 vanilla comparator arms, classification of upstream default rows, vanilla start-up evidence (STRA-247)
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>
2026-10-28 20:08:31 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 d499ab16cf Merge branch 'claude/stra-307' into claude/integration-stra-245-w1
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-28 20:05:29 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 16572612f7 Merge branch 'claude/stra-250' into claude/integration-stra-245-w1
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-28 20:05:28 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 72976c6312 Merge branch 'claude/stra-249' into claude/integration-stra-245-w1
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-28 20:05:28 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 5b82eb8f45 docs: S6.1 lossy-default audit of the shipped rtx5090-32g and rtx3080-16g profiles (STRA-250)
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>
2026-10-28 19:54:10 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 20f7abab01 docs: S0.7c predicate dump produced on the server (STRA-307), g++ build, both outputs quoted
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-28 19:52:19 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 57fe3c811d docs: S3.5 sm_86 exact-speed-switch audit (STRA-249)
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>
2026-10-28 19:50:43 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 486845fa3e docs: S3.1 laptop safety protocol, thresholds schema, bootstrap instance and checker (STRA-256)
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>
2026-10-28 19:49:47 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 e94369a1bf docs: S0.7c vanilla predicate dump page (STRA-307), build unavailable: cmake missing on server
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-28 19:47:33 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 b3274c1130 Merge claude/port-gpu-bringup (CUDA runtime port, upstream sync) into main
Linux / keyless-cuda-gate (push) Skipped
Rust port / port-typecheck (push) Failing after 8s
Desktop foundation / core (ubuntu-latest) (push) Failing after 11s
Rust port / port-oracles (push) Failing after 11s
Rust port / port-linux-tests (push) Failing after 14s
Rust port / port-fast (push) Failing after 9s
Linux / verify (push) Failing after 17s
Linux / keyless-cuda (push) Skipped
Linux / static-cuda-package (push) Skipped
Linux / hosted-cuda-package (push) Skipped
Linux / linux-static-cli (push) Skipped
Linux / linux-cli-container (push) Skipped
Linux / release-cli (push) Skipped
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>
2026-10-27 08:32:33 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 c0cd1d7f19 docs: wording
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-14 15:50:27 +02:00
Pavlo RatushnyiandClaude Sonnet 5.5 085512b4f3 docs+test: experimental modes status, literal-port drift guard
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-14 15:50:14 +02:00
Pavlo RatushnyiandClaude Sonnet 5.5 efd4018a46 feat: add experimental pre-converted activation layout, topology helper and paired benchmarks (STRA-211)
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>
2026-10-14 15:32:30 +02:00
Pavlo RatushnyiandClaude Sonnet 5.5 7e24f41e34 feat(runtime): KAR routed-expert weight source wired into Load and the MoE stage
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>
2026-10-14 14:55:34 +02:00
Pavlo RatushnyiandClaude Sonnet 5.5 0deaad99d8 docs: KAR level-decode CUDA port status (verified vs open)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-14 14:42:54 +02:00
Pavlo Ratushnyi 4013e0c9bd Import tracked Strata Next source snapshot
Desktop foundation / core (macos-latest) (push) Canceled after 0s
Desktop foundation / core (windows-latest) (push) Canceled after 0s
Linux / verify (push) Canceled after 0s
Linux / keyless-cuda (push) Canceled after 0s
Desktop foundation / core (ubuntu-latest) (push) Failing after 28s
Linux / static-cuda-package (push) Canceled after 0s
Linux / hosted-cuda-package (push) Canceled after 0s
Linux / linux-static-cli (push) Canceled after 0s
Linux / linux-cli-container (push) Canceled after 0s
Linux / release-cli (push) Canceled after 0s
2026-10-05 18:15:08 +02:00