From 6359897d47e4423ccbbc9b5ee47558e16416d3f0 Mon Sep 17 00:00:00 2001 From: Mikei386 <44135113+Mikei386@users.noreply.github.com> Date: Wed, 21 Oct 2026 23:20:26 +0200 Subject: [PATCH] Replace Strata with v0.2.2 engine 0.1.47 and record short GPU comparison --- deploy/STRATA_NATIVE.md | 39 +++- docs/CURRENT_SYSTEM.md | 14 +- .../strata-022-2026-10-21/README.md | 87 ++++++++ .../strata-022-2026-10-21/result.json | 192 ++++++++++++++++++ strata_sources.json | 4 +- 5 files changed, 331 insertions(+), 5 deletions(-) create mode 100644 docs/maintenance/strata-022-2026-10-21/README.md create mode 100644 docs/maintenance/strata-022-2026-10-21/result.json diff --git a/deploy/STRATA_NATIVE.md b/deploy/STRATA_NATIVE.md index 2465156..dbf3dcf 100644 --- a/deploy/STRATA_NATIVE.md +++ b/deploy/STRATA_NATIVE.md @@ -1,6 +1,6 @@ # Strata in Athena Deck -Strata Engine 0.1.46 (Release v0.2.1), Commit `90767252f420e25223c739d604145ad15911d48b`, ist eine +Strata Engine 0.1.47 (Release v0.2.2), Commit `011c9e600a93bbc9fd451c563501b5831c32bbca`, ist eine zweite Chat-Laufzeit. Deck startet das unveränderte `serve/server.py` und dessen Engine als eigene Prozessgruppe auf einem zufälligen Loopback-Port mit einem zufälligen, nur lokal gespeicherten Token. Clients verwenden weiterhin den @@ -27,7 +27,11 @@ python3 deploy/install_strata.py --destination /var/lib/athena-deck/strata-runti ``` Das Rezept lädt einen festen Strata-Commit, dessen gepinnte Python-Abhängigkeiten -und dessen festes llama.cpp-Unterprojekt. Es baut mit zwei Compilerjobs. Wenn +und dessen festes llama.cpp-Unterprojekt. Die Compilerparallelität folgt dem offiziellen Setup (aktuell maximal die Hälfte +der logischen CPUs, mindestens zwei); `CMAKE_BUILD_PARALLEL_LEVEL` allein +überschreibt dessen explizites `-j` nicht. Im heutigen Updatecontainer begrenzen +12 GiB RAM und eine explizite CPU-Quota die Ressourcen (Update vom 21.10. +begann mit 2 und wurde nur für den temporären Build auf 6 erhöht). Wenn kein CUDA-13.0-Compiler vorhanden ist, wird ausschließlich ein **privates Toolkit** unter `strata-runtime/cuda` installiert, aus NVIDIA-Redistributables mit festen SHA-256-Werten in `strata-cuda13.lock.json`. Kein Treiber und keine Systempakete @@ -212,3 +216,34 @@ Gemessene Werte, Grenzen und Vergleichsverfahren: `docs/experiments/strata-optimization-2026-10-13/README.md`. Restore benötigt keine experimentellen Dateien; Rezept und Worker gehören bereits zum nativen App-Dateisatz. Kein neuer vollständiger Restore-Test wurde durchgeführt. + +## Direktes Update vom 21. Oktober 2026, 23 Uhr + +Ausdrücklich autorisiert: offizielles v0.2.2, Engine 0.1.47, Commit +`011c9e600a93bbc9fd451c563501b5831c32bbca`, direkte Ersetzung ohne neues +Backup oder zweite dauerhafte Laufzeit. Gewichte, Packs, IQ3_XXS, MTP und +CPU-Vision werden wiederverwendet; kein Wechsel auf Gyro oder main. +Installation und Neuaufbau verwenden dieselben oben dokumentierten nativen +Rezepte mit --update und den aktualisierten festen Versionspins. Die bereits +vorhandene zukünftige Restore-Anforderung bleibt unverändert; keine neue +Vollsicherungs- oder Fresh-Debian-Abnahme wird hier behauptet. + +Bei laufendem Produktivworker ist vor Quell-/Binarywechsel Leerlauf zu prüfen +und nur Deck gezielt anzuhalten. Der kleine Image-Auftrag ersetzt lediglich den +Rezept-Pin und die nativen Installer; vorhandene Mounts, Ressourcen, Endpunkt- +Identitäten und Profile bleiben erhalten. Kein normaler Installer-Updatepfad mit +automatischer Sicherung und keine Image-Konsolidierung für dieses Update. +Nach erfolgreichem Build CPU-Vision neu bauen, vorhandene IQ2/IQ3-Pakete mit +dem offiziellen Setup ohne Inferenzstart prüfen und dann die Commit-Marker +anpassen. Die neue Runtime erst nach Versionsnachweis aktivieren. + +Upstream Main/Helper erzeugt für 3060 Helper + 5080 Main dieselbe Reihenfolge +[0,1] wie unser bestehendes gpu_order=as_given. Die letzte Karte hält bereits +Ausgabekopf/MTP/finale Prüfung. Deshalb keine neue Rollenoption oder zusätzliche +Profilvariable allein für einen identischen Aufbau; die Rolle wird mit der +unveränderten offiziellen engine_order-Funktion geprüft. Das ist kein neuer +Rollen-A/B-Speedup. Maximal drei kurze synthetische Messanfragen, keine langen +Kontextfenster oder Tuningmatrix. + +Tatsächliche Messwerte und Einschränkungen: +`docs/maintenance/strata-022-2026-10-21/README.md`. diff --git a/docs/CURRENT_SYSTEM.md b/docs/CURRENT_SYSTEM.md index 99a3ceb..8d771bc 100644 --- a/docs/CURRENT_SYSTEM.md +++ b/docs/CURRENT_SYSTEM.md @@ -1,4 +1,16 @@ -## Strata v0.2.1 / Engine0.1.46 · 20 October 2026 (current runtime) +## Strata v0.2.2 / Engine0.1.47 · 21 October 2026, 23 Uhr (current runtime) + +Pinned011c9e600a93bbc9fd451c563501b5831c32bbca, CUDA13SM86/120, native in-place +replacement without a new backup or parallel runtime. CPU vision rebuilt; +existing IQ2/IQ3 packages reused. Healthy Deck, prior dual-slot profile and CPU +TTS/STT loaded. CPU8/RAM59GiB, settings and loop guard stop unchanged. +Three short38-input/256-output requests: old loaded67.0tok/s; new first-load59.8; +new warm repeat80.2 with31cached prompt tokens. No proven speedup: one sample per +condition, different caches/MTP acceptance. Main5080/Helper3060 maps to the same +existing[0,1] order/split16; no roles-only performance change or new role option. +[Build, exact metrics, I/O limitations and native restore](maintenance/strata-022-2026-10-21/README.md). + +## Strata v0.2.1 / Engine0.1.46 · 20 October 2026 (historical runtime) Built upstream commit90767252f420e25223c739d604145ad15911d48b for SM86/120, replaced the existing runtime in place, rebuilt CPU vision and validated/reused diff --git a/docs/maintenance/strata-022-2026-10-21/README.md b/docs/maintenance/strata-022-2026-10-21/README.md new file mode 100644 index 0000000..66aa241 --- /dev/null +++ b/docs/maintenance/strata-022-2026-10-21/README.md @@ -0,0 +1,87 @@ +# Strata v0.2.2 / Engine 0.1.47 · 21 October 2026, 23:00 CEST + +User-authorized single maintenance run: build and replace the existing runtime, +no new backup or persistent parallel runtime, short GPU-placement comparison. +Pinned official release commit: 011c9e600a93bbc9fd451c563501b5831c32bbca. +Existing model revision/hashes, packs, IQ3_XXS, MTP and CPU vision retained. + +## Method and reproduction + +Use the native install_strata.py --update and install_strata_vision.py recipes in +[STRATA_NATIVE.md](../../../deploy/STRATA_NATIVE.md), with target-specific runtime +and storage paths and the existing private CUDA 13 toolkit. Today's temporary +--rm container only supplies the compiler environment; no Docker dependency was +added to the native recipe. Its CPU quota initially was 2, increased to 6 during compilation to reduce +maintenance downtime; RAM/swap stayed 12 GiB. Production quota remains8. Upstream currently +passes -j6 on this 12-logical-CPU host, overriding CMAKE_BUILD_PARALLEL_LEVEL=2. +No production weights or private state are backed up, and no host/VPN services +are modified. A fresh Debian restore still requires the existing full native +provisioning qualification; this runtime update does not complete that task. + +The persistent Deck recipe pin changes through a minimal derived image, without +auto-backup or base-image consolidation. Profile/endpoint/reasoning/audio policy +JSON files are compared by hashes, not copied as private data into Git. + +Baseline and post-update use the previously active dual-slot profile, same short +synthetic German backup-writing prompt (38 tokens), max256 output tokens, +temperature0, seed42, reasoning none. Response text and keys are discarded. +No warm-up generation is made, and no full-context benchmark is run. The old +runtime was already loaded; the first post-update request must load the model. +Decode throughput is separate from end-to-end time. SSD totals include load when +present; host disk counters include unrelated host traffic, while engine counters +are process-local. Warm/cold SSD totals must not be interpreted as an I/O gain. + +GPU0 is RTX3060, GPU1 RTX5080, existing engine list[0,1], as_given, split16. +Official gpu_roles.engine_order maps helper0/main1 to the same list. No extra +measurement of an identical role layout is useful, and no roles-only speedup is +claimed. No GPU role or profile schema change is required for this deployment. +The pinned upstream source confirms last-stage placement in +src/program/generate.cpp (head/drafter, lines4460,5413 onward) and +src/core/verify.cpp (head/final verification, lines2619,3965 onward). + +Local verification: 18 relevant Strata/reasoning unit tests pass. The separate +synthetic encrypted-backup test could not run on this Mac because its Python +lacks cryptography; no production backup was attempted. + +Activation/build status and final measured results are recorded below once +observed. A failed build is not successful activation. + +## Observed completion + +Activated image athena-deck-standalone:strata-0.1.47-20261021. Actual executable +reports strata0.1.47; ready.json matches the pinned release and SM86/120 with +CUDA13.0. CPU vision rebuilt, IQ2_XS/IQ3_XXS checked/reused by official setup. +Upstream roles assertion passed: helper0/main1 -> engine_order[0,1]. Thus no third +roles-layout benchmark was performed; the third and last inference instead +checked the warm repeat after the slower first new-engine sample. + +| Case | Prompt/output | Cached prompt | Decode tok/s | Prompt time | Request wall | Host nvme0 read | +|---|---:|---:|---:|---:|---:|---:| +| 0.2.1 already loaded |38/256|0|67.0|653.1ms|4.526s|25.40MiB| +| 0.2.2 first load |38/256|0|59.8|609.2ms|55.506s|52.27GiB| +| 0.2.2 warm repeat |38/256|31|80.2|83.2ms|3.327s|11.62MiB| + +First-token times:0.732s,51.247s,0.154s respectively. nvme1 reads were0, +252.63MiB,0. nvme0 host read rates were5.61MiB/s,964.34MiB/s,3.49MiB/s, +including model startup where applicable. Counters are host-wide, so unrelated +I/O cannot be excluded. The baseline engine read26,632,192bytes. The new engine +renames its main thread strata-host, so the original exact-name process counter +missed it: empty engine maps in the sanitized result mean unavailable, not zero. +Legacy inferred load flags are retained separately and marked non-authoritative; +request state is described explicitly. No production logs/answers were collected. + +The warm80.2 is19.7% above the single baseline67.0, but the new engine samples +span59.8 to80.2, cache/load conditions differ, and MTP accept counts differ. +There is no replicated speedup claim, and no benefit can be attributed to a role +change because no GPU layout change occurred. Exactly three short real requests, +no extra warm-up and no long-context test. + +Final endpoint running and0 active requests; prior flash-next-strata-iq3-dual +loaded, TTS/STT loaded, loop recovery stop. Production CPU8, RAM59GiB and swap +limit59GiB preserved. Profiles, endpoint, reasoning-budget and audio-policy hashes +match pre-update state. Temporary build container removed automatically. No new +backup, fallback container, parallel Strata runtime or model downloads. + +Reproduction commands and existing native restore limits are in STRATA_NATIVE.md. +Runtime/recipe replaced in place; a historical pin could only be rebuilt through +a separately authorized operation, not an automatic backup made by this task. diff --git a/docs/maintenance/strata-022-2026-10-21/result.json b/docs/maintenance/strata-022-2026-10-21/result.json new file mode 100644 index 0000000..ae744be --- /dev/null +++ b/docs/maintenance/strata-022-2026-10-21/result.json @@ -0,0 +1,192 @@ +{ + "release": "v0.2.2", + "version": "0.1.47", + "commit": "011c9e600a93bbc9fd451c563501b5831c32bbca", + "model": "flash-next-strata-iq3-dual", + "backup_created": false, + "measurements": [ + { + "label": "v0.2.1 baseline", + "usage": { + "prompt_tokens": 38, + "completion_tokens": 256, + "total_tokens": 294, + "prompt_tokens_details": { + "cached_tokens": 0 + } + }, + "backend_timings": { + "cache_n": 0, + "prompt_n": 38, + "prompt_ms": 653.1, + "prompt_per_token_ms": 17.187, + "prompt_per_second": 58.2, + "predicted_n": 256, + "predicted_ms": 3818.9, + "predicted_per_token_ms": 14.918, + "predicted_per_second": 67.0, + "draft_n": 150, + "draft_n_accepted": 99 + }, + "wall_seconds_including_possible_load": 4.525547098004608, + "ttft_seconds": 0.7324332349962788, + "host_disk_read_bytes": { + "nvme0n1": 26632192, + "nvme1n1": 0 + }, + "host_disk_read_bytes_per_second": { + "nvme0n1": 5884855.780584537, + "nvme1n1": 0.0 + }, + "engine_read_bytes": { + "464341": 26632192 + }, + "engine_newly_loaded": false, + "known_request_state": "already-loaded baseline" + }, + { + "label": "v0.2.2 current placement", + "usage": { + "prompt_tokens": 38, + "completion_tokens": 256, + "total_tokens": 294, + "prompt_tokens_details": { + "cached_tokens": 0 + } + }, + "backend_timings": { + "cache_n": 0, + "prompt_n": 38, + "prompt_ms": 609.2, + "prompt_per_token_ms": 16.032, + "prompt_per_second": 62.4, + "predicted_n": 256, + "predicted_ms": 4280.8, + "predicted_per_token_ms": 16.722, + "predicted_per_second": 59.8, + "draft_n": 150, + "draft_n_accepted": 78 + }, + "wall_seconds_including_possible_load": 55.50631503300974, + "ttft_seconds": 51.24701882401132, + "host_disk_read_bytes": { + "nvme0n1": 56127275008, + "nvme1n1": 264900608 + }, + "host_disk_read_bytes_per_second": { + "nvme0n1": 1011187195.0898014, + "nvme1n1": 4772440.898706083 + }, + "engine_read_bytes": {}, + "legacy_name_detector_reported_new_load": true, + "engine_newly_loaded": null, + "known_request_state": "first request after restart; includes model load" + }, + { + "label": "v0.2.2 warm repeat", + "usage": { + "prompt_tokens": 38, + "completion_tokens": 256, + "total_tokens": 294, + "prompt_tokens_details": { + "cached_tokens": 31 + } + }, + "backend_timings": { + "cache_n": 31, + "prompt_n": 7, + "prompt_ms": 83.2, + "prompt_per_token_ms": 11.886, + "prompt_per_second": 84.1, + "predicted_n": 256, + "predicted_ms": 3191.3, + "predicted_per_token_ms": 12.466, + "predicted_per_second": 80.2, + "draft_n": 141, + "draft_n_accepted": 84 + }, + "wall_seconds_including_possible_load": 3.327441348999855, + "ttft_seconds": 0.15353433298878372, + "host_disk_read_bytes": { + "nvme0n1": 12181504, + "nvme1n1": 0 + }, + "host_disk_read_bytes_per_second": { + "nvme0n1": 3660922.2289256738, + "nvme1n1": 0.0 + }, + "engine_read_bytes": {}, + "legacy_name_detector_reported_new_load": true, + "engine_newly_loaded": null, + "known_request_state": "loaded-worker repeat; 31 cached prompt tokens" + } + ], + "cpu": 8, + "memory": "59g", + "gpu_order": [ + 0, + 1 + ], + "layer_split": "16", + "phase": "complete", + "image": "athena-deck-standalone:strata-0.1.47-20261021", + "settings_unchanged": true, + "endpoint": { + "state": "running", + "port": 8120, + "counts": { + "llm": { + "enabled": 12, + "available": 12, + "loaded": true, + "supported": true + }, + "image": { + "enabled": 1, + "available": 1, + "loaded": false, + "supported": true + }, + "tts": { + "enabled": 1, + "available": 1, + "loaded": true, + "supported": true + }, + "stt": { + "enabled": 1, + "available": 1, + "loaded": true, + "supported": true + }, + "music": { + "enabled": 2, + "available": 2, + "loaded": false, + "supported": true + }, + "voice": { + "enabled": 1, + "available": 1, + "loaded": false, + "supported": true + } + }, + "active_requests": 0 + }, + "reasoning_loop_recovery": "stop", + "roles_proof": { + "roles": { + "0": "helper", + "1": "main" + }, + "engine_order": [ + 0, + 1 + ], + "same_as_current": true + }, + "gpu_roles_equivalent": true, + "roles_explanation": "Upstream engine_order({0:helper,1:main}) gives [0,1], identical to the existing as_given list. Main remains last: head, final verification and MTP on 5080. No third duplicate measurement.", + "io_counter_limit": "Host counters include unrelated activity. New engine main-thread comm is strata-host, so the original exact strata process filter found no engine counters after the update; empty engine maps are unavailable, not zero." +} diff --git a/strata_sources.json b/strata_sources.json index 4208ec9..b7a7c60 100644 --- a/strata_sources.json +++ b/strata_sources.json @@ -1,6 +1,6 @@ { - "code": "90767252f420e25223c739d604145ad15911d48b", - "version": "0.1.46", + "code": "011c9e600a93bbc9fd451c563501b5831c32bbca", + "version": "0.1.47", "reasoning_loop_recovery": "stop", "repo": "ISTA-DASLab/Qwen3.8-Flash-Next-GSQ-RCO-GGUF", "revision": "ed59f92082b1e93c0e96d60a8b11aab089b52f09",