diff --git a/deploy/STRATA_NATIVE.md b/deploy/STRATA_NATIVE.md index 48b56bc..2465156 100644 --- a/deploy/STRATA_NATIVE.md +++ b/deploy/STRATA_NATIVE.md @@ -1,6 +1,6 @@ # Strata in Athena Deck -Strata 0.1.44.1, Commit `296b59d2f73c8f04a805df29c2fa97655adace78`, ist eine +Strata Engine 0.1.46 (Release v0.2.1), Commit `90767252f420e25223c739d604145ad15911d48b`, 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 diff --git a/docs/CURRENT_SYSTEM.md b/docs/CURRENT_SYSTEM.md index 93e2a3a..5dce947 100644 --- a/docs/CURRENT_SYSTEM.md +++ b/docs/CURRENT_SYSTEM.md @@ -1,3 +1,15 @@ +## Strata v0.2.1 / Engine0.1.46 · 20 October 2026 (current runtime) + +Built upstream commit90767252f420e25223c739d604145ad15911d48b for SM86/120, +replaced the existing runtime in place, rebuilt CPU vision and validated/reused +existing packages. No backup or parallel runtime. Deck recreated with the new +persistent recipe pin; CPU8/RAM59 and settings preserved, loop guard stop. +Exactly one small request:38 input/256 output, **67.2tok/s backend decode**, +3.812s decoding. Wall56.81s includes model load; no long/dual benchmark. +Normal single profile loaded; TTS/STT loaded, endpoint running. +[Build, native restore and result](maintenance/strata-021-2026-10-20/README.md). +Earlier performance measurements below used Engine0.1.45. + ## Half-context profile comparison · 20 October 2026 (latest measurement) Production API, unchanged CPU8/RAM59/GPU reserves1024 each. 512K with262112input: diff --git a/docs/maintenance/strata-021-2026-10-20/README.md b/docs/maintenance/strata-021-2026-10-20/README.md new file mode 100644 index 0000000..ca7d988 --- /dev/null +++ b/docs/maintenance/strata-021-2026-10-20/README.md @@ -0,0 +1,72 @@ +# Strata v0.2.1 / Engine0.1.46 · 20 October 2026 + +User explicitly requested building and directly replacing the installed runtime, +without a new backup or parallel fallback, followed by **one small measurement**. +No long-context, dual-slot or parameter-tuning matrix is part of this change. + +Pinned release source: `90767252f420e25223c739d604145ad15911d48b` (v0.2.1), +engine0.1.46. Model source revisions/hashes and profiles remain unchanged. +`strata_sources.json` is the canonical pin used by installation/status/model +compatibility checks. Reasoning loop recovery remains `stop`. + +## Build and native restoration + +Use the existing native recipe from the repository root: + +```sh +python3 deploy/install_strata.py --destination /var/lib/athena-deck/strata-runtime --architectures '86;120' --update +python3 deploy/install_strata_vision.py --runtime /var/lib/athena-deck/strata-runtime --storage /srv/athena-strata +``` + +Paths/user must match the target native service, not today's container names. +Debian prerequisites and the pinned private CUDA13.0 toolkit are documented in +[STRATA_NATIVE.md](../../../deploy/STRATA_NATIVE.md). Python requirements and the +llama.cpp revision come from the pinned upstream source. Two compiler jobs. +The installer uses upstream setup.build_engine, including BUILD.json and required +companion library. CPU vision uses the upstream CMake target and existing pinned +projector; no new model weights. Official setup checks/reuses each existing model +package before updating Deck's code-compatibility marker. Native rebuild needs +those prepared package markers updated after official setup as in the activation +recipe; do not merely edit a commit to bypass package validation. + +Today's deployment uses a temporary --rm build container with the existing state +and model mounts, GPU visibility, UID65534, CPU quota2 and12GiB RAM. This only +supplies today's compiler environment; native installation calls the same Python +installers directly without Docker. Existing source/binaries are replaced in +place. The small Deck image update carries the new recipe pin/installers so it +survives container recreation. No new runtime directory, fallback image snapshot +or data backup was created by this operation. The old Docker image remains a base +layer dependency; this is not a newly created runtime backup. + +Activation checks normal authenticated API idle before stopping Deck, rebuilds +engine and existing CPU-vision, validates existing packages, then recreates Deck +with its existing manifest/mounts/limits. CPU8/RAM59GiB/no extra swap, GPU reserves, +endpoint/model profiles and audio policy are retained. State JSONs are compared +by hashes without copying their contents into documentation. The installer +manifest is updated with the new app image. Future encrypted restore must retain +state/models, voices, credentials, source pin and installation settings as before; +no additional private-data category is introduced. Fresh-host native E2E restore +qualification remains open. No automatic rollback or backup was requested; +rebuilding a former pinned revision is a separate explicit operation. + +## Short measurement + +Exactly one streamed production request, on the previously active profile, with a +short synthetic German backup-writing prompt, seed42, temperature0, no reasoning, +max256 output tokens. No warm-up inference request. Consequently wall/first-token +times include model loading; backend decode tokens/s measures generation itself. +The generated answer text and API keys are not stored in the result. +This is a smoke/performance sample, not a matched or replicated speedup claim +against the earlier512-token and long-context runs. + +## Observed result + +Successful activation:Engine0.1.46, commit90767252f420e25223c739d604145ad15911d48b, +normal `flash-next-strata-iq3` profile. Single test:38 input/256 output tokens, +backend decode **67.2tok/s**,3.812s decode. Whole request56.81s and first token +52.87s include loading the model; this is not56 seconds of generation. +MTP active (161 draft tokens,92 accepted). Loop recovery `stop`; compared settings +unchanged. CPU8, RAM59GiB retained, endpoint running, TTS/STT loaded,0 active +requests at completion. No new backup. No long-context or dual-slot test run. +See result.json for sanitized evidence. No claim of improvement over differently +sized earlier prompts or a repeated matched benchmark. diff --git a/docs/maintenance/strata-021-2026-10-20/result.json b/docs/maintenance/strata-021-2026-10-20/result.json new file mode 100644 index 0000000..72547aa --- /dev/null +++ b/docs/maintenance/strata-021-2026-10-20/result.json @@ -0,0 +1,78 @@ +{ + "version": "0.1.46", + "release": "v0.2.1", + "commit": "90767252f420e25223c739d604145ad15911d48b", + "image": "athena-deck-standalone:strata-0.1.46-20261020", + "model": "flash-next-strata-iq3", + "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": 462.8, + "prompt_per_token_ms": 12.179, + "prompt_per_second": 82.1, + "predicted_n": 256, + "predicted_ms": 3812.0, + "predicted_per_token_ms": 14.891, + "predicted_per_second": 67.2, + "draft_n": 161, + "draft_n_accepted": 92 + }, + "wall_seconds_including_load": 56.811297981999815, + "ttft_including_load": 52.87137452800016, + "settings_unchanged": true, + "reasoning_loop_recovery": "stop", + "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 + }, + "cpu": 8, + "memory": "59g", + "backup_created": false +} \ No newline at end of file diff --git a/strata_sources.json b/strata_sources.json index 6f86169..4208ec9 100644 --- a/strata_sources.json +++ b/strata_sources.json @@ -1,6 +1,6 @@ { - "code": "477ac13cbe8e582c20484871ce459d20d82df09d", - "version": "0.1.45", + "code": "90767252f420e25223c739d604145ad15911d48b", + "version": "0.1.46", "reasoning_loop_recovery": "stop", "repo": "ISTA-DASLab/Qwen3.8-Flash-Next-GSQ-RCO-GGUF", "revision": "ed59f92082b1e93c0e96d60a8b11aab089b52f09",