22 Commits
Author SHA1 Message Date
Pavlo Ratushnyi 3f22c4ae29 Drop stale docs/ references from scripts, tools and deploy files; add rope-regeneration.json 2026-11-23 09:34:33 +01:00
Pavlo Ratushnyi 94592f4fa0 wip: rename strata-next/strata-control/strata-desktop-core (to be squashed in the final rename commit) 2026-11-14 20:30:41 +01:00
Pavlo Ratushnyi 5d0d96ed76 Merge claude/laptop-3080-live: VM memory gate 2026-11-14 14:38:20 +01:00
Pavlo Ratushnyi 9a6fe120f0 Laptop gates: wait for the VM memory the engine start check needs (31 GiB MemAvailable) 2026-11-14 14:38:20 +01:00
Pavlo Ratushnyi c869a9a328 Merge claude/laptop-3080-live: stretch tooling (foreign service guard, ladder, polling gate) 2026-11-14 14:33:55 +01:00
Pavlo Ratushnyi 5091dfc10d Laptop stretch: leave a foreign Leleka service alone, ladder mode (cold prompts of growing size), 2-minute polling gate in lap_lib 2026-11-14 14:33:55 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 e9580fb6b9 Laptop identity gate: base-vs-new bitwise comparison on the 3080 (identity-gate.sh, identity_compare.py with self-test, lap_lib.sh gates and the gpu-wanted flag)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-14 11:54:45 +01:00
Pavlo Ratushnyi 5697e1e441 Merge claude/laptop-3080-live: laptop identity gate scripts
Linux / keyless-cuda-gate (push) Skipped
Rust port / port-oracles (push) Failing after 24s
Rust port / port-linux-tests (push) Failing after 23s
Linux / verify (push) Failing after 39s
Rust port / port-typecheck (push) Successful in 45s
Product / product (push) Failing after 12m38s
Rust port / port-fast (push) Failing after 22s
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
2026-11-14 11:54:45 +01:00
Pavlo Ratushnyi 39b343a5ae Merge claude/laptop-3080-live: laptop stretch tooling fixes
Linux / keyless-cuda-gate (push) Skipped
Rust port / port-fast (push) Failing after 36s
Rust port / port-linux-tests (push) Failing after 38s
Rust port / port-oracles (push) Failing after 40s
Linux / verify (push) Failing after 53s
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
Rust port / port-typecheck (push) Successful in 1m4s
Product / product (push) Failing after 20m54s
2026-11-13 21:44:01 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 4336283163 Laptop run tooling: stretch script (lock, memory and build gates, LAP_ENV diagnostics, GPU-busy budget from ready, stale engine.log fix), guard fixes (process name, limit, RSS, turbo watchdog), turbo_status.sh
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-13 21:43:59 +01:00
Pavlo Ratushnyi aa0633d94a Laptop: turbo-watchdog.ps1 keeps the ASUS Turbo scheme active and writes a status file (Turbo, AC, GPU power limit) that run tooling checks before any GPU run
Linux / keyless-cuda-gate (push) Skipped
Rust port / port-fast (push) Failing after 27s
Rust port / port-linux-tests (push) Failing after 26s
Rust port / port-oracles (push) Failing after 33s
Linux / verify (push) Failing after 38s
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
Rust port / port-typecheck (push) Successful in 59s
Product / product (push) Failing after 13m9s
2026-11-13 18:59:40 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 7ccd1b8b5e Laptop 3080: audit of the 5090 defaults, profile pins the tier layout, WSL2 planner caps CPU workers at the physical cores, profile guard for switches without an sm_86 companion, laptop run tooling; live validation not run (30 W power cap)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-13 17:53:10 +01:00
Pavlo Ratushnyi b27dbeaf88 STRA-338 S26: scripts and documented commands that ran tests of the moved engine now name leleka-engine-qwen35-cuda (leleka-runtime is a facade with no tests); test binaries are found as leleka_engine_qwen35_cuda-<hash>; smoke inventory groups follow the crate directory 2026-11-06 11:57:14 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 4076b9bf8f STRA-320: guard.ps1 watchdog containment (Job Object kill-on-close, dead-man fallback, STOP file) and dry tests
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-28 20:45:54 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 75254fb593 Merge claude/stra-319 into Train A (STRA-245)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-28 20:31:12 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 df08f9bf14 feat(laptop): native-Windows read-only GPU watchdog with dry tests (STRA-291)
Port of the safeguards of scripts/laptop/monitor.sh and lap_run.sh to
PowerShell 5.1: preflight refusal (exit 4), 1 Hz sampling with a 5 s
nvidia-smi call timeout, stall check off the sampler thread, kills only
the PID tree it spawned, fail-closed on enforced.power.limit N/A/absent,
caller-set timeout, 120 s / 600 s cool-down, exclusive machine lock
(CreateNew + FileShare.None) with runner-lock verification, sample series
file with sha256 and thresholds_source, injectable clock / -TimeScale.
test_watchdog.ps1: 32 named cases against a fake nvidia-smi shim, CPU only.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-28 20:30:07 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 6e58d6bd6d feat: add read-only laptop state reader scripts/laptop/win/state.ps1 and dry tests (STRA-319)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-28 20:19:56 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 cfe0a02312 docs/laptop-profile: state of the laptop work (OEM vs Turbo, incident, A0 numbers, recommended config, open list); watchdog rule narrowed to the OEM signature
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-24 00:26:05 +02:00
Pavlo RatushnyiandClaude Sonnet 5.5 3bed06d185 docs/roofline: laptop ceilings in Turbo mode vs the OEM 30 W profile; guarded runner can wrap any GPU job
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-24 00:13:42 +02:00
Pavlo RatushnyiandClaude Sonnet 5.5 c5f46697cb laptop: parameterised bench harness (sequence/soak/prefix knobs), guarded run script with GPU-state preflight and 1 Hz watchdog, long-prompt generator
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-24 00:02:04 +02:00
Pavlo RatushnyiandClaude Opus 5.5 c9845eed52 fix(experts): split bank copies at page-locked boundaries; Original bench without the subcommand
With part of a file-mapped bank page-locked (`pin_resident`), an H2D copy that starts in registered pages and
runs into unregistered ones is refused by the driver (CUDA_ERROR_INVALID_VALUE, first seen on the laptop run).
`MappedExpertBank::copy_pieces` cuts a `cache_source` slice at every registered boundary and the four copy
sites (prompt copy ring, cache fill, swap fill, PCIe staging) issue one copy per piece; one piece when nothing
is locked, so the default path is unchanged. original_bench.sh: the `strata` binary takes the generate
options directly.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-16 12:49:53 +02:00
Pavlo RatushnyiandClaude Opus 5.5 bbba0f231d bench(laptop): paired Original/port harness on fixed pre-tokenized prompts
* tokenizer example `chat_tokens`: one user turn per line, thinking off, to comma-separated IDs, so both
  engines get exactly the same token IDs (benchmarks/laptop/prompts.txt: 3 prompts, 78-88 tokens).
* leleka-runtime ignored test `original_serve_laptop_bench`: opens the Original serve stack with the
  low-RAM sources (mapped experts, read-only KAR file; resident/memfd still selectable), serves every prompt
  REPEAT times greedily and prints TTFT, prompt/decode phase times, prefill/decode tok/s, memory and the
  output IDs of the first pass.
* scripts/laptop: original_bench.sh drives the unmodified `strata generate --serve` (setup.py's IQ3_S
  arguments, conversation cache off, one GEN at a time, TTFT to the first T line); port_bench.sh runs the
  test; monitor.sh samples process RSS/anon/file/shmem/locked/pinned and GPU VRAM once a second.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-16 11:27:46 +02:00