diff --git a/docs/ATHENA_HANDOFF.md b/docs/ATHENA_HANDOFF.md index 91743f3..43aa25b 100644 --- a/docs/ATHENA_HANDOFF.md +++ b/docs/ATHENA_HANDOFF.md @@ -5,7 +5,30 @@ curated project handoff, not imported chat history. Read applicable `AGENTS.md`, then the current source and relevant linked documentation; verify live state again before changing anything. Historical notes do not override current facts. -## Speedy short test partial; Basalt/audio restored · 5 November 2026 +## Speedy historical workloads executed; production restored · 5 November 2026 + +Michael explicitly requested the same recorded Strata/Basalt tests for Speedy. +Historical fixtures were reused byte-for-byte; Speedy's actual tokenizer and +template confirmed all counts/prefixes. Same 5080 candidate, two verified slots, +scratch/HC-region optimization disabled for mixed-quant prefill. A verified +52-GiB candidate OOM preceded a bounded retry at 58 GiB/no swap; report the RAM +difference from historical Basalt's 52 GiB, not identical resource conditions. + +64K workload passed all eight requests: total 56.388 s, versus historical Basalt +32.938 s and Strata 106.319 s. Steady short-chat visible-write median 21.49 tok/s +versus 33.27/26.06; do not sell the faster input as a steady-chat improvement. +Full pair: both 261500-token preloads finished in 179.963 s; only B completed +504 output tokens. A re-read after cache parking was denied by RAM admission, +then hit the fixed deadline (252.616 s). No full/full concurrent-decode acceptance +or measured total pair output rate. A post-deadline missing-usage aggregation +bug was fixed offline, not retested on a model; original evidence is preserved. + +Candidate removed, Basalt restored and answered `BEREIT`; original TTS/STT IDs +loaded again, settings and Deck image/start identity restored, no restart or +Basalt update. No more inference/tuning under this completed window's Go. +See [comparison and exact limitations](maintenance/speedy-candidate-2026-11-05/COMPARISON_RESULTS.md). + +### Earlier short test: partial, Basalt/audio restored Michael gave Go, then explicitly approved temporary TTS/STT unload after the standard endpoint-stop path was found to unload them too. Regular authenticated diff --git a/docs/maintenance/speedy-candidate-2026-11-05/COMPARISON_RESULTS.md b/docs/maintenance/speedy-candidate-2026-11-05/COMPARISON_RESULTS.md new file mode 100644 index 0000000..930e150 --- /dev/null +++ b/docs/maintenance/speedy-candidate-2026-11-05/COMPARISON_RESULTS.md @@ -0,0 +1,136 @@ +# Speedy: gleiche historische 64K- und Vollkontext-Workloads + +## Urteil + +**64K-Ablauf vollständig bestanden; Vollkontext-Parallelziel nicht bestanden.** +In dieser Konfiguration ist Speedy kein belegter Fortschritt gegenüber dem +bereits eingesetzten Basalt. Gegenüber dem historischen Strata liest es die +Archive schneller; die laufenden kurzen 64K-Chatantworten sind dagegen langsamer. + +Strata und Basalt wurden nicht erneut gebenchmarkt. Ihre Werte stammen aus den +gepflegten historischen [64K-Ergebnissen](../basalt-candidate-2026-11-01/CHAT64_RESULTS.md) +und dem [gepaarten Vollkontextvergleich](../basalt-candidate-2026-11-01/PAIRED_RESULTS.md). +Dies ist ein Vergleich über verschiedene Zeitpunkte, kein gleichzeitiges A/B. + +## Gleiche Eingaben, nachvollziehbare Konfigurationsunterschiede + +Die vorhandenen `chat64-fixtures.json` und `paired-fixtures.json` wurden +unverändert in `comparison-v1/` unter dem Speedy-Kandidaten übernommen. +Speedys eigener Tokenizer und Chatvorlage bestätigten ohne Inferenz alle vier +Archivgrößen und die vollständigen Fortsetzungspräfixe: + +- 64K: je 64000 Eingabetokens, erste Fortsetzung 64132, danach echte Antworten + übernommen; zwei Archivbestätigungen und drei parallele kurze Fragerunden, + höchstens 96 Ausgabetokens je Antwort. +- Voll: je 261500 Eingabetokens mit `OK`, danach je 261632 Eingabetokens und + 504 angeforderte Ausgabetokens, mit acht internen Reservetokens. +- SHA-256 der 64K-Fixture: + `9664eaf14a894b27a1a430eed72f7ba6a918891e7db3c57ac1a0b294dff35128`. +- SHA-256 der Voll-Fixture: + `e7ec6b476774c5b04cd851c1f57cbfac3234f87f5c03f95c19bc8d50ff0cb3d4`. + +`comparison_client.py` adaptiert die bereits gepflegten historischen Clients: +Zielalias, Port, Schlüsselzufuhr, Ergebniswurzel und Enginekennzeichnung. Das für +keinen dieser Requests nötige `reasoning_budget_tokens=0` entfällt. Keine Änderung +an Archiven, Fragen, Limits oder Messdefinitionen. Kein alter Modelllauncher +wurde ausgeführt. + +Speedy v0.3.1 / `e307537e9e0d847da36960814ffec271f957a912`, dieselbe gebaute +Binärdatei und vorhandenes IQ3_XXS-Pack, nur RTX 5080. Zwei echte Slots und +262144 Kontext pro Slot wurden am laufenden Server überprüft. 8192 MiB +Gesprächscache, Batch-Gruppen `auto`, keine Batch-MTP-Option; Solo-MTP wie zuvor. +Die für dieses gemischt quantisierte Pack ungeeigneten Defaults +`STRATA_PF_GROUP_SCRATCH` und `STRATA_PF_HC_REGION` sind beide ausdrücklich 0. +Die sonstigen Speedy-Defaults einschließlich arithmetikändernder CPU-Verzögerung +bleiben bestehen; keine behauptete bitidentische Verarbeitung. + +Der erste Versuch mit demselben **52-GiB-Limit** wie beim alten Basalt-Test +konnte beide 64K-Archive lesen, wurde beim Antwortpaar aber nachweislich durch den +Container-OOM beendet. Docker meldete das Ereignis für den eigenen Kandidaten; +der Rohstand ist separat erhalten. Ein begrenzter Wiederholungsversuch im +selben Testfenster nutzte **58 GiB ohne Swap**, mit unveränderten Eingaben. +Daher keine Behauptung gleicher RAM-Grenzen. Das Hostsystem hatte vor dem Retry +61950 MiB verfügbar; der Kandidat blieb begrenzt und OOM-priorisiert. + +Basalt lief historisch auf 5080+RAM, Strata auf 3060+5080+RAM. Speedy verwendet +5080+RAM. Gewichtebasis und Hardwaretopologie sind damit transparent, nicht alle +Laufzeit-, Speicher- oder MTP-Einstellungen identisch. + +## 64K: vollständige Messung + +| Gleicher Schritt | Basalt historisch | Strata historisch | Speedy jetzt | +| --- | ---: | ---: | ---: | +| Zwei frische Archive lesen und bestätigen | 25,669 s | 64,882 s | 42,411 s | +| Frisches Einlesen, Backendrate je Archiv | 5095,0 / 5108,1 tok/s | 1993,3 / 1980,7 tok/s | 3077,3 / 2999,1 tok/s | +| Erste kurze Fragerunde, beide fertig | 2,738 s | 35,160 s | 5,117 s | +| Zweite Runde, beide fertig | 2,414 s | 3,377 s | 5,380 s | +| Dritte Runde, beide fertig | 2,114 s | 2,899 s | 3,479 s | +| Erste sichtbare Antwort, Median Runde 2+3 | 0,704 s | 1,268 s | 1,679 s | +| Ganze Antwort, Median Runde 2+3 | 2,206 s | 2,977 s | 4,061 s | +| Sichtbares Schreiben, Median Runde 2+3 | 33,27 tok/s | 26,06 tok/s | 21,49 tok/s | +| Gesamte Arbeit ohne Modellladen/Restore | 32,938 s | 106,319 s | 56,388 s | + +Acht reale Speedy-Requests vollständig beendet, beide Archivkennungen korrekt. +Die sichtbare Schreibrate ist wie im historischen Bericht je Antwort +`(completion_tokens-1)/(finish-first_content)`, anschließend Median der vier +Antworten aus Runde 2+3. Wegen SSE-Bündelung ist sie eine Näherung, aber für alle +Laufzeiten identisch berechnet. Keine kurzen Backend-Teilfenster als Gesamtrate +verwendet. Unterschiede der tatsächlich erzeugten kurzen Antworten bleiben in +Usage/Rohdaten erhalten. + +Speedy vermied hier Stratas historischen vollständigen erneuten Lesedurchgang +in der ersten Fragerunde: beide ersten Fortsetzungen verwendeten je 63993 +Prompttokens wieder. Trotzdem brauchten die Antwortpaare länger als bei Basalt. + +## Vollkontext: Teilmessung, kein bestandenes Parallelziel + +| Schritt | Basalt historisch | Speedy jetzt | +| --- | ---: | ---: | +| Archiv A, 261500 Eingabetokens, reine Prefillzeit | 64,472 s | 89,886 s | +| Archiv B, 261500 Eingabetokens, reine Prefillzeit | 106,806 s | 89,686 s | +| Beide lesen und mit OK bestätigen, Wandzeit | 172,159 s | 179,963 s | +| Beide Fortsetzungen mit je 504 Tokens fertig | 27,833 s | nicht erreicht | +| Gesamte Arbeit ohne Modellladen/Restore | 199,993 s | bei 252,616 s unvollständig beendet | + +Speedys Fortsetzung B war vollständig: 261632 Eingabetokens, 261493 davon +wiederverwendet, 504 ausgegebene Tokens, 11,0 Backend-tok/s. Währenddessen las A +erneut ein. Die 11,0 sind **kein Solo-Referenzwert** und keine gemeinsame +Zweier-Decodierungsrate. A hatte beim Abbruch 180224 von angeforderten 261632 +Tokens erneut verarbeitet und noch keine Ausgabe erzeugt. + +Das Engineprotokoll erklärt den fehlenden Cache: Parken wurde wegen der +physischen RAM-Zulassung verweigert, `need 4602 MiB plus 2560 MiB floor, +4271 MiB available, source cgroup`. Kein pauschaler Nachweis, dass jeder +Speedy-Aufbau mehr als 64 GB benötigt; es ist ein belegtes Problem dieses +begrenzten Resident-/Cache-Aufbaus. Der 58-GiB-Lauf endete an seiner festen +Messfrist, nicht an einem nachgewiesenen erneuten OOM. + +Die Rückkehrreserve wurde nicht verlängert. Ein sekundärer `KeyError` des +übernommenen Auswertepfads entstand nach dem Deadline-Abbruch durch fehlende +Usage im unvollständigen Request. Alle Einzelstände waren bereits gespeichert. +Der Adapter verweigert solche Paare jetzt vor der Aggregation; vier synthetische +Regressionen prüfen diese Behandlung und beide Clientanpassungen. Kein erneuter +Modelltest nach dieser reinen Auswertekorrektur; der ursprüngliche Fehler und +Hashes der tatsächlich ausgeführten Clients bleiben im Beleg erhalten. + +## Abschluss und Artefakte + +Kandidat beendet und entfernt. Regulärer Deck-Endpunkt läuft wieder mit dem +ursprünglichen Basalt-Profil; Restaurationscheck antwortete `BEREIT` und zählt +nicht als Referenzbenchmark. Ursprüngliches TTS- und STT-Profil wieder geladen, +kein Warming. Gemeldete aktive/wartende Arbeit beim Abschluss null. Geschützte +Einstellungen und Deck-Image-/Startidentität stimmen mit dem Vorherstand überein. +Kein Deck-/Gateway-/Host-Neustart, kein Basalt-Update, keine neue Gewichtedatei. + +- [Rohmessungen, Token-/Fixturebeleg und berechneter Vergleich](comparison-evidence.json). +- `comparison_preflight.py`: GPU-loser eigener Container mit echtem Tokenizer; + nur Kandidat und Tokenizer-Metadaten eingebunden, keine Gewichte oder GPU. +- `comparison_launch.py`: Athena-Host, derselbe eigene Launcher mit dokumentierter + Zweier-/Cache-/RAM-Konfiguration, keine produktiven Stopbefehle. +- `comparison_client.py`: Athena-Host, Schlüssel nur stdin, nur eigener Loopback. +- `test_comparison.py`: synthetisch auf NAS/Host, keine Modellanfragen. +- Native Neuinstallation und voller Fresh-Host-Restore bleiben ungeprüft; + Betriebsvoraussetzungen des [Buildrezepts](README.md) unverändert. + +Weitere Modelltests benötigen ein neues konkretes Go. Keine ungefragte +Cache-/Split-/Quantisierungsrunde und keine Produktionsumschaltung vorbereiten. diff --git a/docs/maintenance/speedy-candidate-2026-11-05/README.md b/docs/maintenance/speedy-candidate-2026-11-05/README.md index 17751d2..9822501 100644 --- a/docs/maintenance/speedy-candidate-2026-11-05/README.md +++ b/docs/maintenance/speedy-candidate-2026-11-05/README.md @@ -1,5 +1,15 @@ # Speedy: isolierter Build und Go-gesperrter Kurztest +## Aktueller Stand: historische Workloads mit Speedy ausgeführt + +Der anschließend ausdrücklich beauftragte Test mit identischen historischen +Fixtures ist abgeschlossen: **64K vollständig bestanden, Vollkontext-Parallelziel +nicht bestanden; Basalt und Audio wiederhergestellt.** Speedy benötigte nach +einem belegten 52-GiB-Container-OOM einen Retry mit 58 GiB. Das Vollkontextpaar +scheiterte im Zeitfenster an erneutem Einlesen nach verweigerter Cacheaufnahme. +Siehe [vollständigen Vergleich und Grenzen](COMPARISON_RESULTS.md). +Die folgenden Abschnitte erhalten den ursprünglichen Kurztest und Buildstand. + ## Ausgeführter Kurztest: teilweise bestanden, Produktion wiederhergestellt Michael gab das Test-Go und erlaubte anschließend ausdrücklich den kurzen diff --git a/docs/maintenance/speedy-candidate-2026-11-05/comparison-evidence.json b/docs/maintenance/speedy-candidate-2026-11-05/comparison-evidence.json new file mode 100644 index 0000000..ec20cee --- /dev/null +++ b/docs/maintenance/speedy-candidate-2026-11-05/comparison-evidence.json @@ -0,0 +1,1853 @@ +{ + "raw": { + "chat64-speedy.json": { + "engine": "speedy", + "started_at": 1793914629.3599873, + "deadline": 1793914809.316126, + "context_per_slot": 262144, + "initial_tokens": 64000, + "final_tokens": 64132, + "output_tokens": 96, + "requests": [ + { + "tag": "A", + "phase": "preload", + "maximum": 16, + "started_at": 0.0015936209820210934, + "first_content_at": 20.86784215597436, + "finished_at": 20.94311143597588, + "content": "OK", + "usage": { + "prompt_tokens": 64000, + "completion_tokens": 2, + "total_tokens": 64002, + "prompt_tokens_details": { + "cached_tokens": 0 + } + }, + "timings": { + "cache_n": 0, + "prompt_n": 64000, + "prompt_ms": 20797.2, + "prompt_per_token_ms": 0.325, + "prompt_per_second": 3077.3, + "predicted_n": 2, + "predicted_ms": 109.4, + "predicted_per_token_ms": 54.7, + "predicted_per_second": 18.3, + "draft_n": 3, + "draft_n_accepted": 3 + }, + "stream_complete": true, + "finish_reason": "stop" + }, + { + "tag": "B", + "phase": "preload", + "maximum": 16, + "started_at": 20.94347205304075, + "first_content_at": 42.34228923206683, + "finished_at": 42.41036898305174, + "content": "OK", + "usage": { + "prompt_tokens": 64000, + "completion_tokens": 2, + "total_tokens": 64002, + "prompt_tokens_details": { + "cached_tokens": 0 + } + }, + "timings": { + "cache_n": 0, + "prompt_n": 64000, + "prompt_ms": 21339.9, + "prompt_per_token_ms": 0.333, + "prompt_per_second": 2999.1, + "predicted_n": 2, + "predicted_ms": 94.7, + "predicted_per_token_ms": 47.35, + "predicted_per_second": 21.1, + "draft_n": 3, + "draft_n_accepted": 3 + }, + "stream_complete": true, + "finish_reason": "stop" + }, + { + "tag": "B", + "phase": "chat-1", + "maximum": 96, + "started_at": 42.41269267303869, + "first_content_at": 43.86292623297777, + "finished_at": 46.67918476101477, + "content": "Meine Archivkennung ist C64_B. Sichern Sie Ihre Daten regelmäßig auf redundanten Medien. Testen Sie die Wiederherstellung Ihrer Backups.", + "usage": { + "prompt_tokens": 64132, + "completion_tokens": 34, + "total_tokens": 64166, + "prompt_tokens_details": { + "cached_tokens": 63993 + } + }, + "timings": { + "cache_n": 63993, + "prompt_n": 139, + "prompt_ms": 1401.6, + "prompt_per_token_ms": 10.083, + "prompt_per_second": 99.2, + "predicted_n": 34, + "predicted_ms": 2321.8, + "predicted_per_token_ms": 68.288, + "predicted_per_second": 14.6, + "draft_n": 0, + "draft_n_accepted": 0 + }, + "stream_complete": true, + "finish_reason": "stop" + }, + { + "tag": "A", + "phase": "chat-1", + "maximum": 96, + "started_at": 42.41280428203754, + "first_content_at": 45.331935914000496, + "finished_at": 47.52750042302068, + "content": "Meine Archivkennung ist C64_A. Sichern Sie Ihre Daten regelmäßig auf redundanten Medien. Testen Sie die Wiederherstellung Ihrer Backups.", + "usage": { + "prompt_tokens": 64132, + "completion_tokens": 34, + "total_tokens": 64166, + "prompt_tokens_details": { + "cached_tokens": 63993 + } + }, + "timings": { + "cache_n": 63993, + "prompt_n": 139, + "prompt_ms": 791.0, + "prompt_per_token_ms": 5.691, + "prompt_per_second": 175.7, + "predicted_n": 34, + "predicted_ms": 1196.3, + "predicted_per_token_ms": 35.185, + "predicted_per_second": 28.4, + "draft_n": 3, + "draft_n_accepted": 2 + }, + "stream_complete": true, + "finish_reason": "stop" + }, + { + "tag": "B", + "phase": "chat-2", + "maximum": 96, + "started_at": 47.5284126350889, + "first_content_at": 48.92950651305728, + "finished_at": 52.17187882203143, + "content": "Ein Backup ist eine statische Kopie zur Wiederherstellung nach Datenverlust. Eine Synchronisierung hält zwei Speicherorte in Echtzeit identisch. Backups schützen vor Löschungen, Synchronisierungen nicht.", + "usage": { + "prompt_tokens": 64200, + "completion_tokens": 45, + "total_tokens": 64245, + "prompt_tokens_details": { + "cached_tokens": 64165 + } + }, + "timings": { + "cache_n": 64165, + "prompt_n": 35, + "prompt_ms": 1366.4, + "prompt_per_token_ms": 39.04, + "prompt_per_second": 25.6, + "predicted_n": 45, + "predicted_ms": 2761.6, + "predicted_per_token_ms": 61.369, + "predicted_per_second": 16.3, + "draft_n": 0, + "draft_n_accepted": 0 + }, + "stream_complete": true, + "finish_reason": "stop" + }, + { + "tag": "A", + "phase": "chat-2", + "maximum": 96, + "started_at": 47.52852738997899, + "first_content_at": 50.54857819003519, + "finished_at": 52.90752154204529, + "content": "Ein Backup ist eine punktuell erstellte Kopie zur Wiederherstellung nach Datenverlust. Eine Synchronisierung hält zwei Speicherorte permanent auf dem gleichen aktuellen Stand. Backups schützen vor Löschungen, Synchronisierungen nicht.", + "usage": { + "prompt_tokens": 64200, + "completion_tokens": 49, + "total_tokens": 64249, + "prompt_tokens_details": { + "cached_tokens": 64167 + } + }, + "timings": { + "cache_n": 64167, + "prompt_n": 33, + "prompt_ms": 1012.0, + "prompt_per_token_ms": 30.667, + "prompt_per_second": 32.6, + "predicted_n": 49, + "predicted_ms": 1323.1, + "predicted_per_token_ms": 27.002, + "predicted_per_second": 37.0, + "draft_n": 3, + "draft_n_accepted": 3 + }, + "stream_complete": true, + "finish_reason": "stop" + }, + { + "tag": "B", + "phase": "chat-3", + "maximum": 96, + "started_at": 52.90846669499297, + "first_content_at": 53.90471482905559, + "finished_at": 55.9373062660452, + "content": "Prüfen Sie zuerst die Integrität und Vollständigkeit der Sicherungsdateien. Stellen Sie sicher, dass die Zielumgebung kompatibel ist. Testen Sie die Wiederherstellung idealerweise in einer isolierten Umgebung.", + "usage": { + "prompt_tokens": 64277, + "completion_tokens": 47, + "total_tokens": 64324, + "prompt_tokens_details": { + "cached_tokens": 64244 + } + }, + "timings": { + "cache_n": 64244, + "prompt_n": 33, + "prompt_ms": 962.1, + "prompt_per_token_ms": 29.155, + "prompt_per_second": 34.3, + "predicted_n": 47, + "predicted_ms": 1554.3, + "predicted_per_token_ms": 33.07, + "predicted_per_second": 30.2, + "draft_n": 0, + "draft_n_accepted": 0 + }, + "stream_complete": true, + "finish_reason": "stop" + }, + { + "tag": "A", + "phase": "chat-3", + "maximum": 96, + "started_at": 52.90858782303985, + "first_content_at": 54.864606525050476, + "finished_at": 56.38678535807412, + "content": "Prüfen Sie zuerst die Integrität und Vollständigkeit der Sicherungsdateien. Stellen Sie sicher, dass die Wiederherstellung in einer isolierten Umgebung erfolgt. Verifizieren Sie die Daten nach der Wiederherstellung auf Korrektheit.", + "usage": { + "prompt_tokens": 64281, + "completion_tokens": 52, + "total_tokens": 64333, + "prompt_tokens_details": { + "cached_tokens": 64250 + } + }, + "timings": { + "cache_n": 64250, + "prompt_n": 31, + "prompt_ms": 349.6, + "prompt_per_token_ms": 11.277, + "prompt_per_second": 88.7, + "predicted_n": 52, + "predicted_ms": 1107.4, + "predicted_per_token_ms": 21.296, + "predicted_per_second": 47.0, + "draft_n": 11, + "draft_n_accepted": 5 + }, + "stream_complete": true, + "finish_reason": "stop" + } + ], + "snapshots": [ + { + "at": 1793914634.3635156, + "data": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "n_prompt_tokens": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "n_prompt_tokens": 0 + } + ] + }, + { + "at": 1793914639.3656614, + "data": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "n_prompt_tokens": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "n_prompt_tokens": 0 + } + ] + }, + { + "at": 1793914644.3677883, + "data": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "n_prompt_tokens": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "n_prompt_tokens": 0 + } + ] + }, + { + "at": 1793914649.369899, + "data": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "n_prompt_tokens": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "n_prompt_tokens": 0 + } + ] + }, + { + "at": 1793914654.3718998, + "data": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "n_prompt_tokens": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "n_prompt_tokens": 0 + } + ] + }, + { + "at": 1793914659.3742452, + "data": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "n_prompt_tokens": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "n_prompt_tokens": 0 + } + ] + }, + { + "at": 1793914664.376508, + "data": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "n_prompt_tokens": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "n_prompt_tokens": 0 + } + ] + }, + { + "at": 1793914669.378635, + "data": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "n_prompt_tokens": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "n_prompt_tokens": 0 + } + ] + }, + { + "at": 1793914674.3809803, + "data": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "n_prompt_tokens": 64135 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "n_prompt_tokens": 64132 + } + ] + }, + { + "at": 1793914679.3835635, + "data": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "n_prompt_tokens": 64202 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "n_prompt_tokens": 64200 + } + ] + }, + { + "at": 1793914684.3861766, + "data": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "n_prompt_tokens": 64282 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "n_prompt_tokens": 64281 + } + ] + } + ], + "groups": [ + { + "phase": "chat-1", + "wall_seconds": 5.1171006029471755, + "overlap_seconds": 1.3472488470142707, + "output_tokens": 68 + }, + { + "phase": "chat-2", + "wall_seconds": 5.37980948202312, + "overlap_seconds": 1.6233006319962442, + "output_tokens": 94 + }, + { + "phase": "chat-3", + "wall_seconds": 3.479017353965901, + "overlap_seconds": 1.0726997409947217, + "output_tokens": 99 + } + ], + "work_complete": true, + "passed": true, + "early_stop_budget": null, + "verified_properties": { + "total_slots": 2, + "default_generation_settings": { + "n_ctx": 262144, + "params": { + "temperature": 1.0, + "top_p": 0.95, + "top_k": 20, + "n_predict": -1 + } + } + }, + "elapsed_seconds": 56.38777178898454, + "preload_seconds": 42.410742664011195, + "work_seconds": 56.38756003207527 + }, + "paired-speedy.json": { + "engine": "speedy", + "started_at": 1793914685.8138628, + "deadline": 1793914938.3896616, + "context_per_slot": 262144, + "initial_tokens": 261500, + "final_tokens": 261632, + "output_tokens": 504, + "requests": [ + { + "tag": "A", + "phase": "preload", + "maximum": 16, + "started_at": 0.0019138810457661748, + "first_content_at": 90.03144837007858, + "finished_at": 90.0873760660179, + "content": "OK", + "usage": { + "prompt_tokens": 261500, + "completion_tokens": 2, + "total_tokens": 261502, + "prompt_tokens_details": { + "cached_tokens": 0 + } + }, + "timings": { + "cache_n": 0, + "prompt_n": 261500, + "prompt_ms": 89885.7, + "prompt_per_token_ms": 0.344, + "prompt_per_second": 2909.3, + "predicted_n": 2, + "predicted_ms": 74.0, + "predicted_per_token_ms": 37.0, + "predicted_per_second": 27.0, + "draft_n": 3, + "draft_n_accepted": 3 + }, + "stream_complete": true, + "finish_reason": "stop" + }, + { + "tag": "B", + "phase": "preload", + "maximum": 16, + "started_at": 90.08776863908861, + "first_content_at": 179.91246675804723, + "finished_at": 179.96265933907125, + "content": "OK", + "usage": { + "prompt_tokens": 261500, + "completion_tokens": 2, + "total_tokens": 261502, + "prompt_tokens_details": { + "cached_tokens": 0 + } + }, + "timings": { + "cache_n": 0, + "prompt_n": 261500, + "prompt_ms": 89685.8, + "prompt_per_token_ms": 0.343, + "prompt_per_second": 2915.7, + "predicted_n": 2, + "predicted_ms": 65.4, + "predicted_per_token_ms": 32.7, + "predicted_per_second": 30.6, + "draft_n": 3, + "draft_n_accepted": 3 + }, + "stream_complete": true, + "finish_reason": "stop" + }, + { + "tag": "B", + "phase": "full-output", + "maximum": 504, + "started_at": 179.96444132598117, + "first_content_at": 180.7373323290376, + "finished_at": 227.39689399302006, + "content": "**Strategien und Methoden für eine zuverlässige Datensicherung in der modernen IT-Infrastruktur**\n\nIn der heutigen digitalisierten Welt sind Daten das wertvollste Gut eines Unternehmens. Sie bilden das Fundament für operative Prozesse, strategische Entscheidungen und die Einhaltung gesetzlicher Compliance-Vorgaben. Der Verlust von Daten durch Hardware-Ausfälle, Cyberangriffe, menschliches Versagen oder Naturkatastrophen kann existenzbedrohende Folgen haben. Daher ist die Implementierung einer zuverlässigen Datensicherungsstrategie keine optionale Maßnahme, sondern eine zentrale Säule der IT-Sicherheit und des Business Continuity Managements. Ein umfassender Ansatz zur Datensicherung erfordert mehr als nur das bloße Kopieren von Dateien; er verlangt nach einer durchdachten Architektur, die Prävention, Erkennung, Wiederherstellung und Governance integriert.\n\n**Die 3-2-1-Regel als Grundpfeiler**\n\nDer goldene Standard in der Datensicherung ist die sogenannte 3-2-1-Regel. Diese Regel besagt, dass mindestens drei Kopien der Daten vorhanden sein sollten, diese auf zwei verschiedenen Speichermedien gespeichert werden sollten und mindestens eine Kopie an einem anderen Ort aufbewahrt werden sollte. Diese Struktur minimiert das Risiko, dass alle Kopien gleichzeitig durch ein einzelnes Ereignis zerstört werden. Beispielsweise könnte die primäre Kopie auf einem lokalen Server liegen, eine zweite Kopie auf einem externen Festplattenlaufwerk oder einem Network Attached Storage (NAS) im selben Gebäude, und die dritte Kopie in der Cloud oder in einem externen Rechenzentrum. Die Vielfalt der Speichermedien ist entscheidend, da verschiedene Medien unterschiedliche Fehlerquellen haben. Magnetische Festplatten können mechanisch versagen, während SSDs durch Zellverschleiß oder Firmware-Fehler ausfallen können. Cloud-Speicher bieten zwar Skalierbarkeit, sind aber abhängig von der Verfügbarkeit des Anbieters und der Internetverbindung. Durch die Kombination dieser Medien wird die Wahrscheinlichkeit eines totalen Datenverlusts drastisch reduziert.\n\n**Backup-Typen und ihre strategische Anwendung**\n\nNicht alle Backups sind gleich. Die Wahl des Backup-Typs hängt von der kritischen Natur der Daten, der verfügbaren Bandbreite und den Anforderungen an die Wiederherstellungszeit ab. Das vollständige Backup (Full Backup) ist die einfachste Form, bei der alle ausgewählten Daten kopiert werden. Es bietet die schnellste Wiederherstellung", + "usage": { + "prompt_tokens": 261632, + "completion_tokens": 504, + "total_tokens": 262136, + "prompt_tokens_details": { + "cached_tokens": 261493 + } + }, + "timings": { + "cache_n": 261493, + "prompt_n": 139, + "prompt_ms": 692.5, + "prompt_per_token_ms": 4.982, + "prompt_per_second": 200.7, + "predicted_n": 504, + "predicted_ms": 45960.1, + "predicted_per_token_ms": 91.191, + "predicted_per_second": 11.0, + "draft_n": 0, + "draft_n_accepted": 0 + }, + "stream_complete": true, + "finish_reason": "length" + }, + { + "tag": "A", + "phase": "full-output", + "maximum": 504, + "started_at": 179.96461664303206, + "first_content_at": null, + "finished_at": 252.61497246206272, + "content": "", + "usage": {}, + "timings": {}, + "stream_complete": false + } + ], + "snapshots": [ + { + "at": 1793914690.8172655, + "data": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "n_prompt_tokens": 64323 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "n_prompt_tokens": 64323 + } + ] + }, + { + "at": 1793914695.8191261, + "data": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "n_prompt_tokens": 64323 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "n_prompt_tokens": 64323 + } + ] + }, + { + "at": 1793914700.8211162, + "data": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "n_prompt_tokens": 64323 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "n_prompt_tokens": 64323 + } + ] + }, + { + "at": 1793914705.8232582, + "data": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "n_prompt_tokens": 64323 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "n_prompt_tokens": 64323 + } + ] + }, + { + "at": 1793914710.8252861, + "data": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "n_prompt_tokens": 64323 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "n_prompt_tokens": 64323 + } + ] + }, + { + "at": 1793914715.8271716, + "data": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "n_prompt_tokens": 64323 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "n_prompt_tokens": 64323 + } + ] + }, + { + "at": 1793914720.8292422, + "data": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "n_prompt_tokens": 64323 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "n_prompt_tokens": 64323 + } + ] + }, + { + "at": 1793914725.831478, + "data": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "n_prompt_tokens": 64323 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "n_prompt_tokens": 64323 + } + ] + }, + { + "at": 1793914730.833683, + "data": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "n_prompt_tokens": 64323 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "n_prompt_tokens": 64323 + } + ] + }, + { + "at": 1793914735.835705, + "data": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "n_prompt_tokens": 64323 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "n_prompt_tokens": 64323 + } + ] + }, + { + "at": 1793914740.8377535, + "data": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "n_prompt_tokens": 64323 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "n_prompt_tokens": 64323 + } + ] + }, + { + "at": 1793914745.8398857, + "data": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "n_prompt_tokens": 64323 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "n_prompt_tokens": 64323 + } + ] + }, + { + "at": 1793914750.841665, + "data": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "n_prompt_tokens": 64323 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "n_prompt_tokens": 64323 + } + ] + }, + { + "at": 1793914755.8435214, + "data": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "n_prompt_tokens": 64323 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "n_prompt_tokens": 64323 + } + ] + }, + { + "at": 1793914760.8454204, + "data": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "n_prompt_tokens": 64323 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "n_prompt_tokens": 64323 + } + ] + }, + { + "at": 1793914765.8470957, + "data": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "n_prompt_tokens": 64323 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "n_prompt_tokens": 64323 + } + ] + }, + { + "at": 1793914770.8492956, + "data": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "n_prompt_tokens": 64323 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "n_prompt_tokens": 64323 + } + ] + }, + { + "at": 1793914775.851987, + "data": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "n_prompt_tokens": 64323 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "n_prompt_tokens": 64323 + } + ] + }, + { + "at": 1793914780.8543315, + "data": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "n_prompt_tokens": 64323 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "n_prompt_tokens": 64323 + } + ] + }, + { + "at": 1793914785.8562832, + "data": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "n_prompt_tokens": 64323 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "n_prompt_tokens": 64323 + } + ] + }, + { + "at": 1793914790.8583045, + "data": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "n_prompt_tokens": 64323 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "n_prompt_tokens": 64323 + } + ] + }, + { + "at": 1793914795.860283, + "data": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "n_prompt_tokens": 64323 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "n_prompt_tokens": 64323 + } + ] + }, + { + "at": 1793914800.8623974, + "data": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "n_prompt_tokens": 64323 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "n_prompt_tokens": 64323 + } + ] + }, + { + "at": 1793914805.8642619, + "data": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "n_prompt_tokens": 64323 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "n_prompt_tokens": 64323 + } + ] + }, + { + "at": 1793914810.8661728, + "data": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "n_prompt_tokens": 64323 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "n_prompt_tokens": 64323 + } + ] + }, + { + "at": 1793914815.868256, + "data": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "n_prompt_tokens": 64323 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "n_prompt_tokens": 64323 + } + ] + }, + { + "at": 1793914820.8702905, + "data": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "n_prompt_tokens": 64323 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "n_prompt_tokens": 64323 + } + ] + }, + { + "at": 1793914825.8721719, + "data": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "n_prompt_tokens": 64323 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "n_prompt_tokens": 64323 + } + ] + }, + { + "at": 1793914830.8742828, + "data": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "n_prompt_tokens": 64323 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "n_prompt_tokens": 64323 + } + ] + }, + { + "at": 1793914835.876699, + "data": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "n_prompt_tokens": 64323 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "n_prompt_tokens": 64323 + } + ] + }, + { + "at": 1793914840.8786075, + "data": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "n_prompt_tokens": 64323 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "n_prompt_tokens": 64323 + } + ] + }, + { + "at": 1793914845.8807094, + "data": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "n_prompt_tokens": 64323 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "n_prompt_tokens": 64323 + } + ] + }, + { + "at": 1793914850.8828719, + "data": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "n_prompt_tokens": 64323 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "n_prompt_tokens": 64323 + } + ] + }, + { + "at": 1793914855.888323, + "data": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "n_prompt_tokens": 64323 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "n_prompt_tokens": 64323 + } + ] + }, + { + "at": 1793914860.8905969, + "data": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "n_prompt_tokens": 64323 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "n_prompt_tokens": 64323 + } + ] + }, + { + "at": 1793914865.8926072, + "data": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "n_prompt_tokens": 64323 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "n_prompt_tokens": 64323 + } + ] + }, + { + "at": 1793914870.8955297, + "data": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "n_prompt_tokens": 261634 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "n_prompt_tokens": 261632 + } + ] + }, + { + "at": 1793914875.898548, + "data": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "n_prompt_tokens": 261634 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "n_prompt_tokens": 261632 + } + ] + }, + { + "at": 1793914880.9007523, + "data": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "n_prompt_tokens": 261634 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "n_prompt_tokens": 261632 + } + ] + }, + { + "at": 1793914885.9036632, + "data": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "n_prompt_tokens": 261634 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "n_prompt_tokens": 261632 + } + ] + }, + { + "at": 1793914890.9068244, + "data": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "n_prompt_tokens": 261634 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "n_prompt_tokens": 261632 + } + ] + }, + { + "at": 1793914895.9089353, + "data": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "n_prompt_tokens": 261634 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "n_prompt_tokens": 261632 + } + ] + }, + { + "at": 1793914900.9109726, + "data": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "n_prompt_tokens": 261634 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "n_prompt_tokens": 261632 + } + ] + }, + { + "at": 1793914905.914331, + "data": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "n_prompt_tokens": 261634 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "n_prompt_tokens": 261632 + } + ] + }, + { + "at": 1793914910.9170609, + "data": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "n_prompt_tokens": 261634 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "n_prompt_tokens": 261632 + } + ] + }, + { + "at": 1793914915.9190242, + "data": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "n_prompt_tokens": 262135 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "n_prompt_tokens": 261632 + } + ] + }, + { + "at": 1793914920.9210413, + "data": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "n_prompt_tokens": 262135 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "n_prompt_tokens": 261632 + } + ] + }, + { + "at": 1793914925.9232168, + "data": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "n_prompt_tokens": 262135 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "n_prompt_tokens": 261632 + } + ] + }, + { + "at": 1793914930.925581, + "data": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "n_prompt_tokens": 262135 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "n_prompt_tokens": 261632 + } + ] + }, + { + "at": 1793914935.9274957, + "data": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "n_prompt_tokens": 262135 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "n_prompt_tokens": 261632 + } + ] + } + ], + "work_complete": false, + "passed": false, + "early_stop_budget": null, + "verified_properties": { + "total_slots": 2, + "default_generation_settings": { + "n_ctx": 262144, + "params": { + "temperature": 1.0, + "top_p": 0.95, + "top_k": 20, + "n_predict": -1 + } + } + }, + "elapsed_seconds": 252.61567359103356, + "preload_seconds": 179.9631216020789, + "stop_reason": "hard_benchmark_deadline", + "parallel_wall_seconds": 72.65227829897776, + "overlap_seconds": 0.0, + "error": "KeyError: 'completion_tokens'" + }, + "chat64-speedy-52g-incomplete.json": { + "engine": "speedy", + "started_at": 1793914378.090263, + "deadline": 1793914588.0373335, + "context_per_slot": 262144, + "initial_tokens": 64000, + "final_tokens": 64132, + "output_tokens": 96, + "requests": [ + { + "tag": "A", + "phase": "preload", + "maximum": 16, + "started_at": 0.0016212420305237174, + "first_content_at": 21.033934654085897, + "finished_at": 21.11840357608162, + "content": "OK", + "usage": { + "prompt_tokens": 64000, + "completion_tokens": 2, + "total_tokens": 64002, + "prompt_tokens_details": { + "cached_tokens": 0 + } + }, + "timings": { + "cache_n": 0, + "prompt_n": 64000, + "prompt_ms": 20960.9, + "prompt_per_token_ms": 0.328, + "prompt_per_second": 3053.3, + "predicted_n": 2, + "predicted_ms": 122.0, + "predicted_per_token_ms": 61.0, + "predicted_per_second": 16.4, + "draft_n": 3, + "draft_n_accepted": 3 + }, + "stream_complete": true, + "finish_reason": "stop" + }, + { + "tag": "B", + "phase": "preload", + "maximum": 16, + "started_at": 21.118749876040965, + "first_content_at": 41.96781570103485, + "finished_at": 42.03188401507214, + "content": "OK", + "usage": { + "prompt_tokens": 64000, + "completion_tokens": 2, + "total_tokens": 64002, + "prompt_tokens_details": { + "cached_tokens": 0 + } + }, + "timings": { + "cache_n": 0, + "prompt_n": 64000, + "prompt_ms": 20792.6, + "prompt_per_token_ms": 0.325, + "prompt_per_second": 3078.0, + "predicted_n": 2, + "predicted_ms": 87.0, + "predicted_per_token_ms": 43.5, + "predicted_per_second": 23.0, + "draft_n": 3, + "draft_n_accepted": 3 + }, + "stream_complete": true, + "finish_reason": "stop" + }, + { + "tag": "B", + "phase": "chat-1", + "maximum": 96, + "started_at": 42.03477237501647, + "first_content_at": 42.784039209014736, + "finished_at": 43.563983494997956, + "content": "Meine Archivk", + "usage": {}, + "timings": {}, + "stream_complete": false + }, + { + "tag": "A", + "phase": "chat-1", + "maximum": 96, + "started_at": 42.034888452035375, + "first_content_at": null, + "finished_at": 43.56370748707559, + "content": "", + "usage": {}, + "timings": {}, + "stream_complete": false, + "error": "RuntimeError: {'type': 'server_error', 'message': 'the engine stopped while this request waited; it was not sent; the next request restarts it'}" + } + ], + "snapshots": [ + { + "at": 1793914383.09348, + "data": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "n_prompt_tokens": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "n_prompt_tokens": 0 + } + ] + }, + { + "at": 1793914388.0956283, + "data": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "n_prompt_tokens": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "n_prompt_tokens": 0 + } + ] + }, + { + "at": 1793914393.097415, + "data": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "n_prompt_tokens": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "n_prompt_tokens": 0 + } + ] + }, + { + "at": 1793914398.099304, + "data": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "n_prompt_tokens": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "n_prompt_tokens": 0 + } + ] + }, + { + "at": 1793914403.1013424, + "data": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "n_prompt_tokens": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "n_prompt_tokens": 0 + } + ] + }, + { + "at": 1793914408.1031516, + "data": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "n_prompt_tokens": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "n_prompt_tokens": 0 + } + ] + }, + { + "at": 1793914413.1050837, + "data": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "n_prompt_tokens": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "n_prompt_tokens": 0 + } + ] + }, + { + "at": 1793914418.10692, + "data": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "n_prompt_tokens": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "n_prompt_tokens": 0 + } + ] + } + ], + "groups": [], + "work_complete": false, + "passed": false, + "early_stop_budget": null, + "verified_properties": { + "total_slots": 2, + "default_generation_settings": { + "n_ctx": 262144, + "params": { + "temperature": 1.0, + "top_p": 0.95, + "top_k": 20, + "n_predict": -1 + } + } + }, + "elapsed_seconds": 43.564272427000105, + "preload_seconds": 42.03224727709312, + "stop_reason": "request_failed", + "error": "RuntimeError: {'type': 'server_error', 'message': 'the engine stopped while this request waited; it was not sent; the next request restarts it'}" + }, + "preflight.json": { + "inference_performed": false, + "fixtures": [ + { + "suite": "chat64", + "tag": "A", + "initial_tokens": 64000, + "final_tokens": 64132, + "prefix_preserved": true, + "fixture_sha256": "9664eaf14a894b27a1a430eed72f7ba6a918891e7db3c57ac1a0b294dff35128" + }, + { + "suite": "chat64", + "tag": "B", + "initial_tokens": 64000, + "final_tokens": 64132, + "prefix_preserved": true, + "fixture_sha256": "9664eaf14a894b27a1a430eed72f7ba6a918891e7db3c57ac1a0b294dff35128" + }, + { + "suite": "paired", + "tag": "A", + "initial_tokens": 261500, + "final_tokens": 261632, + "prefix_preserved": true, + "fixture_sha256": "e7ec6b476774c5b04cd851c1f57cbfac3234f87f5c03f95c19bc8d50ff0cb3d4" + }, + { + "suite": "paired", + "tag": "B", + "initial_tokens": 261500, + "final_tokens": 261632, + "prefix_preserved": true, + "fixture_sha256": "e7ec6b476774c5b04cd851c1f57cbfac3234f87f5c03f95c19bc8d50ff0cb3d4" + } + ], + "client_syntax_checked": true, + "configuration_checked": true + }, + "window.json": { + "deadline": 1793915148.3896616, + "approved": true, + "audio_unload_approved": true + }, + "production_restored": true, + "candidate_removed": true, + "run_scripts": { + "comparison_client.py": "c04ab768b82223bfb63007d725b4cbcf0837d40fa5cfb379042ea4e3ee432c91", + "comparison_launch.py": "b00c2c757ed1f613aa7cadc45ad50d681b65d222283ca54d8e07be7c58643724" + } + }, + "chat64_comparison": { + "basalt": { + "preload_s": 25.66897592099849, + "work_s": 32.937911463028286, + "rounds_s": [ + 2.7382846170221455, + 2.4140649879700504, + 2.114251179038547 + ], + "first_visible_median_s": 0.7042182954901364, + "answer_median_s": 2.2056730309850536, + "visible_write_median_tok_s": 33.26764039967274 + }, + "strata": { + "preload_s": 64.88171226001577, + "work_s": 106.31905576999998, + "rounds_s": [ + 35.159657199983485, + 3.377142487966921, + 2.8992902820464224 + ], + "first_visible_median_s": 1.2681522784987465, + "answer_median_s": 2.9769428865110967, + "visible_write_median_tok_s": 26.05955764888433 + }, + "speedy": { + "preload_s": 42.410742664011195, + "work_s": 56.38756003207527, + "rounds_s": [ + 5.1171006029471755, + 5.37980948202312, + 3.479017353965901 + ], + "first_visible_median_s": 1.6785562899895012, + "answer_median_s": 4.060831860988401, + "visible_write_median_tok_s": 21.489650874731517 + } + }, + "historical_references": true, + "speedy_memory_limit_gib": 58, + "basalt_historical_memory_limit_gib": 52, + "restoration_observation": { + "source": "authenticated management browser readback", + "endpoint": "running", + "basalt_profile": "0c25bfe00240414397c41a980ecbe4f0", + "worker": "ready", + "restore_answer": "BEREIT", + "tts_loaded": true, + "tts_profile": "5b67537ab825493786861b278ae26cbe", + "stt_loaded": true, + "stt_profile": "129d5ea93fd34f1a9e5dcca7bcef5761", + "active_requests": 0, + "waiting_requests": 0 + }, + "postrun_aggregation_fix_model_retested": false +} diff --git a/docs/maintenance/speedy-candidate-2026-11-05/comparison_client.py b/docs/maintenance/speedy-candidate-2026-11-05/comparison_client.py new file mode 100644 index 0000000..3c6d6bb --- /dev/null +++ b/docs/maintenance/speedy-candidate-2026-11-05/comparison_client.py @@ -0,0 +1,74 @@ +#!/usr/bin/env python3 +"""Athena: adapt the maintained historical clients, not their test workload.""" +import argparse +import ast +import hashlib +import json +from pathlib import Path +import sys +from typing import Any + +ROOT = Path('/opt/athena-deck-dev/speedy-candidate-e307537e9e0d') +DATA = ROOT / 'comparison-v1' + + +def require_complete_pair(rows, stopped): + if stopped or len(rows) != 2 or any(not row.get('stream_complete') or + 'completion_tokens' not in row.get('usage', {}) for row in rows): + raise RuntimeError('Incomplete parallel responses; partial records preserved') + + +def adapted(suite): + source = (DATA / 'reference-clients' / (suite + '_client.py')).read_text() + replacements = { + "ROOT = Path('/opt/athena-deck-dev/basalt-candidate-9175e7a3211b')": "ROOT = Path(" + repr(str(DATA)) + ")", + "choices=['basalt', 'strata']": "choices=['speedy', 'strata']", + "basalt = args.engine == 'basalt'": "basalt = args.engine == 'speedy'", + "key = '' if basalt else json.load(sys.stdin)['key']": "key = json.load(sys.stdin)['key']", + "port = 18320 if basalt else 8120": "port = 18420 if basalt else 8120", + "'athena-basalt-iq3xxs-test' if basalt": "'flash-next-speedy-test' if basalt", + "reasoning_effort='none', reasoning_budget_tokens=0,": "reasoning_effort='none',", + } + for old, new in replacements.items(): + count = source.count(old) + if old.startswith("reasoning_effort=") and suite == 'chat64': + assert count == 0 + continue + assert count == 1, (suite, old, count) + source = source.replace(old, new) + lines = source.splitlines() + matches = [i for i, line in enumerate(lines) if line.strip() == 'rows = [job.result() for job in jobs]'] + assert len(matches) == 1 + index = matches[0] + indent = lines[index][:len(lines[index]) - len(lines[index].lstrip())] + lines.insert(index + 1, indent + '_require_complete_pair(rows, stop.is_set())') + source = '\n'.join(lines) + '\n' + ast.parse(source) + return source + + +def main(): + parser = argparse.ArgumentParser() + parser.add_argument('--suite', choices=['chat64', 'paired'], required=True) + parser.add_argument('--go', action='store_true') + parser.add_argument('--deadline', type=float) + args = parser.parse_args() + source = adapted(args.suite) + if not args.go: + print(json.dumps(dict(offline=True, suite=args.suite, + adapted_source_sha256=hashlib.sha256(source.encode()).hexdigest()))) + return + if args.deadline is None: + parser.error('Absolute measurement deadline required') + sys.argv = [__file__, '--go', '--engine', 'speedy', '--deadline', str(args.deadline)] + scope: dict[str, Any] = {'__name__': 'historical_comparison_client', '__file__': str(DATA / 'reference-clients' / (args.suite + '_client.py'))} + scope['_require_complete_pair'] = require_complete_pair + exec(compile(source, scope['__file__'], 'exec'), scope) + scope['main']() + result = json.loads((DATA / (args.suite + '-speedy.json')).read_text()) + if not result.get('passed') or not result.get('work_complete'): + raise SystemExit(1) + + +if __name__ == '__main__': + main() diff --git a/docs/maintenance/speedy-candidate-2026-11-05/comparison_launch.py b/docs/maintenance/speedy-candidate-2026-11-05/comparison_launch.py new file mode 100644 index 0000000..d6539f5 --- /dev/null +++ b/docs/maintenance/speedy-candidate-2026-11-05/comparison_launch.py @@ -0,0 +1,42 @@ +#!/usr/bin/env python3 +"""Athena: same owned Speedy binary, two slots and compatible mixed-quant prefill.""" +import argparse +import ast +import json +from pathlib import Path +from typing import Any + +ROOT = Path('/opt/athena-deck-dev/speedy-candidate-e307537e9e0d') + + +def load_launcher(): + source = (ROOT / 'launch.py').read_text() + old = "ROOT / 'test-config.json'" + assert source.count(old) == 1 + source = source.replace(old, "ROOT / 'comparison-v1/config58g.json'") + memory = "'--memory', '52g', '--memory-swap', '52g'" + assert source.count(memory) == 1 + source = source.replace(memory, "'--memory', '58g', '--memory-swap', '58g'") + ast.parse(source) + scope: dict[str, Any] = {'__name__': 'owned_comparison_launcher', '__file__': str(ROOT / 'launch.py')} + exec(compile(source, scope['__file__'], 'exec'), scope) + base = scope['configuration'] + def configuration(): + config = base() + config['parallel'] = 2 + config['args'][config['args'].index('--conversation-cache-mib') + 1] = '8192' + config['args'] += ['--batch-groups', 'auto'] + config['env'].update(STRATA_PF_GROUP_SCRATCH='0', STRATA_PF_HC_REGION='0') + return config + scope['configuration'] = configuration + return scope + + +if __name__ == '__main__': + parser = argparse.ArgumentParser() + parser.add_argument('--go', action='store_true') + parser.add_argument('--maintenance-confirmed', action='store_true') + parser.add_argument('--deadline', type=float) + args = parser.parse_args() + scope = load_launcher() + scope['run'](args) diff --git a/docs/maintenance/speedy-candidate-2026-11-05/comparison_preflight.py b/docs/maintenance/speedy-candidate-2026-11-05/comparison_preflight.py new file mode 100644 index 0000000..8f62abb --- /dev/null +++ b/docs/maintenance/speedy-candidate-2026-11-05/comparison_preflight.py @@ -0,0 +1,59 @@ +#!/usr/bin/env python3 +"""GPU-less owned container: verify identical historical fixtures with Speedy's tokenizer.""" +import hashlib +import importlib +import json +from pathlib import Path +import sys +from types import SimpleNamespace + +ROOT = Path('/opt/athena-deck-dev/speedy-candidate-e307537e9e0d') +DATA = ROOT / 'comparison-v1' +sys.path[:0] = [str(ROOT / 'source'), str(ROOT / 'source/tools')] +ST = importlib.import_module('strata_tokenizer') +Service = importlib.import_module('serve.server').Service +ChatTemplate = importlib.import_module('serve.frontend').ChatTemplate + + +def main(): + directory = Path('/opt/athena-deck-dev/runtime/state/strata-ssd/packs/iq3_xxs/tokenizer') + vocab = json.loads((directory / 'vocab.json').read_text()) + tokens = [None] * len(vocab) + for text, index in vocab.items(): + tokens[index] = text + cfg = json.loads((directory / 'tokenizer.json').read_text()) + tok = ST.Tokenizer(tokens, (directory / 'merges.txt').read_text().split('\n'), + json.loads((directory / 'token_type.json').read_text()), + cfg.get('pre') or 'qwen35', cfg.get('special_ids') or None) + svc = Service(SimpleNamespace(max_context=262144), tok, + ChatTemplate(directory / 'chat_template.jinja')) + rows = [] + for suite in ('chat64', 'paired'): + path = DATA / (suite + '-fixtures.json') + for doc in json.loads(path.read_text()): + before = svc.encode_prompt(doc['initial'], None, {'enable_thinking': False}) + after = svc.encode_prompt(doc['final'], None, {'enable_thinking': False}) + assert len(before) == doc['initial_tokens'], (suite, 'initial', len(before)) + assert len(after) == doc['final_tokens'], (suite, 'final', len(after)) + held = before + tok.encode('OK') + assert after[:len(held)] == held, (suite, 'continuation prefix') + rows.append(dict(suite=suite, tag=doc['tag'], initial_tokens=len(before), + final_tokens=len(after), prefix_preserved=True, + fixture_sha256=hashlib.sha256(path.read_bytes()).hexdigest())) + import comparison_client as client + client.adapted('chat64') + client.adapted('paired') + import comparison_launch as launcher + config = launcher.load_launcher()['configuration']() + assert config['parallel'] == 2 + assert config['env']['STRATA_PF_GROUP_SCRATCH'] == '0' + assert config['env']['STRATA_PF_HC_REGION'] == '0' + assert 'api_key' not in config + report = dict(inference_performed=False, fixtures=rows, client_syntax_checked=True, + configuration_checked=True) + (DATA / 'preflight.json').write_text(json.dumps(report, indent=2) + '\n') + print(json.dumps(report), flush=True) + + +if __name__ == '__main__': + main() diff --git a/docs/maintenance/speedy-candidate-2026-11-05/test_comparison.py b/docs/maintenance/speedy-candidate-2026-11-05/test_comparison.py new file mode 100644 index 0000000..95038db --- /dev/null +++ b/docs/maintenance/speedy-candidate-2026-11-05/test_comparison.py @@ -0,0 +1,49 @@ +#!/usr/bin/env python3 +"""Local synthetic regression: interrupted paired measurements are not speed results.""" +import ast +import importlib.util +from pathlib import Path +import tempfile +import unittest +from unittest.mock import patch + +HERE = Path(__file__).resolve().parent +spec = importlib.util.spec_from_file_location('comparison_client', HERE / 'comparison_client.py') +assert spec and spec.loader +client = importlib.util.module_from_spec(spec) +spec.loader.exec_module(client) + + +class ComparisonTests(unittest.TestCase): + def test_completed_pair(self): + client.require_complete_pair([{'stream_complete': True, 'usage': {'completion_tokens': 5}}] * 2, False) + + def test_missing_usage_is_not_a_key_error(self): + with self.assertRaisesRegex(RuntimeError, 'partial records preserved'): + client.require_complete_pair([{'stream_complete': True, 'usage': {'completion_tokens': 5}}, + {'stream_complete': False, 'usage': {}}], True) + + def test_wrong_count_is_not_complete(self): + with self.assertRaises(RuntimeError): + client.require_complete_pair([], False) + + def test_both_historical_clients_adapt_without_changing_workload(self): + reference = HERE.parent / 'basalt-candidate-2026-11-01' + with tempfile.TemporaryDirectory() as tmp: + root = Path(tmp) + (root / 'reference-clients').mkdir() + for suite in ('chat64', 'paired'): + (root / 'reference-clients' / (suite + '_client.py')).write_text( + (reference / (suite + '_client.py')).read_text()) + with patch.object(client, 'DATA', root): + for suite in ('chat64', 'paired'): + text = client.adapted(suite) + ast.parse(text) + self.assertIn('_require_complete_pair(rows, stop.is_set())', text) + self.assertIn('port = 18420', text) + self.assertIn('reasoning_effort=', text) + self.assertNotIn('reasoning_budget_tokens=0', text) + + +if __name__ == '__main__': + unittest.main()