Update Strata in place to pinned 0.1.43.1 and document acceptance

This commit is contained in:
Mikei386 committed 2026-10-13 08:08:01 +02:00
1 parent 0d625f81bb
commit 23edb5288d
5 files changed
+252 -6

No files matched your search

+20 -1
View File
@@ -1,6 +1,6 @@
# Strata in Athena Deck
Strata 0.1.42, Commit `61b3fb5dd3f1e8ec09cf7e4e05208bc6d3c46406`, ist eine
Strata 0.1.43.1, Commit `a0116b2782a5b82622358c04a06496485d12b2d6`, 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
@@ -136,3 +136,22 @@ Vorher laufende Endpunktanfragen abschließen. Der vorherige Container und
`profiles.json.before-vision-20261011` bilden im aktuellen Containerbetrieb den
Rückfall; beim nativen Dienst entsprechende App-Version und Profile gemeinsam
zurücksetzen. Projektor-/Encoderdateien müssen beim Rückfall nicht entfernt werden.
## Direktes Update vom 13. Oktober 2026
Auf ausdrücklichen Nutzerauftrag direkte Ersetzung der vorhandenen 0.1.42-
Laufzeit durch Release v0.1.43.1. Keine neue Sicherung, kein Rollback-Container,
keine zweite Strata-Laufzeit. Der bisherige Runtime-Quellordner wird am selben
Ort auf den gepinnten Commit umgestellt; Engine und CPU-Vision neu gebaut.
`deploy/install_strata.py --update` erlaubt diesen bewussten Quellwechsel nur
bei unveränderten getrackten Quelldateien, ersetzt das heruntergeladene llama.cpp-
Unterprojekt durch die neue feste Quelle und prüft die Binary-Version, bevor
ready.json geschrieben wird. Gewichte/HF-Revision bleiben unverändert. Das
offizielle Setup prüft vorhandene IQ2/IQ3-Pakete ohne Inferenzstart; ihre
Commit-Marker werden erst nach erfolgreichem Setup angepasst. Kein globales
`git pull` und kein automatischer Treiberwechsel.
Der Deck-App-Code erhält dasselbe neue Rezept; Restore bleibt dadurch auf die
aktuelle qualifizierte Runtime gepinnt. Eine frühere Sicherung mit 0.1.42 kann
wegen der Versionsprüfung nicht blind in den neuen Stand eingespielt werden.
Historische Benchmarkzahlen sind kein Geschwindigkeitsnachweis für 0.1.43.1.
+13 -3
View File
@@ -5,7 +5,7 @@ from pathlib import Path
ROOT=Path(__file__).resolve().parent.parent
RECIPE=json.loads((ROOT/'strata_sources.json').read_text())
def run(args,cwd=None,env=None):subprocess.run([str(x) for x in args],cwd=cwd,env=env,check=True)
def install(destination,nvcc=None,architectures='86;120'):
def install(destination,nvcc=None,architectures='86;120',update=False):
destination=Path(destination).resolve()
nvcc=nvcc or os.environ.get('STRATA_NVCC') or shutil.which('nvcc')
if not nvcc or not re.search(r'release 13\.0\b',subprocess.check_output([nvcc,'--version'],text=True)):
@@ -20,7 +20,15 @@ def install(destination,nvcc=None,architectures='86;120'):
source=destination/'source'
if not source.exists():
run(['git','init',source]);run(['git','-C',source,'fetch','--depth','1','https://github.com/Niko1221/Strata.git',RECIPE['code']]);run(['git','-C',source,'checkout','--detach','FETCH_HEAD'])
if subprocess.check_output(['git','-C',source,'rev-parse','HEAD'],text=True).strip()!=RECIPE['code']:raise ValueError('Strata-Quellversion stimmt nicht mit Rezept überein.')
if subprocess.check_output(['git','-C',source,'rev-parse','HEAD'],text=True).strip()!=RECIPE['code']:
if not update:raise ValueError('Strata-Quellversion stimmt nicht mit Rezept überein. Für bewusstes direktes Update --update verwenden.')
if subprocess.check_output(['git','-C',source,'status','--porcelain','--untracked-files=no'],text=True).strip():raise ValueError('Lokale Strata-Quelländerungen zuerst prüfen.')
(destination/'ready.json').unlink(missing_ok=True)
run(['git','-C',source,'fetch','--depth','1','https://github.com/Niko1221/Strata.git',RECIPE['code']])
run(['git','-C',source,'checkout','--detach','FETCH_HEAD'])
# This source is downloaded by setup, not model data. Replace it with the new pinned dependency.
shutil.rmtree(source/'third_party/llama.cpp',ignore_errors=True)
python=source/'.venv/bin/python'
if not python.is_file():run([sys.executable,'-m','venv',source/'.venv'])
run([python,'-m','pip','install','--no-cache-dir','-r',source/'requirements.txt'])
@@ -31,6 +39,8 @@ def install(destination,nvcc=None,architectures='86;120'):
run([cmake,'--build',source/'build','--target','strata','-j','2'],env=env)
(source/'engine').mkdir(exist_ok=True);shutil.copy2(source/'build/strata',source/'engine/strata')
(source/'engine/BUILD.json').write_text(json.dumps(dict(source='local',version=RECIPE['version'],cuda_architectures=architectures,vision=False)))
version_output=subprocess.check_output([source/'engine/strata','--version'],text=True,stderr=subprocess.STDOUT)
if RECIPE['version'] not in version_output:raise ValueError('Gebautes Strata-Binary meldet nicht die erwartete Version.')
(destination/'ready.json').write_text(json.dumps(dict(commit=RECIPE['code'],cuda='13.0',architectures=architectures,origin='native-build')))
if __name__=='__main__':
p=argparse.ArgumentParser();p.add_argument('--destination',required=True);p.add_argument('--nvcc');p.add_argument('--architectures',default='86;120');a=p.parse_args();install(a.destination,a.nvcc,a.architectures)
p=argparse.ArgumentParser();p.add_argument('--destination',required=True);p.add_argument('--nvcc');p.add_argument('--architectures',default='86;120');p.add_argument('--update',action='store_true');a=p.parse_args();install(a.destination,a.nvcc,a.architectures,a.update)
@@ -0,0 +1,43 @@
# Strata direct update — 2026-10-13
User explicitly requested replacing the installed runtime directly, without a
backup, rollback container, or parallel Strata installation.
- Previous runtime: 0.1.42, commit `61b3fb5dd3f1e8ec09cf7e4e05208bc6d3c46406`.
- New upstream release: [v0.1.43.1](https://github.com/Niko1221/Strata/releases/tag/v0.1.43.1).
- Pinned commit: `a0116b2782a5b82622358c04a06496485d12b2d6`.
- Native CUDA build: CUDA 13.0, architectures `86;120`, two build jobs.
- New llama.cpp dependency: `3cf03257f219afbe7334045ff7c6a06ac68c627d`.
- IQ2_XS and IQ3_XXS weights and HF revisions reused; official setup checked
existing packages and updated their prepared markers only after success.
- CPU vision encoder rebuilt against the same source. Projector unchanged.
- Production image: `athena-deck-standalone:strata-0.1.43.1`.
- Existing `athena-deck-dev` replaced; ports, state mounts, profiles, credentials,
and policies preserved through the existing installer manifest.
Deck was stopped for the direct runtime replacement. A temporary compiler
container built into the existing runtime directory; it did not serve requests.
The root filesystem of the production container is read-only, so the three
version-recipe/installer files were installed through a small image build based
on the existing application image. No second Deck deployment was started.
Two deployment issues were corrected: official setup required the existing
private CUDA compiler on PATH, and both prepared.json markers needed ownership
by the existing UID 65534 runtime user. No driver installation was performed.
## Validation
- Installed binary reports `strata 0.1.43.1`.
- Both prepared markers and CPU-vision marker match the new pinned source.
- Deck reports ready after replacement.
- Existing Strata unit tests: 9/9 pass inside the dependency-equipped build
container (setup requirement disabled only for that isolated test process).
- Installer syntax and scoped whitespace checks pass.
End-to-end acceptance: all 8 checks passed across IQ2 and IQ3: arithmetic,
streamed text, required synthetic read-only tool call, and a red PNG recognized
through the CPU vision encoder. No real device was switched. Results with
backend timing fields are in `acceptance-results.json`; the very short outputs
are smoke tests, not representative speed benchmarks. IQ3 is loaded at the end. Historical benchmark results do not
establish speed or quality for this release; this update is not a new model
quality comparison.
@@ -0,0 +1,174 @@
[
{
"model": "flash-next-strata-iq2",
"test": "arithmetic",
"passed": true,
"seconds": 63.47,
"usage": {
"prompt_tokens": 39,
"completion_tokens": 3,
"total_tokens": 42,
"prompt_tokens_details": {
"cached_tokens": 0
}
},
"timings": {
"cache_n": 0,
"prompt_n": 39,
"prompt_ms": 673.5,
"prompt_per_token_ms": 17.269,
"prompt_per_second": 57.9,
"predicted_n": 3,
"predicted_ms": 189.9,
"predicted_per_token_ms": 63.3,
"predicted_per_second": 15.8,
"draft_n": 3,
"draft_n_accepted": 3
}
},
{
"model": "flash-next-strata-iq2",
"test": "stream",
"passed": true
},
{
"model": "flash-next-strata-iq2",
"test": "toolcall",
"passed": true,
"seconds": 3.94,
"usage": {
"prompt_tokens": 273,
"completion_tokens": 6,
"total_tokens": 279,
"prompt_tokens_details": {
"cached_tokens": 0
}
},
"timings": {
"cache_n": 0,
"prompt_n": 273,
"prompt_ms": 3776.9,
"prompt_per_token_ms": 13.835,
"prompt_per_second": 72.3,
"predicted_n": 6,
"predicted_ms": 105.7,
"predicted_per_token_ms": 17.617,
"predicted_per_second": 56.8,
"draft_n": 6,
"draft_n_accepted": 6
}
},
{
"model": "flash-next-strata-iq2",
"test": "cpu_vision",
"passed": true,
"seconds": 1.17,
"usage": {
"prompt_tokens": 37,
"completion_tokens": 2,
"total_tokens": 39,
"prompt_tokens_details": {
"cached_tokens": 0
}
},
"timings": {
"cache_n": 0,
"prompt_n": 37,
"prompt_ms": 901.1,
"prompt_per_token_ms": 24.354,
"prompt_per_second": 41.1,
"predicted_n": 2,
"predicted_ms": 82.6,
"predicted_per_token_ms": 41.3,
"predicted_per_second": 24.2,
"draft_n": 3,
"draft_n_accepted": 2
}
},
{
"model": "flash-next-strata-iq3",
"test": "arithmetic",
"passed": true,
"seconds": 44.25,
"usage": {
"prompt_tokens": 39,
"completion_tokens": 3,
"total_tokens": 42,
"prompt_tokens_details": {
"cached_tokens": 0
}
},
"timings": {
"cache_n": 0,
"prompt_n": 39,
"prompt_ms": 1854.2,
"prompt_per_token_ms": 47.544,
"prompt_per_second": 21.0,
"predicted_n": 3,
"predicted_ms": 394.3,
"predicted_per_token_ms": 131.433,
"predicted_per_second": 7.6,
"draft_n": 3,
"draft_n_accepted": 3
}
},
{
"model": "flash-next-strata-iq3",
"test": "stream",
"passed": true
},
{
"model": "flash-next-strata-iq3",
"test": "toolcall",
"passed": true,
"seconds": 12.16,
"usage": {
"prompt_tokens": 273,
"completion_tokens": 6,
"total_tokens": 279,
"prompt_tokens_details": {
"cached_tokens": 0
}
},
"timings": {
"cache_n": 0,
"prompt_n": 273,
"prompt_ms": 11888.8,
"prompt_per_token_ms": 43.549,
"prompt_per_second": 23.0,
"predicted_n": 6,
"predicted_ms": 208.7,
"predicted_per_token_ms": 34.783,
"predicted_per_second": 28.7,
"draft_n": 6,
"draft_n_accepted": 6
}
},
{
"model": "flash-next-strata-iq3",
"test": "cpu_vision",
"passed": true,
"seconds": 1.65,
"usage": {
"prompt_tokens": 37,
"completion_tokens": 2,
"total_tokens": 39,
"prompt_tokens_details": {
"cached_tokens": 0
}
},
"timings": {
"cache_n": 0,
"prompt_n": 37,
"prompt_ms": 1323.7,
"prompt_per_token_ms": 35.776,
"prompt_per_second": 28.0,
"predicted_n": 2,
"predicted_ms": 139.8,
"predicted_per_token_ms": 69.9,
"predicted_per_second": 14.3,
"draft_n": 3,
"draft_n_accepted": 3
}
}
]
+2 -2
View File
@@ -1,6 +1,6 @@
{
"code": "61b3fb5dd3f1e8ec09cf7e4e05208bc6d3c46406",
"version": "0.1.42",
"code": "a0116b2782a5b82622358c04a06496485d12b2d6",
"version": "0.1.43.1",
"repo": "ISTA-DASLab/Qwen3.8-Flash-Next-GSQ-RCO-GGUF",
"revision": "ed59f92082b1e93c0e96d60a8b11aab089b52f09",
"models": {