From c0bc5d3a1b075743edec249afb602d30bb8fd5df Mon Sep 17 00:00:00 2001 From: Mikei386 <44135113+Mikei386@users.noreply.github.com> Date: Tue, 3 Nov 2026 21:16:41 +0100 Subject: [PATCH] Integrate Basalt telemetry and shared GPU speech runtimes Publish the reviewed accumulated runtime, scheduler, profile, UI, native recipes and historical maintenance evidence. Includes Qwen GPU ASR correction and shared Anna/atelier ownership. Validated with 784 local tests, Python/JSON parsing and eight JavaScript syntax checks. Live GPU acceptance and full fresh-host restore limits remain documented. --- app.js | 1 + audio_policy.py | 7 + backup.py | 35 +- basalt_runtime.py | 57 + basalt_serve.py | 34 + basalt_sources.json | 22 + basalt_telemetry.py | 89 + basalt_worker.py | 110 + catalog.py | 4 +- dashboard-ui.js | 33 +- dashboard_data.py | 54 +- deploy/BASALT_NATIVE.md | 176 + deploy/QWEN_ANNA_EXISTING_GPU.md | 76 + deploy/QWEN_ASR_GPU.md | 131 + deploy/STRATA_NATIVE.md | 17 +- deploy/install.py | 5 +- deploy/install_basalt.py | 61 + deploy/qwen-asr-3060-profile.json | 11 + deploy/read_backup_snapshot.py | 2 + deploy/stimmatelier/README.md | 8 +- deploy/stimmatelier/app.js | 43 +- deploy/stimmatelier/index.html | 2 +- docs/ATHENA_HANDOFF.md | 228 +- docs/CURRENT_SYSTEM.md | 81 + .../CHAT64_RESULTS.md | 86 + .../FULL_CONTEXT_RESULTS.md | 90 + .../PAIRED_RESULTS.md | 111 + .../basalt-candidate-2026-11-01/README.md | 233 + .../basalt-candidate-2026-11-01/RESULTS.md | 104 + .../basalt-candidate-2026-11-01/build.py | 126 + .../basalt-candidate-2026-11-01/candidate.py | 283 + .../chat64_client.py | 248 + .../chat64_host.py | 90 + .../chat64_prepare.py | 104 + .../chat64_runner.py | 100 + .../chat64_transport.py | 68 + .../evidence/chat64-basalt.json | 567 + .../evidence/chat64-comparison.json | 94 + .../evidence/chat64-final-state.json | 20 + .../evidence/chat64-fixtures-proof.json | 13 + .../evidence/chat64-host-exit.json | 7 + .../evidence/chat64-runner-status.json | 11 + .../evidence/chat64-server.log | 31 + .../evidence/chat64-strata.json | 596 + .../evidence/chat64-window.json | 8 + .../evidence/comparison.json | 53 + .../evidence/final.json | 74 + .../evidence/full-hardware-check.json | 1 + .../evidence/full-host-exit.json | 7 + .../evidence/full-restoration.json | 22 + .../evidence/full-results.json | 14939 +++++++++++ .../evidence/full-runner-status.json | 11 + .../evidence/full-server.log | 57 + .../evidence/full-summary.json | 50 + .../evidence/full-window.json | 6 + .../evidence/full2-host-exit.json | 7 + .../evidence/full2-results.json | 21371 ++++++++++++++++ .../evidence/full2-runner-status.json | 11 + .../evidence/full2-server.log | 88 + .../evidence/paired-artifact-index.json | 58 + .../evidence/paired-basalt.json | 1845 ++ .../evidence/paired-comparison.json | 43 + .../evidence/paired-final-state.json | 21 + .../evidence/paired-fixtures-proof.json | 13 + .../evidence/paired-host-exit.json | 7 + .../evidence/paired-runner-status.json | 11 + .../evidence/paired-server.log | 66 + .../evidence/paired-strata.json | 38 + .../evidence/paired-strata2.json | 716 + .../evidence/paired-weight-source-check.json | 24 + .../evidence/paired-window.json | 8 + .../evidence/post-test-audit.json | 32 + .../evidence/short-test.json | 635 + .../full2_client.py | 221 + .../basalt-candidate-2026-11-01/full2_host.py | 90 + .../full2_runner.py | 100 + .../full_client.py | 221 + .../basalt-candidate-2026-11-01/full_host.py | 90 + .../full_runner.py | 100 + .../host_short_test.py | 90 + .../model-source.json | 11 + .../paired_client.py | 236 + .../paired_host.py | 90 + .../paired_prepare.py | 104 + .../paired_runner.py | 100 + .../paired_strata_client.py | 241 + .../paired_strata_transport.py | 68 + .../paired_transport.py | 68 + .../prepare_model.py | 185 + .../run_short_test.py | 100 + .../test-config.json | 18 + .../test-plan.json | 37 + .../test_candidate.py | 122 + .../test_client.py | 190 + .../test_client_offline.py | 81 + .../test_paired_offline.py | 127 + .../basalt-deck-integration/README.md | 60 + .../basalt-deck-integration/TELEMETRY.md | 88 + .../accept_telemetry.py | 43 + .../basalt-deck-integration/activate.py | 122 + .../activate_telemetry.py | 68 + .../check_telemetry_mock.py | 36 + .../finish_activation.py | 37 + .../prepare_activation.py | 86 + .../short_acceptance.py | 63 + .../git-publication-basalt-speech.md | 68 + .../qwen-anna-existing-gpu/README.md | 49 + .../REALTIME_RESULTS.md | 33 + .../qwen-anna-existing-gpu/activate.py | 81 + .../qwen-anna-existing-gpu/check.py | 35 + .../qwen-anna-existing-gpu/fix_ram.py | 46 + .../qwen-anna-existing-gpu/realtime.py | 53 + docs/maintenance/qwen-asr-gpu-accept.py | 28 + docs/maintenance/qwen-asr-gpu-activate.py | 74 + docs/maintenance/qwen-asr-protocol-fix.md | 78 + docs/maintenance/qwen-asr-protocol-fix.py | 60 + docs/maintenance/shared-qwen/README.md | 147 + docs/maintenance/shared-qwen/accept_gui.py | 31 + docs/maintenance/shared-qwen/activate.py | 108 + docs/maintenance/shared-qwen/copy_live_ui.py | 17 + docs/maintenance/shared-qwen/prepare.py | 28 + docs/maintenance/shared-qwen/preview.py | 33 + docs/maintenance/shared-qwen/restore.py | 41 + .../strata-029-linux-ab-2026-11-01/README.md | 102 + .../evidence/host.json | 7 + .../evidence/restoration.json | 41 + .../evidence/results.json | 987 + .../evidence/summary.json | 116 + .../experiment.py | 301 + .../strata-029-linux-ab-2026-11-01/restore.py | 49 + .../test_experiment.py | 65 + .../strata-029-staged-2026-11-01/README.md | 172 + .../strata-029-staged-2026-11-01/activate.py | 184 + .../strata-029-staged-2026-11-01/build.py | 108 + .../evidence/final-acceptance.json | 34 + .../strata-029-staged-2026-11-01/finalize.py | 63 + .../strata-029-staged-2026-11-01/prepare.py | 140 + .../short_acceptance.py | 166 + .../strata-029-staged-2026-11-01/verify.py | 106 + endpoint.py | 6 +- execution_setup.py | 12 + inference.py | 37 +- profiles-ui.js | 67 +- profiles.py | 40 +- server.py | 29 +- strata-ui.js | 15 + strata_sources.json | 4 +- strata_worker.py | 17 +- stt.py | 106 +- studio.js | 1 + test_audio_residency.py | 2 +- test_backup.py | 34 + test_basalt.py | 117 + test_basalt_telemetry.py | 85 + test_dashboard_data.py | 7 + test_endpoint.py | 6 + test_execution_setup.py | 7 + test_qwen_asr_protocol.py | 16 + test_qwen_shared.py | 150 + test_stt_gpu.py | 97 + test_tts_anna.py | 46 + test_tts_ram.py | 57 + test_video.py | 8 + test_video_comfy.py | 9 +- tts-ui.js | 2 +- tts_runtime.py | 6 +- tts_test.py | 98 +- tts_worker.py | 31 +- video.py | 3 +- video_comfy.py | 6 +- voice-ui.js | 7 +- voxcpm_test.py | 57 +- 172 files changed, 52473 insertions(+), 147 deletions(-) create mode 100644 basalt_runtime.py create mode 100644 basalt_serve.py create mode 100644 basalt_sources.json create mode 100644 basalt_telemetry.py create mode 100644 basalt_worker.py create mode 100644 deploy/BASALT_NATIVE.md create mode 100644 deploy/QWEN_ANNA_EXISTING_GPU.md create mode 100644 deploy/QWEN_ASR_GPU.md create mode 100644 deploy/install_basalt.py create mode 100644 deploy/qwen-asr-3060-profile.json create mode 100644 docs/maintenance/basalt-candidate-2026-11-01/CHAT64_RESULTS.md create mode 100644 docs/maintenance/basalt-candidate-2026-11-01/FULL_CONTEXT_RESULTS.md create mode 100644 docs/maintenance/basalt-candidate-2026-11-01/PAIRED_RESULTS.md create mode 100644 docs/maintenance/basalt-candidate-2026-11-01/README.md create mode 100644 docs/maintenance/basalt-candidate-2026-11-01/RESULTS.md create mode 100644 docs/maintenance/basalt-candidate-2026-11-01/build.py create mode 100644 docs/maintenance/basalt-candidate-2026-11-01/candidate.py create mode 100644 docs/maintenance/basalt-candidate-2026-11-01/chat64_client.py create mode 100644 docs/maintenance/basalt-candidate-2026-11-01/chat64_host.py create mode 100644 docs/maintenance/basalt-candidate-2026-11-01/chat64_prepare.py create mode 100644 docs/maintenance/basalt-candidate-2026-11-01/chat64_runner.py create mode 100644 docs/maintenance/basalt-candidate-2026-11-01/chat64_transport.py create mode 100644 docs/maintenance/basalt-candidate-2026-11-01/evidence/chat64-basalt.json create mode 100644 docs/maintenance/basalt-candidate-2026-11-01/evidence/chat64-comparison.json create mode 100644 docs/maintenance/basalt-candidate-2026-11-01/evidence/chat64-final-state.json create mode 100644 docs/maintenance/basalt-candidate-2026-11-01/evidence/chat64-fixtures-proof.json create mode 100644 docs/maintenance/basalt-candidate-2026-11-01/evidence/chat64-host-exit.json create mode 100644 docs/maintenance/basalt-candidate-2026-11-01/evidence/chat64-runner-status.json create mode 100644 docs/maintenance/basalt-candidate-2026-11-01/evidence/chat64-server.log create mode 100644 docs/maintenance/basalt-candidate-2026-11-01/evidence/chat64-strata.json create mode 100644 docs/maintenance/basalt-candidate-2026-11-01/evidence/chat64-window.json create mode 100644 docs/maintenance/basalt-candidate-2026-11-01/evidence/comparison.json create mode 100644 docs/maintenance/basalt-candidate-2026-11-01/evidence/final.json create mode 100644 docs/maintenance/basalt-candidate-2026-11-01/evidence/full-hardware-check.json create mode 100644 docs/maintenance/basalt-candidate-2026-11-01/evidence/full-host-exit.json create mode 100644 docs/maintenance/basalt-candidate-2026-11-01/evidence/full-restoration.json create mode 100644 docs/maintenance/basalt-candidate-2026-11-01/evidence/full-results.json create mode 100644 docs/maintenance/basalt-candidate-2026-11-01/evidence/full-runner-status.json create mode 100644 docs/maintenance/basalt-candidate-2026-11-01/evidence/full-server.log create mode 100644 docs/maintenance/basalt-candidate-2026-11-01/evidence/full-summary.json create mode 100644 docs/maintenance/basalt-candidate-2026-11-01/evidence/full-window.json create mode 100644 docs/maintenance/basalt-candidate-2026-11-01/evidence/full2-host-exit.json create mode 100644 docs/maintenance/basalt-candidate-2026-11-01/evidence/full2-results.json create mode 100644 docs/maintenance/basalt-candidate-2026-11-01/evidence/full2-runner-status.json create mode 100644 docs/maintenance/basalt-candidate-2026-11-01/evidence/full2-server.log create mode 100644 docs/maintenance/basalt-candidate-2026-11-01/evidence/paired-artifact-index.json create mode 100644 docs/maintenance/basalt-candidate-2026-11-01/evidence/paired-basalt.json create mode 100644 docs/maintenance/basalt-candidate-2026-11-01/evidence/paired-comparison.json create mode 100644 docs/maintenance/basalt-candidate-2026-11-01/evidence/paired-final-state.json create mode 100644 docs/maintenance/basalt-candidate-2026-11-01/evidence/paired-fixtures-proof.json create mode 100644 docs/maintenance/basalt-candidate-2026-11-01/evidence/paired-host-exit.json create mode 100644 docs/maintenance/basalt-candidate-2026-11-01/evidence/paired-runner-status.json create mode 100644 docs/maintenance/basalt-candidate-2026-11-01/evidence/paired-server.log create mode 100644 docs/maintenance/basalt-candidate-2026-11-01/evidence/paired-strata.json create mode 100644 docs/maintenance/basalt-candidate-2026-11-01/evidence/paired-strata2.json create mode 100644 docs/maintenance/basalt-candidate-2026-11-01/evidence/paired-weight-source-check.json create mode 100644 docs/maintenance/basalt-candidate-2026-11-01/evidence/paired-window.json create mode 100644 docs/maintenance/basalt-candidate-2026-11-01/evidence/post-test-audit.json create mode 100644 docs/maintenance/basalt-candidate-2026-11-01/evidence/short-test.json create mode 100644 docs/maintenance/basalt-candidate-2026-11-01/full2_client.py create mode 100644 docs/maintenance/basalt-candidate-2026-11-01/full2_host.py create mode 100644 docs/maintenance/basalt-candidate-2026-11-01/full2_runner.py create mode 100644 docs/maintenance/basalt-candidate-2026-11-01/full_client.py create mode 100644 docs/maintenance/basalt-candidate-2026-11-01/full_host.py create mode 100644 docs/maintenance/basalt-candidate-2026-11-01/full_runner.py create mode 100644 docs/maintenance/basalt-candidate-2026-11-01/host_short_test.py create mode 100644 docs/maintenance/basalt-candidate-2026-11-01/model-source.json create mode 100644 docs/maintenance/basalt-candidate-2026-11-01/paired_client.py create mode 100644 docs/maintenance/basalt-candidate-2026-11-01/paired_host.py create mode 100644 docs/maintenance/basalt-candidate-2026-11-01/paired_prepare.py create mode 100644 docs/maintenance/basalt-candidate-2026-11-01/paired_runner.py create mode 100644 docs/maintenance/basalt-candidate-2026-11-01/paired_strata_client.py create mode 100644 docs/maintenance/basalt-candidate-2026-11-01/paired_strata_transport.py create mode 100644 docs/maintenance/basalt-candidate-2026-11-01/paired_transport.py create mode 100644 docs/maintenance/basalt-candidate-2026-11-01/prepare_model.py create mode 100644 docs/maintenance/basalt-candidate-2026-11-01/run_short_test.py create mode 100644 docs/maintenance/basalt-candidate-2026-11-01/test-config.json create mode 100644 docs/maintenance/basalt-candidate-2026-11-01/test-plan.json create mode 100644 docs/maintenance/basalt-candidate-2026-11-01/test_candidate.py create mode 100644 docs/maintenance/basalt-candidate-2026-11-01/test_client.py create mode 100644 docs/maintenance/basalt-candidate-2026-11-01/test_client_offline.py create mode 100644 docs/maintenance/basalt-candidate-2026-11-01/test_paired_offline.py create mode 100644 docs/maintenance/basalt-deck-integration/README.md create mode 100644 docs/maintenance/basalt-deck-integration/TELEMETRY.md create mode 100644 docs/maintenance/basalt-deck-integration/accept_telemetry.py create mode 100644 docs/maintenance/basalt-deck-integration/activate.py create mode 100644 docs/maintenance/basalt-deck-integration/activate_telemetry.py create mode 100644 docs/maintenance/basalt-deck-integration/check_telemetry_mock.py create mode 100644 docs/maintenance/basalt-deck-integration/finish_activation.py create mode 100644 docs/maintenance/basalt-deck-integration/prepare_activation.py create mode 100644 docs/maintenance/basalt-deck-integration/short_acceptance.py create mode 100644 docs/maintenance/git-publication-basalt-speech.md create mode 100644 docs/maintenance/qwen-anna-existing-gpu/README.md create mode 100644 docs/maintenance/qwen-anna-existing-gpu/REALTIME_RESULTS.md create mode 100644 docs/maintenance/qwen-anna-existing-gpu/activate.py create mode 100644 docs/maintenance/qwen-anna-existing-gpu/check.py create mode 100644 docs/maintenance/qwen-anna-existing-gpu/fix_ram.py create mode 100644 docs/maintenance/qwen-anna-existing-gpu/realtime.py create mode 100644 docs/maintenance/qwen-asr-gpu-accept.py create mode 100644 docs/maintenance/qwen-asr-gpu-activate.py create mode 100644 docs/maintenance/qwen-asr-protocol-fix.md create mode 100644 docs/maintenance/qwen-asr-protocol-fix.py create mode 100644 docs/maintenance/shared-qwen/README.md create mode 100644 docs/maintenance/shared-qwen/accept_gui.py create mode 100644 docs/maintenance/shared-qwen/activate.py create mode 100644 docs/maintenance/shared-qwen/copy_live_ui.py create mode 100644 docs/maintenance/shared-qwen/prepare.py create mode 100644 docs/maintenance/shared-qwen/preview.py create mode 100644 docs/maintenance/shared-qwen/restore.py create mode 100644 docs/maintenance/strata-029-linux-ab-2026-11-01/README.md create mode 100644 docs/maintenance/strata-029-linux-ab-2026-11-01/evidence/host.json create mode 100644 docs/maintenance/strata-029-linux-ab-2026-11-01/evidence/restoration.json create mode 100644 docs/maintenance/strata-029-linux-ab-2026-11-01/evidence/results.json create mode 100644 docs/maintenance/strata-029-linux-ab-2026-11-01/evidence/summary.json create mode 100644 docs/maintenance/strata-029-linux-ab-2026-11-01/experiment.py create mode 100644 docs/maintenance/strata-029-linux-ab-2026-11-01/restore.py create mode 100644 docs/maintenance/strata-029-linux-ab-2026-11-01/test_experiment.py create mode 100644 docs/maintenance/strata-029-staged-2026-11-01/README.md create mode 100644 docs/maintenance/strata-029-staged-2026-11-01/activate.py create mode 100644 docs/maintenance/strata-029-staged-2026-11-01/build.py create mode 100644 docs/maintenance/strata-029-staged-2026-11-01/evidence/final-acceptance.json create mode 100644 docs/maintenance/strata-029-staged-2026-11-01/finalize.py create mode 100644 docs/maintenance/strata-029-staged-2026-11-01/prepare.py create mode 100644 docs/maintenance/strata-029-staged-2026-11-01/short_acceptance.py create mode 100644 docs/maintenance/strata-029-staged-2026-11-01/verify.py create mode 100644 test_basalt.py create mode 100644 test_basalt_telemetry.py create mode 100644 test_qwen_asr_protocol.py create mode 100644 test_qwen_shared.py create mode 100644 test_stt_gpu.py create mode 100644 test_tts_anna.py create mode 100644 test_tts_ram.py diff --git a/app.js b/app.js index 06b3c49..18230c3 100644 --- a/app.js +++ b/app.js @@ -28,6 +28,7 @@ if(['separator-runtime','separator-test','separation'].includes(page)){Separator if(page==='soulx-singer-runtime'){SoulXSingerUI.render();return;} if(page==='xvc-runtime'){XVCUI.render();return;} if(page==='strata-runtime'){StrataUI.render();return;} +if(page==='basalt-runtime'){BasaltUI.render();return;} if(page==='applio-runtime'){ApplioUI.render();return;} if(page==='acestep-runtime'){AceStepUI.render();return;} if(page==='audio-cpp-runtime'){AudioCppUI.render();return;} diff --git a/audio_policy.py b/audio_policy.py index e314340..f8ea461 100644 --- a/audio_policy.py +++ b/audio_policy.py @@ -78,8 +78,12 @@ class AudioPolicy: elif self.qwen_native and native_supported(rows[0].get('model')):worker=self.qwen_native for other in [self.tts,*self.cpu_workers]: if other is worker:continue + if other is self.tts and getattr(other,'shared_clone_resident',False):continue with other.lock:busy=other.warming or other.job and other.job.get('state')=='running' if not busy and other.process:other.unload_idle() + if kind=='tts' and worker is self.tts and getattr(worker,'shared_clone_resident',False): + with worker.lock: + if worker.process and worker.process.poll() is None:continue if kind=='tts' and worker not in self.cpu_workers: with self.scheduler.cv: if self.scheduler.gpu_mode!='llm' or self.scheduler.transition or self.scheduler.queue or self.scheduler.key and self.scheduler.key[0]!='chat':continue @@ -100,6 +104,9 @@ class AudioPolicy: with worker.lock: if worker.warming or worker.job and worker.job.get('state')=='running':continue loaded=bool(worker.process and worker.process.poll() is None) + if loaded and kind=='stt' and isinstance(getattr(worker,'session_device',None),str): + profile=next((p for p in self.profiles.status()['profiles'] if p['id']==ident),None) + if profile is None or worker.session_device!=worker.device(profile):loaded=False if loaded and ((not automatic and kind!='stt') or getattr(worker,'profile_id',ident)==ident):continue if loaded:worker.unload_idle() with self.lock: diff --git a/backup.py b/backup.py index bdf477c..1299c7f 100644 --- a/backup.py +++ b/backup.py @@ -6,7 +6,7 @@ from pathlib import Path,PurePosixPath from auth import atomic_write,validate_record from backup_codec import seal,open_backup from catalog import repo_id,file_role,KINDS -from profiles import SCHEMAS,CHAT_GPU_DEFAULTS,chat_parameters,FLOAT_PARAMETERS,ACE_COMPONENTS,qwen_clone_model +from profiles import SCHEMAS,CHAT_GPU_DEFAULTS,chat_parameters,FLOAT_PARAMETERS,ACE_COMPONENTS,qwen_clone_model,STT_DEVICE_DEFAULTS,stt_parameters SETTINGS=('soulx_singer-data/settings.json','xvc-data/settings.json','applio-data/settings.json','separator-profiles.json','profiles.json','reasoning-budget.json','endpoint.json','audio-policy.json','video/comfy-selection.json','models/huggingface.json','video/comfy-client-token','video/original-work/settings.json') MAX_HISTORY=40*1024**2 SETTINGS+=('cpu-partition.json',) @@ -56,13 +56,21 @@ def validate(doc): if type(p.get('revision')) is not int or not 1<=p['revision']<=1000000:raise ValueError('Ungültige Profilrevision.') if not isinstance(params,dict):raise ValueError('Ungültige Profilparameter.') params=chat_parameters(params) if kind=='chat' else params - if set(params)!=(set(SCHEMAS[kind])|(set(CHAT_GPU_DEFAULTS) if kind=='chat' else set(params)&{'video_device','text_encoder_device'} if kind=='video' else set())):raise ValueError('Unbekannte Profilparameter.') + if kind=='stt':params=stt_parameters(params,next(m for m in models if m['id']==p['model_id'])) + if kind=='audio': + from profiles import audio_voice_parameters + audio_voice_parameters(params,next(m for m in models if m['id']==p['model_id'])) + if set(params)!=(set(SCHEMAS[kind])|(set(CHAT_GPU_DEFAULTS) if kind=='chat' else set(params)&{'video_device','text_encoder_device'} if kind=='video' else set(params)&{'tts_voice'} if kind=='audio' else set(STT_DEVICE_DEFAULTS) if kind=='stt' else set())):raise ValueError('Unbekannte Profilparameter.') for key,(lo,hi,_) in SCHEMAS[kind].items(): value=params[key] if isinstance(value,bool) or not isinstance(value,(int,float)) or not lo<=value<=hi or key not in FLOAT_PARAMETERS and type(value) is not int:raise ValueError('Ungültiger Profilparameter: '+key) if kind=='chat' and params.get('chat_runtime')=='strata': from strata_runtime import model_quant model_quant(next(m for m in models if m['id']==p['model_id'])) + if kind=='chat' and params.get('chat_runtime')=='basalt': + from basalt_runtime import validate_model,validate_projector + validate_model(next(m for m in models if m['id']==p['model_id'])) + if params.get('vision_projector'):validate_projector(next((m for m in models if m['id']==params['vision_projector']),{})) if kind=='chat' and (params['ubatch']>params['batch'] or params.get('vision_projector') and params['vision_projector'] not in ids):raise ValueError('Ungültige Chat-Zuordnung.') if kind in ('image','video') and (params['width']%64 or params['height']%64):raise ValueError('Ungültige Bildgröße.') components=p.get('components',{}) @@ -76,11 +84,19 @@ def validate(doc): if not isinstance(pn,str) or not 1<=len(pn)<=64 or any(ord(c)<32 for c in pn) or not isinstance(pi,str) or not re.fullmatch('[a-f0-9]{32}',pi) or pi in preset_ids or pn in preset_names or preset['model_id'] not in ids or type(preset['created_at']) not in (int,float):raise ValueError('Ungültige Preset-Metadaten.') if not isinstance(pp,dict):raise ValueError('Ungültige Preset-Parameter.') pp=chat_parameters(pp) if kind=='chat' else pp - if set(pp)!=(set(SCHEMAS[kind])|(set(CHAT_GPU_DEFAULTS) if kind=='chat' else set(pp)&{'video_device','text_encoder_device'} if kind=='video' else set())):raise ValueError('Unbekannte Preset-Parameter.') + if kind=='stt':pp=stt_parameters(pp,next(m for m in models if m['id']==preset['model_id'])) + if kind=='audio': + from profiles import audio_voice_parameters + audio_voice_parameters(pp,next(m for m in models if m['id']==preset['model_id'])) + if set(pp)!=(set(SCHEMAS[kind])|(set(CHAT_GPU_DEFAULTS) if kind=='chat' else set(pp)&{'video_device','text_encoder_device'} if kind=='video' else set(pp)&{'tts_voice'} if kind=='audio' else set(STT_DEVICE_DEFAULTS) if kind=='stt' else set())):raise ValueError('Unbekannte Preset-Parameter.') for key,(lo,hi,_) in SCHEMAS[kind].items(): value=pp[key] if isinstance(value,bool) or not isinstance(value,(int,float)) or not lo<=value<=hi or key not in FLOAT_PARAMETERS and type(value) is not int:raise ValueError('Ungültiger Preset-Parameter: '+key) if kind=='chat' and (pp['ubatch']>pp['batch'] or pp.get('vision_projector') and pp['vision_projector'] not in ids):raise ValueError('Ungültige Preset-Projektorzuordnung.') + if kind=='chat' and pp.get('chat_runtime')=='basalt': + from basalt_runtime import validate_model,validate_projector + validate_model(next(m for m in models if m['id']==preset['model_id'])) + if pp.get('vision_projector'):validate_projector(next((m for m in models if m['id']==pp['vision_projector']),{})) if kind in ('image','video') and (pp['width']%64 or pp['height']%64):raise ValueError('Ungültige Preset-Bildgröße.') preset_ids.add(pi);preset_names.add(pn) pids.add(p['id']);names.add(name) @@ -124,7 +140,7 @@ def validate(doc): validate_profiles(settings['separator-profiles.json']) validate_record(doc.get('credentials')) runtimes=doc.get('runtimes') - if not isinstance(runtimes,dict) or set(runtimes)-{'llama','llama_builds','image','tts','enhancers','swarm_nodes','ltx_original','audio_cpp','separator','voxcpm','omnivoice','acestep','applio','xvc','seed_vc','soulx_singer','music_remix','strata','pocket','articulino','kikiri'} or not {'llama','llama_builds','image','tts','enhancers','swarm_nodes'}<=set(runtimes):raise ValueError('Ungültiges Laufzeitrezept.') + if not isinstance(runtimes,dict) or set(runtimes)-{'llama','llama_builds','image','tts','enhancers','swarm_nodes','ltx_original','audio_cpp','separator','voxcpm','omnivoice','acestep','applio','xvc','seed_vc','soulx_singer','music_remix','strata','basalt','pocket','articulino','kikiri'} or not {'llama','llama_builds','image','tts','enhancers','swarm_nodes'}<=set(runtimes):raise ValueError('Ungültiges Laufzeitrezept.') if any(qwen_voice_alias(m) for m in models) and runtimes.get('tts') is not True:raise ValueError('Qwen-Stimmklon benötigt das vollständige TTS-Laufzeitrezept.') if 'separator' in runtimes: from separator_runtime import MODELS @@ -137,6 +153,7 @@ def validate(doc): if 'articulino' in runtimes and type(runtimes['articulino']) is not bool:raise ValueError('Ungültige Articulino-Laufzeit.') if 'pocket' in runtimes and type(runtimes['pocket']) is not bool:raise ValueError('Ungültige Pocket-Laufzeit.') if 'strata' in runtimes and type(runtimes['strata']) is not bool:raise ValueError('Ungültige Strata-Laufzeit.') + if 'basalt' in runtimes and type(runtimes['basalt']) is not bool:raise ValueError('Ungültige Basalt-Laufzeit.') if 'music_remix' in runtimes and type(runtimes['music_remix']) is not bool:raise ValueError('Ungültige Audio-Remix-Laufzeit.') if 'xvc' in runtimes and type(runtimes['xvc']) is not bool:raise ValueError('Ungültige X-VC-Laufzeit.') if 'seed_vc' in runtimes and type(runtimes['seed_vc']) is not bool:raise ValueError('Ungültige Seed-VC-Laufzeit.') @@ -224,6 +241,8 @@ class Backup: if getattr(s,'strata_runtime',None): document['runtimes']['strata']=s.strata_runtime.status()['installed'] document['runtime_versions']['strata']=s.strata_runtime.status()['revision'] + if getattr(s,'basalt_runtime',None): + document['runtimes']['basalt']=s.basalt_runtime.status()['installed'];document['runtime_versions']['basalt']=s.basalt_runtime.status()['revision'] if getattr(s,'remix_runtime',None): document['runtimes']['music_remix']=s.remix_runtime.status()['installed'] if document['runtimes']['music_remix']: @@ -291,6 +310,9 @@ class Backup: if versions.get('strata'): from strata_runtime import COMMIT if versions['strata']!=COMMIT:blockers.append('Backup verlangt eine andere Strata-Version. Passende Deck-Version verwenden.') + if versions.get('basalt'): + from basalt_runtime import COMMIT as BASALT_COMMIT + if versions['basalt']!=BASALT_COMMIT:blockers.append('Backup verlangt eine andere Basalt-Version. Passende Deck-Version verwenden.') if versions.get('acestep'): from acestep_runtime import VERSION as ACE_VERSION if versions['acestep']!=ACE_VERSION:blockers.append('Backup verlangt eine andere ACE-Step-Version. Passende Deck-Version verwenden.') @@ -323,7 +345,7 @@ class Backup: if versions.get('applio'): from applio_runtime import REVISION as APPLIO_REVISION if versions['applio']!=APPLIO_REVISION:blockers.append('Backup verlangt eine andere Applio-Version.') - if versions and {k:v for k,v in versions.items() if k not in ('ltx_original','audio_cpp','separator','voxcpm','omnivoice','acestep','applio','xvc','seed_vc','soulx_singer','music_remix','strata','pocket','articulino','kikiri')}!=dict(image=dict(comfy=s.image_runtime.status()['comfy_revision'],gguf=s.image_runtime.status()['gguf_revision']),tts=s.tts_runtime.status()['revision']):blockers.append('Backup verlangt andere Bild-/TTS-Laufzeitversionen. Passende Deck-Version oder geprüftes Runtime-Upgrade verwenden.') + if versions and {k:v for k,v in versions.items() if k not in ('ltx_original','audio_cpp','separator','voxcpm','omnivoice','acestep','applio','xvc','seed_vc','soulx_singer','music_remix','strata','basalt','pocket','articulino','kikiri')}!=dict(image=dict(comfy=s.image_runtime.status()['comfy_revision'],gguf=s.image_runtime.status()['gguf_revision']),tts=s.tts_runtime.status()['revision']):blockers.append('Backup verlangt andere Bild-/TTS-Laufzeitversionen. Passende Deck-Version oder geprüftes Runtime-Upgrade verwenden.') for c in doc['services']: if not c.get('registry') and not c.get('build_recipe'):warnings.append(c['name']+': Image nur lokal vorhanden; Registry-/Buildquelle fehlt.') ports=s.endpoint.allowed_ports @@ -352,6 +374,7 @@ class Backup: if getattr(getattr(s,'xvc',None),'active',False):raise ValueError('X-VC-Auftrag zuerst abschließen.') if getattr(getattr(s,'soulx_singer',None),'active',False):raise ValueError('SoulX-Singer-Auftrag zuerst abschließen.') if getattr(getattr(s,'applio',None),'active',False):raise ValueError('Applio-Auftrag zuerst abschließen.') + if (getattr(getattr(s,'basalt_runtime',None),'job',None) or {}).get('state')=='running':raise ValueError('Basalt-Build zuerst abschließen oder abbrechen.') if s.catalog.pending or s.catalog.job and s.catalog.job['state']=='downloading' or s.runtime.busy or any((getattr(o,'job',None) or {}).get('state')=='running' for o in (getattr(s,'kikiri_runtime',None),getattr(s,'kikiri',None),getattr(s,'articulino_runtime',None),getattr(s,'articulino',None),s.image_runtime,s.tts_runtime,s.ltx_original_runtime,getattr(s,'strata_runtime',None),getattr(s,'audio_cpp_runtime',None),getattr(s,'acestep_runtime',None),getattr(s,'applio_runtime',None),getattr(s,'xvc_runtime',None),getattr(s,'soulx_singer_runtime',None),getattr(s,'music',None),getattr(s,'remix_runtime',None),getattr(s,'remix',None),getattr(s,'separator_runtime',None),getattr(s,'separator_tests',None),s.prompt_enhancer,s.auto_tests,s.chat_tests,s.image_tests,s.tts_tests,s.stt)):raise ValueError('Zuerst laufende Downloads, Builds und Tests abschließen oder abbrechen.') self.cancel.clear();self.job=dict(id=secrets.token_hex(16),state='running',phase='Wiederherstellung vorbereiten',completed=0,total=len(doc['models'])+len(data['services'])+5,items=[],started_at=time.time(),theme=doc.get('theme','deck')) self._save();threading.Thread(target=self._restore,args=(copy.deepcopy(doc),data['services'],data['restore_credentials']),daemon=True).start();self.plan=None @@ -382,6 +405,8 @@ class Backup: self._phase('Pocket-CPU-Laufzeit installieren');s.pocket_runtime.start();self._wait(s.pocket_runtime.status) if r.get('strata') and not s.strata_runtime.status()['installed']: self._phase('Native Strata-Laufzeit aus gepinntem Rezept bauen');s.strata_runtime.start();self._wait(s.strata_runtime.status) + if r.get('basalt') and not s.basalt_runtime.status()['installed']: + self._phase('Native Basalt-Laufzeit aus gepinntem Rezept bauen · kein Modellstart');s.basalt_runtime.start();self._wait(s.basalt_runtime.status) if r['image'] and not s.image_runtime.status()['installed']: self._phase('Vorhandene Bild-/Videolaufzeit prüfen oder installieren');s.image_runtime.start();self._wait(s.image_runtime.status) if r['tts'] and not s.tts_runtime.status()['installed']: diff --git a/basalt_runtime.py b/basalt_runtime.py new file mode 100644 index 0000000..c674751 --- /dev/null +++ b/basalt_runtime.py @@ -0,0 +1,57 @@ +"""Pinned, native Basalt runtime; model packs live in Deck's ordinary catalogue.""" +import json +import sys +import threading +import time +import uuid +from pathlib import Path +from ltx_original_runtime import LTXOriginalRuntime + +RECIPE=json.loads((Path(__file__).parent/'basalt_sources.json').read_text()) +COMMIT=RECIPE['code'] + +def validate_model(entry): + source=entry.get('download_source') or entry + model=RECIPE['model'] + if any(source.get(k)!=model[k] for k in ('repo','revision','file')) or entry.get('sha256')!=model['sha256'] or entry.get('size')!=model['size']: + raise ValueError('Basalt benötigt das geprüfte vollständige Flash-Next GSQ-RCO IQ3_XXS-Paket mit fester Revision, Größe und SHA-256.') + return model + +def validate_projector(entry): + source=entry.get('download_source') or entry;pin=RECIPE['vision'] + if any(source.get(k)!=pin[k] for k in ('repo','revision','file')) or any(entry.get(k)!=pin[k] for k in ('sha256','size')):raise ValueError('Basalt-Vision benötigt den geprüften BF16-Projektor aus dem Modellpaket.') + + +class BasaltRuntime(LTXOriginalRuntime): + name='Basalt' + def __init__(self,root,catalog): + super().__init__(root,None);self.catalog=catalog + def paths(self):return self.root/'venv/bin/python',self.root/'source' + def status(self): + python,source=self.paths() + try:ready=json.loads((self.root/'ready.json').read_text()) + except (OSError,ValueError):ready={} + installed=ready.get('commit')==COMMIT and ready.get('version')==RECIPE['version'] and python.is_file() and (source/'bin/basalt').is_file() + vision=installed and ready.get('vision_architectures')==RECIPE['vision_architectures'] and (source/'bin/basalt-vision').is_file() + return dict(installed=installed,revision=COMMIT,version=RECIPE['version'],job=dict(self.job) if self.job else None,required_disk_gib=6,model=dict(RECIPE['model']),gpu_policy='Text: eine SM120-GPU; Vision: separater SM86/SM120-Sidecar',context_per_slot=262144,max_slots=2,vision=vision) + def prepared(self,entry): + validate_model(entry) + path=self.catalog.root/entry['id']/'model.basalt' + if not path.is_file() or path.stat().st_size!=RECIPE['model']['size']:raise ValueError('Basalt-Modellpaket fehlt oder ist unvollständig. Über die Modellbibliothek herunterladen.') + return path + def download_model(self): + model=RECIPE['model'];data=self.catalog.files(model['repo'],model['revision']);item=next((x for x in data['files'] if x['name']==model['file']),{}) + if item.get('size')!=model['size'] or item.get('sha256')!=model['sha256']:raise ValueError('Basalt-Modellquelle stimmt nicht mit dem geprüften Rezept überein.') + return self.catalog.start(model['repo'],model['file'],model['revision'],'chat') + def start(self): + with self.lock: + if self.job and self.job['state']=='running':raise ValueError('Basalt-Einrichtung läuft bereits.') + if self.status()['installed']:raise ValueError('Basalt ist bereits installiert.') + if sys.platform!='linux':raise ValueError('Basalt benötigt natives Linux, AVX2 und CUDA 13.') + self.root.mkdir(parents=True,exist_ok=True,mode=0o700);self.cancel.clear();self.job=dict(id=uuid.uuid4().hex,state='running',phase='Native Basalt-Laufzeit bauen · kein Modellstart',started_at=time.time());self._save() + self.worker=threading.Thread(target=self._install,daemon=True);self.worker.start();return self.status() + def _install(self): + try: + self._command([sys.executable,Path(__file__).parent/'deploy/install_basalt.py','--destination',self.root]);state='complete';phase='Basalt installiert. Modellpaket über die Bibliothek bereitstellen; kein Modell gestartet.' + except Exception as exc:state='cancelled' if self.cancel.is_set() else 'failed';phase=str(exc) + with self.lock:self.process=None;self.job.update(state=state,phase=phase,finished_at=time.time());self._save() diff --git a/basalt_serve.py b/basalt_serve.py new file mode 100644 index 0000000..b00f759 --- /dev/null +++ b/basalt_serve.py @@ -0,0 +1,34 @@ +#!/usr/bin/env python3 +"""Run pinned upstream Basalt unchanged, adding authenticated numeric telemetry.""" +import argparse,sys +from pathlib import Path +from basalt_telemetry import Counters,CountedHistory,snapshot + +def install(service_module,handler_module): + original_service=service_module.Service;original_handler=handler_module.make_handler + class DeckService(original_service): + def __init__(self,*args,**kwargs): + super().__init__(*args,**kwargs) + self.deck_counters=Counters();self.history=CountedHistory(self.history,self) + def handler(svc): + base=original_handler(svc) + class Handler(base): + def do_GET(self): + if self.path.split('?',1)[0].rstrip('/')=='/telemetry': + if self._authorized():self._json(200,snapshot(svc)) + return + return super().do_GET() + return Handler + service_module.Service=DeckService;handler_module.make_handler=handler + +def main(): + parser=argparse.ArgumentParser(add_help=False);parser.add_argument('--deck-source',type=Path,required=True);args,remaining=parser.parse_known_args() + source=args.deck_source + if not source.is_absolute() or {'vpn','vpn.auth','OpenVPN-KIT','GluetunVPN'}&set(source.parts) or not (source/'serve/server.py').is_file():parser.error('Registered absolute Basalt source required') + sys.path.insert(0,str(source)) + from serve import service,handler + install(service,handler) + from serve.server import main as upstream_main + sys.argv=[str(source/'serve/server.py'),*remaining] + return upstream_main() +if __name__=='__main__':raise SystemExit(main()) diff --git a/basalt_sources.json b/basalt_sources.json new file mode 100644 index 0000000..f967d3c --- /dev/null +++ b/basalt_sources.json @@ -0,0 +1,22 @@ +{ + "code": "9175e7a3211bda355c02e804c7c107b15b8ea89f", + "version": "0.1.0", + "url": "https://github.com/jesdga95/basalt.git", + "cuda": "13.0", + "architectures": [120], + "vision_architectures": [86, 120], + "vision": { + "repo": "ISTA-DASLab/Qwen3.8-Flash-Next-GSQ-RCO-GGUF", + "revision": "ed59f92082b1e93c0e96d60a8b11aab089b52f09", + "file": "mmproj-Qwen3.8-Flash-Next-BF16.gguf", + "size": 907543008, + "sha256": "b1a82259702816a5330d7bd7607cd9676b11780e79ff7348c21103ff3ce49bd0" + }, + "model": { + "repo": "jesdga/Qwen3.8-Flash-Next-Basalt", + "revision": "c0e57437ea564aa85263ab0bc0ee83568dd53213", + "file": "Qwen3.8-FN-GSQ-RCO-IQ3_XXS.basalt", + "size": 79867643037, + "sha256": "d02bb1b188bbc9ed6bc88ce5e89c7c2d64247290c7bae70fbb9d9d17fe65ed71" + } +} diff --git a/basalt_telemetry.py b/basalt_telemetry.py new file mode 100644 index 0000000..92062d4 --- /dev/null +++ b/basalt_telemetry.py @@ -0,0 +1,89 @@ +"""Content-free Basalt telemetry. No prompts, token IDs, answers or request history.""" +import collections,math,threading,time +from typing import Any + +def number(value): + if type(value) not in (int,float):return None + try:return value if math.isfinite(value) and value>=0 else None + except OverflowError:return None + +class Counters: + def __init__(self):self.lock=threading.RLock();self.epoch=None;self.reset(None) + def reset(self,epoch): + self.epoch=epoch;self.version=0;self.last={};self.values:dict[str,Any]=dict(prompt_tokens_total=0,prompt_tokens_cached_total=0,tokens_predicted_total=0,prompt_seconds_total=0,n_tokens_max=0,requests_completed_total=0,spec_decode_num_draft_tokens_total=None,spec_decode_num_accepted_tokens_total=None,spec_decode_num_drafts_total=None);self.window_tokens=0;self.windows=0;self.missing=set() + def record(self,row,epoch,windows=None,window_tokens=None): + # Called with the upstream status lock held, before a completed request leaves + # its slot. Only these numeric values are retained; never copy arbitrary rows. + with self.lock: + if epoch!=self.epoch:self.reset(epoch) + v=self.values;prompt=number(row.get('prompt_tokens'));cached=number(row.get('reused'));output=number(row.get('output_tokens')) + if prompt==0 and cached is None:cached=0 + prompt_ms=number(row.get('prompt_ms')) + for key,delta in (('prompt_tokens_total',max(0,prompt-cached) if prompt is not None and cached is not None else None),('prompt_tokens_cached_total',cached),('tokens_predicted_total',output),('prompt_seconds_total',prompt_ms/1000 if prompt_ms is not None else None)): + v[key]=v[key]+delta if v[key] is not None and delta is not None else None + if prompt is not None and output is not None:v['n_tokens_max']=max(v['n_tokens_max'],prompt+output) + v['requests_completed_total']+=1 + for key,field in (('spec_decode_num_draft_tokens_total','drafts_offered'),('spec_decode_num_accepted_tokens_total','drafts_accepted')): + delta=number(row.get(field)) + if delta is None:self.missing.add(key);v[key]=None + elif key not in self.missing:v[key]=(v[key] or 0)+delta + windows=number(windows);window_tokens=number(window_tokens) + if windows is None:self.missing.add('spec_decode_num_drafts_total');v['spec_decode_num_drafts_total']=None + elif 'spec_decode_num_drafts_total' not in self.missing: + v['spec_decode_num_drafts_total']=(v['spec_decode_num_drafts_total'] or 0)+windows + if window_tokens is not None:self.windows+=windows;self.window_tokens+=window_tokens + slot=row.get('slot') + if type(slot) is int and 0<=slot<16:self.last[slot]=dict(prompt_tokens=prompt,prompt_cached=cached,decoded_tokens=output) + self.version+=1 + def snapshot(self,epoch): + with self.lock: + # Engine generations increase monotonically. A concurrent old sampler must + # never erase counters already recorded for a newer process generation. + if self.epoch is None or epoch>self.epoch:self.reset(epoch) + metrics=dict(self.values);metrics['mtp_mean_window_tokens']=self.window_tokens/self.windows if self.windows and 'spec_decode_num_drafts_total' not in self.missing else None + return self.version,metrics,{k:dict(v) for k,v in self.last.items()} + +class CountedHistory(collections.deque): + def __init__(self,history,service): + super().__init__(history,maxlen=history.maxlen);self.service=service + def append(self,row): + svc=self.service + # Upstream's live records still exist here. Don't retain or serialize them. + states=[st for st,_ in svc.live_reqs.values() if st.get('slot')==row.get('slot')] if svc.live_reqs else [svc.status] + state=states[0] if len(states)==1 else {} + svc.deck_counters.record(row,getattr(svc.engine,'gen',0),state.get('windows'),state.get('window_tokens')) + super().append(row) + +def slot(row,last,held=None): + ident=row.get('id') + if type(ident) is not int or not 0<=ident<16 or type(row.get('is_processing')) is not bool:return None + busy=row.get('is_processing') is True;previous=last.get(ident,{}) if not busy else {} + prompt=number(row.get('prompt_tokens')) if busy else previous.get('prompt_tokens') + cached=number(row.get('reused')) if busy else previous.get('prompt_cached') + generated=number(row.get('generated')) if busy else previous.get('decoded_tokens') + context=number(row.get('ctx_used')) + if not busy and isinstance(held,list) and identdict[str,Any]: + for _ in range(3): + epoch=getattr(svc.engine,'gen',0) + version,_,_=svc.deck_counters.snapshot(epoch);raw,_queue=svc.slot_table();counts=svc.slot_stats();after,metrics,last=svc.deck_counters.snapshot(epoch) + if version==after and epoch==getattr(svc.engine,'gen',0):break + else:return dict(schema_version=1,available=False,phase='unknown',slots=[],metrics={},sampled_at=time.time()) + slots=[s for row in raw if (s:=slot(row,last,getattr(svc.engine,'slot_held',None))) is not None] + generating=[s for s in slots if s['processing'] and s['state']=='decoding'];reading=[s for s in slots if s['processing'] and s['state']=='prefill'] + phase='generating' if generating else 'reading' if reading else 'idle' if svc.loaded() else 'unloaded' + generation=sum(s['generation_rate'] for s in generating) if generating and all(s['generation_rate'] is not None for s in generating) else 0 if not generating else None + prefill=number(getattr(svc.engine,'prefill_tok_s_mean',None)) if reading else 0 + metrics.update(requests_processing=number(counts.get('active')),requests_deferred=number(counts.get('queue_depth')),predicted_tokens_seconds=generation,prompt_tokens_seconds=prefill) + # Include known in-flight output, but never guess cache/prompt work in progress. + if metrics['tokens_predicted_total'] is not None:metrics['tokens_predicted_total']+=sum(s['decoded_tokens'] or 0 for s in slots if s['processing']) + return dict(schema_version=1,available=True,sampled_at=time.time(),epoch=epoch,backend='basalt',phase=phase,slots=slots,metrics=metrics,counter_scope='model_process; completed work plus live output',rate_scope='backend rolling decode / engine-reported prefill mean') diff --git a/basalt_worker.py b/basalt_worker.py new file mode 100644 index 0000000..c138d7f --- /dev/null +++ b/basalt_worker.py @@ -0,0 +1,110 @@ +"""Deck-owned Basalt loopback worker; only selected GPU and own process group.""" +import json +import os +from pathlib import Path +import secrets +import socket +import subprocess +import time +import urllib.request +from typing import Any +import cpu_partition +from basalt_runtime import validate_model,validate_projector +from image_test import probe +from inference import InferenceError,MemoryAdmissionError +from strata_worker import StrataWorker + + +def compute_capabilities(): + result=subprocess.run(['nvidia-smi','--query-gpu=uuid,compute_cap','--format=csv,noheader'],capture_output=True,text=True,check=True,timeout=5) + return {uuid.strip():cap.strip() for uuid,cap in (line.split(',') for line in result.stdout.splitlines())} + +class BasaltWorker(StrataWorker): + # Reuse only owned-process lifecycle/connect/stop and initialization, not Strata + # model planning, command-line generation or its model preparation recipe. + def blockers(self,p): + try: + if not self.runtime.status()['installed']:raise ValueError('Basalt-Laufzeit fehlt. Unter Laufzeiten → Basalt installieren.') + self.runtime.prepared(self.catalog.entry(p['model_id'])) + if p['parameters'].get('vision_projector'): + validate_projector(self.catalog.entry(p['parameters']['vision_projector'])) + if not self.runtime.status().get('vision'):raise ValueError('Basalt-Vision-Sidecar für SM86/SM120 fehlt.') + return [] + except ValueError as exc:return [str(exc)] + def status(self): + with self.lock: + if self.process and self.process.poll() is not None:self.state='failed';self.error='Basalt-Prozess beendet. Eigenes Worker-Protokoll prüfen; OOM nicht ohne Nachweis behaupten.' + return dict(runtime='basalt',state=self.state,profile_id=self.profile['id'] if self.profile else None,profile_name=self.profile['name'] if self.profile else None,port=self.port,error=self.error,gpus=self.devices,memory_plan=self.memory_plan,phase=self.phase,cpu_allowed=self.cpu_layout['strata'] if self.cpu_layout else None) + def plan(self,p,cancel=lambda:False): + errors=self.blockers(p) + if errors:raise InferenceError('; '.join(errors)) + params=p['parameters'];ids=params['gpu_devices'] + if len(ids)!=1:raise InferenceError('Basalt benötigt genau eine explizite SM120-GPU.') + devices=probe();selected:Any=next((g for g in devices if g['uuid']==ids[0]),None) + if not selected or compute_capabilities().get(ids[0])!='12.0':raise InferenceError('Ausgewählte GPU ist nicht als SM120 verfügbar. RTX 3060 wird nicht unterstützt.') + reserve=params['gpu_reserve_mib'].get(ids[0],700) if params['gpu_reserve_mode']=='manual' else 700 + if type(selected.get('processes')) is not int:raise InferenceError('GPU-Prozessbelegung unbekannt; Basalt wird nicht gestartet.') + if selected['processes']>0 or selected['free_mib']Gemeinsamer Pool: ${deNum(pool.free)} Token frei`:''; - return `
Slot ${s.id??'–'} · ${state}${s.speculative==null?'nicht verfügbar':s.speculative?'MTP aktiv':'Standard'}
${capacity}${p.toFixed(1)} %
${shared?`
${shared}
`:''}
${metric(deNum(s.prompt_tokens),'Prompt')}${metric(deNum(s.prompt_cached),'Cache-Token')}${metric(deNum(s.decoded_tokens),'generiert')}${metric(deNum(s.remaining_generation),'Ausgabe übrig')}${metric(s.task_id??'–','Task-ID')}${metric(s.temperature??'–','Temperatur')}${metric(boolLabel(s.stream),'Streaming')}${metric(deNum(s.max_tokens),'Ausgabelimit')}
`; + return `
Slot ${s.id??'–'} · ${state}${s.speculative==null?'nicht verfügbar':s.speculative?'MTP aktiv':'Standard'}
${capacity}${contextKnown?p.toFixed(1)+' %':'–'}
${shared?`
${shared}
`:''}
${metric(deNum(s.prompt_tokens),'Prompt')}${metric(deNum(s.prompt_cached),'Cache-Token')}${metric(deNum(s.decoded_tokens),'generiert')}${metric(deNum(s.remaining_generation),'Ausgabe übrig')}${metric(s.task_id??'–','Task-ID')}${metric(s.temperature??'–','Temperatur')}${metric(boolLabel(s.stream),'Streaming')}${metric(deNum(s.max_tokens),'Ausgabelimit')}
`; } async function refreshFull(){ try{ let response=await fetch('/api/v1/dashboard',{cache:'no-store'}); if(!response.ok) return; let d=await response.json(),rt=d.router||{},lt=rt.llama_telemetry||{},met=lt.metrics||{},props=lt.props||{},lr=d.llama_runtime||{},cpu=d.cpu||{},net=cpu.network||{}; - const runtimeKey=[lr.backend||'llama',lr.pid||'',rt.current_profile||''].join(':'); - if(runtimeKey!==liveRateRuntime){for(const state of Object.values(liveRateState)){state.tokens=null;state.seconds=null;state.value=null;state.seen=0;}liveRateRuntime=runtimeKey;} - let running=Number(met.requests_processing??(rt.qwen||{}).active_chats??0),waiting=Number(met.requests_deferred||0),active=running>0; + const runtimeKey=[lr.backend||'llama',lr.pid||'',lt.epoch??'',rt.current_profile||''].join(':'); + if(runtimeKey!==liveRateRuntime||lt.available===false){for(const state of Object.values(liveRateState)){state.tokens=null;state.seconds=null;state.value=null;state.seen=0;}liveRateRuntime=runtimeKey;} + const knownCount=v=>typeof v==='number'&&Number.isFinite(v)&&v>=0?v:null; + let running=knownCount(met.requests_processing??(lt.backend==='basalt'?null:(rt.qwen||{}).active_chats)),waiting=knownCount(met.requests_deferred??(lt.backend==='basalt'?null:(rt.qwen||{}).waiting_chats)),active=running!=null&&running>0; let gen=stableLiveRate('generation',met.tokens_predicted_total,met.tokens_predicted_seconds_total,met.predicted_tokens_seconds,active); let prompt=stableLiveRate('prompt',met.prompt_tokens_total,met.prompt_seconds_total,met.prompt_tokens_seconds,active); $('generationRate').textContent=gen.text; let genAvg=met.tokens_predicted_seconds_total?met.tokens_predicted_total/met.tokens_predicted_seconds_total:null; - $('generationSub').textContent=active&&!gen.fresh?'Anfrage läuft · letzter Messwert':(genAvg==null?`Aktuelle ${lt.backend==='strata'?'Strata':'llama.cpp'}-Messung`:`Gesamtdurchschnitt ${deNum(genAvg)} tok/s`); + $('generationSub').textContent=active&&!gen.fresh?'Anfrage läuft · letzter Messwert':(genAvg==null?`Aktuelle ${lt.backend==='basalt'?'Basalt · rollierendes Backend-Fenster':lt.backend==='strata'?'Strata':'llama.cpp'}-Messung`:`Gesamtdurchschnitt ${deNum(genAvg)} tok/s`); $('promptRate').textContent=prompt.text; let promptAvg=met.prompt_seconds_total?met.prompt_tokens_total/met.prompt_seconds_total:null; - $('promptSub').textContent=active&&!prompt.fresh?'Prompt wird verarbeitet · letzter Messwert':(promptAvg==null?`Aktuelle ${lt.backend==='strata'?'Strata':'llama.cpp'}-Messung`:`Gesamtdurchschnitt ${deNum(promptAvg)} tok/s`); - let cached=Number(met.prompt_tokens_cached_total||0),processed=Number(met.prompt_tokens_total||0),hit=(cached+processed)?cached/(cached+processed)*100:null; - if(lt.backend==='strata'&<.phase==='reading'){$('generationRate').textContent='–';$('generationSub').textContent='Prompt wird eingelesen';} + $('promptSub').textContent=active&&!prompt.fresh?'Prompt wird verarbeitet · letzter Messwert':(promptAvg==null?`Aktuelle ${lt.backend==='basalt'?'Basalt · Engine-Prefill-Mittel':lt.backend==='strata'?'Strata':'llama.cpp'}-Messung`:`Gesamtdurchschnitt ${deNum(promptAvg)} tok/s`); + let cached=knownCount(met.prompt_tokens_cached_total),processed=knownCount(met.prompt_tokens_total),hit=cached!=null&&processed!=null&&(cached+processed)>0?cached/(cached+processed)*100:null; + if(['strata','basalt'].includes(lt.backend)&<.phase==='reading'){$('generationRate').textContent='–';$('generationSub').textContent='Prompt wird eingelesen';} + if(lt.backend==='basalt'&<.available){ + if(!(lt.slots||[]).some(s=>s.processing&&s.state==='prefill')){$('promptRate').textContent=met.prompt_tokens_seconds===0?'0 tok/s':'–';$('promptSub').textContent='Kein Prompt wird eingelesen';} + if(!(lt.slots||[]).some(s=>s.processing&&s.state==='decoding')){$('generationRate').textContent=met.predicted_tokens_seconds===0?'0 tok/s':'–';$('generationSub').textContent='Keine laufende Generierung';} + } $('cacheHit').textContent=hit==null?'–':`${hit.toFixed(1)} %`;$('cacheBar').style.width=`${hit||0}%`; $('cacheSub').textContent=hit==null?'Keine Cache-Metrik':`${deNum(cached)} wiederverwendet · ${deNum(processed)} neu`; - $('requestState').textContent=`${running} aktiv · ${waiting} wartet`; - $('requestSub').textContent=`${(lt.slots||[]).filter(s=>!s.processing).length} freie Slots`; + $('requestState').textContent=`${running??'–'} aktiv · ${waiting??'–'} wartet`; + $('requestSub').textContent=lt.available?`${(lt.slots||[]).filter(s=>s.processing===false).length} freie Slots`:'Slotbelegung nicht gemeldet'; let slots=lt.slots||[],slotPool=sharedSlotPool(slots,lr.kv_unified===true); $('slotCards').innerHTML=slots.map(s=>slotHtml(s,slotPool)).join('')||'
Slot-Telemetrie momentan nicht verfügbar
'; applyDashboardStyles(); let drafted=met.spec_decode_num_draft_tokens_total??null,accepted=met.spec_decode_num_accepted_tokens_total??null,acceptance=drafted>0&&accepted!=null?accepted/drafted*100:null; $('mtpAcceptance').textContent=acceptance==null?'–':`${acceptance.toFixed(1)} % akzeptiert`;$('mtpBar').style.width=`${acceptance||0}%`; - $('mtpDrafted').textContent=deNum(drafted);$('mtpAccepted').textContent=deNum(accepted);$('mtpSteps').textContent=deNum(met.spec_decode_num_drafts_total);$('mtpDepth').textContent=lr.mtp_draft_tokens??'–'; - $('counters').innerHTML=metric(deNum(met.prompt_tokens_total),'Prompt neu')+metric(deNum(met.prompt_tokens_cached_total),'Prompt aus Cache')+metric(deNum(met.tokens_predicted_total),'generierte Token')+metric(deNum(met.n_decode_total),'Decode-Aufrufe')+metric(deNum(met.n_tokens_max),'größte Sequenz')+metric(deNum(met.n_busy_slots_per_decode),'Slots je Decode'); + $('mtpDrafted').textContent=deNum(drafted);$('mtpAccepted').textContent=deNum(accepted);$('mtpSteps').textContent=deNum(met.spec_decode_num_drafts_total);$('mtpDepth').textContent=lt.backend==='basalt'?deNum(met.mtp_mean_window_tokens):lr.mtp_draft_tokens??'–'; + $('mtpDepth').nextElementSibling.textContent=lt.backend==='basalt'?'mittlere Fensterlänge':'Draft-Tiefe';$('mtpSteps').nextElementSibling.textContent=lt.backend==='basalt'?'Ausgabefenster':'Prüfschritte'; + $('counters').innerHTML=metric(deNum(met.prompt_tokens_total),'Prompt neu')+metric(deNum(met.prompt_tokens_cached_total),'Prompt aus Cache')+metric(deNum(met.tokens_predicted_total),'generierte Token')+metric(deNum(lt.backend==='basalt'?met.requests_completed_total:met.n_decode_total),lt.backend==='basalt'?'abgeschlossene Anfragen':'Decode-Aufrufe')+metric(deNum(met.n_tokens_max),'größte Sequenz')+metric(deNum(lt.backend==='basalt'?met.requests_processing:met.n_busy_slots_per_decode),lt.backend==='basalt'?'aktuell belegte Slots':'Slots je Decode'); let modalities=Object.entries(props.modalities||{}).filter(([,v])=>v).map(([k])=>k).join(', ')||'–'; $('modelDetails').innerHTML=metric(props.model_ftype||'–','Quantisierung')+metric(props.total_slots??lr.parallel??'–','Slots')+metric(modalities,'Modalitäten')+metric(deNum(props.default_context||lr.context_size),'Kontext')+metric(props.model_alias||lr.alias||'–','Alias')+metric(lr.reasoning_budget?.enabled?['low','medium','high'].map(k=>`${k}: ${lr.reasoning_budget.limits[k]??'unbegrenzt'}`).join(' · '):'unbegrenzt','Globales Denkbudget'); $('profiles').innerHTML=Object.entries(rt.profiles||{}).map(([name,ctx])=>`
${esc(name)}${Number(ctx).toLocaleString('de-DE')} Token${name===rt.current_profile?' · aktiv':''}
`).join('')||'
Keine Profile gemeldet
'; diff --git a/dashboard_data.py b/dashboard_data.py index b99d97e..8d4a424 100644 --- a/dashboard_data.py +++ b/dashboard_data.py @@ -19,6 +19,7 @@ METRICS = { 'spec_decode_num_accepted_tokens_total', 'spec_decode_num_drafts_total', 'prompt_tokens_seconds', 'predicted_tokens_seconds', 'requests_processing', 'requests_deferred', 'n_busy_slots_per_decode', + 'requests_completed_total', 'mtp_mean_window_tokens', } @@ -202,9 +203,41 @@ class Dashboard: result = dict(available=False, slots=[], metrics={}, props={},backend=backend,phase=None) if not ready: return result - for path, key, parse in (('/slots', 'slots', lambda raw: slot_data(json.loads(raw))), + if backend=='basalt': + from basalt_telemetry import number,slot,public_slot + try: + data=json.loads(self._read_worker('/telemetry')) + if data.get('schema_version')!=1 or data.get('backend')!='basalt' or data.get('available') is not True:raise ValueError('Unknown Basalt telemetry') + rows=data.get('slots') + if not isinstance(rows,list) or len(rows)>16:raise ValueError('Invalid Basalt slots') + result['slots']=[clean for row in rows if (clean:=public_slot(row)) is not None] + result['metrics']={k:number(v) for k,v in (data.get('metrics') or {}).items() if k in METRICS} + result['phase']=data.get('phase') if data.get('phase') in ('idle','reading','generating','unloaded','unknown') else 'unknown' + result['epoch']=number(data.get('epoch'));result['available']=True + except (OSError,ValueError,TypeError,KeyError,AttributeError,http.client.HTTPException): + # Older Basalt workers still expose safe native slot rows. Do + # not fall back to /metrics or invent missing lifetime counters. + try: + rows=json.loads(self._read_worker('/slots')) + result['slots']=[s for row in rows if (s:=slot(row,{})) is not None] + result['phase']='generating' if any(s['state']=='decoding' for s in result['slots']) else 'reading' if any(s['state']=='prefill' for s in result['slots']) else 'unknown' if any(s['processing'] for s in result['slots']) else 'idle' + result['available']=bool(result['slots']) + if result['available']: + decoding=[s for s in result['slots'] if s['processing'] and s['state']=='decoding'] + unknown=any(s['processing'] and s['state']=='unknown' for s in result['slots']) + result['metrics']=dict(requests_processing=sum(s['processing'] for s in result['slots']),predicted_tokens_seconds=sum(s['generation_rate'] for s in decoding) if not unknown and all(s['generation_rate'] is not None for s in decoding) else None,prompt_tokens_seconds=None if unknown or any(s['processing'] and s['state']=='prefill' for s in result['slots']) else 0) + except (OSError,ValueError,TypeError,KeyError,AttributeError,http.client.HTTPException):pass + try: + props=json.loads(self._read_worker('/props'));result['props']=dict(total_slots=props.get('total_slots'),model_alias=props.get('model_alias'),model_ftype=props.get('model_ftype'),modalities=props.get('modalities') or {},default_context=(props.get('default_generation_settings') or {}).get('n_ctx')) + except (OSError,ValueError,TypeError,KeyError,AttributeError,http.client.HTTPException):pass + return result + paths=[('/slots', 'slots', lambda raw: slot_data(json.loads(raw))),('/props', 'props', lambda raw: json.loads(raw))] + # Basalt's /metrics is JSON request history, not content-free Prometheus. + # Do not read it or pretend it supplies llama.cpp cumulative/live rates. + if backend!='basalt':paths.append( ('/metrics/prometheus' if backend=='strata' else '/metrics', 'metrics', lambda raw: metrics(raw.decode('utf-8', 'replace'))), - ('/props', 'props', lambda raw: json.loads(raw))): + ) + for path,key,parse in paths: try: data = parse(self._read_worker(path)) if key == 'props': @@ -228,6 +261,7 @@ class Dashboard: # The /slots response has no private payload, but lacks decode/cache counters. original=[dict(id=x['id'],n_ctx=x['n_ctx'],n_prompt_tokens=x['prompt_tokens'],is_processing=x['processing']) for x in result['slots']] result['slots']=strata_slots(original,live,last) + result['available'] = bool(result['slots'] or result['metrics']) return result @@ -240,6 +274,13 @@ class Dashboard: prefill_tok_s=None, active_slots=None, attribution='unavailable') if worker.get('state') != 'ready': return result + if backend=='basalt': + live=self.telemetry(True);m=live['metrics'];result['phase']=live['phase'] or 'unknown' + result['generation_tok_s']=m.get('predicted_tokens_seconds') if result['phase']=='generating' else None + result['prefill_tok_s']=m.get('prompt_tokens_seconds') if result['phase']=='reading' else None + result['active_slots']=m.get('requests_processing') + if result['active_slots'] is None and live['available']:result['active_slots']=sum(s['processing'] for s in live['slots']) + return result if backend != 'strata': result['phase'] = 'unsupported' return result @@ -267,6 +308,9 @@ class Dashboard: scheduler = server.scheduler.status() ready = worker['state'] == 'ready' telemetry = self.telemetry(ready) + if telemetry.get('backend')=='basalt' and type(scheduler.get('waiting_requests')) is int: + waiting=telemetry['metrics'].get('requests_deferred') + if waiting is not None:telemetry['metrics']['requests_deferred']=waiting+scheduler['waiting_requests'] with server.worker.lock: profile = server.worker.profile if ready else None pid = server.worker.process.pid if ready and server.worker.process else None @@ -284,8 +328,8 @@ class Dashboard: kv_unified=True if ready else None, mtp_draft_tokens=params.get('mtp_draft_tokens'), reasoning_budget=params.get('reasoning_budget')) runtime['backend']=worker.get('runtime','llama') - if runtime['backend']=='strata': - runtime.update(cache_k='int8',cache_v='int8',prompt_cache=True,mtp_draft_tokens=4, + if runtime['backend'] in ('strata','basalt'): + runtime.update(cache_k='int8',cache_v='int8',prompt_cache=True,mtp_draft_tokens=4 if runtime['backend']=='strata' else None, flash_attention=None,kv_unified=False,batch_size=None,ubatch_size=None,threads=None,threads_batch=None) else: runtime.update(cache_k=params.get('cache_type_k','q4_0'),cache_v=params.get('cache_type_v','q4_0'), @@ -298,7 +342,7 @@ class Dashboard: profiles = {p['name']: p['parameters'].get('context') for p in server.profiles.status()['profiles'] if p['kind'] == 'chat'} router = dict(current_profile=profile_name or 'nicht geladen', switching='ja' if scheduler['switching'] else None, upstream=dict(model=model_file, ctx=params.get('context'), reachable=ready), - qwen=dict(available=ready, active_chats=scheduler['active_requests']), + qwen=dict(available=ready, active_chats=scheduler['active_requests'],waiting_chats=scheduler['waiting_requests']), llama_telemetry=telemetry, profiles=profiles, uptime_seconds=time.time()-server.started, image=dict(phase='running' if image_active else 'idle', model=image_model, diff --git a/deploy/BASALT_NATIVE.md b/deploy/BASALT_NATIVE.md new file mode 100644 index 0000000..342e3dd --- /dev/null +++ b/deploy/BASALT_NATIVE.md @@ -0,0 +1,176 @@ +# Basalt: native Laufzeit und Deck-Anbindung + +## Umfang und Abnahmestand + +### Inhaltsfreie Dashboard-/Pulse-Anbindung + +Der gepflegte Deck-Launcher `basalt_serve.py` startet den fest gepinnten +Upstream-Server mit unverändertem Modell-/Engine-Aufruf. Er ergänzt ausschließlich +einen durch dieselbe Upstream-Authentifizierung geschützten Loopback-Pfad +`/telemetry`. `basalt_telemetry.py` projiziert numerische Slotfelder und zählt +abgeschlossene Anfragen unabhängig vom begrenzten Upstream-Verlauf. Weder +`/metrics` noch `/status` mit Request-/Antwortverlauf werden dafür abgefragt. +Keine Änderungen am Upstream-Checkout, kein zusätzlicher Dienst oder Compilerlauf. + +Beide Dateien gehören neben `basalt_worker.py` in den nativen App-Checkout und +die Installer-Allowlist. Das Rezept bleibt an den unten genannten Source-Pin +gebunden. Die Zähler setzen bei einem neuen Engine-Prozess (`engine.gen`) zurück; +sie sind flüchtige Modellstart-Zähler, nicht private Restore-Nutzdaten. Bestehende +Dashboard-Historie bleibt in ihrer bisherigen Datenbank erhalten. + +Dashboard und `/v1/telemetry/speed` verwenden dieselbe numerische Projektion. +Die öffentliche Pulse-Schnittstelle bleibt `schema_version=1`, `scope=backend`, +ohne Zuordnung zu einem einzelnen Chat. Das vorhandene Pulse-Plugin benötigt +keine neue Zugangskonfiguration oder Mac-App-Änderung. Unbekannte Werte bleiben +`null`, nicht Nullmessungen. Generation: Summe der rollierenden Slotraten; +Einlesen: vom Engine gemeldetes Prefill-Mittel; Cache/MTP: berichtete Zähler. +Ausgabefenster und deren mittlere Länge werden ausdrücklich nicht als feste +Draft-Konfiguration oder hardwareseitige Decode-Aufrufe ausgegeben. + +Die neue Anbindung ist erst nach separatem Aktivierungs-Go und einer echten +Dual-Slot-/Queue-/Cache-/MTP-Abnahme produktiv bestätigt. Für Update/Rückfall +App-Stand und Launcher zusammen umstellen, regulär drainieren und Modell neu +laden. Keine Profile, Gewichtedateien, GPU-Aufteilung oder privaten Daten ändern. + +Die Deck-Anbindung ist zunächst **text-only**, parallel zur vorhandenen +Strata-/llama.cpp-Auswahl im Produkt, nicht gleichzeitig auf derselben GPU. +Sie ändert weder vorhandene Profile/API-Freigaben noch TTS, STT oder Projektoren. +Ein Software-Checkout oder bestandener Offline-Test aktiviert kein Modell. +Die produktive Aktivierung erfordert ein eigenes Go und einen nachgewiesenen +Drain aktiver **und wartender** Aufträge. Fehlende Zähler bedeuten nicht Leerlauf. + +Die Integration nutzt die bereits separat modellgetestete Basalt-Version. +Die neue native Installationsroutine und die Deck-Worker-Anbindung wurden noch +nicht zusammen auf einem frischen Debian mit echter Inferenz abgenommen. +Auch eine vollständige verschlüsselte Fresh-Host-Wiederherstellung ist offen. +Die frühere Kandidatenabnahme ist kein Ersatz dafür. + +## Feste Quellen + +Einzige Rezeptquelle im Code: `basalt_sources.json`. + +- Upstream: +- Commit: `9175e7a3211bda355c02e804c7c107b15b8ea89f`, Version 0.1.0. +- CUDA Toolkit 13.0 aus `deploy/strata-cuda13.lock.json`, eigene Installation + in der Basalt-Wurzel. Keine Abhängigkeit von Stratas Toolkit oder einer + anderen Container-Python-Umgebung; kein Treiberupdate. +- Native Architektur SM120; die RTX 3060/SM86 wird nicht unterstützt. +- Öffentliches Modell: `jesdga/Qwen3.8-Flash-Next-Basalt`, feste Revision + `c0e57437ea564aa85263ab0bc0ee83568dd53213`, + `Qwen3.8-FN-GSQ-RCO-IQ3_XXS.basalt`, 79867643037 Bytes. +- SHA-256: `d02bb1b188bbc9ed6bc88ce5e89c7c2d64247290c7bae70fbb9d9d17fe65ed71`. + Qwen Community License 1.0 vor Bezug/Nutzung prüfen. Nicht durch einen + ähnlich benannten GGUF-Download oder ein neueres Hub-HEAD ersetzen. + +## Frisches Debian / Dienstkonto + +Der zukünftige native Deck-Basisinstaller bleibt eine separate, noch offene +Gesamtabnahme. Vor Basalt müssen für das festgelegte unprivilegierte Deck- +Dienstkonto explizit vorhanden sein: + +1. Unterstütztes Debian x86-64, AVX2/FMA, Python 3.11 oder neuer mit `venv` + und pip, `git`, `g++`, Standard-C/C++-Buildumgebung und TLS-CA-Zertifikate. + Das Rezept verwendet CMake 3.31.6 und Ninja 1.11.1.4 in einer eigenen venv. + Die Python-Serverabhängigkeiten sind im festen Upstream-Commit gepinnt; + der tatsächlich aufgelöste Bestand wird als `python-lock.txt` gespeichert. +2. Passender NVIDIA-Treiber und `nvidia-smi`, Zugriff auf die ausgewählte + SM120-GPU sowie die notwendigen `/dev/nvidia*`-Geräte. Treiberinstallation + und eventueller Host-Neustart erfolgen nicht automatisch durch Basalt. +3. Explizite Deck-Zustandswurzel (`state_dir` des Servers), passende Besitzer- + und Schreibrechte, GPU-UUID und Dienst-Speichergrenzen. Nicht aus einem + existierenden Container ableiten. Netzwerkzugriff auf GitHub, PyPI und + NVIDIA für den Build sowie Hugging Face für das öffentliche Modell. +4. Genügend RAM für die residenten Experten, KV-Auslagerung und unverändert + betriebene Zusatzworker. Der GPU-Cache ist automatisch; eine große + Kontextkonfiguration ist keine Zusage für verfügbare Host-/cgroup-Ressourcen. +5. Genügend Platz für eigenes Toolkit, Build, venv und das Modellpaket; + der Modellkatalog behält zusätzlich 10 GiB freie Reserve. Der tatsächliche + Spitzenbedarf des neuen nativen Gesamtbuilds ist noch nicht vermessen. + +Als Dienstkonto aus dem Checkout aufrufen, ohne Docker, sudo oder systemctl: + +```sh +python3 deploy/install_basalt.py --destination /ABSOLUTE/DECK_STATE/basalt-runtime +``` + +Optional `--nvcc /ABSOLUTE/CUDA13/bin/nvcc` für ein ausdrücklich bereitgestelltes +Toolkit 13.0. Der verwaltete Standard bezieht ein privates Toolkit. Ein externer +Toolkit-Pfad muss vor einer produktiven Nutzung einschließlich seiner +Laufzeitbibliotheken dokumentiert werden; ein erfolgreiches Build allein +qualifiziert keinen externen Bibliothekspfad für den Worker. + +Der Build bindet keine GPU ein und startet kein Modell. Er baut nur `basalt`, +prüft CLI-Hilfe und pip-Abhängigkeiten und schreibt erst danach `ready.json`. +`source/`, `build/`, `venv/`, `cuda/`, `home/`, `tmp/` und `cache/` gehören der +Basalt-Wurzel. Abbruch beendet nur die eigene Prozessgruppe. + +## Speicherort und Modellkatalog + +Der neue Downloadweg verwendet den normalen, konfigurierten Deck-Modellkatalog. +Die feste Quelle, Größe und SHA-256 werden vor dem Einreihen geprüft; der +Download prüft die gesamte Datei. Das Paket enthält Tokenizer und MTP und +benötigt keine separate Strata-Paketvorbereitung oder GGUF-Shard-Zuordnung. + +**Athena-spezifische Aktivierungssperre:** Der vorhandene getestete Kandidat +liegt auf der Samsung 980 PRO unter +`/opt/athena-deck-dev/basalt-candidate-9175e7a3211b/models/`. +`/data` liegt dagegen auf der WD Blue SN580. Der Kandidat wird von dieser +Codeänderung weder verschoben noch importiert, gelöscht oder erneut geladen. +Vor der Aktivierung den tatsächlichen Modellkatalog-Mount prüfen und einen +verwalteten Speicher-/Importweg auf der gewünschten Samsung ausdrücklich +festlegen. Nicht stillschweigend einen zweiten Download auf `/data` starten +oder den entfernbaren Kandidaten zu einer versteckten Dauerabhängigkeit machen. +Die konkrete Übernahme des vorhandenen Pakets ist noch offen. + +## Bedienung, Betrieb und Ressourcen + +- **Laufzeiten → Basalt:** Installationsstatus, separater nativer Build, + Abbruch und Download des festen Modellpakets. Keine automatischen Updates. +- **Chatprofil:** Laufzeit `basalt`, genau eine explizite SM120-GPU-UUID, + ein oder zwei Slots, 512 bis 262144 Kontexttokens **pro Slot**. +- GPU-Reserve automatisch 700 MiB, manuell mindestens 700 MiB. Kein + Mehrkarten-Split, SSD/mmap-Modus oder Vision-Projektor in dieser Anbindung. + llama.cpp-/Strata-Tuningfelder sind keine Basalt-Tuningregler. +- Experten RAM-resident; KV int8; automatischer Expert-/Prefill-Cache; MTP + gemäß Modellpaket. Keine ungeprüfte Übernahme von Strata-Batch-/MTP-Flags. +- Der Worker prüft die tatsächlich ausgewählte GPU/Compute Capability und + ihre Prozesse/Belegung. Er beendet keine fremden GPU-Prozesse. Die 3060 + wird weder ausgewählt noch pauschal freigeräumt. +- Eigener Loopback-Port mit zufälligem internem Schlüssel, eigener + Prozessgruppe, Temp-/Home-/Cache-Wurzel und vorhandener CPU-Partition für + Chat. Der öffentliche Deck-Endpunkt, Authentifizierung und FIFO-Scheduler + bleiben gemeinsam. Embeddings verwenden weiterhin llama.cpp. +- Bereit erst nach bestätigtem geladenem Modell, tatsächlicher Slotzahl + und Kontext pro Slot. Der Scheduler drainiert vor Laufzeitwechseln; + eine Modellumschaltung ist keine Unterbrechung laufender Antworten. +- Das Dashboard verwendet nur inhaltsfreie `/slots`-/`/props`-Metadaten. + Basalts JSON-`/metrics` enthält Request-Historie und wird nicht eingesammelt. + Kontinuierliche zentrale Live-/Summen-Tokenraten sind damit noch nicht + angebunden; fehlende Werte werden nicht erfunden. Der bestehende Testchat + kann weiter die tatsächlich gelieferten Antworttimings auswerten. + +## Backup, Restore, Update und Rückfall + +Das verschlüsselte Konfigurationsbackup enthält Profile, Presets, API-IDs, +Freigaben, Modellquelle/Größe/SHA und Basalt-Installationsabsicht mit Code-Pin. +Es enthält weder Modellgewichte noch venv/CUDA-/Build-Artefakte. Restore prüft +Versionen und Modellidentitäten, bezieht öffentliche Gewichte aus der festen +Quelle und rekonstruiert eine angeforderte Basalt-Laufzeit nativ. Es startet +nicht selbstständig ein Basalt-Testmodell. Private Daten und sonstige +Anwendungen gehören unverändert in die vollständige verschlüsselte Sicherung; +Schlüssel getrennt verwahren, keine Geheimnisse in Git. + +Nach Restore Mounts, Dienstkonto, GPU-UUID und Gerätezugriff explizit prüfen; +absolute alte Hostpfade sind keine Wiederherstellungsanleitung. Bestehende +Backups ohne Basalt-Feld bleiben gültig. Fremde Basalt-Code-Pins werden als +Hindernis ausgewiesen, nicht automatisch aktualisiert. + +Updates benötigen ein neues geprüftes Rezept und eigene Build-/Modellabnahme. +Die Installationsroutine überschreibt keine abweichenden oder geänderten +Quellstände. Das heutige Rezept ist kein automatischer In-place-Updater. + +Rückfall: altes Strata-Profil und dessen Modellpaket beibehalten. Nach neuem +Go und nachgewiesenem Drain auf dieses Profil zurückschalten. Deck-Code- +Aktivierung/-Rückfall kann einen Deck/API-Neustart benötigen und ist getrennt +freizugeben. Keine Host-, Container-, Gateway- oder Treiberneustarts durch +den Basalt-Installer. diff --git a/deploy/QWEN_ANNA_EXISTING_GPU.md b/deploy/QWEN_ANNA_EXISTING_GPU.md new file mode 100644 index 0000000..d368a70 --- /dev/null +++ b/deploy/QWEN_ANNA_EXISTING_GPU.md @@ -0,0 +1,76 @@ +# Anna auf vorhandener Qwen-GPU-Laufzeit + +Verwendet die bereits eingerichtete `tts-runtime`, Qwen3-TTS-12Hz-1.7B-Base +(`fd4b254389122332181a7c3db7f27e918eec64e3`), faster-qwen3-tts 0.3.0 und die +vorhandenen CUDA-/PyTorch-Abhängigkeiten aus `deploy/tts-requirements.lock`. +Keine zusätzliche Laufzeit, keine neuen Gewichte, kein Training und kein Dienst. +Nicht mit dem getrennten 0.6B-Q8-GGUF-CPU-Profil verwechseln. + +## Profil und private Stimme + +Ein Audio-Profil auf dem vorhandenen Base-Katalogeintrag erhält +`parameters={"speed":1,"tts_voice":"Anna"}`. Die bestehende GPU-Zulassung des +TTS-Workers wählt ausschließlich die RTX 3060 nach tatsächlichem freien VRAM; +Vision darf die Karte mitbenutzen. Es wird dafür kein Chatmodell entladen. +Die API verwendet die Profilstimme bei fehlendem `voice` oder `voice=default`. +Explizit gewählte andere Preset-Stimmen bleiben möglich. + +Die private Datei `/speech-voices/Anna/reference.wav` wird ausschließlich +lokal mit dem schon vorhandenen Speaker-Encoder in einen x-vector-only- +VoiceClonePrompt übernommen. Keine Referenz, Audioinhalte oder Embeddings in Git. +`Ono_Anna` bleibt unverändert und ist ausdrücklich nicht unsere Anna. +Symlinks und fehlende Referenzen werden für Anna abgelehnt. + +## Gemeinsame Nutzung im Stimmatelier (aktiviert, Atelier-GPU-Abnahme offen) + +Das separate Profil `Qwen1.7B Stimmklonen` verwendet im neuen Stand dieselbe +persistente Qwen-Base-Instanz wie Anna. Eine explizite Auswahl im Atelier hält +einen bereits geladenen Owner resident, ohne ihn neu zu laden, den Endpunkt zu +ändern oder in den exklusiven Stimmenmodus zu wechseln. Neue Referenzen sind +auftragsspezifisch; Annas Preset und private Standardreferenz bleiben getrennt. +Beide Auftragsarten benutzen die gemeinsame TTS-Zulassung. Es werden keine +zweiten Modellgewichte in den VRAM geladen; zusätzliche Referenz-/Arbeitspuffer +bleiben erforderlich und sind noch nicht auf der GPU vermessen. + +Keine neuen Runtime-Abhängigkeiten oder persistenten Schemafelder. Auswahl-Pin +ist flüchtiger Prozesszustand; ausdrücklich angefordertes Entladen und reguläre +exklusive Moduswechsel bleiben möglich. Update benötigt die zusammengehörigen +Deck-Module und die angepasste optionale Atelier-Oberfläche, mit gesondertem Go +und späterer echter GPU-Abnahme. Rückfall gemeinsam auf die vorherigen Module; +Profile, Gewichte und gespeicherte private Stimmen unverändert lassen. +Details: [Shared-Qwen-Rezept](../docs/maintenance/shared-qwen/README.md). + +## Native Aufbau-/Restore-Anforderungen + +### RAM-Zulassung: Kaltstart getrennt vom laufenden Betrieb + +Die pauschale 8-GiB-Prüfung in Vorladen und Sprachanfragen entfällt. Beide Wege +verwenden dieselbe Zulassungsfunktion. Kaltstart: tatsächliche Größe der lokalen +`model.safetensors` plus **1 GiB ausdrücklich gewählte Sicherheitsreserve** für +Lader, Interpreter und Schwankungen. Residenter Worker: **512 MiB Betriebsreserve** +für die begrenzte Audio-/Referenzverarbeitung, ohne erneutes Gewichtebudget. +Diese Reserven sind Deck-Policy, keine Herstelleranforderung und keine gemessenen +RSS-Minima. Fehlende Gewichte blockieren einen Kaltstart. Unbekannte +cgroup-Grenzen behalten das bisherige Zulassungsverhalten. + +Für die vorherige RAM-Korrektur blieben GPU-VRAM-Prüfung, Scheduler, Jobgrenzen +und Abbruchverhalten unverändert; die neue Atelier-Koordination ist oben separat +beschrieben. +Keine neue Laufzeit oder Profilmigration. Native Updates benötigen weiterhin +einen genehmigten Dienstneustart; Rückfall auf den vorherigen App-Stand ohne +Änderungen privater Stimmen/Modelle. Echte API-Abnahme mit Kaltstart und residenter +Folgeanfrage separat durchführen; ein direkter Worker-Test prüft sie nicht. + +Python und GPU-Abhängigkeiten nach dem bestehenden TTS-Rezept und fester +Modellrevision einrichten, den Dienstbenutzer auf die explizite Zustandswurzel +berechtigen und geeigneten NVIDIA-Treiber samt RTX-3060-Gerätezugriff prüfen. +Die Runtime und Modelle sind nicht von einem weiteren Container abhängig. +Die private `speech-voices/Anna/reference.wav` muss aus der verschlüsselten +Nutzdatensicherung zurückkehren; sie wird nicht aus öffentlichen Quellen ersetzt. +Die vorhandene Vollsicherung berücksichtigt `speech-voices` bereits. +Profil und Presets erhalten `tts_voice` in der strikten Backup-Validierung. +Die native komplette Installer-/Frischhost-/Restore-Endabnahme bleibt offen. + +Aktivierung erfolgt erst im genehmigten Wartungsfenster nach regulärem Drain. +Altes App-Image und unveränderte Audio-/Endpoint-Einstellungen für den Rückfall +behalten. CPU-Qwen-Profile, Kikiri-Standard und sonstige Stimmen nicht umstellen. diff --git a/deploy/QWEN_ASR_GPU.md b/deploy/QWEN_ASR_GPU.md new file mode 100644 index 0000000..8c92ac5 --- /dev/null +++ b/deploy/QWEN_ASR_GPU.md @@ -0,0 +1,131 @@ +# Qwen3-ASR 0.6B Q8 auf einer expliziten GPU + +## Stand und Freigabegrenze + +**GPU-Umstellung und Protokollkorrektur aktiviert, API-Abnahme bestanden.** +Der erste GPU-Stand lieferte leeren Text. Das falsche Assistant-Präfix +`<|asr_text|>` ist im gesunden laufenden Image +`athena-deck-standalone:qwen-asr-protocol-fix` durch den Modellmarker +`` ersetzt. 81 relevante Tests und der isolierte vollständige +Serverkonstruktor bestehen. Nach regulärem authentifiziertem Drain erfolgte +die Aktivierung mit dem vorhandenen Go; alle geschützten Einstellungen blieben +unverändert. Das alte Aktivierungsskript nicht erneut über seinen vorhandenen +Datensatz ausführen und kein zweites Profil registrieren. + +Echte kurze API-Prüfung: Basalt wiederhergestellt und Antwort erhalten; Anna +lieferte 2,56 Sekunden Mono-WAV mit 24 kHz; Qwen-ASR erkannte exakt +`Der blaue Schlüssel liegt auf dem Tisch.` in 0,44688 Sekunden. GPU-Zuordnung +für ASR auf der RTX 3060 ist zusätzlich nachgewiesen. Kein Benchmark und noch +keine Mikrofon-/Hermes-/Mac-Client-Abnahme. Ein weiterer Neustart oder Modelltest +ist damit nicht pauschal genehmigt. Ablauf und Grenzen: +[`qwen-asr-protocol-fix.md`](../docs/maintenance/qwen-asr-protocol-fix.md). + +Der alte generische llama.cpp-Transkriptionspfad erzeugt den Text +`Transcribe audio to text (language: de)`. Die Kandidatenkorrektur sendet Qwen +stattdessen Audio ohne Aufgabenanweisung über die im festen Build unterstützte +Chat-Audio-Schnittstelle. Sprachpräfix per `continue_final_message` und +`add_generation_prompt=false`; das Präfix verwendet ``, der Parser +akzeptiert zusätzlich `<|asr_text|>`. Parakeets +Transkriptionsroute bleibt erhalten. Die erfolgreiche Audio-/GPU-Abnahme oben +beruht auf der echten API-Ausführung, nicht allein auf Unit-Tests. + +Die folgenden Vorbereitungsnotizen beschreiben die vorherige Freigabegrenze. + +**Nur vorbereitet, nicht eingespielt oder aktiviert.** Michael hat ausdrücklich +Vorbereitung ohne Neustart gewählt. Das laufende Deck und dessen Profile bleiben +unverändert: Parakeet Redux CPU veröffentlicht, Qwen-ASR-CPU nicht veröffentlicht. +Keine GPU-ASR-Inferenz, kein neues Modell, kein Download und kein Dienststart. +Die CUDA-Ausführung und das gemeinsame Spitzen-VRAM-Budget sind noch nicht +hardwareseitig abgenommen. + +## Fertige Profilvorlage + +`deploy/qwen-asr-3060-profile.json` ist der geprüfte Save-Payload für ein **neues, +separates** Profil, nicht ein stilles Überschreiben des vorhandenen CPU-Profils: + +- Name: **Qwen3 ASR 0.6B Q8 GPU 3060** +- API-ID: `qwen3-asr-3060` +- Gerät: `GPU-4834d9d7-5b61-3004-1fb3-4ae49d482d4b` (Athena RTX 3060) +- GPU-Zuordnung gilt für Decoder und Audio-Encoder; eine nicht verfügbare GPU + oder unzureichender Speicher führt zum Fehler, nicht zum CPU-Fallback. +- Speichern veröffentlicht kein Profil, ändert keine Audio-Vorladepräferenz + und lädt kein Modell. Die Vorlage ist mit dem **vorbereiteten neuen Code** + speicherbar; der laufende alte STT-Code akzeptiert diesen Parameter noch nicht. + +## Vorhandene Komponenten und native Reproduktion + +Modellquelle `ggml-org/Qwen3-ASR-0.6B-GGUF`, feste Revision +`928ab958557df9aa2ef1c93e0e83c7ad0933fae2`: + +| Datei | Bytes | SHA-256 laut bestehendem Katalog | +|---|---:|---| +| `Qwen3-ASR-0.6B-Q8_0.gguf` | 804749248 | `bca259818b50ca7c4c05e9bdb35a5dc04fa039653a6d6f3f0f331f96f6aa1971` | +| `mmproj-Qwen3-ASR-0.6B-Q8_0.gguf` | 214392480 | `41a342b5e4c514e968cb756de6cd1b7be39eff43c44c57a2ef5fc6522e36603d` | + +Kein anderes Modellformat und kein Python-ASR-Framework notwendig. Die vorhandene +verwaltete llama.cpp-Laufzeit meldet CUDA und Architekturen 86/120, Quellpin +`d81235049384534c167caea52b85a694f6103d14`, aktuelle Build-ID +`2691c00a7ec545168edaa0e01984e718`. Die verwendeten Flags wurden gegen deren +gepinnten offiziellen `common/arg.cpp` geprüft, ohne das Modell zu laden. + +Für natives Debian den eigenen llama.cpp-Build mit diesem Pin, CUDA-Unterstützung +und zur GPU passenden Architekturen über den vorhandenen Runtime-Buildpfad +bereitstellen; kompatibler NVIDIA-Treiber und CUDA-Toolkit sind explizite +Installationsvoraussetzungen. Kein Container liefert heimlich den STT-Worker. +FFmpeg wird weiterhin für die bestehende Audionormalisierung benötigt. Modell +und Projektor gehören in den regulären Katalog der konfigurierten Zustandswurzel, +Builds unter deren `runtime/`. Dienstbenutzer benötigen Leserechte auf diese +Dateien und Zugriff auf die ausgewählte NVIDIA-GPU. + +Der zukünftige vollständige native Debian-Installer und echte Fresh-Host-/Restore- +Endabnahme sind weiterhin offen, siehe `NATIVE_INSTALL_REQUIREMENTS.md`. Ein +funktionierender aktueller Container oder ein CPU-Fixture-Test ersetzt sie nicht. + +## Ausführung und Schutz + +`stt_device` ist standardmäßig `cpu`; alte Profile mit `{}` bleiben kompatibel. +Nur der gepinnte Qwen-ASR-Adapter akzeptiert eine strenge NVIDIA-GPU-UUID. +Parakeet bleibt ausdrücklich CPU. Gerätespeicherung, Editor, Presets und Backup- +Validierung verwenden denselben Parameter. + +GPU-Start: `CUDA_VISIBLE_DEVICES=`, innerhalb dieses Prozesses `CUDA0`, +`--n-gpu-layers 999`, `--device CUDA0`, `--main-gpu 0`, `--split-mode none`, +`--fit off`; `--no-mmproj-offload` ist nur beim CPU-Pfad gesetzt. Kontext 4096, +ein Slot, zwei CPU-Threads wie zuvor. Keine Änderung der global aktiven Laufzeit. + +Zulassungsregel vor kaltem GPU-Start: Modell-/Projektor-Dateigrößen plus 1 GiB +Arbeitspuffer und 512 MiB verbleibende Reserve. Das ist eine konservative +**Policy**, kein vermessener Mindestbedarf. Der bestehende RAM-Guard bleibt +unverändert. Keine fremden Prozesse und keine laufenden LLM-/TTS-Aufträge werden +für den Start beendet. CUDA-ASR wird im Scheduler separat gezählt, wartet auf +Ressourcen und ist außerhalb des LLM-Modus gesperrt. GPU-TTS und GPU-ASR rechnen +zunächst serialisiert; normale Chat-Leases können parallel weiterlaufen. + +Aktive ASR-Aufträge schützen vor GPU-Modell-/Moduswechseln. Erst danach darf ein +inaktiver eigener GPU-ASR-Prozess Platz für Bild-/Video-/Voice-/Musikbetrieb +machen. CPU-Parakeet wird davon nicht betroffen. Wechsel CPU/GPU berücksichtigt +auch die Residenz-/Warm-Prüfung; eine alte CPU-Instanz gilt nicht als GPU-Abnahme. + +## Späteres Einspielen und bewusste Aktivierung + +Die Änderungen betreffen `profiles.py`, `profiles-ui.js`, `backup.py`, `stt.py`, +`inference.py`, `server.py`, `audio_policy.py`, `video.py`, `video_comfy.py`. +Erst nach gesonderter Freigabe diesen Stand als zusammengehöriges App-Update +mit regulärem Drain einspielen. Das erfordert einen Deck/API-Neustart und +Wiederherstellung der vorher laufenden Dienste; die Profilfreigabe ist getrennt. + +Danach die Vorlage über den normalen Profil-Speicherweg bzw. den Geräteeditor +als neues Profil speichern, weiterhin ohne Endpunktfreigabe. Michael aktiviert +es selbst. Für eindeutiges Standard-STT zuvor Parakeet deaktivieren und genau +Qwen-GPU freigeben; zwei veröffentlichte STT-Profile machen generische Client- +Aliase unter Umständen mehrdeutig. Bis dahin Parakeet unverändert belassen. + +GPU-Nutzung nach einer erst dann freigegebenen kurzen Transkription anhand von +GPU-Prozessmetadaten und funktionalem Ergebnis prüfen. Dateigröße und Startflags +sind keine bestätigte VRAM-/Qualitäts-/Geschwindigkeitsmessung. Für Rückfall das +neue Profil deaktivieren und Parakeet wieder als einziges STT veröffentlichen; +vor einem Code-Rollback den neuen `stt_device`-Parameter entfernen bzw. das +separate neue Profil zurücknehmen. CPU-/GPU-Vorlagen und deren Presets sind im +bestehenden verschlüsselten Konfigurationsbackup berücksichtigt. Gewichte sind +öffentlich wiederbeschaffbar; private Aufnahmen/Transkripte werden nicht neu +persistiert oder in Git übernommen. diff --git a/deploy/STRATA_NATIVE.md b/deploy/STRATA_NATIVE.md index 866ccab..3d586c7 100644 --- a/deploy/STRATA_NATIVE.md +++ b/deploy/STRATA_NATIVE.md @@ -1,13 +1,26 @@ # Strata in Athena Deck -Strata Engine 0.1.52 (Release v0.2.7), Commit `5e8a4cca7d690ac60ca37eb09e7d0e010099ad6d`, ist eine +Strata Engine 0.1.55 (Release v0.2.9), Commit `c62d5e3a15b40ea51c96aae9e8d36928965f53ab`, 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 Athena-Endpunkt und dessen Zugangsschutz. Kein separater Strata-Container oder öffentlicher Strata-Port ist im Produkt erforderlich. -Am 28.10.2026 wurde v0.2.7 nach Michaels Go aktiviert und mit 37 Varianten sowie +Am 1.11.2026 wurde nach separatem Build und Michaels neuem Go die vollständige +aktive Strata-Quell-/Venv-/Buildinstallation durch v0.2.9 ersetzt; die alte +Installation wurde entfernt, keine zweite Altbuild-Sicherung angelegt. Qwen und +DeepSeek wurden für SM86/SM120, der Vision-Encoder für CPU gebaut. Das aktuelle +App-/Kikiri-/TTS-Image wurde nur um den neuen Quellenpin ergänzt. Gewichte, +Expertenpakete, gelerntes Expertenprofil, PLE, MTP, Projektor, privates CUDA-13- +Toolkit und geschützte Einstellungen bleiben erhalten. Neue Linux-Defaults +gelten nur, soweit keine expliziten Profil-/Umgebungswerte Vorrang haben. +Rezept und Restore müssen den oben genannten festen Pin verwenden. Die +beauftragte Modellabnahme ist auf einen Kandidaten und maximal 15 Minuten +beschränkt; kein Langzeit-, DeepSeek-, Bildinferenz- oder Vollrestore-Nachweis. +[Aktivierung, Kurzabnahme und Grenzen](../docs/maintenance/strata-029-staged-2026-11-01/README.md). + +Historisch: Am 28.10.2026 wurde v0.2.7 nach Michaels Go aktiviert und mit 37 Varianten sowie vertieften Referenz-/Pipeline-Tests geprüft. Das bisherige Qwen-Dual-Profil, TTS/STT und alle geschützten Einstellungen sind wiederhergestellt; die Pipeline-Empfehlung wurde zunächst nicht automatisch übernommen; nach separatem diff --git a/deploy/install.py b/deploy/install.py index 0815e0e..3733be7 100644 --- a/deploy/install.py +++ b/deploy/install.py @@ -23,6 +23,9 @@ FILES += sorted(str(p.relative_to(ROOT)) for folder in ('soulx-singer-web','soul FILES += ['xvc.py','xvc_runtime.py','xvc_sources.json','xvc-ui.js','deploy/xvc-requirements.lock','deploy/prepare_xvc.py'] FILES += ['cuda_overlay.py','remix.py','remix_runtime.py','remix_worker.py','remix_sources.json','clearvoice_worker.py','deploy/ladypoly/patch_remix.py'] FILES += ['cpu_partition.py'] +FILES += ['deploy/QWEN_ASR_GPU.md','deploy/qwen-asr-3060-profile.json'] +FILES += ['basalt_runtime.py','basalt_worker.py','basalt_sources.json','deploy/install_basalt.py','deploy/BASALT_NATIVE.md'] +FILES += ['basalt_serve.py','basalt_telemetry.py'] FILES += ['network/reconnect.py'] FILES += ['deploy/read_backup_snapshot.py','speech_text.py','tts_text_enhancer.py','strata_runtime.py','strata_worker.py','strata-ui.js','strata_sources.json','deploy/install_strata.py','deploy/strata_toolkit.py','deploy/strata-cuda13.lock.json','deploy/STRATA_NATIVE.md'] FILES += sorted(str(p.relative_to(ROOT)) for p in (ROOT/'deploy/xvc-web').rglob('*') if p.is_file() and not {'__pycache__','.pytest_cache'} & set(p.parts)) @@ -146,7 +149,7 @@ def launch(config): base=Path(config['base']) args=['docker','run','-d','--name',config['name'],'--label',LABEL+'='+str(base), '--restart','unless-stopped','--read-only','--cap-drop','ALL','--security-opt','no-new-privileges:true', - '--pids-limit','256' if config.get('image_runtime') else '128','--memory',config.get('memory_limit','32g' if config.get('image_runtime') else '8g'),'--cpus',str(config.get('cpu_limit',6)), '--tmpfs','/tmp:rw,nosuid,nodev,size=1g', + '--pids-limit',str(config.get('pids_limit',256 if config.get('image_runtime') else 128)),'--memory',config.get('memory_limit','32g' if config.get('image_runtime') else '8g'),'--cpus',str(config.get('cpu_limit',6)), '--tmpfs','/tmp:rw,nosuid,nodev,size=1g', '-v',str(base/'state')+':/var/lib/deck:rw','--mount','type=bind,src=/proc,dst=/host/proc,readonly','-e','DECK_HOST_PROC=/host/proc','-e','DECK_ALLOWED_HOSTS=127.0.0.1:'+str(config['port'])+',localhost:'+str(config['port']), '-p','127.0.0.1:'+str(config['port'])+':8108', '--health-cmd', 'python3 -c "import urllib.request,json; assert json.load(urllib.request.urlopen(\'http://127.0.0.1:8108/api/v1/auth/status\',timeout=3))[\'initialized\']"', diff --git a/deploy/install_basalt.py b/deploy/install_basalt.py new file mode 100644 index 0000000..539fba2 --- /dev/null +++ b/deploy/install_basalt.py @@ -0,0 +1,61 @@ +#!/usr/bin/env python3 +"""Unprivileged native Basalt build: no Docker, model load, driver/service changes.""" +import argparse +import hashlib +import json +import os +from pathlib import Path +import re +import shutil +import subprocess +import sys + +APP=Path(__file__).resolve().parent.parent +RECIPE=json.loads((APP/'basalt_sources.json').read_text()) + +def install(destination,nvcc=None): + destination=Path(destination).resolve() + if destination==Path('/') or destination.is_symlink():raise ValueError('Eigene Laufzeitwurzel erforderlich.') + for tool in ('git','g++'): + if not shutil.which(tool):raise ValueError('Native Build-Abhängigkeit fehlt: '+tool) + destination.mkdir(parents=True,exist_ok=True,mode=0o700) + for name in ('home','tmp','cache','cache/pip','cache/cuda'):(destination/name).mkdir(parents=True,exist_ok=True) + env=dict(os.environ,HOME=str(destination/'home'),TMPDIR=str(destination/'tmp'),XDG_CACHE_HOME=str(destination/'cache'),PIP_CACHE_DIR=str(destination/'cache/pip'),CUDA_CACHE_PATH=str(destination/'cache/cuda'),GIT_TERMINAL_PROMPT='0',PIP_NO_INPUT='1',PIP_DISABLE_PIP_VERSION_CHECK='1',CUDA_VISIBLE_DEVICES='',NVIDIA_VISIBLE_DEVICES='void') + def run(args,**kwargs):return subprocess.run(list(map(str,args)),env=env,check=True,**kwargs) + if not nvcc: + from strata_toolkit import toolkit + nvcc=str(toolkit(destination/'cuda')) + version=subprocess.check_output([nvcc,'--version'],text=True) + if not re.search(r'release 13\.0\b',version):raise ValueError('Dieses geprüfte Basalt-Rezept benötigt CUDA Toolkit 13.0.') + source=destination/'source' + if not source.exists(): + run(['git','init',source]);run(['git','-C',source,'fetch','--depth','1',RECIPE['url'],RECIPE['code']]) + run(['git','-C',source,'sparse-checkout','init','--no-cone']) + run(['git','-C',source,'sparse-checkout','set','--no-cone','--stdin'],input='/*\n!/**/vpn/\n!/vpn/\n!/**/vpn.auth\n!/vpn.auth\n',text=True) + 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('Basalt-Quellversion weicht vom Rezept ab; keine automatische Überschreibung.') + if subprocess.check_output(['git','-C',source,'status','--porcelain','--untracked-files=no'],text=True).strip():raise ValueError('Lokale Basalt-Quelländerungen zuerst prüfen.') + python=destination/'venv/bin/python' + if not python.is_file():run([sys.executable,'-m','venv',destination/'venv']) + run([python,'-m','pip','install','--index-url','https://pypi.org/simple','cmake==3.31.6','ninja==1.11.1.4','-r',source/'requirements.txt']) + toolkit_root=Path(nvcc).parent.parent + env.update(PATH=str(python.parent)+os.pathsep+str(Path(nvcc).parent)+os.pathsep+env.get('PATH',''),LD_LIBRARY_PATH=str(toolkit_root/'lib64')+os.pathsep+str(toolkit_root/'lib')+os.pathsep+env.get('LD_LIBRARY_PATH','')) + build=destination/'build' + run([python.parent/'cmake','-S',source,'-B',build,'-G','Ninja','-DCMAKE_BUILD_TYPE=Release','-DBUILD_TESTING=OFF','-DCMAKE_CUDA_ARCHITECTURES=120','-DCMAKE_CUDA_COMPILER='+str(nvcc),'-DCUDAToolkit_ROOT='+str(toolkit_root),'-DCMAKE_MAKE_PROGRAM='+str(python.parent/'ninja')]) + run([python.parent/'cmake','--build',build,'--target','basalt','--parallel','1']) + # The encoder is independent of the text engine's SM120-only kernels. + vision=destination/'build-vision' + run([python.parent/'cmake','-S',source/'tools/vision','-B',vision,'-G','Ninja','-DCMAKE_BUILD_TYPE=Release','-DBUILD_TESTING=OFF','-DCMAKE_CUDA_ARCHITECTURES=86;120','-DCMAKE_CUDA_COMPILER='+str(nvcc),'-DCUDAToolkit_ROOT='+str(toolkit_root),'-DCMAKE_MAKE_PROGRAM='+str(python.parent/'ninja')]) + run([python.parent/'cmake','--build',vision,'--target','basalt-vision','--parallel','1']) + run([python,'-m','pip','check']) + output=subprocess.run([str(source/'bin/basalt'),'--help'],env=env,capture_output=True,text=True,check=True) + if 'basalt serve' not in output.stdout+output.stderr:raise ValueError('Gebautes Basalt-Binary hat nicht die erwartete Server-CLI.') + lock=run([python,'-m','pip','freeze','--all'],capture_output=True,text=True).stdout + (destination/'python-lock.txt').write_text(lock) + binary=source/'bin/basalt' + marker=dict(commit=RECIPE['code'],version=RECIPE['version'],cuda='13.0',architectures=[120],vision_architectures=RECIPE['vision_architectures'],python=sys.version.split()[0],binary_sha256=hashlib.sha256(binary.read_bytes()).hexdigest(),origin='native-build',inference_performed=False) + pending=destination/'ready.tmp';pending.write_text(json.dumps(marker,indent=2));pending.replace(destination/'ready.json') + return marker + +if __name__=='__main__': + parser=argparse.ArgumentParser();parser.add_argument('--destination',required=True);parser.add_argument('--nvcc');args=parser.parse_args();install(args.destination,args.nvcc) diff --git a/deploy/qwen-asr-3060-profile.json b/deploy/qwen-asr-3060-profile.json new file mode 100644 index 0000000..0f1999d --- /dev/null +++ b/deploy/qwen-asr-3060-profile.json @@ -0,0 +1,11 @@ +{ + "id": null, + "revision": 0, + "name": "Qwen3 ASR 0.6B Q8 GPU 3060", + "api_id": "qwen3-asr-3060", + "kind": "stt", + "model_id": "6043ad3299e08402c70b0f81a6e7bb8fd1d87a09179add1e75de027caaf0f83b", + "parameters": { + "stt_device": "GPU-4834d9d7-5b61-3004-1fb3-4ae49d482d4b" + } +} diff --git a/deploy/read_backup_snapshot.py b/deploy/read_backup_snapshot.py index 29760fa..a3bc61c 100644 --- a/deploy/read_backup_snapshot.py +++ b/deploy/read_backup_snapshot.py @@ -46,6 +46,8 @@ def snapshot(root): s.prompt_enhancer=PromptEnhancer(root/'prompt-enhancers',catalog,s.profiles,image) from strata_runtime import StrataRuntime s.strata_runtime=StrataRuntime(root/'strata-runtime',catalog) + from basalt_runtime import BasaltRuntime + s.basalt_runtime=BasaltRuntime(root/'basalt-runtime',catalog) from audio_cpp_runtime import AudioCppRuntime from ltx_original_runtime import LTXOriginalRuntime from separator_runtime import SeparatorRuntime diff --git a/deploy/stimmatelier/README.md b/deploy/stimmatelier/README.md index a43b68b..d77798a 100644 --- a/deploy/stimmatelier/README.md +++ b/deploy/stimmatelier/README.md @@ -47,8 +47,12 @@ third-party packages. Docker is optional for a native Deck deployment. preserved by STT → TTS. This is not X-VC/RVC voice conversion. - 0.6B uses the existing CPU worker; model stays loaded under Deck's warm policy. Custom references transfer speaker identity, no reference-transcript mode. -- 1.7B uses Deck's normal GPU scheduler and can unload Strata after current work - drains. The existing 1.7B worker stays loaded until profile/GPU/mode changes. +- 1.7B voice cloning shares Anna's already loaded Qwen TTS worker and speech + queue. Selecting the profile retains an existing owner without cold loading, + changing publication or switching GPU modes. It does not unload the chat + model or create a second Qwen model process. Reference conditioning remains + request-local and does not replace Anna's preset. Other voice-conversion + models still use their own exclusive resource path. - References are deleted from Deck's job files on completion, failure or cancel; temporary reference embeddings stay only in worker memory. Source audio and transcript follow existing STT's memory-only policy. Generated WAVs remain in diff --git a/deploy/stimmatelier/app.js b/deploy/stimmatelier/app.js index a0ef045..45ba4dc 100644 --- a/deploy/stimmatelier/app.js +++ b/deploy/stimmatelier/app.js @@ -1,22 +1,47 @@ 'use strict'; -const $=id=>document.getElementById(id);let profiles=[],sttId=null,busy=false,reference=null,source=null,recording=null,outputUrl=null; +const $=id=>document.getElementById(id);let profiles=[],sttId=null,busy=false,reference=null,source=null,recording=null,outputUrl=null,activePath=null; +const isSeed=p=>p?.model?.repo==='Plachta/Seed-VC',isVC=p=>isSeed(p)||p?.model?.repo==='laion/Humaneness-Voice-Converter'; async function api(path,body){const opts=body?{method:'POST',headers:{'X-Athena-Deck':'1'},body:body instanceof FormData?body:JSON.stringify(body)}:{};if(body&&!(body instanceof FormData))opts.headers['Content-Type']='application/json';const r=await fetch('/api/v1/'+path,opts);if(r.status===401)throw Error('Bitte zuerst in Athena Deck anmelden und diese Seite neu laden.');const d=await r.json();if(!r.ok)throw Error(typeof d.error==='string'?d.error:d.error?.message||'Anfrage fehlgeschlagen.');return d;} function error(e){$('error').textContent=e.message||String(e);$('error').hidden=false;} function selected(){return profiles.find(p=>p.id===$('profile').value);} -function update(){const p=selected(),cpu=p?.kind==='audio',vc=p?.model?.repo==='laion/Humaneness-Voice-Converter';$('model-note').textContent=vc?'Echte Voice Conversion · GPU · Quelle und Zielstimme, ohne Transkription. Sprechweise bleibt möglichst erhalten; keine Garantie für jedes Detail. Quelle und Referenz jeweils 1–30 Sekunden. Strata wird bei Bedarf regulär entladen.':cpu?'0,6B Q8 · CPU · Strata kann geladen bleiben. Eigene Referenzen übernehmen die Stimmfarbe.':'1,7B Base · GPU · Deck entlädt Strata regulär vor der Ausgabe. Mit Referenztranskript kann Qwen auch die Sprechweise besser übernehmen.';$('pitch-controls').hidden=!vc;$('pitch-auto').disabled=busy||!!recording;$('pitch-semitones').disabled=busy||!!recording;$('latest').hidden=!vc;$('latest').disabled=busy||!!recording;if(!source)$('source-name').textContent=vc?'Bis 30 Sekunden':'Bis 120 Sekunden';$('reference-text').disabled=cpu||vc;$('reference-text').hidden=vc;$('reference-text').previousElementSibling.hidden=vc;$('text').hidden=vc;document.querySelector('label[for="text"]').hidden=vc;$('text').nextElementSibling.hidden=vc;$('text-tab').hidden=vc;$('transcribe').hidden=vc;$('generate').innerHTML=vc?'Stimme umwandeln ↗':'Sprache erzeugen ↗';if(vc){$('source-panel').hidden=false;$('audio-tab').setAttribute('aria-selected','true');$('text-tab').setAttribute('aria-selected','false');}$('source-panel').querySelector('.hint').textContent=vc?'Originalaufnahme hochladen oder einsprechen. Humaneness wandelt sie direkt in die Referenzstimme um; Text und STT werden nicht benötigt. Bis 30 Sekunden.':'WAV hochladen oder aufnehmen. Danach den erkannten Text prüfen. Timing und Betonung der Originalaufnahme werden nicht exakt übernommen.';$('reference-name').textContent=reference?reference.name:cpu?'Gespeicherte Standardstimme aus Deck':vc?'Bitte eine Zielreferenz hinzufügen':'Für 1,7B bitte eine Referenz hinzufügen';$('count').textContent=$('text').value.length+' / 1000';$('generate').disabled=busy||!!recording||!p||(vc?!source:(!$('text').value.trim()||$('text').value.length>1000))||(!cpu&&!reference);$('transcribe').disabled=busy||!!recording||!source||!sttId;$('profile').disabled=busy||!!recording||!profiles.length;} +function update(){ + const p=selected(),cpu=p?.kind==='audio',seed=isSeed(p),vc=isVC(p); + $('model-note').textContent=seed?'Seed-VC · RTX 3060 · Echte Stimmumwandlung mit integrierter Tonhöhenangleichung. Quelle bis 120 Sekunden. Strata wird erst ohne aktive Anfragen entladen; kein CPU-Fallback.':vc?'Humaneness · GPU · Quelle und Referenz jeweils 1–30 Sekunden. Strata wird erst ohne aktive Anfragen entladen.':cpu?'0,6B Q8 · CPU · Strata kann geladen bleiben. Eigene Referenzen übernehmen die Stimmfarbe.':'1,7B Base · GPU · Deck entlädt Strata regulär vor der Ausgabe. Mit Referenztranskript kann Qwen auch die Sprechweise besser übernehmen.'; + $('pitch-controls').hidden=!vc;$('pitch-auto').disabled=busy||!!recording;$('pitch-semitones').disabled=busy||!!recording; + $('pitch-semitones').step=seed?'1':'0.5';if(seed&&!Number.isInteger(Number($('pitch-semitones').value))){$('pitch-semitones').value='0';$('pitch-value').textContent='0';} + $('pitch-controls').querySelector('.hint').textContent=seed?'Automatik gleicht die Tonhöhenkurve vor der Synthese an die Referenz an. Der Regler verschiebt sie zusätzlich in ganzen Halbtönen. Kein nachträglicher Pitchfilter. Betonung und Pausen werden möglichst erhalten.':'Automatik gleicht die mittlere Tonhöhe an die Zielstimme an. Der Regler verschiebt zusätzlich nach oben oder unten. Dauer und Tempo bleiben gleich; die Gesamtkorrektur ist auf ±12 Halbtöne begrenzt. Große Änderungen können künstlich klingen.'; + $('latest').hidden=!vc;$('latest').disabled=busy||!!recording; + if(!source)$('source-name').textContent=vc&&!seed?'Bis 30 Sekunden':'Bis 120 Sekunden'; + $('reference-text').disabled=cpu||vc;$('reference-text').hidden=vc;$('reference-text').previousElementSibling.hidden=vc; + $('text').hidden=vc;document.querySelector('label[for="text"]').hidden=vc;$('text').nextElementSibling.hidden=vc;$('text-tab').hidden=vc;$('transcribe').hidden=vc; + $('generate').innerHTML=vc?'Stimme umwandeln ↗':'Sprache erzeugen ↗'; + if(vc){$('source-panel').hidden=false;$('audio-tab').setAttribute('aria-selected','true');$('text-tab').setAttribute('aria-selected','false');} + $('source-panel').querySelector('.hint').textContent=seed?'Originalaufnahme hochladen oder einsprechen. Seed-VC wandelt sie direkt in die Zielstimme um, ohne STT. Bis 120 Sekunden. Eine eigene Referenz ist optional; sonst wird die gespeicherte Standardstimme verwendet.':vc?'Originalaufnahme hochladen oder einsprechen. Humaneness wandelt sie direkt in die Referenzstimme um; Text und STT werden nicht benötigt. Bis 30 Sekunden.':'WAV hochladen oder aufnehmen. Danach den erkannten Text prüfen. Timing und Betonung der Originalaufnahme werden nicht exakt übernommen.'; + $('reference-name').textContent=reference?reference.name:cpu||seed?'Gespeicherte Standardstimme aus Deck':vc?'Bitte eine Zielreferenz hinzufügen':'Für 1,7B bitte eine Referenz hinzufügen'; + $('count').textContent=$('text').value.length+' / 1000'; + $('generate').disabled=busy||!!recording||!p||(vc?!source:(!$('text').value.trim()||$('text').value.length>1000))||(!cpu&&!seed&&!reference); + $('transcribe').disabled=busy||!!recording||!source||!sttId;$('profile').disabled=busy||!!recording||!profiles.length; + $('cancel').hidden=!busy;$('cancel').disabled=!activePath; +} +// The separate atelier profile shares the existing GPU TTS owner; selection +// retains an already loaded owner but never requests a model/mode switch. +const legacyUpdate=update; +update=function(){legacyUpdate();const p=selected();if(p?.kind==='voice'&&p.model?.repo==='Qwen/Qwen3-TTS-12Hz-1.7B-Base')$('model-note').textContent='1,7B Base · gemeinsamer Qwen-TTS-Worker auf der RTX 3060. Anna und Chatmodell bleiben geladen; keine zweite Modellkopie. Atelier und TTS teilen die Warteschlange. Deine Referenz ändert Annas Standardstimme nicht.';}; +$('profile').addEventListener('change',()=>{const p=selected();if(p?.kind==='voice'&&p.model?.repo==='Qwen/Qwen3-TTS-12Hz-1.7B-Base')api('voice/select',{profile_id:p.id}).catch(error);}); function progress(message){$('error').hidden=true;$('empty').hidden=true;$('result').hidden=true;$('progress').hidden=false;$('status').textContent=message;} -function done(){busy=false;$('progress').hidden=true;if($('result').hidden)$('empty').hidden=false;update();} -async function poll(path,id){const deadline=Date.now()+1200000;while(Date.now()setTimeout(r,600));const d=await api(path),j=d.job;if(!j||j.id!==id)throw Error('Dieser Auftrag ist nicht mehr aktuell. Ein anderer Auftrag hat den Status ersetzt.');$('status').textContent=j.phase||'Athena arbeitet …';if(j.state==='complete')return j;if(j.state!=='running')throw Error(j.phase||'Auftrag beendet.');}throw Error('Zeitlimit überschritten. Den Auftrag in Deck prüfen.');} +function done(){busy=false;activePath=null;$('progress').hidden=true;if($('result').hidden)$('empty').hidden=false;update();} +async function poll(path,id){const deadline=Date.now()+2100000;while(Date.now()setTimeout(r,600));const d=await api(path),j=d.job;if(!j||j.id!==id)throw Error('Dieser Auftrag ist nicht mehr aktuell. Ein anderer Auftrag hat den Status ersetzt.');$('status').textContent=j.phase||'Athena arbeitet …';if(j.state==='complete')return j;if(j.state!=='running')throw Error(j.phase||'Auftrag beendet.');}throw Error('Zeitlimit überschritten. Den Auftrag in Deck prüfen.');} async function normalize(blob,maxSeconds,sampleRate){if(!blob||blob.size>16*1024*1024)throw Error('Bitte eine Aufnahme bis 16 MiB verwenden.');const ctx=new AudioContext({sampleRate});try{const b=await ctx.decodeAudioData(await blob.arrayBuffer());if(b.duration<1||b.duration>maxSeconds)throw Error('Die Aufnahme muss zwischen 1 und '+maxSeconds+' Sekunden lang sein.');const n=b.length,buf=new ArrayBuffer(44+n*2),v=new DataView(buf);function word(pos,s){for(let i=0;ib.getChannelData(i));for(let i=0;ia+c[i],0)/channels.length));v.setInt16(44+i*2,x<0?x*32768:x*32767,true);}return new File([buf],'aufnahme.wav',{type:'audio/wav'});}finally{await ctx.close();}} -async function setAudio(kind,blob){const audio=await normalize(blob,kind==='reference'||selected()?.model?.repo==='laion/Humaneness-Voice-Converter'?30:120,kind==='reference'?24000:16000);if(kind==='reference')reference=audio;else source=audio;const el=$(kind+'-preview');if(el.dataset.url)URL.revokeObjectURL(el.dataset.url);el.dataset.url=URL.createObjectURL(audio);el.src=el.dataset.url;el.hidden=false;$(kind+'-name').textContent=blob.name||'Mikrofonaufnahme';if(kind==='reference')$('reference-reset').hidden=false;update();} -for(const kind of ['reference','source']){$(kind+'-file').onchange=async e=>{try{if(e.target.files[0])await setAudio(kind,e.target.files[0]);}catch(e){error(e);}};$(kind+'-record').onclick=async()=>{try{if(recording){if(recording.kind===kind)recording.recorder.stop();return;}if(busy)return;if(!window.isSecureContext||!navigator.mediaDevices?.getUserMedia)throw Error('Mikrofon benötigt HTTPS. Bitte das Studio über Athena Deck öffnen.');const stream=await navigator.mediaDevices.getUserMedia({audio:{echoCancellation:false,noiseSuppression:false,autoGainControl:false}});const type=['audio/webm;codecs=opus','audio/mp4'].find(t=>MediaRecorder.isTypeSupported(t));const recorder=new MediaRecorder(stream,type?{mimeType:type}:{}),chunks=[];recording={kind,recorder};const label=$(kind+'-record').textContent;$(kind+'-record').textContent='■ Aufnahme stoppen';let timer;recorder.ondataavailable=e=>{if(e.data.size)chunks.push(e.data);};recorder.onerror=()=>{stream.getTracks().forEach(t=>t.stop());clearTimeout(timer);recording=null;$(kind+'-record').textContent=label;error(Error('Aufnahme fehlgeschlagen.'));update();};recorder.onstop=async()=>{clearTimeout(timer);stream.getTracks().forEach(t=>t.stop());recording=null;$(kind+'-record').textContent=label;try{await setAudio(kind,new Blob(chunks,{type:recorder.mimeType}));}catch(e){error(e);}update();};recorder.start();timer=setTimeout(()=>{if(recorder.state==='recording')recorder.stop();},(kind==='reference'||selected()?.model?.repo==='laion/Humaneness-Voice-Converter'?29:119)*1000);update();}catch(e){error(e);}};} +async function setAudio(kind,blob){const audio=await normalize(blob,kind==='reference'||(isVC(selected())&&!isSeed(selected()))?30:120,kind==='reference'?24000:isSeed(selected())?44100:16000);if(kind==='reference')reference=audio;else source=audio;const el=$(kind+'-preview');if(el.dataset.url)URL.revokeObjectURL(el.dataset.url);el.dataset.url=URL.createObjectURL(audio);el.src=el.dataset.url;el.hidden=false;$(kind+'-name').textContent=blob.name||'Mikrofonaufnahme';if(kind==='reference')$('reference-reset').hidden=false;update();} +for(const kind of ['reference','source']){$(kind+'-file').onchange=async e=>{try{if(e.target.files[0])await setAudio(kind,e.target.files[0]);}catch(e){error(e);}};$(kind+'-record').onclick=async()=>{try{if(recording){if(recording.kind===kind)recording.recorder.stop();return;}if(busy)return;if(!window.isSecureContext||!navigator.mediaDevices?.getUserMedia)throw Error('Mikrofon benötigt HTTPS. Bitte das Studio über Athena Deck öffnen.');const stream=await navigator.mediaDevices.getUserMedia({audio:{echoCancellation:false,noiseSuppression:false,autoGainControl:false}});const type=['audio/webm;codecs=opus','audio/mp4'].find(t=>MediaRecorder.isTypeSupported(t));const recorder=new MediaRecorder(stream,type?{mimeType:type}:{}),chunks=[];recording={kind,recorder};const label=$(kind+'-record').textContent;$(kind+'-record').textContent='■ Aufnahme stoppen';let timer;recorder.ondataavailable=e=>{if(e.data.size)chunks.push(e.data);};recorder.onerror=()=>{stream.getTracks().forEach(t=>t.stop());clearTimeout(timer);recording=null;$(kind+'-record').textContent=label;error(Error('Aufnahme fehlgeschlagen.'));update();};recorder.onstop=async()=>{clearTimeout(timer);stream.getTracks().forEach(t=>t.stop());recording=null;$(kind+'-record').textContent=label;try{await setAudio(kind,new Blob(chunks,{type:recorder.mimeType}));}catch(e){error(e);}update();};recorder.start();timer=setTimeout(()=>{if(recorder.state==='recording')recorder.stop();},(kind==='reference'||(isVC(selected())&&!isSeed(selected()))?29:119)*1000);update();}catch(e){error(e);}};} $('reference-reset').onclick=()=>{if(busy)return;reference=null;$('reference-file').value='';$('reference-preview').hidden=true;$('reference-reset').hidden=true;update();}; for(const [id,show] of [['text-tab',false],['audio-tab',true]])$(id).onclick=()=>{$('text-tab').setAttribute('aria-selected',String(!show));$('audio-tab').setAttribute('aria-selected',String(show));$('source-panel').hidden=!show;}; $('pitch-semitones').oninput=()=>{$('pitch-value').textContent=(Number($('pitch-semitones').value)>0?'+':'')+$('pitch-semitones').value;};$('profile').onchange=update;$('text').oninput=update; $('transcribe').onclick=async()=>{busy=true;update();progress('Aufnahme wird lokal transkribiert …');try{const f=new FormData();f.set('file',source,'aufnahme.wav');f.set('profile_id',sttId);f.set('language','de');const j=await api('stt/start',f),r=await poll('stt',j.id);$('text').value=r.text||'';if($('text').value.length>1000)throw Error('Das Transkript ist länger als 1000 Zeichen. Bitte den Text vor der Ausgabe kürzen.');}catch(e){error(e);}finally{done();}}; async function waveform(blob){const ctx=new AudioContext();try{const b=await ctx.decodeAudioData(await blob.arrayBuffer()),a=b.getChannelData(0),canvas=$('waveform'),c=canvas.getContext('2d');c.clearRect(0,0,600,120);c.strokeStyle='#bd5433';c.lineWidth=2;for(let x=0;x<300;x++){const start=Math.floor(x*a.length/300),end=Math.floor((x+1)*a.length/300);let peak=0;for(let i=start;i0?'+':'')+j.pitch.applied_semitones+' Halbtöne':'');if(j.pitch?.warnings?.length)error(Error(j.pitch.warnings.join(' ')));$('result').hidden=false;await waveform(blob);} -$('latest').onclick=async()=>{busy=true;update();progress('Letzte Umwandlung wird geladen …');try{const j=(await api('conversion')).job,p=selected();if(!j||j.profile_id!==p.id||j.state!=='complete')throw Error('Keine fertige Umwandlung für dieses Profil verfügbar.');await showResult('conversion',j,p);}catch(e){error(e);}finally{done();}}; -$('generate').onclick=async()=>{busy=true;update();progress('Deine Stimme wird vorbereitet …');const p=selected(),cpu=p.kind==='audio',vc=p.model.repo==='laion/Humaneness-Voice-Converter',path=vc?'conversion':cpu?'qwen-native':'voice';try{const f=new FormData();f.set('profile_id',p.id);if(vc){f.set('pitch_auto',String($('pitch-auto').checked));f.set('pitch_semitones',$('pitch-semitones').value);f.set('source',source,'source.wav');f.set('reference',reference,'reference.wav');}else{f.set('text',$('text').value);f.set('language','German');if(reference)f.set('file',reference,'reference.wav');}if(cpu)f.set('speaker','default');else if(!vc){f.set('device','3060');f.set('reference_text',$('reference-text').value);}const j=await api(path+'/start',f),r=await poll(path,j.id);await showResult(path,r,p);}catch(e){error(e);}finally{done();}}; -async function init(){try{const [d,policy]=await Promise.all([api('profiles'),api('audio-policy')]);profiles=d.profiles.filter(p=>p.runnable&&(p.model?.repo==='laion/Humaneness-Voice-Converter'||(p.kind==='audio'&&p.model?.repo==='Serveurperso/Qwen3-TTS-GGUF')||(p.kind==='voice'&&p.model?.repo==='Qwen/Qwen3-TTS-12Hz-1.7B-Base'))).sort((a,b)=>(a.kind==='audio'?-1:1)-(b.kind==='audio'?-1:1));const stts=d.profiles.filter(p=>p.kind==='stt'&&p.runnable);sttId=stts.find(p=>p.id===policy.settings.stt.profile_id)?.id||stts[0]?.id;$('profile').replaceChildren(...profiles.map(p=>new Option(p.name,p.id)));if(!profiles.length)throw Error('Kein ausführbares Qwen-Profil gefunden. Bitte in Deck einrichten.');update();}catch(e){error(e);}} +$('latest').onclick=async()=>{busy=true;update();progress('Letzte Umwandlung wird geladen …');try{const p=selected(),path=isSeed(p)?'seed-vc':'conversion',j=(await api(path)).job;if(!j||j.profile_id!==p.id||j.state!=='complete')throw Error('Keine fertige Umwandlung für dieses Profil verfügbar.');await showResult(path,j,p);}catch(e){error(e);}finally{done();}}; +$('generate').onclick=async()=>{busy=true;update();progress('Deine Stimme wird vorbereitet …');const p=selected(),cpu=p.kind==='audio',vc=isVC(p),path=isSeed(p)?'seed-vc':vc?'conversion':cpu?'qwen-native':'voice';try{const f=new FormData();f.set('profile_id',p.id);if(vc){f.set('pitch_auto',String($('pitch-auto').checked));f.set('pitch_semitones',$('pitch-semitones').value);f.set('source',source,'source.wav');if(reference)f.set('reference',reference,'reference.wav');}else{f.set('text',$('text').value);f.set('language','German');if(reference)f.set('file',reference,'reference.wav');}if(cpu)f.set('speaker','default');else if(!vc){f.set('device','3060');f.set('reference_text',$('reference-text').value);}const j=await api(path+'/start',f);activePath=path;update();const r=await poll(path,j.id);await showResult(path,r,p);}catch(e){error(e);}finally{done();}}; +async function init(){try{const [d,policy]=await Promise.all([api('profiles'),api('audio-policy')]);profiles=d.profiles.filter(p=>p.runnable&&(isVC(p)||(p.kind==='audio'&&p.model?.repo==='Serveurperso/Qwen3-TTS-GGUF')||(p.kind==='voice'&&p.model?.repo==='Qwen/Qwen3-TTS-12Hz-1.7B-Base'))).sort((a,b)=>(isSeed(a)?-2:a.kind==='audio'?-1:1)-(isSeed(b)?-2:b.kind==='audio'?-1:1));const stts=d.profiles.filter(p=>p.kind==='stt'&&p.runnable);sttId=stts.find(p=>p.id===policy.settings.stt.profile_id)?.id||stts[0]?.id;$('profile').replaceChildren(...profiles.map(p=>new Option(p.name,p.id)));if(!profiles.length)throw Error('Kein ausführbares Stimmprofil gefunden. Bitte in Deck einrichten.');update();}catch(e){error(e);}} +$('cancel').onclick=async()=>{if(!activePath)return;try{$('cancel').disabled=true;await api(activePath+'/cancel',{});}catch(e){error(e);}}; init(); diff --git a/deploy/stimmatelier/index.html b/deploy/stimmatelier/index.html index c295140..89f688d 100644 --- a/deploy/stimmatelier/index.html +++ b/deploy/stimmatelier/index.html @@ -2,5 +2,5 @@
← Athena DeckQWEN & VOICE CONVERSION● Lokal auf Athena

DEINE WORTE. DEINE ZIELSTIMME.

Stimmatelier.

Texte sprechen lassen. Deine Aufnahmen mit neuer Stimme hören.

01

Modell & Zielstimme

Referenzstimme

WAV · 1–30 Sekunden

Eine klare, ruhige Aufnahme der gewünschten Stimme. Sie bestimmt den Klang, nicht den zu sprechenden Text.

Gespeicherte Standardstimme aus Deck
-
02

Was soll gesprochen werden?

Deutsch · Ausgabe als WAV0 / 1000
+
02

Was soll gesprochen werden?

Deutsch · Ausgabe als WAV0 / 1000
STIMMATELIER Deine Worte. Deine Sprechweise. Deine Zielstimme.
diff --git a/docs/ATHENA_HANDOFF.md b/docs/ATHENA_HANDOFF.md index 060220d..02d7f90 100644 --- a/docs/ATHENA_HANDOFF.md +++ b/docs/ATHENA_HANDOFF.md @@ -1,10 +1,113 @@ -# Athena Deck: specialist handoff · 28 October 2026 +# Athena Deck: specialist handoff · 1 November 2026 Start here before working on Michael's Athena server or Athena Deck. This is a 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. +## Git publication of the accumulated integration + +Michael requested publication of the accumulated Basalt/GPU-speech/shared-Qwen +working tree. The coupled server, schemas, scheduler, runtimes, UI and recipes +are published together after 784 passing local tests and source/credential +checks. See [scope, actual checks and remaining limits](maintenance/git-publication-basalt-speech.md). +Git publication does not grant activation authority or close the pending real +atelier acceptance below. Hermes vision-tool enablement remains a separate, +interrupted task; no profile configuration was changed by this publication. + +## Shared Qwen TTS/Atelier: live, final authenticated GPU check pending + +Michael requested the separate `Qwen1.7B Stimmklonen` atelier profile to reuse +Anna's already loaded TTS worker, retaining it on profile selection rather than +evicting TTS or entering exclusive voice mode. Activated after his explicit Go +and normal authenticated zero-counter drain. Deck now runs healthy image +`athena-deck-standalone:shared-qwen`; the existing atelier container is also +updated and healthy, preserving its canonical backup-compatible image tag, +sandbox, mounts, environment values and all protected Deck settings. +784 tests pass and the actual new image's isolated full Server constructor +passes. Both real browser UIs were tested with a synthetic fixture. Actual +Basalt answer and Anna speech passed after restoration; one TTS process remains +on the RTX 3060. Anna → clone → Anna GPU proof is still pending, not inferred +from the synthetic same-PID test. + +`POST /api/v1/voice/select` only retains an existing shared owner; it never cold +loads or switches modes. Shared clone work uses TTS FIFO admission and +request-local conditioning without changing Anna's preset or publication. +See [implementation, actual checks, native update/restore and open acceptance](maintenance/shared-qwen/README.md). +Preserve pre-existing working-tree changes. That activation itself performed no +commit/push; the later Git publication is recorded above. +The actual live atelier had newer Seed-VC/cancel functionality than the Deck +source copy; it was preserved and merged into the repository and candidate. +The final candidate is `/opt/athena-deck-dev/shared-qwen-activation-v2`; v1 was +never activated and must not be used. Do not repeat prepare/apply: the update +has already happened. The final readback caught only reordered Docker Env +entries; identical unique key/value pairs and all other exact guards passed. + +The remaining gate is the expected post-restart management login: HTTP 401, +browser at regular login, no vault login. The voice profile remains unpublished +for API-token use; do not enable it or bypass management auth to test it. Retain +the existing Go for bounded real atelier acceptance, without another restart. +After Michael's next login signal, execute `maintenance/shared-qwen/accept_gui.py` +inside browser_exec (not as a NAS CLI). Synthetic reference and baseline PIDs +are in the own scratch `shared-qwen-acceptance/`; restore.py already ran and +must not be repeated unnecessarily. Then verify final Anna speech and unchanged +worker PIDs. Do not rerun the old ASR overlay. + +## Qwen-ASR RTX 3060: prefix correction activated and API verified + +The first GPU rollout returned empty transcription. Its incorrect assistant +prefix `<|asr_text|>` has now been replaced by the model's `` marker +in the healthy running image `athena-deck-standalone:qwen-asr-protocol-fix`. +Normal authenticated GUI drain was used; all active/waiting counters were +explicitly zero. The correction overlay passed an isolated full Server +constructor and 81 relevant local tests. Installed/image source hashes and +all five protected settings files were verified, without profile changes. + +Real bounded API acceptance passed: Basalt answered after restoration, Anna +produced 2.56 seconds of mono 24 kHz WAV, and Qwen-ASR returned exactly +`Der blaue Schlüssel liegt auf dem Tisch.` in 0.44688 seconds. The whole +restoration/acceptance took 37.61669 seconds; this is not a benchmark. Actual +GPU process metadata confirms ASR, Anna and vision on the RTX 3060 and Basalt +on the RTX 5080. Microphone capture and Hermes/Mac delivery remain untested. + +The management login was supplied and the existing Go used for this correction; +the restart invalidates that session again, but API acceptance required no new +login. Do not repeat activation or register a duplicate profile. Host workflow: +`docs/maintenance/qwen-asr-protocol-fix.py`; existing initial activation record +under `/opt/athena-deck-dev/asr-gpu-activation` must remain untouched. NAS client: +`docs/maintenance/qwen-asr-gpu-accept.py`. See +[completed correction and remaining limits](maintenance/qwen-asr-protocol-fix.md). + +Earlier preparation-only stage (superseded above): no app update/restart, endpoint publication or +GPU-ASR/model test. GPU STT opt-in `stt_device`, profile/preset/backup validation, +editor and guarded scheduler/lifecycle paths are prepared locally. Existing +CUDA build supports SM86/SM120; existing 0.6B Q8 model and audio encoder reused. +173 targeted tests and synthetic real-browser editor/save checks passed. Saved +profile template: `deploy/qwen-asr-3060-profile.json`; it is not registered in +the running old Deck. Parakeet remains the published STT. Follow the explicit +update/restore/activation boundaries in [GPU-ASR recipe](../deploy/QWEN_ASR_GPU.md). +No GPU functionality, VRAM peak or native full restore acceptance claimed. + +## Latest implementation checkpoint: Basalt dashboard telemetry + +The dashboard/Pulse fix is now **activated**, image +`athena-deck-standalone:basalt-telemetry`, healthy. Existing Basalt/Qwen profile +restored; real concurrent-slot/rate/cache API checks and Anna speech succeeded. +Source/image hashes and all protected settings verified unchanged. Final live +dashboard/global-counter readback awaits normal re-login after the restart; +no further activation Go is required. Native Mac/full-restore acceptance open. +48 targeted Python tests, existing Pulse tests (5 Python / 2 Node), synthetic +real-browser DOM checks and the pinned upstream's real HTTP/auth CPU-mock test +passed before activation. New content-free `basalt_serve.py` / +`basalt_telemetry.py` supply the shared contract without scraping request +history. Management browser requires login again; no saved vault login. +[Checks, execution environment and remaining gates](maintenance/basalt-deck-integration/TELEMETRY.md). + +The preceding TTS endpoint/RAM task was completed separately; its verified +API results and cleanup are in [the Anna endpoint record](maintenance/qwen-anna-existing-gpu/README.md). +Older Strata/Basalt candidate sections below are historical snapshots, not a +reason to switch the current runtime back or repeat old tests. + ## Systems and trusted locations | System | Role and location | @@ -33,26 +136,115 @@ provider change or restart was performed. The existing fleet audit reports 362/395 checks passed, with 33 deviations left untouched, not a clean acceptance. [Distribution, routing rules, checks and restore limits](maintenance/hermes-shared-image-skill-2026-10-28/README.md). -## Latest completed Strata update · 28 October 2026 +## Latest completed Strata update · 1 November 2026 -Strata v0.2.7 / engine 0.1.52, pinned -`5e8a4cca7d690ac60ca37eb09e7d0e010099ad6d`, is activated after Michael's Go. -The Qwen dual profile is loaded and tested; GPU order/split16, two -262144-token slots and unrelated protected user settings remain unchanged. TTS/STT are -loaded, Deck/API healthy and owned test containers gone. Qwen must remain loaded -again; this completed maintenance Go is not permission for later restarts/tests. +Strata v0.2.9 / engine 0.1.55, pinned +`c62d5e3a15b40ea51c96aae9e8d36928965f53ab`, activated after Michael's new Go +and normal authenticated GUI drain. The old active source/venv/build installation +was fully removed; the verified candidate source was moved into the production +runtime, not left as a second installation. Actual current Kikiri/Anna app base +was preserved in a recipe-only image. Native/canonical/in-image source pins agree. -37 arms screened, 36 completed after correcting an invalid prefill-pipe argument. -Focused repeated/64K/128K/near-256K/cache/arrival checks passed. Pipeline without -batch-MTP was subsequently **explicitly approved and activated** through new -per-profile controls: `strata_batch_groups="auto"`, `strata_batch_mtp=false`. -Existing other profiles retain legacy defaults; solo MTP remains enabled. -[Configuration rollout and live acceptance](maintenance/strata-pipeline-config-2026-10-28/README.md). -Quality: 120 actual answers, blind scored; -24 isolated fixed code tests passed, with remaining semantic/diagnostic caveats. -[Full result and evidence](maintenance/strata-027-staged-2026-10-27/RESULTS.md). +**Short acceptance only, as requested:** 13 actual synthetic streaming checks +passed in 140.09 seconds, including the initial model load. Solo output512: +64.8 backend decode tok/s; simultaneous2×512 outputs:12.3075 seconds total, +83.20 end-to-end output tok/s. Two separate7420-token contexts and their cached +follow-ups passed,7427 tokens reused per follow-up. A60047-token fresh document +returned both markers in31.7225 seconds. JSON, isolated generated-code tests, +mock-tool call/result and fenced-tool nonexecution passed. No old-engine run, +variant matrix, long soak or general speed/quality equivalence claim. + +Original Qwen dual profile is loaded; split16, GPU order3060→5080, two262144-token +slots, groups`auto`, batch-MTP off and solo MTP on remain unchanged. All captured +profile/endpoint/audio/CPU/reasoning hashes and worker fields match. TTS/STT +loaded, backend healthy, Deck/API running and healthy.33 relevant local tests +also pass. Qwen must remain loaded again; this maintenance Go is not permission +for later restarts, model switches or tests. +[Activation, evidence, short acceptance and limits](maintenance/strata-029-staged-2026-11-01/README.md). + +Subsequent bounded Linux-default A/B completed A/B/B but not the final A after +a foreground transport timeout; 27 synthetic test requests recorded. Defaults +on: parallel pair12.8005s; off:13.1114s median of two blocks. Solo and30K prefill +essentially unchanged. No setting adopted; original Qwen/TTS/STT and all protected +settings restored and verified within663.355s including reload. Small differences +are indicative only because the counterbalanced repeat is incomplete. Both arms +logged layer-major fallback on the30K prompt (891MiB free for the super-chunk). +[Evidence, interruption, cleanup and limits](maintenance/strata-029-linux-ab-2026-11-01/README.md). + +Earlier broad v0.2.7 tuning is historical, not repeated for0.2.9: +[results](maintenance/strata-027-staged-2026-10-27/RESULTS.md), +[profile controls](maintenance/strata-pipeline-config-2026-10-28/README.md). Native full fresh-host/restore acceptance remains open; DeepSeek/vision only -built and version/hash checked, not model-tested during this update. +built and version/hash checked, not model-tested during this update. Two +simultaneously full context slots and long-term stability were not tested. + +## Separately removable Basalt candidate · 1 November 2026 + +**New local Deck integration, not deployed:** own Basalt worker/runtime, +catalogue/profile/preset/API/UI and backup recipe added. 174 targeted offline +tests and isolated real-browser editor/payload checks passed. No model load, +production restart, profile activation or candidate move. Managed adoption on +the desired Samsung SSD, new native combined build/model acceptance and full +restore remain open. Central live-rate telemetry is not yet wired; TTS/vision +unchanged. [Development checks and activation limits](maintenance/basalt-deck-integration/README.md), +[native recipe](../deploy/BASALT_NATIVE.md). + +Latest small64K chat comparison completed both engines: two64000-token archives, +three short parallel rounds, eight real requests per engine all completed. +Basalt fresh read+ack25.669s versus Strata64.882s; first answer pair2.738s versus +35.160s because Strata re-read one64132-token context (cache_n0), not Basalt. +Steady rounds2+3 first-visible median0.704s versus1.268s, response median2.206s +versus2.977s, client-observed write median33.27 versus26.06 tok/s. Do not quote +Basalt's fragmented backend65/68tok/s counters as whole short-response rates. +Actual context about64K, existing262144-per-slot maxima unchanged. Original +Qwen/TTS/STT loaded,12 hashes/image/start unchanged; no Basalt activation. +[Small-chat results and raw data](maintenance/basalt-candidate-2026-11-01/CHAT64_RESULTS.md). + +Latest direct near-limit repeat completed: **Basalt full/full decoding proven**, +two261632-token inputs,504 outputs each,25.629s simultaneous generation and five +actual both-decoding snapshots. Entire read+answers199.993s; answer pair27.833s, +backend18.9/19.6 tok/s. Same Strata workload stopped as explicitly requested at +232.254s, still reading its second document; no Strata full-pair output rate. +First-input rates4056.0 versus1949.1 tok/s. Same source GSQ-RCO IQ3_XXS GGUFs: +both actual file sizes and converter fingerprints match the Basalt sources; +not a full tensor/precision equivalence claim. Current original Qwen/TTS/STT +loaded,12 hashes/image/start unchanged; Basalt stopped, no permanent activation. +[Latest paired results and raw evidence](maintenance/basalt-candidate-2026-11-01/PAIRED_RESULTS.md). + +Earlier separately authorized near-limit attempt was **incomplete**, original +Strata/Qwen/TTS/STT restored. Two261632-token fresh inputs completed at4405.1 +and2465.4 backend tok/s; one504-token full-context output17.5 tok/s. First output +pair rejected for missing8-token API slack; corrected pair timed out while another +context re-prefilled. No simultaneous full/full decode or capacity-OOM conclusion. +Twelve hashes/image/start unchanged, restored890.271s into900s window. No further +model test/activation Go. [Actual evidence and harness limits](maintenance/basalt-candidate-2026-11-01/FULL_CONTEXT_RESULTS.md). +The8470-entry manifest below is the earlier short-test snapshot, not the enlarged +candidate tree after this attempt. + +Separate build and one explicitly authorized short model test completed; +**Basalt stopped, original Strata/Qwen active again.** Basalt 0.1.0, +pinned `9175e7a3211bda355c02e804c7c107b15b8ea89f`, separate root +`/opt/athena-deck-dev/basalt-candidate-9175e7a3211b`; source, venv, binaries and +caches all owned there. Four tools built, 62 selected CPU tests passed; Python +fixtures 645 passed/2 skipped; 9 local safety/manifest tests passed. Native +engine help/library resolution also passed directly on Debian. Recovered after +Hermes restart without rebuilding; original binary hashes preserved. Builder +removed, 12 production hashes and image/start unchanged; Qwen/TTS/STT loaded. +Official IQ3_XXS pack pinned in `model-source.json`, 79867643037 bytes, whole +SHA-256/header verified. Eleven actual requests passed in43.42s after33.08s +load. Historical optimized Strata reference: solo64.8→71.4 backend tok/s; +parallel pair12.3075→13.7656s (worse);60047-token document31.7225→12.0572s +(better). Basalt is5080+RAM only, not a controlled same-hardware comparison. +No new variants or permanent activation. Restored/verified within382.507s; +normal GUI stop/start, no Deck restart; restoration probe is not a benchmark. +Cleanup fixture and real-candidate dry-run passed; manifest independently +checked against all8470 file/link entries,76.09GiB including weights and caches. +Shared CUDA/image are not removed. +**This source accepts SM120 cards only, including peer tier; no RTX 3060.** +This Go is consumed; future model testing/activation needs a new Go. Candidate +retained separately, no Deck registration/native server/systemd/full-restore claim. +[Results and restoration](maintenance/basalt-candidate-2026-11-01/RESULTS.md), +[build, native limits and guarded removal](maintenance/basalt-candidate-2026-11-01/README.md). ## Earlier verified Strata and hardware snapshot diff --git a/docs/CURRENT_SYSTEM.md b/docs/CURRENT_SYSTEM.md index d47af27..1e590fd 100644 --- a/docs/CURRENT_SYSTEM.md +++ b/docs/CURRENT_SYSTEM.md @@ -1,3 +1,84 @@ +## 1.11.2026 · Basalt short model test passed, original Strata retained + +Latest small64K-content chat comparison completed eight requests per engine. +Steady short replies: first-visible median Basalt0.704s/Strata1.268s; complete +response2.206s/2.977s; observed write33.27/26.06tok/s. Fresh archive reading +25.669s/64.882s; first Strata follow-up pair35.160s included a proven full context +re-read, whereas Basalt2.738s reused both contexts. Both engines completed all +three rounds. Maxima262144 per slot unchanged;64K is actual conversation usage. +Original Qwen/TTS/STT loaded,12 hashes/image/start unchanged, Basalt stopped. +[Small-chat evidence and timing methodology](maintenance/basalt-candidate-2026-11-01/CHAT64_RESULTS.md). + +Latest paired repeat: **Basalt passed two simultaneously decoding full contexts**, +261632 input+504 output+8 reserve each. All work199.993s, output pair27.833s. +Same current Strata dual-GPU workload stopped on Michael's requested slower-work +condition after232.254s while still reading the second document. Its first input +1949.1 versus Basalt4056.0 tok/s. No measured Strata full-pair output rate. +Original Qwen/TTS/STT loaded,12 hashes/image/start unchanged; no Basalt deployment. +[Latest paired result and verified matching IQ3_XXS sources](maintenance/basalt-candidate-2026-11-01/PAIRED_RESULTS.md). + +Earlier near-limit test after a new Go: two261632-token inputs completed, one504-token +output17.5 tok/s; **two full slots concurrently decoding remain unproven**. The +corrected output pair timed out during another context's renewed prefill, not a +proven OOM. Original Strata/Qwen/TTS/STT restored;12 hashes/image/start unchanged. +The tree/manifest totals below describe the earlier short acceptance only. +[Near-limit partial result, actual speeds and harness failure](maintenance/basalt-candidate-2026-11-01/FULL_CONTEXT_RESULTS.md). + +Basalt 0.1.0 pinned `9175e7a3211bda355c02e804c7c107b15b8ea89f`, isolated under +`/opt/athena-deck-dev/basalt-candidate-9175e7a3211b`. Four programs built; 62 CPU +tests passed, Python fixtures 645 passed/2 skipped, nine local safety tests +passed. Native engine help and linked libraries checked directly on Debian. +Hermes restart recovery reused compiled artifacts; no duplicate model/test job. +After a separate Go the official pinned IQ3_XXS pack was model-tested once: +11 real synthetic requests passed, load33.08s/client43.42s. Historical Strata +reference: solo backend64.8→71.4 tok/s; concurrent2×512 outputs12.3075→13.7656s +(slower); fresh60047-token document31.7225→12.0572s (faster). Different GPU +topologies, provider defaults and pack: not a controlled A/B or general quality +equivalence. No follow-up variants, no permanent Basalt activation. +Original Strata/Qwen restored through normal GUI/API within382.507s;12 protected +hashes, image and container start unchanged, Qwen/TTS/STT loaded. Owned test +container removed. Current owned tree76.09GiB logical,8470 manifest entries +independently verified; cleanup rehearsal and real-candidate dry-run passed. +CUDA/image remain borrowed only; no new service/port/image/host package. +**SM120 only, including peer tier: the3060 cannot participate.** Full slots, +long soak, native Deck integration and full fresh-host restore remain untested. +[Model results and limits](maintenance/basalt-candidate-2026-11-01/RESULTS.md), +[build, preparation and removal](maintenance/basalt-candidate-2026-11-01/README.md). + +## 1.11.2026 · Bounded Linux-default A/B; original settings retained + +Same0.1.55 engine, GPU order/split, two262K slots, CPU and weights. Completed +A/B/B,27 synthetic requests; final A interrupted after a420s foreground-tool +timeout disconnected the docker client. Owned test container explicitly removed +and original Qwen/TTS/STT restored, settings/image/container start unchanged. +Total including restoration663.355s. Parallel pair:12.8005s defaults on versus +13.1114s median off; solo/30K prefill essentially flat. Incomplete counterbalanced +repeat, so no strong small-gain claim and no production setting changed. +Layer-major fallback for the30K prompt in both arms (891MiB free) is a separate +observation, not an authorization for new tuning. +[Measurements, restoration evidence and limits](maintenance/strata-029-linux-ab-2026-11-01/README.md). + +## 1.11.2026 · Strata v0.2.9 / Engine0.1.55 active, short acceptance passed + +Pinned`c62d5e3a15b40ea51c96aae9e8d36928965f53ab`. After Michael's new Go, +normal GUI drain confirmed no active/waiting work. Complete old active +source/venv/build installation removed; verified SM86/SM120 Qwen and DeepSeek +plus CPU-Vision promoted. Existing Kikiri/Anna app base preserved through a +recipe-only image; canonical/native/in-image pins match. No weights or user +profiles changed and no second old-build backup created. + +13 synthetic checks passed in140.09s including initial loading: solo512 output +at64.8 backend decode tok/s; parallel2×512 in12.3075s total (83.20 end-to-end +output tok/s); two7420-token contexts, cached follow-ups with7427 reused tokens +each,60047-token marker retrieval, JSON, generated code in an isolated sandbox, +mock tools and fenced-tool nonexecution.33 relevant local tests also pass. +Original Qwen dual/vision profile and all protected setting hashes unchanged; +Qwen/TTS/STT loaded, Deck/API healthy. No old-engine inference or broad matrix. +Single-run operational acceptance, not evidence of a general speedup or quality +equivalence; no long soak, two full slots, DeepSeek/vision inference or complete +fresh-Debian encrypted restore test. +[Activation, short measurements, evidence and native limits](maintenance/strata-029-staged-2026-11-01/README.md). + ## 28.10.2026 · Trained Kikiri Anna CPU active behind the neutral TTS endpoint `Kikiri Anna CPU` / `kikiri-anna-cpu` is the sole published dedicated TTS profile; diff --git a/docs/maintenance/basalt-candidate-2026-11-01/CHAT64_RESULTS.md b/docs/maintenance/basalt-candidate-2026-11-01/CHAT64_RESULTS.md new file mode 100644 index 0000000..38f63a3 --- /dev/null +++ b/docs/maintenance/basalt-candidate-2026-11-01/CHAT64_RESULTS.md @@ -0,0 +1,86 @@ +# Kleiner 64K-Chatvergleich: Basalt und Strata vollständig beendet + +Auftrag: kleiner Test mit64K Gesprächsinhalt und kurzen Chat-Häppchen. Beide +Laufzeiten wurden vollständig gemessen; kein vorzeitiger Strata-Abbruch. + +## Ablauf und tatsächlicher Umfang + +Zwei getrennte synthetische Gespräche mit exakt64000 Eingabetokens je Archiv, +kurze OK-Bestätigung, anschließend drei parallele Fragerunden mit jeweils einer +kurzen Antwort pro Gespräch, maximal96 Tokens pro Antwort. Erste Folgeeingabe +64132 Tokens; spätere Verläufe enthalten die tatsächlich erzeugten Antworten. +Basalt erzeugte34–52, Strata34–50 Tokens pro kurzer Antwort. Acht echte Requests +je Laufzeit einschließlich zweier Archivbestätigungen, alle vollständig beendet; +beide eigenen Archivkennungen korrekt gefunden. + +Dies sind rund64K **belegte** Gesprächstokens. Die bestehenden Grenzen von +262144 pro Slot wurden bei beiden unverändert gelassen, keine temporären +Produktionsprofile gespeichert und keine64K-Maximalgrenzen-Konfiguration getestet. +Basalt nutzt5080+RAM; Strata die bestehende optimierte3060+5080+RAM-Konfiguration. +Modellbasis und IQ3_XXS-Quellen sind im [gepaarten Volltest](PAIRED_RESULTS.md) geprüft. + +## Gemessene Ergebnisse + +| Gleicher Schritt | Basalt | Strata | +|---|---:|---:| +| Beide frischen Archive lesen und kurz bestätigen |25,669s |64,882s | +| Frisches Einlesen, Backendrate pro Archiv |5095,0 /5108,1 Token/s |1993,3 /1980,7 Token/s | +| Erste kurze Fragerunde, beide Antworten fertig |2,738s |35,160s | +| Zweite Runde, beide Antworten fertig |2,414s |3,377s | +| Dritte Runde, beide Antworten fertig |2,114s |2,899s | +| Erste sichtbare Antwort, Median der vier Antworten aus Runde2+3 |0,704s |1,268s | +| Ganze kurze Antwort, Median dieser vier Antworten |2,206s |2,977s | +| Beobachtetes Schreibtempo, Median dieser vier Antworten |33,27 Token/s |26,06 Token/s | +| Gesamte Arbeit ohne Modellladen und Restore |32,938s |106,319s | + +**Einordnung:** Beim laufenden kurzen Chat liegt Basalt in diesem kleinen Lauf +etwas vorne; kein nachgewiesener mittlerer/großer Basalt-Leistungsnachteil. Der +wesentliche Unterschied ist das frische Lesen sowie Stratas zusätzlicher +Lesedurchgang in der ersten Fragerunde, nicht bloß Zehntelsekunden beim Schreiben. + +## Warum Stratas erste Runde35 Sekunden dauerte + +Basalt verwendete bei beiden Fortsetzungen jeweils63993 Tokens wieder. Strata +meldete für Gespräch B ebenfalls63993, für Gespräch A jedoch **null**: dort +wurden64132 Tokens erneut gelesen, laut Antwortstatistik32,272s. Währenddessen +hatte die Antwort des anderen Gesprächs bereits begonnen, wurde aber erst nach +rund35s vollständig beendet. In Runde2+3 verwendeten beide Laufzeiten die +Verläufe wieder. Die genaue Ursache des fehlenden Strata-Cachetreffers wurde +nicht durch zusätzliche Varianten-/Konfigtests untersucht. + +## Messmethode und keine geschönten Spitzenwerte + +Reaktionszeit ist Clientzeit von Absenden bis zum ersten sichtbaren Inhalt; +Antwortzeit reicht bis zum vollständigen Streamende. Der beobachtete Schreibwert +ist `(completion_tokens-1)/(finish-first_content)` je Antwort, danach Median. +Bei gebündelten Streamstücken ist dies eine Näherung, aber für beide identisch. + +Zwei Basalt-Antworten meldeten Backend-`predicted_ms` von nur14,7/15,3ms trotz +realem Antwortverlauf über mehr als eine Sekunde. Die gleichzeitig gemeldeten +65,4/68,0 Token/s werden deshalb **nicht** als Gesamtantworttempo übernommen. +Rohdaten bleiben erhalten. Die Tabelle benutzt den vollständigen sichtbaren +Verlauf, nicht einen letzten Solo-/Batch-Teilabschnitt oder einen Spitzenwert. +Sechs kurze Antworten je Laufzeit, kein Dauertest und keine allgemeine Qualitätsabnahme. + +## Schlusszustand und Ausführungsumgebung + +Strata/Qwen im Originalprofil bereit und geladen; TTS/STT geladen; aktive und +wartende Requests null. Zwölf geschützte Hashes, Produktionsimage und +Containerstart unverändert. Eigener Basalt-Container entfernt. Kein Deck-/Host- +oder Gateway-Neustart, keine Produktionsaktivierung von Basalt, keine neuen Pakete. + +`chat64_prepare.py`: CPU-only im eigenen vorhandenen Builder, echter Tokenizer +und Chatvorlage, vorab geprüfter Fortsetzungspräfix. `chat64_client.py`: für +Basalt im eigenen isolierten GPU-Container, für Strata nativ auf Athena über die +bestehende Deck-API. `chat64_host.py`/`chat64_runner.py`: begrenzter Basalt-Start +mit eigenem Cleanup. `chat64_transport.py`: nur eigenes NAS-Hermes-Profil, +bestehende `/opt/hermes`-Umgebung, vorhandene verwaltete API-Identität ausschließlich +im Speicher/SSH-stdin. Keine Zugangsdaten in Artefakten. Native Neuinstallation +und vollständiger Restore weiterhin nicht geprüft; alte Ganzbaum-Manifeste sind +keine aktualisierte Inventur der neu hinzugekommenen eigenen Testdateien. + +[Vergleich und Berechnungsmethode](evidence/chat64-comparison.json), +[Basalt-Rohdaten](evidence/chat64-basalt.json), +[Strata-Rohdaten](evidence/chat64-strata.json), +[Fixture-Prüfung ohne Inferenz](evidence/chat64-fixtures-proof.json), +[Schlusszustand](evidence/chat64-final-state.json). diff --git a/docs/maintenance/basalt-candidate-2026-11-01/FULL_CONTEXT_RESULTS.md b/docs/maintenance/basalt-candidate-2026-11-01/FULL_CONTEXT_RESULTS.md new file mode 100644 index 0000000..7e7d429 --- /dev/null +++ b/docs/maintenance/basalt-candidate-2026-11-01/FULL_CONTEXT_RESULTS.md @@ -0,0 +1,90 @@ +# Zusätzlicher Vollkontextversuch: Teilmessung, kein bestandener Paralleltest + +Historischer Fehlversuch. Der anschließend neu beauftragte +[direkte Vergleich](PAIRED_RESULTS.md) bestätigt zwei gleichzeitig volle, +gleichzeitig schreibende Basalt-Gespräche. Strata wurde dort auf Wunsch nach +nachweislich längerer Gesamtarbeit gestoppt. Die Fehlernachweise unten bleiben erhalten. + +Michael gab nach der Kurzabnahme ausdrücklich ein neues Go: Basalt noch einmal +laden, beide Slots bis zum Rand füllen und Eingabe-/Ausgabegeschwindigkeit messen. + +**Ergebnis unvollständig:** Zwei verschiedene Eingaben mit jeweils 261632 echten +Tokens wurden vollständig verarbeitet. Ein voller Kontext lieferte 504 weitere +Tokens. Zwei gleichzeitig volle, gleichzeitig schreibende Slots sind damit +weiterhin **nicht nachgewiesen**. Ein Kapazitäts-/GPU-OOM ist ebenfalls nicht +nachgewiesen. Die Zeitgrenze des Testablaufs, nicht ein belegter Speichermangel, +beendete die zweite Messung. Das vollständige Abnahmeziel ist offen. + +## Unveränderte Konfiguration und tatsächliche Messungen + +Derselbe Basalt-Pin, offizielle Modellpack und 5080+RAM wie beim Kurztest; +Anbieterdefaults, zwei Slots mit je262144, int8-KV und elastischer Speicher. +Kein anderer GPU-Split, keine Produktionsintegration oder neue globale Dienste. + +Die tatsächliche API reserviert zusätzlich acht Kontexttokens. Nach dem ersten +400-Fehler mit512 angeforderten Tokens wurde innerhalb desselben absoluten +Fensters auf504 korrigiert. Für diesen Lauf gilt je Request: +**261632 Eingabe +504 mögliche Ausgabe +8 interne Reserve =262144.** + +| Korrigierter Lauf | Tatsächliche Messung | +|---|---:| +| Zuerst verarbeitetes Dokument B,261632 Tokens, kein Cache |4405,1 Token/s;59,3935s reine Prefillzeit | +| Danach verarbeitetes Dokument A,261632 Tokens, kein Cache |2465,4 Token/s;106,1235s reine Prefillzeit | +| Beide Eingaben, gleichzeitig abgeschickt, vollständig beendet |166,3014s gemeinsame Wandzeit;3146,48 Eingabetokens/s insgesamt | +| Vollkontext-Ausgabe, eine abgeschlossene Antwort |504 Tokens;17,5 Backend-Token/s;261625 Prompttokens wiederverwendet | +| Gleichzeitig schreibendes Paar voller Kontexte |**Keine gültige abgeschlossene Messung** | + +Reine Prefillzeit ist nicht die Wartezeit ab Absenden: Dokument A hatte inklusive +Warten166,2454s bis zum ersten Token, Dokument B59,9916s. Die Annahme, gleichzeitig +abgeschickte große Eingaben würden gleichzeitig eingelesen, ist nicht belegt. +Die17,5 Token/s entstanden, während der andere Request noch einlas; sie sind +**kein Solo-Referenzwert und keine gemeinsame Zweier-Ausgaberate**. + +## Warum der Parallel-Ausgabeteil nicht fertig wurde + +Der Test trennte Lesen und Schreiben: erst beide Volltexte mit je einem +Ausgabetoken, danach dieselben Prompts mit504 Ausgabetokens. Diese Vorbefüllung +bewies keine gleichzeitige dauerhafte Cache-Residenz. Beim Folgeturn nutzte ein +Request den Cache und schrieb504 Tokens, der andere musste erneut einlesen. +Beim Stopp waren davon152064 Tokens gelesen und null Ausgabetokens erzeugt. +Kein Snapshot zeigte beide vollen Slots zugleich im Zustand`decoding`. + +Der korrigierte Client wurde durch den äußeren `subprocess.run`-Timeout nach +253,49s beendet. Der Server wurde regulär beendet, der eigene Container entfernt. +Die genaue Ursache der fehlenden Cache-Wiederverwendung ist nicht unabhängig +aufgeklärt: mögliche Effekte von SDK-Solo/Batch-Umschaltung, Cachehaltung und +Speicherpolitik dürfen nicht als bestätigter GPU-Speicherfehler ausgegeben werden. +Insbesondere zeigt`ctx_used` in einem`prefill`-Snapshot bereits die angeforderte +Promptlänge, nicht zwingend die tatsächlich schon eingelesenen Tokens. + +Der erste Versuch samt400-Antworten wurde nicht überschrieben. Der korrigierte +Lauf hat eigene Dateien`full2_*`. Dessen Client speicherte fertige Future-Ergebnisse +leider erst nach Ende beider Requests: beim Timeout blieb`requests` im Ausgabeteil +leer. Der abgeschlossene504-Token-Request ist deshalb aus der echten +`[server] s1 done ... tg=504 17.5t/s`-Zeile belegt, nicht aus erfundenen SSE-Daten. +Ein zukünftiger Client muss einzelne fertige Requests sofort sichern und die +interne Kontextreserve sowie erneutes Prefill im Zeitbudget berücksichtigen. +Keine weitere Inferenz ohne neues Go; dieser Versuch ist beendet, nicht bestanden. + +## Wiederherstellung und Nachweise + +Originalendpunkt regulär über LAN-GUI/API gestartet, ursprüngliches Qwen-Profil +`0c25bfe00240414397c41a980ecbe4f0` mit einem eigenen kurzen GUI-Chat-Test wieder +geladen. Dieser Restorecheck ist keine Benchmarkreferenz. Qwen bereit und geladen, +TTS/STT geladen, alle Schedulerzähler null; zwölf geschützte Hashes sowie +Produktionsimage und Containerstart unverändert. Eigener Testcontainer entfernt. +Wiederherstellung nachgelesen890,271s nach Start des900s-Fensters. + +[Zusammenfassung](evidence/full-summary.json), +[korrigierter Rohstand mit Slotsnapshots](evidence/full2-results.json), +[korrigiertes Serverprotokoll](evidence/full2-server.log), +[Runner-Timeout](evidence/full2-runner-status.json), +[Wiederherstellung](evidence/full-restoration.json), +[erster Versuch einschließlich API-Ablehnungen](evidence/full-results.json). + +Alle neuen Helfer, synthetischen Fixtures, Protokolle und Caches liegen weiter +unter der eigenen Kandidatenwurzel. Der vorherige8470-Einträge-Manifestaudit +bezieht sich auf den Stand nach der Kurzabnahme, nicht auf diesen erweiterten +Baum; kein neuer Ganzbaum-/80GB-Modellhashlauf behauptet. Der vorhandene +Ownership-/Mount-/Prozess-geschützte Rückbau bleibt unverändert anwendbar. +Native frische Debian-Installation und kompletter Restore bleiben ungeprüft. diff --git a/docs/maintenance/basalt-candidate-2026-11-01/PAIRED_RESULTS.md b/docs/maintenance/basalt-candidate-2026-11-01/PAIRED_RESULTS.md new file mode 100644 index 0000000..e6068ba --- /dev/null +++ b/docs/maintenance/basalt-candidate-2026-11-01/PAIRED_RESULTS.md @@ -0,0 +1,111 @@ +# Direkter Vollkontextvergleich: Basalt bestanden, Strata auf Wunsch früh beendet + +Neuer Auftrag nach den unvollständigen Vorversuchen: denselben Test korrekt mit +Basalt und der aktuellen Strata-Dual-Konfiguration fahren; Strata abbrechen, +sobald es für dieselbe Aufgabe nachweislich länger braucht. + +## Ergebnis + +**Basalt bewältigt zwei gleichzeitig schreibende, nahezu volle Gespräche auf der +5080 plus RAM. Für diesen Großtextablauf ist es schneller als die aktuelle +Strata-Konfiguration auf3060+5080 plus RAM.** Kein allgemeiner Qualitätsvergleich +oder neuer Beleg zur Geschwindigkeit bei kurzen Anfragen. + +| Gleicher Ablauf | Basalt | Strata | +|---|---:|---:| +| Erstes Dokument,261500 echte Eingabetokens |64,4719s Prefill;4056,0 Token/s |134,1678s Prefill;1949,1 Token/s | +| Zweites Dokument,261500 echte Eingabetokens |106,8055s Prefill;2448,4 Token/s |Beim gewünschten Abbruch noch nicht fertig | +| Beide Dokumente einlesen und jeweils mit OK bestätigen |172,1586s gemeinsame Wandzeit |Nach232,2537s Gesamtarbeit noch beim zweiten Dokument | +| Danach zwei Antworten mit je504 Tokens bei je261632 Eingabetokens |27,8331s gemeinsame Wandzeit;36,2159 Ausgabetokens/s insgesamt |Wegen frühem Abbruch nicht gemessen | +| Backend-Ausgaberaten der beiden langen Antworten |18,9 und19,6 Token/s |Nicht gemessen | +| Gesamter Ablauf ohne Modellladen |199,9931s |Mehr als232,2537s nötig; auf Wunsch abgebrochen | + +Strata benötigte bereits mindestens16,13% mehr Gesamtzeit als Basalt für den +vollständigen Ablauf, ohne selbst fertig zu sein. Das ist eine Untergrenze, +keine geschätzte endgültige Laufzeit. Für Strata wird keine Ausgaberate aus den +zwei kurzen Bestätigungstokens oder einem früheren Kurztest abgeleitet. + +## Tatsächliche Vollbelegung und korrigierter Testablauf + +Beide Abläufe verwenden dieselbe deterministisch vorbereitete Gesprächsdatei: +zunächst zwei verschiedene Archive mit je261500 Eingabetokens und gewünschter +Antwort `OK`, danach echte Fortsetzungen mit je261632 Eingabetokens und maximal +504 Ausgabetokens. Zusammen mit der tatsächlich benötigten internen Reserve +von8 Tokens sind262144 pro Gespräch ausgeschöpft. Tatsächliche API-Zählungen +wurden geprüft, nicht allein die eingestellte Fenstergröße. + +Der echte Tokenizer und die echte Chatvorlage wurden vorher ohne Inferenz +geprüft: jede Fortsetzung erweitert den gehaltenen bisherigen Text einschließlich +`OK`. Anders als der frühere Versuch werden keine vollständigen Prompts mit +Ein-Token-Antwort identisch neu abgespielt. Beide Basalt-Fortsetzungen meldeten +261493 wiederverwendete Tokens und erzeugten jeweils504 neue Tokens vollständig. +Fünf aufgezeichnete Snapshots zeigen beide Slots gleichzeitig mit vollständig +verarbeitetem261632-Token-Prompt im Zustand `decoding`. Die Antwortströme +überlappten25,6290s. Das Vollparallel-Ziel ist damit für Basalt nachgewiesen. + +Die vorher festgelegte Strata-Abbruchschwelle war Basalts vollständige Arbeitszeit +plus15% und2s, hier231,9921s. Nur die eigenen Testverbindungen wurden geschlossen; +kein fremder Request, Worker, Dienst oder Host wurde deshalb beendet. Das +nachfolgende `Benchmark stopped before admission` bedeutet, dass nach dem +gewünschten Stopp keine neuen Ausgabeanfragen mehr begonnen wurden. + +## Gleiche Modellbasis und Grenzen des Vergleichs + +Strata lädt `Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00001-of-00002.gguf` und +`Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00002-of-00002.gguf`. Das offizielle Basalt-Paket +nennt genau diese beiden Dateien als Ausgangsquellen. Ihre Größen und die dort +hinterlegten SHA-256-Fingerabdrücke aus ersten/letzten64MiB plus Dateigröße wurden +an den tatsächlichen Strata-Dateien nachgerechnet: beide stimmen überein. + +Also dieselbe Ausgangsmodell-/GSQ-RCO-IQ3_XXS-Variante, nicht IQ2 gegen IQ3. +Der Fingerabdruck ist kein Ganzdatei- oder vollständiger Tensorvergleich. +Basalt verwendet ein anderes Laufzeitpaket mit unter anderem HC8-Kopien und +abgestimmten Zusatzbestandteilen. Keine behauptete bitidentische Verarbeitung +aller Gewichte oder allgemeine Qualitätsgleichheit. Hardwaretopologie und +Anbieter-/Profildefaults unterscheiden sich weiterhin wie dokumentiert. + +Basalts unveränderter Pin/Modellpack und Stratas aktive0.1.55-Dual-Konfiguration +wurden benutzt; kein zusätzlicher Split-/Tuninglauf. Modellladezeit und kurzer +Restorecheck sind nicht in den Arbeitszeiten enthalten. + +## Erhaltener Validierungsfehler, keine verfälschte Langmessung + +Die erste Strata-Anfrage wurde vor Inferenz nach0,033s vom Deck-Validator +abgewiesen, weil `reasoning_budget_tokens=0` dort nicht zulässig ist. Dieser +Fehlversuch bleibt in `paired-strata.json` erhalten und gehört nicht zur +Leistungsmessung. Die korrigierte Anfrage lässt das unnötige Feld weg und nutzt +weiter `reasoning_effort=none`; die echte Deck-Validierung und Budgetanwendung +wurden offline geprüft. Fünf Offline-Tests einschließlich sofortiger Sicherung +eines fertigen Requests bei Abbruch des anderen bestanden. Mockdaten dieser +Tests sind keine Modellmessungen. + +## Schlusszustand und Reproduzierbarkeit + +Original-Strata/Qwen wieder geladen, TTS und STT geladen, Originalprofil bereit, +aktive und wartende Anfragen null. Zwölf geschützte Hashes sowie Produktionsimage +und Containerstart stimmen mit dem neuen Vorher-Snapshot überein. Eigener +Basalt-Testcontainer entfernt; keine dauerhafte Basalt-Aktivierung, kein neuer +Dienst, keine Hostpakete und kein Neustart von Deck/Host/Gateway. + +`paired_prepare.py`: CPU-only im eigenen Builder mit echtem Tokenizer. +`paired_client.py`, `paired_runner.py`, `paired_host.py`: isolierter Basalt-Test +und dessen begrenzter Host-Supervisor. `paired_strata_client.py`: nativer +Athena-Host über die bestehende Deck-API. `paired_strata_transport.py`: nur dieses +NAS-Hermes-Profil, bestehende `/opt/hermes`-Umgebung und profilbezogene verwaltete +API-Identität ausschließlich im Speicher/SSH-stdin. Kein Schlüssel in Artefakten. + +Alle Athena-Artefakte bleiben in der eigenen entfernbaren Kandidatenwurzel. +Der ältere8470-Einträge-Ganzbaumaudit bleibt historisch; aktuelle Testdateien und +Fixture sind separat im Artefaktindex gehasht. Keine erneute80GB-Modellhashrunde, +keine neue native Installation oder vollständige frische Debian-/Restore-Abnahme. +Dieser Testauftrag ist abgeschlossen und keine Freigabe für weitere Inferenz +oder dauerhafte Produktionsumstellung. + +Nachweise: [Vergleich](evidence/paired-comparison.json), +[Basalt einschließlich beider Antwortströme und Slots](evidence/paired-basalt.json), +[Strata einschließlich gewünschtem Abbruch](evidence/paired-strata2.json), +[erhaltener API-Validierungsfehler](evidence/paired-strata.json), +[Schlusszustand](evidence/paired-final-state.json), +[Datei-/Fixtureindex](evidence/paired-artifact-index.json), +[geprüfte GGUF-Ausgangsquellen](evidence/paired-weight-source-check.json), +[Basalt-Serverprotokoll](evidence/paired-server.log). diff --git a/docs/maintenance/basalt-candidate-2026-11-01/README.md b/docs/maintenance/basalt-candidate-2026-11-01/README.md new file mode 100644 index 0000000..79ccf56 --- /dev/null +++ b/docs/maintenance/basalt-candidate-2026-11-01/README.md @@ -0,0 +1,233 @@ +# Basalt: separat entfernbarer Buildkandidat + +## Auftrag und Grenzen + +Michael hat einen parallelen, nach einem Test sauber entfernbaren Basalt-Build +beauftragt. Bau und Paketvorbereitung waren ohne Modellstart. Nach seinem +**separaten Go** wurde genau ein kurzer echter Modelltest gefahren und der +Originalbetrieb wiederhergestellt. Basalt bleibt nicht aktiviert, nicht in Deck +registriert; kein Autostart, keine neue API-Identität oder systemd-Unit. + +**Aktuell: Strata/Qwen, TTS und STT geladen; Basalt gestoppt.** Elf Modellrequests +bestanden. Solo 71,4 statt dokumentierter 64,8 Backend-Token/s; Parallelpaar +13,7656 statt 12,3075 s, also langsamer; frisches 60047-Token-Dokument 12,0572 +statt 31,7225 s. Historischer Vergleich verschiedener GPU-Aufteilungen, kein +kontrolliertes A/B. Keine weiteren Varianten angeschlossen. +[Modelltest, Urteil, Wiederherstellung und Grenzen](RESULTS.md). + +**Neuester kleiner64K-Chatvergleich vollständig:** beide Engines acht echte +Requests, sechs kurze Antworten. Steady Chat-Reaktion Basalt0,704s/Strata1,268s; +fertige Antwort2,206s/2,977s, beobachtetes Schreiben33,27/26,06Token/s. +[64K-Chat, tatsächliche Cacheverluste und Rohdaten](CHAT64_RESULTS.md). + +**Vorheriger direkter Vergleich abgeschlossen:** Basalt verarbeitet zwei volle +Gespräche gleichzeitig, je261632 Eingabe+504 Ausgabe. Gesamte Arbeit199,993s; +Strata bei gleicher Aufgabe nach232,254s wie gewünscht gestoppt, noch beim zweiten +Dokument. Originalbetrieb unverändert geladen. [Aktueller Vergleich und Quellenidentität](PAIRED_RESULTS.md). + +**Früherer neuer Vollkontext-Go:** zwei261632-Token-Eingaben vollständig +verarbeitet, eine504-Token-Ausgabe mit17,5 Token/s; parallele Ausgabe aus zwei +vollen Slots wegen erneutem Prefill und Runner-Zeitlimit **nicht nachgewiesen**. +Originalbetrieb wiederhergestellt. [Teilresultate und Testablauffehler](FULL_CONTEXT_RESULTS.md). +Der8470-Einträge-Audit gehört zum früheren Kurzteststand, nicht zum erweiterten Baum. + +## Vorherige Build-Abnahme, vor Modelldownload und Test + +**Build und begrenzte Abnahme abgeschlossen, nicht aktiviert.** Nach Hermes- +Neustart wurde der tatsächliche Athena-Zustand geprüft und ohne erneuten Download +oder Neuaufbau der Binärprogramme bei der Abnahme weitergemacht. + +- Alle vier Programme gebaut; Quellstand und Binärhashes unverändert. +- **62/62 ausgewählte CPU-Tests bestanden**, keine Fehler oder ausgewählten Skips. +- Python-Fixture-Suite: **645 bestanden, 2 übersprungen**, insgesamt 647 Tests. +- **9 lokale Rückbau-/Isolations-/Manifesttests bestanden**, einschließlich + tatsächlicher Red/Green-Regressionsnachweise. +- Engine- und Server-CLI-Hilfe sowie Bibliotheken im Builder geprüft. Native + Engine-Hilfe und Bibliotheken zusätzlich direkt auf dem Debian-Host geprüft. +- Eigener Builder beendet/entfernt; 12 geschützte Produktionshashes, Image und + Containerstart unverändert, Produktivcontainer gesund. Qwen/TTS/STT per + bestehendem authentifiziertem Statuszugang weiterhin geladen bestätigt. +- Datei-/Linkinventar **8290 Einträge, 1,48 GiB logische Größe**, unabhängig + gegen den tatsächlichen Kandidatenbaum nachgelesen und abgeglichen. +- In dieser Bauphase kein Modelldownload, keine Modell-/GPU-Inferenz oder Aktivierung. + +[Maschinenlesbare damalige Build-Abnahme](evidence/final.json). Der Kandidat +bleibt getrennt erhalten; ein erneuter Modelltest braucht ein neues Go. + +## Quelle und geprüfte Einschränkung + +- Offizielle Quelle: `https://github.com/jesdga95/basalt.git`. +- Fester Commit: `9175e7a3211bda355c02e804c7c107b15b8ea89f`. +- CMake-Projektversion dieses festen Standes: **0.1.0**. +- Zielarchitektur: **SM120**, inklusive des upstream vorgesehenen SM120a-FP4-Targets. +- Keine Änderung der Upstream-Quelldateien. + +**Die 3060 wird nicht unterstützt, auch nicht als zusätzliche Experten-GPU.** +`src/program/gpu_select.cpp:136` akzeptiert bekannte Karten ausschließlich mit +Compute Capability 12.0; die Auswahl und der zugehörige CPU-Test weisen SM86 +zurück. Eine spätere Messung wäre daher **Basalt auf 5080 + RAM gegen Strata auf +3060 + 5080 + RAM**, nicht derselbe GPU-Aufbau. Keine Leistungszusage aus fremden +Blackwell-Benchmarks ableiten. Zwei volle 262144-Kontext-Slots müssen separat +konfiguriert und tatsächlich auf Speicherbedarf und Funktion geprüft werden. + +## Einziger beschreibbarer Basalt-Bereich auf Athena + +`/opt/athena-deck-dev/basalt-candidate-9175e7a3211b` + +Darunter liegen sämtliche Basalt-Quellen, Builddateien, Binärprogramme, private +Python-Umgebung, HOME, temporäre Dateien, Paket-/CUDA-/HF-Caches, Status, Logs und +Nachweise. Spätere Modellpakete, Konvertierungsstände und Testdaten ebenfalls +hier ablegen; keine externen Caches oder globalen Modelleinstellungen verwenden. +Der Build lädt keine Modellgewichte herunter. Anschließend wurde das komplette +offizielle Paket separat vorbereitet: `models/Qwen3.8-FN-GSQ-RCO-IQ3_XXS.basalt`, +79867643037 Bytes, feste Quelle/Revision/SHA-256 in [model-source.json](model-source.json). +Die vorhandenen GGUFs wären konvertierbar; sie sind nicht direkt ausführbar und +eine einfache Konvertierung ersetzt nicht die qualifizierten Anbieter-Zusätze +Expertenprofil, HC8 und MTP-Drafter. Alle 19 Paketsektionen sind lesbar, Ganzdatei- +SHA-256 unabhängig geprüft. Kein globaler HF-Cache oder zweite Downloadkopie. + +Zwei vorhandene Ressourcen werden nur geliehen, niemals durch den Rückbau gelöscht: + +1. Privates vorhandenes CUDA-Toolkit, read-only: + `/opt/athena-deck-dev/runtime/state/strata-runtime/cuda`. +2. Bereits vorhandenes Deck-Basisimage, über seine tatsächliche SHA-256-ID fixiert + und in `production-before.json` dokumentiert. Kein neuer Image-Tag, kein Image- + Build oder Pull, kein Docker-Volume. + +Nur kurzlebiger eigener Builder: +`athena-basalt-build-9175e7a3211b`, Ownership-Label +`athena-deck.basalt-owner=athena-deck/basalt/9175e7a3211bda355c02e804c7c107b15b8ea89f`. +Automatische Entfernung, keine veröffentlichten Ports, keine GPU-Geräte, kein +Docker-Socket, keine Modell-/Produktionszustands-/Zugangsmounts. Der +Kandidatenbereich ist als schreibbarer Bind-Mount eingebunden, dessen eigenes `tmp` zusätzlich +als `/tmp`; dazu ein read-only Toolkit-Mount. Beide schreibbaren Quellen liegen +im selben entfernbaren Kandidatenbereich, nicht im Host-`/tmp`. +Root-Dateisystem read-only. Nach Dependency-Download läuft der eigentliche +Build mit Netzwerk `none`. + +Limits: UID/GID 65534, eine CPU Quota, CPU Shares 2, nice 19, ein Compilejob. +Kompilierung: 3 GiB RAM ohne zusätzlichen Swap, 256 PIDs, Start ab 6 GiB +verfügbarem RAM. Reine Abnahme: 2 GiB RAM ohne zusätzlichen Swap, 512 PIDs, +Start ab 4 GiB verfügbarem RAM. Schutzabbruch nur des eigenen Builders unter 1,5 GiB Host- +Spielraum oder nach 45 Minuten pro Phase. Keine Aussage, dass ein paralleler +Build keinerlei CPU-/I/O-Einfluss hat; keine Produktionsanfragen werden dafür +abgebrochen oder abgewartet/entladen. + +## Ausführungsumgebungen und Reproduktion + +- `candidate.py`: Athena-Host; Vorbereitung, begrenzter Builder, Schutzprüfung, + Zustandsvergleich und Rückbau. Im Kandidatenverzeichnis ausführbar abgelegt. +- `build.py`: ausschließlich im eigenen unprivilegierten Builder; öffentlicher + fester Git-Stand, private venv, CMake/Ninja und CPU-/Fixture-Tests. +- `prepare_model.py`: Athena-Host, vorhandene aria2c 1.37.0/ionice, niedrige CPU-/ + I/O-Priorität, vier HTTP-Verbindungen, 768 MiB Adressraumlimit und 20 GiB + freier Speicher als Untergrenze. Resumierbare eigene `.part`/`.aria2`-Dateien, + anschließende SHA-256-/Headerprüfung, keine Inferenz. Native unprivilegierte + Schreibzugriffe über einen geerbten FD ausschließlich auf den eigenen + Kandidaten: der geschützte Host-Elternpfad bleibt unverändert Modus 0700. +- `test_client.py` und `run_short_test.py`: im isolierten GPU-Testcontainer; + explizites Go nötig, nur Loopback, elf synthetische echte Modellrequests und + harter äußerer Deadline-/Shutdownpfad. Sieben Offline-Protokoll-/Go-/Konfigtests + in `test_client_offline.py` bestanden, kein Ersatz für Modelltests. +- `host_short_test.py`: Athena-Host; verlangt separates Go, frischen tatsächlich + nachgelesenen GUI-Drain, entfernten Originalworker und freie GPUs. Stoppt nur + den eigenen verifizierten Testcontainer bei Deadline-/RAMfehlern. Normaler + Produktions-Drain und Wiederherstellung bleiben beim authentifizierten Operator. +- `test_candidate.py`: NAS, neun ausschließlich lokale Tests mit synthetischen + Wegwerfdateien; keine Athena-Verbindung. Sieben bestanden vor dem Build; + alle neun einschließlich neuer Container-/Temporärpfad-/Manifestregressionen + bestanden nach der Wiederaufnahme, mit tatsächlich beobachtetem Red/Green-Verlauf. +- Keine Skripte oder Pakete in der Hermes-Umgebung installiert. + +Verifizierte Buildumgebung: GCC/G++ 13.3.0 (Ubuntu 24.04), Python 3.12.3, +CUDA 13.0.48; CMake 3.31.6 und Ninja 1.11.1.4 in der privaten venv. Die festen +Upstream-Requirements und tatsächlichen weiteren Paketversionen stehen in +`python-lock.txt`; `pip check` bestand. Vollständiges Compile-/Testlog: +`build.log`. Nur CPU-markierte CTests, AVX-512-exklusive Tests auf dem AVX2-Host +ausgeschlossen. Der numerische Quantizer-Test mit eingebautem 200000-Iterationen- +Mikrobenchmark ist zusätzlich explizit ausgeschlossen und nicht als bestanden +gezählt. Keine GPU-Paritätstests, Modellbenchmarks oder Inferenz. + +### Tatsächliche Wiederaufnahme nach Hermes-Neustart + +Alle 609 Compiler-/Linkschritte waren bereits abgeschlossen, vier Binärprogramme +vorhanden, kein Builder mehr aktiv. Die erste Abnahme enthielt 54 protokollierte +Tests und sechs Fehler, noch kein endgültiges Testergebnis. Die sechs Fehler +stammten vom fest auf `/tmp` zurückfallenden Upstream-Helfer +`src/platform/file.cpp:291`, der `TMPDIR` unter Linux ignoriert. Deshalb wurde +das bereits eigene Kandidaten-`tmp` zusätzlich ins Container-`/tmp` eingebunden. +Keine Änderung am Upstream-Code, an Host-`/tmp` oder an Produktionspfaden. + +Der anschließende vollständige Lauf bestand 61/62 Tests. Der verbliebene Fehler +`direct_file_async_test` kam vom 256-PID-Limit: Linux-`DirectFile` erzeugt bereits +256 I/O-Threads pro Standardöffnung (`src/platform/direct_file.cpp:394`), neben +den Steuerprozessen. Nur die Abnahme erhielt daher 512 PIDs; CPU-/GPU-/Netz- +Isolation und RAMbegrenzung bleiben bestehen. Danach **62/62 CPU-Tests, null +Fehler, null übersprungene ausgewählte Tests**, in 91 Sekunden laut JUnit. + +Originale Status-/Hash- und Fehlernachweise bleiben im Kandidaten unter +`resume-before.json`, `ctest-cpu-interrupted.txt`, `ctest-cpu-256pids.txt/.xml` +sowie den archivierten Controller-/Buildskripten erhalten. Die Binärhashes vor +Wiederaufnahme sind erfasst und müssen bei der Schlussabnahme übereinstimmen. +Der nach einem Vordergrund-Timeout noch laufende Python-Fixture-Job wurde per +Ownership-Prüfung wiedergefunden und übernommen, nicht doppelt gestartet. +Sein Container endete tatsächlich mit Exitcode 0; alle nachfolgenden CLI-/ +Hashprüfungen waren abgeschlossen. Die Binärhashes stimmen nachweislich mit dem +Stand vor der Wiederaufnahme überein. Die Unterbrechungsursache des ersten +CPU-Laufs ist aus den erhaltenen Nachweisen nicht sicher feststellbar; der von +Michael gemeldete Hermes-Neustart ist nicht automatisch ein Enginefehler. + +### Native Debian-Perspektive, keine versteckte Containerpflicht + +Das Artefakt ist ein natives C++/CUDA-Programm. Ein neuer nativer Aufbau braucht +explizit x86-64/AVX2, eine unterstützte Blackwell-SM120-GPU samt CUDA-13-kompatiblem +Treiber, GCC/Clang mit C++20, CUDA-Toolkit >=13.0, Git, CA-Zertifikate, Python +>=3.10 mit venv und CMake >=3.24; hier die oben fixierten tatsächlich genutzten +Versionen. Quellen und Paketumgebung getrennt unter einer eigenen konfigurierten +Zustandswurzel provisionieren, ohne System-Python oder Treiber zu ersetzen. +`build.py` zeigt die expliziten unveränderten CMake-/Ninja-Kommandos und Pins; +das geborgte Toolkit ist auf einem frischen Host separat nach dem vorhandenen +[gepinnten nativen CUDA-Rezept](../../../deploy/STRATA_NATIVE.md) bereitzustellen. + +Die heutige Python-Umgebung wurde für den bestehenden Ubuntu-Builder erzeugt; +sie ist **keine geprüfte, auf Debian portable Serverinstallation**. Auf einem +nativen Debian muss die venv mit dem dort explizit provisionierten Python neu +erstellt werden. Keine native Deck-Integration, kein systemd-Dienst, kein +vollständiger frischer Debian-/verschlüsselter Restore-Nachweis. Dieser Kandidat +ist optional und nicht Teil des produktiven Restore-Umfangs. Das öffentliche +Modellpaket liegt mit fester Quelle, Revision und Hash ausschließlich im +Kandidatenbereich; Wiederbeschaffung unter neuer expliziter Zielwurzel ist +dokumentierbar, aber kein geprüfter kompletter nativer Restore. Keine Gewichte +oder Geheimnisse in Git. Die tatsächliche Kurzprüfung ist keine Daueraktivierung. + +## Rückbau + +Auf Athena zunächst ausschließlich den Plan lesen: + +```sh +python3 /opt/athena-deck-dev/basalt-candidate-9175e7a3211b/candidate.py cleanup +``` + +Nach beendetem und separat freigegebenem Modelltest tatsächlich entfernen: + +```sh +python3 /opt/athena-deck-dev/basalt-candidate-9175e7a3211b/candidate.py cleanup --apply +``` + +Der Rückbau akzeptiert ausschließlich den festen Kandidatenpfad, dessen +Ownership-Marker, Geräte-/Inodekennung und unverknüpftes Wurzelverzeichnis. Er +verweigert existierende Kandidatencontainer, Prozesse unterhalb des Kandidaten +sowie eingebundene Dateisysteme. Descriptor-basiertes `rmtree` folgt internen +Symlinks nicht in externe Ziele. Keine pauschalen Docker-Prunes, kein Entfernen +geteilter Images/Toolkits, keine Dienststopps, keine Änderungen an Strata oder +Hostpaketen. Container-Cleanup im Build-Controller gilt auch bei getrenntem +SSH-/Docker-Client; dessen Ende allein beweist keine Containerbeendigung. + +Die endgültige Verifikation hat denselben Rückbauhelfer an einem tatsächlichen +Wegwerfverzeichnis auf Athena ausgeführt, das Überleben eines externen Symlink- +Ziels und die Ablehnung einer verknüpften Wurzel geprüft und den echten Kandidaten +als Dry-Run validiert. Der echte Kandidat bleibt für den späteren Test erhalten. +Das finale `manifest.json` erfasst reguläre Dateien mit Größe/SHA-256 und interne +Symlinkeinträge ohne deren Ziele zu lesen; ausgenommen ist die Manifestdatei +selbst. Git-Dokumentation und normale SSH-/Docker-Systemprotokolle sind keine +zu löschende Basalt-Installation und werden nicht als Spurenbeseitigung entfernt. diff --git a/docs/maintenance/basalt-candidate-2026-11-01/RESULTS.md b/docs/maintenance/basalt-candidate-2026-11-01/RESULTS.md new file mode 100644 index 0000000..9f4d109 --- /dev/null +++ b/docs/maintenance/basalt-candidate-2026-11-01/RESULTS.md @@ -0,0 +1,104 @@ +# Basalt: ein kurzer echter Modelltest, Originalbetrieb wiederhergestellt + +Diese Datei beschreibt die erste Kurzabnahme. + +**Neuester Stand:** [direkter Vollkontextvergleich](PAIRED_RESULTS.md): Basalt +full/full bestanden, Strata bei derselben Aufgabe wie gewünscht früh gestoppt. + +Historisch: Der erste separat freigegebene +[Vollkontextversuch](FULL_CONTEXT_RESULTS.md) blieb im parallelen Ausgabeteil +unvollständig; er bestätigt keine zwei gleichzeitig voll schreibenden Slots. + +## Urteil und aktueller Betrieb + +**Gemischtes Ergebnis: lange Prompts deutlich schneller, Solo-Decode etwas +schneller, zwei gleichzeitige Antworten langsamer. Strata bleibt aktiv.** +Kein automatischer Laufzeitwechsel, kein dauerhaft gestartetes Basalt und keine +weitere Variante. Der getrennte Kandidat samt Modellpaket bleibt entfernbar. + +## Tatsächlicher Lauf + +Nach Michaels separatem Go: reguläre authentifizierte LAN-GUI, aktive Requests, +Scheduler-Aktivität, wartende Requests und TTS-Warteschlange alle explizit null, +kein Wechsel im Gang. Normaler Endpunkt-Drain; nachgelesen `stopped`, LLM entladen, +TTS/STT weiter geladen. Keine Admin-Umgehung, kein Deck-/Host-/Gateway-Neustart. + +- Fester Basalt-Commit `9175e7a3211bda355c02e804c7c107b15b8ea89f`, Version 0.1.0. +- Offizielles vollständiges GSQ-RCO IQ3_XXS-Paket, Revision + `c0e57437ea564aa85263ab0bc0ee83568dd53213`, SHA-256 + `d02bb1b188bbc9ed6bc88ce5e89c7c2d64247290c7bae70fbb9d9d17fe65ed71`; 79867643037 Bytes, 19 Sektionen, + Header/Metadaten mit dem festen Reader geprüft. Bestehende GGUFs sind + grundsätzlich konvertierbar, aber nicht direkt ausführbar; das gewählte + Anbieterpaket enthält das abgestimmte Profil, HC8 und MTP. +- Nur RTX 5080, über UUID an die isolierte Umgebung gebunden. Kein 3060-Peer. +- Zwei tatsächliche Slots à 262144 Tokens per `/props` und `/slots` geprüft, + int8-KV, Expertcache/Prefill `auto`, residente Experten, Bilder aus. +- Anbieterdefaults; beobachtet: AVX2, CPU-Pool 3, Resident-Budget 41,7 GB, + elastischer KV-Speicher `0.9/7.8GiB`, MTP auch bei parallelen Anfragen aktiv. +- CPU-Maske `0,1,2,3,6,7,8,9`; CPU-Quote 12 wie Produktionscontainer. + Nur der eigene Testcontainer: 52 GiB RAM, kein zusätzlicher Swap, + 512 PIDs, kein Netzwerk/Host-Port, Client und Server auf Container-Loopback. +- Modellladen: **33,08 s**. Client: **43,42 s**. +- **11/11 echte Requests bestanden**: Solo, Parallelpaar, zwei getrennte + Dokumente, zwei Cache-Folgeturns, 60047-Token-Dokument, JSON, Mock-Tool-Aufruf + und festes synthetisches Tool-Ergebnis. Keine reale Tool-/Infrastrukturaktion. +- Cache-Wiederverwendung tatsächlich gemeldet: 7427 und + 7413 Tokens. Beide Dokumentkennungen getrennt gefunden. + +## Vergleich mit dokumentiertem aktuellem Strata 0.1.55 + +| Lastfall / Metrik | Strata, dokumentiert | Basalt, dieser Lauf | Einordnung | +|---|---:|---:|---| +| Solo, 512 Ausgabetokens, Backend-Decode | 64,8 Token/s | 71,4 Token/s | +10,2 % | +| Zwei parallele Antworten à 512 Tokens, gemeinsame Gesamtzeit | 12,3075 s | 13,7656 s | Basalt benötigt 11,8 % mehr Zeit | +| Derselbe parallele Durchsatz, Ende-zu-Ende | 83,20 Token/s | 74,39 Token/s | Strata vorne | +| Frisches Dokument, 60047 Eingabetokens, Prefill | 1923,3 Token/s | 5140,4 Token/s | Basalt vorne | +| Dasselbe lange Dokument, vollständige Antwortzeit | 31,7225 s | 12,0572 s | 2,63× so schnell / 62,0 % weniger Zeit | + +Referenz: [dokumentierte Strata-Kurzabnahme](../strata-029-staged-2026-11-01/README.md). +Keine neue Referenzinferenz oder Matrix. Die kleine Original-Qwen-Anfrage +nachher dient ausschließlich dem Wiederladen/Restorenachweis, nicht der Rate. +Die Strata-Solo-Gesamtzeit 67,749 s enthält Modellstart/Laden und wird **nicht** +mit Basalts bereits geladenem Solo-Request verglichen; oben stehen nur die +Backend-Decode-Raten. Paralleldurchsatz stammt aus gemeinsamer Wandzeit, +nicht aus summierten oder fragmentierten Slot-/Backend-Zählern. + +**Grenzen:** historischer Einzelvergleich, kein kontrolliertes interleaved A/B. +Strata nutzt 3060 + 5080, Basalt 5080 + RAM; vollständiges Anbieterpaket, +CPU-Pool, Speicherbudgets und MTP-Defaults unterscheiden sich. Zwei 262K-Slots +sind konfiguriert und bei Kurzlast benutzt, nicht gleichzeitig bis zur Grenze gefüllt. +Keine allgemeine Qualitätsgleichheit, Blindbewertung oder Langzeitstabilität; +die zusätzlichen Code-/Fenced-Tool-Fälle der 13-Request-Strata-Abnahme sind +nicht Teil dieses kürzeren Basalt-Laufs. Kein Bild-/Audio-/TTS-Modelltest. + +## Wiederherstellung und Rückbau + +Testserver ordentlich beendet (Exitcode 0), eigener Container entfernt, +keine GPU-Computeprozesse mehr vor Originalstart. Ursprünglichen Endpunkt +über die normale GUI gestartet und Qwen mit einer kleinen synthetischen +Restoration-Anfrage geladen/geprüft. Danach authentifizierter GUI-Readback: +`running`, Qwen/TTS/STT geladen, aktive/wartende Arbeit null, kein Wechsel. +Alle **12 geschützten Datei-Hashes**, Produktionsimage und Containerstart +unverändert; Originalprofil `flash-next-strata-iq3-dual`, Backend gesund. + +Gesamtfenster bis zur Wiederherstellungsprüfung: +**382,507 s**, rund +**6 min 23 s**, +innerhalb der 900-Sekunden-Grenze. Erst danach Offline-Auswertung/Dokumentation. +Michaels Go ist damit verbraucht, keine dauerhafte Modellumschaltfreigabe. + +Alle neuen Gewichte, Caches, Testskripte und Resultate bleiben ausschließlich +unter `/opt/athena-deck-dev/basalt-candidate-9175e7a3211b`. +Nach dem Test neu gehashtes Manifest: 8470 Datei-/Linkeinträge, 76,09 GiB +logische Größe einschließlich Modellpaket und CUDA-Caches; unabhängig gegen +den tatsächlichen Baum abgeglichen. Ganzdatei-Modellhash stimmt weiter mit +dem Quellenpin überein. Kandidat bewusst erhalten, nicht automatisch gelöscht. +Der guarded Cleanup-Helfer entfernt diesen Kandidaten, niemals das nur geliehene +CUDA-Toolkit oder das bestehende App-Image. Keine Integration in Produktions- +profile oder systemd, keine Hostpakete installiert. Vollständiger nativer +Debian-/verschlüsselter Restore bleibt eine getrennte offene Abnahme. + +Nachweise: [Rohdaten, Runtime- und Restorenachweise](evidence/short-test.json), +[programmgesteuerter Vergleich](evidence/comparison.json), +[aktueller Manifest-/Rückbauaudit](evidence/post-test-audit.json), +[Build-Abnahme vor Modelldownload](evidence/final.json). diff --git a/docs/maintenance/basalt-candidate-2026-11-01/build.py b/docs/maintenance/basalt-candidate-2026-11-01/build.py new file mode 100644 index 0000000..782c815 --- /dev/null +++ b/docs/maintenance/basalt-candidate-2026-11-01/build.py @@ -0,0 +1,126 @@ +#!/usr/bin/env python3 +"""Inside the owned builder only: bootstrap or offline CPU-only build checks.""" +import argparse +import hashlib +import json +import os +from pathlib import Path +import subprocess +import time +import venv + +COMMIT = '9175e7a3211bda355c02e804c7c107b15b8ea89f' +ROOT = Path('/opt/athena-deck-dev/basalt-candidate-9175e7a3211b') +CUDA = Path('/opt/athena-deck-dev/runtime/state/strata-runtime/cuda') +SOURCE = ROOT / 'source' +STARTED = time.time() + + +def status(phase, **values): + data = dict(commit=COMMIT, phase=phase, updated=time.time(), activated=False, + inference_performed=False, **values) + target = ROOT / 'status.json' + temporary = target.with_suffix('.tmp') + temporary.write_text(json.dumps(data, indent=2) + '\n') + temporary.replace(target) + print(phase, flush=True) + + +def run(command, *, cwd=None, capture=None, input=None): + with (ROOT / 'build.log').open('a') as log: + log.write('\n$ ' + ' '.join(map(str, command)) + '\n') + log.flush() + if capture: + with (ROOT / capture).open('w') as output: + subprocess.run(list(map(str, command)), cwd=cwd, check=True, input=input, + text=True, stdout=output, stderr=output) + else: + subprocess.run(list(map(str, command)), cwd=cwd, check=True, input=input, + text=True, stdout=log, stderr=subprocess.STDOUT) + + +def bootstrap(): + status('fetching pinned source') + run(['git', 'init', '-q', SOURCE]) + run(['git', '-C', SOURCE, 'fetch', '--depth', '1', + 'https://github.com/jesdga95/basalt.git', COMMIT]) + run(['git', '-C', SOURCE, 'sparse-checkout', 'init', '--no-cone']) + run(['git', '-C', SOURCE, 'sparse-checkout', 'set', '--no-cone', '--stdin'], + input='/*\n!/**/vpn/\n!/vpn/\n!/**/vpn.auth\n!/vpn.auth\n') + run(['git', '-C', SOURCE, 'checkout', '-q', '--detach', 'FETCH_HEAD']) + assert subprocess.check_output(['git', '-C', SOURCE, 'rev-parse', 'HEAD'], text=True).strip() == COMMIT + status('private Python environment') + venv.create(ROOT / 'venv', with_pip=True, symlinks=False) + python = ROOT / 'venv/bin/python' + run([python, '-m', 'pip', 'install', '--disable-pip-version-check', '--no-input', + '--index-url', 'https://pypi.org/simple', 'cmake==3.31.6', 'ninja==1.11.1.4', + '-r', SOURCE / 'requirements-test.txt']) + run([python, '-m', 'pip', 'freeze', '--all'], capture='python-lock.txt') + run([python, '-m', 'pip', 'check'], capture='pip-check.txt') + run([CUDA / 'bin/nvcc', '--version'], capture='nvcc-version.txt') + run(['g++', '--version'], capture='compiler-version.txt') + run([python, '--version'], capture='python-version.txt') + status('bootstrap complete', seconds=time.time() - STARTED) + + +def environment(): + tools = ROOT / 'venv/bin' + os.environ['PATH'] = str(tools) + ':' + str(CUDA / 'bin') + ':' + os.environ['PATH'] + os.environ['LD_LIBRARY_PATH'] = str(CUDA / 'lib64') + ':' + str(CUDA / 'lib') + return tools + + +def build(): + tools = environment() + status('configure CUDA 13 / SM120; GPU access disabled') + run([tools / 'cmake', '-S', SOURCE, '-B', ROOT / 'build', '-G', 'Ninja', + '-DCMAKE_BUILD_TYPE=Release', '-DBUILD_TESTING=ON', + '-DCMAKE_CUDA_COMPILER=' + str(CUDA / 'bin/nvcc'), + '-DCUDAToolkit_ROOT=' + str(CUDA), '-DCMAKE_CUDA_ARCHITECTURES=120', + '-DCMAKE_MAKE_PROGRAM=' + str(tools / 'ninja')]) + status('compile; one job, low CPU priority') + run([tools / 'cmake', '--build', ROOT / 'build', '--parallel', '1']) + check() + + +def check(): + tools = environment() + assert all((SOURCE / 'bin' / name).is_file() for name in + ('basalt', 'basalt-bench', 'basalt-probe', 'basalt-vision')) + status('CPU-labelled CTest only; no GPU tests') + # The quantizer case also contains a dedicated 200000-iteration microbenchmark. + # It is outside this build-only acceptance, not a silently passed test. + selected = [tools / 'ctest', '--test-dir', ROOT / 'build', '-L', '^cpu$', '-LE', 'avx512', + '-E', '^native_expert_parity_q8k_quant$'] + run(selected + ['--show-only=json-v1'], capture='ctest-selection.json') + run(selected + ['--output-on-failure', '--timeout', '90', + '--output-junit', ROOT / 'ctest-cpu.xml'], capture='ctest-cpu.txt') + status('Python server fixture tests; no model, no network') + run([tools / 'python', '-m', 'unittest', 'discover', '-s', 'serve/tests', '-t', '.'], + cwd=SOURCE, capture='python-tests.txt') + status('CLI help and linked-library verification; no model loading') + run([SOURCE / 'bin/basalt', '--help'], capture='engine-help.txt') + run([SOURCE / 'bin/basalt', 'serve', '--help'], capture='server-help.txt') + run(['ldd', SOURCE / 'bin/basalt'], capture='ldd.txt') + assert 'not found' not in (ROOT / 'ldd.txt').read_text() + assert not subprocess.check_output(['git', '-C', SOURCE, 'status', '--porcelain', + '--untracked-files=no'], text=True).strip() + binaries = {} + for name in ('basalt', 'basalt-bench', 'basalt-probe', 'basalt-vision'): + path = SOURCE / 'bin' / name + with path.open('rb') as data: + binaries[name] = dict(bytes=path.stat().st_size, + sha256=hashlib.file_digest(data, 'sha256').hexdigest()) + status('built and CPU-checked; awaiting separate model-test Go', + seconds=time.time() - STARTED, binaries=binaries, gpu_architectures=[120]) + + +if __name__ == '__main__': + parser = argparse.ArgumentParser() + parser.add_argument('phase', choices=['bootstrap', 'build', 'check']) + args = parser.parse_args() + try: + globals()[args.phase]() + except BaseException as error: + status('failed', error=type(error).__name__ + ': ' + str(error)) + raise diff --git a/docs/maintenance/basalt-candidate-2026-11-01/candidate.py b/docs/maintenance/basalt-candidate-2026-11-01/candidate.py new file mode 100644 index 0000000..1848f9f --- /dev/null +++ b/docs/maintenance/basalt-candidate-2026-11-01/candidate.py @@ -0,0 +1,283 @@ +#!/usr/bin/env python3 +"""Athena host: isolated Basalt build, verification and ownership-safe removal.""" +import argparse +import hashlib +import json +import os +from pathlib import Path +import shutil +import stat +import subprocess +import time + +COMMIT = '9175e7a3211bda355c02e804c7c107b15b8ea89f' +ROOT = Path('/opt/athena-deck-dev/basalt-candidate-9175e7a3211b') +CUDA = Path('/opt/athena-deck-dev/runtime/state/strata-runtime/cuda') +NAME = 'athena-basalt-build-9175e7a3211b' +OWNER = 'athena-deck/basalt/' + COMMIT +MARKER = '.athena-basalt-owner.json' + + +def dump(path, data): + path.write_text(json.dumps(data, indent=2) + '\n') + + +def marker(root): + info = root.lstat() + return dict(owner=OWNER, root=str(root), device=info.st_dev, inode=info.st_ino) + + +def validate(root, expected): + if root != expected or root.is_symlink() or root.resolve() != expected: + raise RuntimeError('Refusing unexpected or symlinked candidate root') + fd = os.open(root / MARKER, os.O_RDONLY | os.O_NOFOLLOW) + with os.fdopen(fd) as data: + if json.load(data) != marker(root): + raise RuntimeError('Candidate ownership marker does not match') + prefix = str(root) + '/' + for line in Path('/proc/self/mountinfo').read_text().splitlines(): + mount = line.split()[4] + if mount == str(root) or mount.startswith(prefix): + raise RuntimeError('Refusing removal while a mount is inside candidate') + + +def remove_tree(root, expected): + validate(root, expected) + for item in Path('/proc').iterdir(): + if not item.name.isdigit() or int(item.name) == os.getpid(): + continue + for kind in ('cwd', 'exe'): + try: + target = str((item / kind).resolve(strict=True)) + except (FileNotFoundError, PermissionError, ProcessLookupError): + continue + if target == str(root) or target.startswith(str(root) + '/'): + raise RuntimeError('Refusing removal while a candidate process exists') + if not shutil.rmtree.avoids_symlink_attacks: + raise RuntimeError('Safe descriptor-based rmtree is unavailable') + shutil.rmtree(root) + assert not root.exists() + + +def available(): + return int(next(line.split()[1] for line in Path('/proc/meminfo').read_text().splitlines() + if line.startswith('MemAvailable:'))) / 1024 + + +def snapshot(): + base = Path('/opt/athena-deck-dev/runtime/state') + paths = [base / name for name in ('profiles.json', 'endpoint.json', 'audio-policy.json', + 'cpu-partition.json', 'reasoning-budget.json')] + paths += [base / 'strata-runtime/source/engine' / name for name in + ('strata', 'strata-dsv41', 'strata-vision', 'BUILD.json')] + paths += [base / 'strata-runtime/source/serve/server.py', base / 'strata-runtime/ready.json', + Path('/opt/athena-deck-dev/source/strata_sources.json')] + hashes = {} + for path in paths: + with path.open('rb') as data: + hashes[str(path)] = hashlib.file_digest(data, 'sha256').hexdigest() + info = json.loads(subprocess.check_output(['docker', 'inspect', 'athena-deck-dev'], text=True))[0] + return dict(hashes=hashes, image=info['Image'], started=info['State']['StartedAt'], + running=info['State']['Running'], health=info['State']['Health']['Status']) + + +def prepare(): + assert ROOT.is_dir() and not ROOT.is_symlink() + assert {p.name for p in ROOT.iterdir()} == {'build.py', 'candidate.py'} + assert available() >= 6144 and shutil.disk_usage(ROOT).free >= 8 * 1024 ** 3 + assert (CUDA / 'bin/nvcc').is_file() + before = snapshot() + assert before['running'] and before['health'] == 'healthy' + dump(ROOT / MARKER, marker(ROOT)) + dump(ROOT / 'production-before.json', before) + for name in ('home', 'tmp', 'cache', 'cache/pip', 'cache/hf', 'cache/cuda'): + (ROOT / name).mkdir(parents=True, exist_ok=True) + for current, dirs, files in os.walk(ROOT): + os.chown(current, 65534, 65534) + for name in files: + os.chown(Path(current) / name, 65534, 65534) + print(json.dumps(dict(prepared=True, root=str(ROOT), commit=COMMIT, + activated=False, inference_performed=False)), flush=True) + + +def owned_container(image): + result = subprocess.run(['docker', 'inspect', NAME], capture_output=True, text=True) + if result.returncode: + return None + info = json.loads(result.stdout)[0] + assert info['Config']['Labels'].get('athena-deck.basalt-owner') == OWNER + assert info['Image'] == image + assert any(m['Source'] == str(ROOT) and m['RW'] for m in info['Mounts']) + return info + + +def run_phase(phase): + validate(ROOT, ROOT) + memory_gib = 2 if phase == 'check' else 3 + pids_limit = 512 if phase == 'check' else 256 + assert available() >= memory_gib * 2048, 'Insufficient headroom; production untouched' + before = json.loads((ROOT / 'production-before.json').read_text()) + assert snapshot() == before, 'Production changed; inspect instead of overwriting it' + if owned_container(before['image']): + raise RuntimeError('An owned container already exists; do not duplicate a build') + command = ['docker', 'run', '--rm', '--pull=never', '--name', NAME, + '--label', 'athena-deck.basalt-owner=' + OWNER, '--runtime', 'runc', + '--network', 'bridge' if phase == 'bootstrap' else 'none', '--read-only', + '--cpus', '1', '--cpu-shares', '2', '--memory', f'{memory_gib}g', + '--memory-swap', f'{memory_gib}g', + '--pids-limit', str(pids_limit), '--cap-drop', 'ALL', '--security-opt', 'no-new-privileges', + '--user', '65534:65534', '--entrypoint', 'nice', + '--mount', f'type=bind,src={ROOT},dst={ROOT}', + '--mount', f'type=bind,src={ROOT / "tmp"},dst=/tmp', + '--mount', f'type=bind,src={CUDA},dst={CUDA},readonly'] + env = dict(HOME=str(ROOT / 'home'), TMPDIR=str(ROOT / 'tmp'), + XDG_CACHE_HOME=str(ROOT / 'cache'), HF_HOME=str(ROOT / 'cache/hf'), + TORCH_HOME=str(ROOT / 'cache/torch'), CUDA_CACHE_PATH=str(ROOT / 'cache/cuda'), + PIP_CACHE_DIR=str(ROOT / 'cache/pip'), PIP_CONFIG_FILE='/dev/null', + PYTHONDONTWRITEBYTECODE='1', PYTHONNOUSERSITE='1', NVIDIA_VISIBLE_DEVICES='void', + CUDA_VISIBLE_DEVICES='', OMP_NUM_THREADS='1', OPENBLAS_NUM_THREADS='1', + GIT_CONFIG_NOSYSTEM='1', GIT_CONFIG_GLOBAL='/dev/null', GIT_TERMINAL_PROMPT='0') + for key, value in env.items(): + command += ['-e', key + '=' + value] + command += [before['image'], '-n', '19', 'python3', str(ROOT / 'build.py'), phase] + process = subprocess.Popen(command) + started = time.monotonic() + checked = False + try: + while process.poll() is None: + time.sleep(3) + if process.poll() is not None: + break + if not checked: + info = owned_container(before['image']) + assert info and not info['HostConfig'].get('DeviceRequests') + assert {(m['Source'], m['Destination'], m['RW']) for m in info['Mounts']} == { + (str(ROOT), str(ROOT), True), (str(ROOT / 'tmp'), '/tmp', True), + (str(CUDA), str(CUDA), False)} + assert info['HostConfig']['Memory'] == memory_gib * 1024 ** 3 + assert info['HostConfig']['MemorySwap'] == memory_gib * 1024 ** 3 + assert info['HostConfig']['NanoCpus'] == 1_000_000_000 + assert info['HostConfig']['PidsLimit'] == pids_limit + assert info['HostConfig']['ReadonlyRootfs'] + assert not any((info['NetworkSettings'].get('Ports') or {}).values()) + dump(ROOT / ('isolation-' + phase + '.json'), dict( + verified=True, cpu_quota=1, memory_gib=memory_gib, additional_swap=0, + pids_limit=pids_limit, + gpu_devices=False, writable_mounts=[ + {'source': str(ROOT), 'target': str(ROOT)}, + {'source': str(ROOT / 'tmp'), 'target': '/tmp'}], + borrowed_readonly=[str(CUDA)], network='bridge' if phase == 'bootstrap' else 'none', + published_ports=[], shared_image=before['image'])) + print(f'Isolation checked: 1 CPU, {memory_gib} GiB RAM, no GPUs/models/ports; only candidate writable.', flush=True) + checked = True + if available() < 1536 or time.monotonic() - started > 2700: + raise RuntimeError('Host headroom/time guard: stopping only owned builder') + if process.returncode: + raise RuntimeError('Builder client exited ' + str(process.returncode)) + finally: + info = owned_container(before['image']) + if info: + if info['State']['Running']: + subprocess.run(['docker', 'stop', '--timeout', '10', NAME], check=True) + elif owned_container(before['image']): + subprocess.run(['docker', 'rm', NAME], check=True) + if process.poll() is None: + process.wait(timeout=30) + dump(ROOT / ('controller-' + phase + '.json'), dict( + phase=phase, client_exit_code=process.poll(), + seconds=time.monotonic() - started, + owned_container_remaining=owned_container(before['image']) is not None)) + assert owned_container(before['image']) is None + print(json.dumps(dict(phase=phase, completed=True, seconds=time.monotonic() - started)), flush=True) + + +def rehearsal(): + fixture = ROOT / 'cleanup-rehearsal' + sentinel = ROOT / 'cleanup-sentinel' + assert not fixture.exists() and not sentinel.exists() + sentinel.write_text('outside fixture, must survive') + fixture.mkdir() + dump(fixture / MARKER, marker(fixture)) + (fixture / 'nested').mkdir() + (fixture / 'nested/file').write_text('synthetic disposable file') + (fixture / 'outside-link').symlink_to(sentinel) + remove_tree(fixture, fixture) + assert sentinel.read_text() == 'outside fixture, must survive' + sentinel.unlink() + fixture.symlink_to(ROOT, target_is_directory=True) + try: + try: + validate(fixture, fixture) + except RuntimeError: + pass + else: + raise AssertionError('Symlinked candidate root was accepted') + finally: + fixture.unlink() + dump(ROOT / 'cleanup-selftest.json', dict(deleted_owned_fixture=True, + external_symlink_target_preserved=True, symlink_root_rejected=True)) + + +def verify(): + validate(ROOT, ROOT) + before = json.loads((ROOT / 'production-before.json').read_text()) + assert not owned_container(before['image']) + after = snapshot() + assert after == before, 'Production changed; do not overwrite concurrent changes' + built = json.loads((ROOT / 'status.json').read_text()) + assert built['phase'] == 'built and CPU-checked; awaiting separate model-test Go' + assert built['commit'] == COMMIT and built['inference_performed'] is False + rehearsal() + dump(ROOT / 'verification.json', dict(production_unchanged=True, builder_removed=True, + root=str(ROOT), cleanup_selftest=True, activated=False, inference_performed=False)) + entries = [] + for current, dirs, files in os.walk(ROOT, followlinks=False): + dirs[:] = [d for d in dirs if d != 'vpn'] + for name in list(dirs): + if (Path(current) / name).is_symlink(): + files.append(name) + dirs.remove(name) + for name in files: + if name == 'vpn.auth' or Path(current) / name == ROOT / 'manifest.json': + continue + path = Path(current) / name + info = path.lstat() + item = dict(path=str(path.relative_to(ROOT)), bytes=info.st_size) + if stat.S_ISREG(info.st_mode): + with path.open('rb') as data: + item['sha256'] = hashlib.file_digest(data, 'sha256').hexdigest() + else: + item['symlink'] = stat.S_ISLNK(info.st_mode) + entries.append(item) + dump(ROOT / 'manifest.json', dict(owner=OWNER, root=str(ROOT), files=entries, + self_excluded='manifest.json', borrowed_not_owned=[str(CUDA), before['image']], + created_images=[], created_volumes=[], installed_host_packages=[])) + print(json.dumps(dict(verified=True, files=len(entries), bytes=sum(i['bytes'] for i in entries), + production_unchanged=True, cleanup_rehearsal=True)), flush=True) + + +def cleanup(apply): + validate(ROOT, ROOT) + before = json.loads((ROOT / 'production-before.json').read_text()) + if owned_container(before['image']): + raise RuntimeError('Refusing cleanup while any candidate container exists') + if not apply: + print(json.dumps(dict(dry_run=True, delete_only=str(ROOT), + preserve=[str(CUDA), before['image']], services_to_stop=[]))) + return + remove_tree(ROOT, ROOT) + print(json.dumps(dict(removed=str(ROOT), exists=ROOT.exists(), + shared_resources_removed=False)), flush=True) + + +if __name__ == '__main__': + parser = argparse.ArgumentParser() + parser.add_argument('action', choices=['prepare', 'bootstrap', 'build', 'check', 'verify', 'cleanup']) + parser.add_argument('--apply', action='store_true', help='Actually remove only the owned candidate') + args = parser.parse_args() + if args.action in ('bootstrap', 'build', 'check'): + run_phase(args.action) + elif args.action == 'cleanup': + cleanup(args.apply) + else: + globals()[args.action]() diff --git a/docs/maintenance/basalt-candidate-2026-11-01/chat64_client.py b/docs/maintenance/basalt-candidate-2026-11-01/chat64_client.py new file mode 100644 index 0000000..dd2d6f7 --- /dev/null +++ b/docs/maintenance/basalt-candidate-2026-11-01/chat64_client.py @@ -0,0 +1,248 @@ +#!/usr/bin/env python3 +"""Same synthetic near-limit conversation workload for Basalt and current Strata. + +Basalt: inside own isolated GPU container. Strata: native Athena host, existing +managed API credential received on stdin only. Stops only its own HTTP sockets. +No service/model/profile mutation. Separate fresh Go and deadline required. +""" +import argparse +import concurrent.futures +import http.client +import json +from pathlib import Path +import socket +import sys +import threading +import time +from typing import Any +from urllib.parse import quote + +ROOT = Path('/opt/athena-deck-dev/basalt-candidate-9175e7a3211b') +FINAL = 64132 +OUTPUT = 96 + + +def overlaps(rows): + if len(rows) != 2 or any(r.get('first_content_at') is None or r.get('finished_at') is None for r in rows): + return 0.0 + return max(0.0, min(r['finished_at'] for r in rows) - max(r['first_content_at'] for r in rows)) + + +def slower_budget(reference): + assert reference > 0 + return reference * 1.15 + 2.0 + + +def make_body(model, messages, maximum): + # Deck rejects a numeric zero budget before applying the none effort. + return dict(model=model, messages=messages, max_tokens=maximum, temperature=0, + seed=42, reasoning_effort='none', stream=True, + stream_options={'include_usage': True}) + + +def main(): + parser = argparse.ArgumentParser() + parser.add_argument('--go', action='store_true') + parser.add_argument('--engine', required=True, choices=['basalt', 'strata']) + parser.add_argument('--deadline', required=True, type=float) + args = parser.parse_args() + if not args.go: + parser.error('Fresh explicit Michael benchmark/model-switch Go required') + assert time.time() < args.deadline <= time.time() + 2100 + basalt = args.engine == 'basalt' + key = '' if basalt else json.load(sys.stdin)['key'] + assert basalt or (isinstance(key, str) and key) + port = 18320 if basalt else 8120 + model = 'athena-basalt-iq3xxs-test' if basalt else 'flash-next-strata-iq3-dual' + path = ROOT / ('chat64-' + args.engine + '.json') + assert not path.exists(), 'Do not silently repeat a benchmark' + docs = json.loads((ROOT / 'chat64-fixtures.json').read_text()) + assert len(docs) == 2 and all(d['initial_tokens'] == 64000 and d['final_tokens'] == FINAL for d in docs) + early = None + # Both small-chat arms finish; do not stop before the output comparison. + started = time.monotonic() + stop = threading.Event() + lock = threading.RLock() + sockets: set[Any] = set() + result: dict[str, Any] = dict(engine=args.engine, started_at=time.time(), deadline=args.deadline, + context_per_slot=262144, initial_tokens=64000, final_tokens=FINAL, output_tokens=OUTPUT, + requests=[], snapshots=[], groups=[], work_complete=False, passed=False, early_stop_budget=early) + + def save(): + with lock: + result['elapsed_seconds'] = time.monotonic() - started + temporary = path.with_suffix('.pending') + temporary.write_text(json.dumps(result, ensure_ascii=False, indent=2) + '\n') + temporary.replace(path) + + def headers(): + return {'Content-Type': 'application/json', **({'Authorization': 'Bearer ' + key} if key else {})} + + def get(route): + conn = http.client.HTTPConnection('127.0.0.1', port, timeout=3) + try: + conn.request('GET', route, headers=headers()) + response = conn.getresponse() + assert response.status == 200, ('Telemetry HTTP', response.status) + return json.loads(response.read()) + finally: + conn.close() + + def cancel(reason): + with lock: + if result['work_complete'] or stop.is_set(): + return + result['stop_reason'] = reason + if reason == 'strata_proven_slower_total_work_lower_bound': + result['strata_elapsed_lower_bound_seconds'] = time.monotonic() - started + stop.set() + owned = list(sockets) + save() + for sock in owned: + try: + sock.shutdown(socket.SHUT_RDWR) + except OSError: + pass + + def watch(): + last_save = 0.0 + while not stop.wait(0.5): + elapsed = time.monotonic() - started + if time.time() >= args.deadline: + cancel('hard_benchmark_deadline') + break + if early is not None and elapsed > early: + cancel('strata_proven_slower_total_work_lower_bound') + break + if elapsed - last_save >= 5: + last_save = elapsed + try: + sample = get('/slots' if basalt else '/v1/telemetry/speed') + with lock: + result['snapshots'].append(dict(at=time.time(), data=sample)) + except (OSError, ValueError, AssertionError, http.client.HTTPException): + pass + save() + + def request(document, phase, maximum, barrier=None): + if barrier: + barrier.wait(timeout=10) + if stop.is_set(): + raise RuntimeError('Benchmark stopped before admission') + messages = document['initial' if phase == 'preload' else 'final'] + expected = document['initial_tokens'] if phase == 'preload' else (FINAL if phase == 'chat-1' else None) + row: dict[str, Any] = dict(tag=document['tag'], phase=phase, maximum=maximum, + started_at=time.monotonic() - started, first_content_at=None, finished_at=None, + content='', usage={}, timings={}, stream_complete=False) + with lock: + result['requests'].append(row) + save() + conn = http.client.HTTPConnection('127.0.0.1', port, + timeout=max(1, min(900, args.deadline - time.time()))) + raw_socket = None + body = make_body(model, messages, maximum) + try: + conn.request('POST', '/v1/chat/completions', body=json.dumps(body).encode(), headers=headers()) + raw_socket = conn.sock + with lock: + sockets.add(raw_socket) + if stop.is_set(): + cancel('benchmark_stopped') + raise RuntimeError('Benchmark stopped') + response = conn.getresponse() + if response.status != 200: + raise RuntimeError('HTTP ' + str(response.status) + ': ' + response.read().decode()[:2000]) + while not stop.is_set(): + line = response.readline() + if not line: + break + if not line.startswith(b'data:'): + continue + raw = line[5:].strip() + if raw == b'[DONE]': + with lock: + row['stream_complete'] = True + break + item = json.loads(raw) + if 'error' in item: + raise RuntimeError(str(item['error'])) + with lock: + row['usage'] = item.get('usage') or row['usage'] + row['timings'] = item.get('timings') or item.get('backend_timings') or row['timings'] + for choice in item.get('choices', []): + text = choice.get('delta', {}).get('content') or '' + if text and row['first_content_at'] is None: + row['first_content_at'] = time.monotonic() - started + save() + row['content'] += text + if choice.get('finish_reason'): + row['finish_reason'] = choice['finish_reason'] + if not stop.is_set(): + assert row['stream_complete'], 'Incomplete real response' + actual = row['usage'].get('prompt_tokens', 0) + assert (actual == expected if expected is not None else 64000 <= actual < 65536), ('Actual token count', row['usage']) + if phase == 'preload': + assert row['content'].strip() == 'OK', ('Unexpected preload reply', row['content']) + else: + assert 0 < row['usage'].get('completion_tokens', 0) <= OUTPUT, ('Invalid short output', row['usage']) + return row + except Exception as exc: + with lock: + row['error'] = type(exc).__name__ + ': ' + str(exc) + if not stop.is_set(): + cancel('request_failed') + raise + finally: + conn.close() + with lock: + sockets.discard(raw_socket) + row['finished_at'] = time.monotonic() - started + save() # Preserve this response even when the other never finishes. + + worker = threading.Thread(target=watch, daemon=True) + try: + route = '/props' if basalt else '/props?model=' + quote(model) + props = get(route) + assert props['total_slots'] == 2 and props['default_generation_settings']['n_ctx'] == 262144 + result['verified_properties'] = {k: props[k] for k in ('total_slots', 'default_generation_settings')} + save() + worker.start() + for doc in docs: + request(doc, 'preload', 16) + result['preload_seconds'] = time.monotonic() - started + save() + questions = [ + 'Erkläre kurz den Unterschied zwischen einem Backup und einer Synchronisierung. Höchstens drei Sätze.', + 'Was sollte ich beim Wiederherstellen einer Sicherung zuerst prüfen? Höchstens drei Sätze.'] + for round_index in range(3): + barrier = threading.Barrier(2) + parallel_start = time.monotonic() + phase = 'chat-' + str(round_index + 1) + with concurrent.futures.ThreadPoolExecutor(max_workers=2) as pool: + jobs = [pool.submit(request, doc, phase, OUTPUT, barrier) for doc in docs] + rows = [job.result() for job in jobs] + wall = time.monotonic() - parallel_start + result['groups'].append(dict(phase=phase, wall_seconds=wall, + overlap_seconds=overlaps(rows), output_tokens=sum(r['usage']['completion_tokens'] for r in rows))) + for doc, row in zip(docs, rows): + if round_index == 0: + assert 'C64_' + doc['tag'] in row['content'], 'Wrong conversation marker' + if round_index < 2: + doc['final'] += [dict(role='assistant', content=row['content'], reasoning_content=''), + dict(role='user', content=questions[round_index])] + save() + result['work_seconds'] = time.monotonic() - started + result['work_complete'] = True + result['passed'] = len(result['requests']) == 8 and all(r['stream_complete'] for r in result['requests']) + except Exception as exc: + result['error'] = type(exc).__name__ + ': ' + str(exc) + finally: + stop.set() + if worker.is_alive(): + worker.join(timeout=5) + save() + print(json.dumps({k: v for k, v in result.items() if k not in ('requests', 'snapshots')}, ensure_ascii=False), flush=True) + + +if __name__ == '__main__': + main() diff --git a/docs/maintenance/basalt-candidate-2026-11-01/chat64_host.py b/docs/maintenance/basalt-candidate-2026-11-01/chat64_host.py new file mode 100644 index 0000000..544b45f --- /dev/null +++ b/docs/maintenance/basalt-candidate-2026-11-01/chat64_host.py @@ -0,0 +1,90 @@ +#!/usr/bin/env python3 +"""Athena host: one explicitly authorized test after normal authenticated drain. + +Never stops/starts Deck or production models. The operator must restore normal +production immediately after this worker returns, including on failure. +""" +import argparse +import importlib.util +import json +from pathlib import Path +import subprocess +import time + +ROOT = Path('/opt/athena-deck-dev/basalt-candidate-9175e7a3211b') +CUDA = Path('/opt/athena-deck-dev/runtime/state/strata-runtime/cuda') +GPU = 'GPU-8ad38c6c-5a01-9d8e-1dfa-ed662ad78fbe' + + +def main(): + parser = argparse.ArgumentParser() + parser.add_argument('--go', action='store_true') + if not parser.parse_args().go: + parser.error('Explicit Michael model-switch/test Go required') + spec = importlib.util.spec_from_file_location('candidate', ROOT / 'candidate.py') + assert spec is not None and spec.loader is not None + owner = importlib.util.module_from_spec(spec) + spec.loader.exec_module(owner) + owner.validate(ROOT, ROOT) + window = json.loads((ROOT / 'chat64-window.json').read_text()) + drained = json.loads((ROOT / 'chat64-drained.json').read_text()) + assert time.time() - drained['checked_at'] < 45 + assert drained['state'] == 'stopped' and drained['active_requests'] == 0 + assert all(type(drained['scheduler'][key]) is int and drained['scheduler'][key] == 0 + for key in ('active_requests', 'waiting_requests', 'tts_waiting_requests')) + assert not drained['scheduler']['switching'] + assert not Path('/opt/athena-deck-dev/runtime/state/strata-worker/worker.json').exists() + assert not subprocess.check_output(['nvidia-smi', '--query-compute-apps=pid', + '--format=csv,noheader,nounits'], text=True).strip() + before = json.loads((ROOT / 'chat64-before.json').read_text()) + current = owner.snapshot() + assert before['image'] == current['image'] and before['started'] == current['started'] + assert not owner.owned_container(before['image']) + assert time.time() + 60 < window['test_deadline'] + production = json.loads(subprocess.check_output(['docker', 'inspect', 'athena-deck-dev'], text=True))[0] + command = ['docker', 'run', '--rm', '--pull=never', '--name', owner.NAME, + '--label', 'athena-deck.basalt-owner=' + owner.OWNER, + '--runtime', production['HostConfig']['Runtime'], '--gpus', 'device=' + GPU, + '--network', 'none', '--read-only', '--user', '65534:65534', '--cap-drop', 'ALL', + '--security-opt', 'no-new-privileges', '--cpus', '12', '--cpuset-cpus', '0,1,2,3,6,7,8,9', + '--memory', '52g', '--memory-swap', '52g', '--pids-limit', '512', + '--ulimit', 'memlock=-1:-1', '--mount', f'type=bind,src={ROOT},dst={ROOT}', + '--mount', f'type=bind,src={ROOT / "tmp"},dst=/tmp', + '--mount', f'type=bind,src={CUDA},dst={CUDA},readonly', + '-e', 'CUDA_VISIBLE_DEVICES=' + GPU, '-e', 'NVIDIA_VISIBLE_DEVICES=' + GPU, + '-e', 'NVIDIA_DRIVER_CAPABILITIES=compute,utility', '-e', 'HOME=' + str(ROOT / 'home'), + '-e', 'TMPDIR=' + str(ROOT / 'tmp'), '-e', 'CUDA_CACHE_PATH=' + str(ROOT / 'cache/cuda'), + '-e', 'PYTHONDONTWRITEBYTECODE=1', '-e', 'OPENBLAS_NUM_THREADS=1', '-e', 'OMP_NUM_THREADS=1', + '--entrypoint', str(ROOT / 'venv/bin/python'), before['image'], '-B', + str(ROOT / 'chat64_runner.py'), '--go', '--deadline', str(window['test_deadline'])] + error = None + with (ROOT / 'chat64-host.log').open('w') as log: + process = subprocess.Popen(command, stdout=log, stderr=subprocess.STDOUT) + try: + while process.poll() is None: + if time.time() >= window['test_deadline']: + raise TimeoutError('Test budget reached; stop only owned test and restore original') + if owner.available() < 1536: + raise RuntimeError('Host RAM headroom guard; restore original') + time.sleep(2) + except BaseException as exc: + error = type(exc).__name__ + ': ' + str(exc) + finally: + instance = owner.owned_container(before['image']) + if instance: + action = ['docker', 'stop', '--timeout', '10'] if instance['State']['Running'] else ['docker', 'rm'] + subprocess.run(action + [instance['Id']], check=True, stdout=log, stderr=log) + if process.poll() is None: + process.wait(timeout=30) + remaining = owner.owned_container(before['image']) + assert remaining is None + result = dict(client_exit_code=process.returncode, error=error, test_finished=time.time(), + owned_container_removed=True, production_restore_required=True) + path = ROOT / 'chat64-host-exit.json' + path.write_text(json.dumps(result, indent=2) + '\n') + assert json.loads(path.read_text()) == result + print(json.dumps(result), flush=True) + + +if __name__ == '__main__': + main() diff --git a/docs/maintenance/basalt-candidate-2026-11-01/chat64_prepare.py b/docs/maintenance/basalt-candidate-2026-11-01/chat64_prepare.py new file mode 100644 index 0000000..08f79fc --- /dev/null +++ b/docs/maintenance/basalt-candidate-2026-11-01/chat64_prepare.py @@ -0,0 +1,104 @@ +#!/usr/bin/env python3 +"""Owned CPU-only container: create identical real-tokenized conversation fixtures. + +No engine/model inference. Preserve assistant history so held slot prefixes +are genuine prefixes, instead of replaying a whole prompt with a one-token cap. +""" +import importlib +import json +from pathlib import Path +import sys +from types import SimpleNamespace + +ROOT = Path('/opt/athena-deck-dev/basalt-candidate-9175e7a3211b') +INITIAL = 64000 +FINAL = 64132 +OUTPUT = 96 +SLACK = 8 + + +def main(): + sys.path[:0] = [str(ROOT / 'source'), str(ROOT / 'source/tools')] + ST = importlib.import_module('tokenizer') + ModelFile = importlib.import_module('model_file').ModelFile + extract = importlib.import_module('serve.engine.modelfile').extract_tokenizer + Template = importlib.import_module('serve.frontend').ChatTemplate + Service = importlib.import_module('serve.service').Service + source = json.loads((ROOT / 'model-source.json').read_text()) + directory = extract(ModelFile(ROOT / 'models' / source['filename'])) + vocab = json.loads((directory / 'vocab.json').read_text()) + tokens = [None] * len(vocab) + for text, index in vocab.items(): + tokens[index] = text + tok = ST.Tokenizer(tokens, (directory / 'merges.txt').read_text().split('\n'), + json.loads((directory / 'token_type.json').read_text())) + template = directory / 'chat_template.jinja' + assert template.is_file() + svc = Service(SimpleNamespace(max_context=262144), tok, Template(template)) + + def encode(messages): + return svc.encode_prompt(messages, None, {'enable_thinking': False}) + + def pad(make, target, estimate=0): + ids = [] + for n in range(max(0, estimate - 3), estimate + 5): + messages = make(n) + ids = encode(messages) + if len(ids) == target: + return messages, ids + raise AssertionError(('No exact token padding', target, len(ids))) + + docs = [] + for tag in ('A', 'B'): + rows = [f'Archiv CHAT64_{tag} Zeile {n:05d}: Standort ' + f'{"West" if tag == "A" else "Ost"}, Bauteil {(n * 71 + 19) % 10007:05d}, ' + 'Freigabe dokumentiert.\n' for n in range(15000)] + + def initial(count, padding=0): + return [{'role': 'system', 'content': f'Unabhängiges Gespräch CHAT64_{tag}. Kennung C64_{tag}. Lies nur dein Archiv.'}, + {'role': 'user', 'content': ''.join(rows[:count]) + ' x' * padding + + '\nBestätige den Empfang. Antworte ausschließlich mit OK, ohne Satzzeichen.'}] + + low, high = 0, len(rows) + while low < high: + middle = (low + high + 1) // 2 + if len(encode(initial(middle))) <= INITIAL: + low = middle + else: + high = middle - 1 + count = low + base, before = pad(lambda n: initial(count, n), INITIAL, + INITIAL - len(encode(initial(count)))) + history = base + [{'role': 'assistant', 'content': 'OK', 'reasoning_content': ''}] + + def follow(padding): + return history + [{'role': 'user', 'content': ' x' * padding + + '\nAntworte mit höchstens ' + 'drei kurzen Sätzen: Nenne deine Archivkennung und einen Tipp zur Datensicherung.'}] + + final, after = pad(follow, FINAL, FINAL - len(encode(follow(0)))) + held = before + tok.encode('OK') + common = 0 + for a, b in zip(held, after): + if a != b: + break + common += 1 + # Exact assertion: next request extends the whole held prompt+answer. + assert common == len(held), (tag, common, len(held)) + assert FINAL + OUTPUT + SLACK < 65536 + docs.append(dict(tag=tag, initial=base, final=final, initial_tokens=len(before), + final_tokens=len(after), held_prefix_tokens=common, + expected_initial_answer='OK', output_tokens=OUTPUT)) + target = ROOT / 'chat64-fixtures.json' + assert not target.exists(), 'Preserve previously prepared fixture' + target.write_text(json.dumps(docs, ensure_ascii=False) + '\n') + assert json.loads(target.read_text()) == docs + report = dict(inference=False, prepared=True, source='actual pinned tokenizer and chat template', + initial_tokens=INITIAL, final_tokens=FINAL, output_tokens=OUTPUT, slack=SLACK, + held_prefix_tokens=[d['held_prefix_tokens'] for d in docs]) + (ROOT / 'chat64-fixtures-proof.json').write_text(json.dumps(report, indent=2) + '\n') + print(json.dumps(report), flush=True) + + +if __name__ == '__main__': + main() diff --git a/docs/maintenance/basalt-candidate-2026-11-01/chat64_runner.py b/docs/maintenance/basalt-candidate-2026-11-01/chat64_runner.py new file mode 100644 index 0000000..77a7e1d --- /dev/null +++ b/docs/maintenance/basalt-candidate-2026-11-01/chat64_runner.py @@ -0,0 +1,100 @@ +#!/usr/bin/env python3 +"""Inside a future isolated GPU test container, only after separate Michael Go. + +No production API, model stop/start or profile mutation is implemented here. +The operator must drain/stop the original model beforehand and restore it after +this process exits. The absolute deadline leaves the outer restoration reserve. +""" +import argparse +import json +import os +from pathlib import Path +import signal +import subprocess +import sys +import time +import urllib.error +import urllib.request +from typing import Any + +ROOT = Path('/opt/athena-deck-dev/basalt-candidate-9175e7a3211b') + + +def main(): + parser = argparse.ArgumentParser() + parser.add_argument('--go', action='store_true') + parser.add_argument('--deadline', type=float, help='Absolute epoch deadline before restoration reserve') + args = parser.parse_args() + if not args.go or args.deadline is None: + parser.error('Explicit Michael model-switch/test Go and absolute deadline required') + assert time.time() < args.deadline <= time.time() + 1200 + source = json.loads((ROOT / 'model-source.json').read_text()) + proof = json.loads((ROOT / 'model-verification.json').read_text()) + assert json.loads((ROOT / 'model-download.json').read_text())['state'] == 'verified' + assert proof['sha256'] == source['sha256'] and proof['header_readable_by_pinned_build'] + assert (ROOT / 'models' / source['filename']).stat().st_size == source['size'] + assert not (ROOT / 'chat64-basalt.json').exists(), 'Never silently repeat a test' + result: dict[str, Any] = dict(started=time.time(), deadline=args.deadline, + production_modified_by_runner=False, passed=False) + record = ROOT / 'chat64-runner-status.json' + + def save(phase): + result['phase'] = phase + result['updated'] = time.time() + record.write_text(json.dumps(result, indent=2) + '\n') + assert json.loads(record.read_text()) == result + + save('loading one candidate; no production routes') + python = ROOT / 'venv/bin/python' + command = [ROOT / 'source/bin/basalt', 'serve', '--python', python, + '--config', ROOT / 'test-config.json'] + with (ROOT / 'chat64-server.log').open('w') as output: + server = subprocess.Popen(list(map(str, command)), cwd=ROOT / 'source', + stdout=output, stderr=subprocess.STDOUT, start_new_session=True) + try: + load_deadline = min(args.deadline - 20, time.time() + 240) + while True: + if server.poll() is not None: + raise RuntimeError('Owned Basalt server exited during load; inspect own server log') + if time.time() >= load_deadline: + raise TimeoutError('Load budget expired; restore original runtime') + try: + with urllib.request.urlopen('http://127.0.0.1:18320/props', timeout=2) as response: + props = json.load(response) + if not props['is_sleeping']: + assert props['model_alias'] == 'athena-basalt-iq3xxs-test' + assert props['total_slots'] == 2 + assert props['default_generation_settings']['n_ctx'] == 262144 + break + except (OSError, urllib.error.URLError, KeyError): + pass + time.sleep(0.5) + result['load_seconds'] = time.time() - result['started'] + save('short synthetic client; no tools executed') + remaining = min(900, args.deadline - time.time() - 20) + if remaining <= 0: + raise TimeoutError('No test budget remains; restore original runtime') + with (ROOT / 'chat64-client.log').open('w') as output: + completed = subprocess.run([str(python), str(ROOT / 'chat64_client.py'), '--go', '--engine', 'basalt', '--deadline', str(args.deadline)], + cwd=ROOT, stdout=output, stderr=subprocess.STDOUT, timeout=remaining) + assert completed.returncode == 0 + result['capacity_test'] = json.loads((ROOT / 'chat64-basalt.json').read_text())['passed'] + result['passed'] = True + except BaseException as error: + result['error'] = type(error).__name__ + ': ' + str(error) + raise + finally: + if server.poll() is None: + os.killpg(server.pid, signal.SIGTERM) + try: + server.wait(timeout=15) + except subprocess.TimeoutExpired: + os.killpg(server.pid, signal.SIGKILL) + server.wait(timeout=5) + result['server_exit_code'] = server.poll() + save('candidate stopped; outer operator must restore original Strata/Qwen') + print(json.dumps(result, indent=2)) + + +if __name__ == '__main__': + main() diff --git a/docs/maintenance/basalt-candidate-2026-11-01/chat64_transport.py b/docs/maintenance/basalt-candidate-2026-11-01/chat64_transport.py new file mode 100644 index 0000000..2fe26d6 --- /dev/null +++ b/docs/maintenance/basalt-candidate-2026-11-01/chat64_transport.py @@ -0,0 +1,68 @@ +#!/usr/bin/env python3 +"""NAS Hermes profile transport, run with existing /opt/hermes Python environment. + +Resolves only this profile's managed Athena API identity in memory. Never logs +or stores a credential. Does not stop/start services or change Hermes settings. +""" +import argparse +import contextlib +import io +import json +import logging +from pathlib import Path +import shlex +import subprocess +import urllib.request + +PROFILE = Path('/opt/data/profiles/athena-deck') +ROOT = '/opt/athena-deck-dev/basalt-candidate-9175e7a3211b/' + + +def key(): + from hermes_constants import set_hermes_home_override, reset_hermes_home_override + from agent.secret_scope import build_profile_secret_scope, set_secret_scope, reset_secret_scope + from hermes_cli.runtime_provider import resolve_runtime_provider + logging.disable(logging.CRITICAL) + home = set_hermes_home_override(PROFILE) + scope = set_secret_scope(build_profile_secret_scope(PROFILE), profile_home=str(PROFILE)) + try: + with contextlib.redirect_stdout(io.StringIO()): + route = resolve_runtime_provider(requested='Athena') + assert route['base_url'].rstrip('/') == 'http://192.168.1.212:8120/v1' + value = route['api_key'] + assert isinstance(value, str) and value + return value + finally: + reset_secret_scope(scope) + reset_hermes_home_override(home) + + +def main(): + parser = argparse.ArgumentParser() + parser.add_argument('mode', choices=['probe', 'strata']) + parser.add_argument('--go', action='store_true') + parser.add_argument('--deadline', type=float) + args = parser.parse_args() + if not args.go: + parser.error('Explicit current Michael comparison Go required') + credential = key() + if args.mode == 'probe': + request = urllib.request.Request('http://192.168.1.212:8120/props?model=flash-next-strata-iq3-dual', + headers={'Authorization': 'Bearer ' + credential}) + with urllib.request.urlopen(request, timeout=10) as response: + data = json.load(response) + assert data['total_slots'] == 2 and data['default_generation_settings']['n_ctx'] == 262144 + print(json.dumps(dict(managed_route_verified=True, slots=data['total_slots'], + context_per_slot=data['default_generation_settings']['n_ctx']))) + return + if args.deadline is None: + parser.error('Absolute benchmark deadline required') + command = ['python3', '-B', ROOT + 'chat64_client.py', '--engine', 'strata', '--go', + '--deadline', str(args.deadline)] + process = subprocess.run(['athena-ssh', shlex.join(command)], + input=json.dumps({'key': credential}), text=True, check=False) + raise SystemExit(process.returncode) + + +if __name__ == '__main__': + main() diff --git a/docs/maintenance/basalt-candidate-2026-11-01/evidence/chat64-basalt.json b/docs/maintenance/basalt-candidate-2026-11-01/evidence/chat64-basalt.json new file mode 100644 index 0000000..fa57294 --- /dev/null +++ b/docs/maintenance/basalt-candidate-2026-11-01/evidence/chat64-basalt.json @@ -0,0 +1,567 @@ +{ + "engine": "basalt", + "started_at": 1793557462.294389, + "deadline": 1793557776.9458838, + "context_per_slot": 262144, + "initial_tokens": 64000, + "final_tokens": 64132, + "output_tokens": 96, + "requests": [ + { + "tag": "A", + "phase": "preload", + "maximum": 16, + "started_at": 0.001532124006189406, + "first_content_at": 12.715202102030162, + "finished_at": 12.85296395001933, + "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": 12561.3, + "prompt_per_token_ms": 0.196, + "prompt_per_second": 5095.0, + "predicted_n": 2, + "predicted_ms": 253.6, + "predicted_per_token_ms": 126.8, + "predicted_per_second": 7.9, + "draft_n": 6, + "draft_n_accepted": 4 + }, + "stream_complete": true, + "finish_reason": "stop" + }, + { + "tag": "B", + "phase": "preload", + "maximum": 16, + "started_at": 12.853533458022866, + "first_content_at": 25.53226997400634, + "finished_at": 25.668286777974572, + "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": 12529.2, + "prompt_per_token_ms": 0.196, + "prompt_per_second": 5108.1, + "predicted_n": 2, + "predicted_ms": 247.7, + "predicted_per_token_ms": 123.85, + "predicted_per_second": 8.1, + "draft_n": 6, + "draft_n_accepted": 4 + }, + "stream_complete": true, + "finish_reason": "stop" + }, + { + "tag": "B", + "phase": "chat-1", + "maximum": 96, + "started_at": 25.670966654026415, + "first_content_at": 26.348662709991913, + "finished_at": 28.32051724998746, + "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": 456.0, + "prompt_per_token_ms": 3.281, + "prompt_per_second": 304.8, + "predicted_n": 34, + "predicted_ms": 1949.1, + "predicted_per_token_ms": 59.064, + "predicted_per_second": 16.9, + "draft_n": 24, + "draft_n_accepted": 14 + }, + "stream_complete": true, + "finish_reason": "stop" + }, + { + "tag": "A", + "phase": "chat-1", + "maximum": 96, + "started_at": 25.671330476994626, + "first_content_at": 27.130294386006426, + "finished_at": 28.407049151021056, + "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": 624.5, + "prompt_per_token_ms": 4.493, + "prompt_per_second": 222.6, + "predicted_n": 34, + "predicted_ms": 1270.5, + "predicted_per_token_ms": 37.368, + "predicted_per_second": 26.8, + "draft_n": 28, + "draft_n_accepted": 16 + }, + "stream_complete": true, + "finish_reason": "stop" + }, + { + "tag": "B", + "phase": "chat-2", + "maximum": 96, + "started_at": 28.408301139017567, + "first_content_at": 29.293875418021344, + "finished_at": 30.82116999401478, + "content": "Ein Backup ist eine punktuell erstellte Kopie zur Wiederherstellung nach Datenverlust. Eine Synchronisierung hält zwei Speicherorte durch ständige Angleichung aktuell. Backups schützen vor Fehlern, Synchronisierung dient der Konsistenz.", + "usage": { + "prompt_tokens": 64200, + "completion_tokens": 51, + "total_tokens": 64251, + "prompt_tokens_details": { + "cached_tokens": 64165 + } + }, + "timings": { + "cache_n": 64165, + "prompt_n": 35, + "prompt_ms": 173.4, + "prompt_per_token_ms": 4.954, + "prompt_per_second": 201.8, + "predicted_n": 51, + "predicted_ms": 15.3, + "predicted_per_token_ms": 15.3, + "predicted_per_second": 65.4, + "draft_n": 36, + "draft_n_accepted": 17 + }, + "stream_complete": true, + "finish_reason": "stop" + }, + { + "tag": "A", + "phase": "chat-2", + "maximum": 96, + "started_at": 28.408586785022635, + "first_content_at": 28.93144909699913, + "finished_at": 30.70761131698964, + "content": "Ein Backup ist eine punktuell erstellte Kopie zur Wiederherstellung nach Datenverlust. Eine Synchronisierung hält zwei Speicherorte permanent auf dem gleichen Stand. Backups schützen vor Fehlern, Synchronisierung dient der aktuellen Verfügbarkeit.", + "usage": { + "prompt_tokens": 64200, + "completion_tokens": 49, + "total_tokens": 64249, + "prompt_tokens_details": { + "cached_tokens": 64165 + } + }, + "timings": { + "cache_n": 64165, + "prompt_n": 35, + "prompt_ms": 348.3, + "prompt_per_token_ms": 9.951, + "prompt_per_second": 100.5, + "predicted_n": 49, + "predicted_ms": 1708.9, + "predicted_per_token_ms": 35.602, + "predicted_per_second": 28.1, + "draft_n": 34, + "draft_n_accepted": 15 + }, + "stream_complete": true, + "finish_reason": "stop" + }, + { + "tag": "B", + "phase": "chat-3", + "maximum": 96, + "started_at": 30.823096677020658, + "first_content_at": 31.326216162997298, + "finished_at": 32.835196643020026, + "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": 64283, + "completion_tokens": 52, + "total_tokens": 64335, + "prompt_tokens_details": { + "cached_tokens": 64250 + } + }, + "timings": { + "cache_n": 64250, + "prompt_n": 33, + "prompt_ms": 318.0, + "prompt_per_token_ms": 9.636, + "prompt_per_second": 103.8, + "predicted_n": 52, + "predicted_ms": 1482.2, + "predicted_per_token_ms": 29.063, + "predicted_per_second": 34.4, + "draft_n": 47, + "draft_n_accepted": 26 + }, + "stream_complete": true, + "finish_reason": "stop" + }, + { + "tag": "A", + "phase": "chat-3", + "maximum": 96, + "started_at": 30.82358716701856, + "first_content_at": 31.823037096997723, + "finished_at": 32.93590869702166, + "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": 64248 + } + }, + "timings": { + "cache_n": 64248, + "prompt_n": 33, + "prompt_ms": 376.6, + "prompt_per_token_ms": 11.412, + "prompt_per_second": 87.6, + "predicted_n": 52, + "predicted_ms": 14.7, + "predicted_per_token_ms": 14.7, + "predicted_per_second": 68.0, + "draft_n": 40, + "draft_n_accepted": 29 + }, + "stream_complete": true, + "finish_reason": "stop" + } + ], + "snapshots": [ + { + "at": 1793557467.2975435, + "data": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 16, + "prompt_tokens": 64000, + "prefill_done": 24304, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 64000, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793557472.2997837, + "data": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 16, + "prompt_tokens": 64000, + "prefill_done": 51027, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 64000, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793557477.302146, + "data": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 16, + "prompt_tokens": 64000, + "prefill_done": 9920, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 64000, + "drafts_offered": 6, + "drafts_accepted": 4 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793557482.3041096, + "data": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 16, + "prompt_tokens": 64000, + "prefill_done": 36704, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 64000, + "drafts_offered": 6, + "drafts_accepted": 4 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793557487.305965, + "data": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 16, + "prompt_tokens": 64000, + "prefill_done": 61945, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 64000, + "drafts_offered": 6, + "drafts_accepted": 4 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793557492.3082674, + "data": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "decoding", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 22.7, + "generated": 25, + "max_tokens": 96, + "prompt_tokens": 64200, + "prefill_done": 64200, + "reused": 64165, + "ttft_s": 0.42, + "draft_len": 1.64, + "ctx_used": 64225, + "drafts_offered": 28, + "drafts_accepted": 16 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "decoding", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 33.2, + "generated": 24, + "max_tokens": 96, + "prompt_tokens": 64200, + "prefill_done": 64200, + "reused": 64165, + "ttft_s": 0.77, + "draft_len": 1.85, + "ctx_used": 64224, + "drafts_offered": 28, + "drafts_accepted": 16 + } + ] + } + ], + "groups": [ + { + "phase": "chat-1", + "wall_seconds": 2.7382846170221455, + "overlap_seconds": 1.1902228639810346, + "output_tokens": 68 + }, + { + "phase": "chat-2", + "wall_seconds": 2.4140649879700504, + "overlap_seconds": 1.413735898968298, + "output_tokens": 100 + }, + { + "phase": "chat-3", + "wall_seconds": 2.114251179038547, + "overlap_seconds": 1.0121595460223034, + "output_tokens": 104 + } + ], + "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, + "min_p": 0.0, + "presence_penalty": 0.0, + "n_predict": -1 + } + } + }, + "elapsed_seconds": 32.937956888985354, + "preload_seconds": 25.66897592099849, + "work_seconds": 32.937911463028286 +} diff --git a/docs/maintenance/basalt-candidate-2026-11-01/evidence/chat64-comparison.json b/docs/maintenance/basalt-candidate-2026-11-01/evidence/chat64-comparison.json new file mode 100644 index 0000000..822c6ae --- /dev/null +++ b/docs/maintenance/basalt-candidate-2026-11-01/evidence/chat64-comparison.json @@ -0,0 +1,94 @@ +{ + "basalt": { + "initial_prompt_tokens": 64000, + "first_followup_prompt_tokens": 64132, + "configured_limit_unchanged": 262144, + "completed_requests": 8, + "short_answers": 6, + "actual_output_tokens": [ + 34, + 34, + 51, + 49, + 52, + 52 + ], + "fresh_input_seconds": 25.66897592099849, + "fresh_input_backend_tps": [ + 5095.0, + 5108.1 + ], + "round_seconds": [ + 2.7382846170221455, + 2.4140649879700504, + 2.114251179038547 + ], + "all_chat": { + "median_first_visible_seconds": 0.7816351674846373, + "median_response_wall_seconds": 2.3559466934821103, + "median_observed_output_tokens_per_second": 29.881092752326577 + }, + "steady_followups": { + "median_first_visible_seconds": 0.7042182954901364, + "median_response_wall_seconds": 2.2056730309850536, + "median_observed_output_tokens_per_second": 33.26764039967274 + }, + "whole_work_seconds": 32.937911463028286, + "first_round_cache_reused": { + "B": 63993, + "A": 63993 + }, + "timing_inconsistent_with_whole_response": [ + { + "tag": "B", + "phase": "chat-2" + }, + { + "tag": "A", + "phase": "chat-3" + } + ] + }, + "strata": { + "initial_prompt_tokens": 64000, + "first_followup_prompt_tokens": 64132, + "configured_limit_unchanged": 262144, + "completed_requests": 8, + "short_answers": 6, + "actual_output_tokens": [ + 38, + 34, + 48, + 49, + 50, + 47 + ], + "fresh_input_seconds": 64.88171226001577, + "fresh_input_backend_tps": [ + 1993.3, + 1980.7 + ], + "round_seconds": [ + 35.159657199983485, + 3.377142487966921, + 2.8992902820464224 + ], + "all_chat": { + "median_first_visible_seconds": 1.5034246094874106, + "median_response_wall_seconds": 3.215627621015301, + "median_observed_output_tokens_per_second": 26.05955764888433 + }, + "steady_followups": { + "median_first_visible_seconds": 1.2681522784987465, + "median_response_wall_seconds": 2.9769428865110967, + "median_observed_output_tokens_per_second": 26.05955764888433 + }, + "whole_work_seconds": 106.31905576999998, + "first_round_cache_reused": { + "B": 63993, + "A": 0 + }, + "timing_inconsistent_with_whole_response": [] + }, + "method": "Same64000-token archives and questions, two concurrent conversations, three short rounds each. Later histories include each actual answer. First-visible and whole response measured at SSE client. Observed write rate=(completion_tokens-1)/(finish-first_content), approximate for chunked streams, not fragmented backend peak counters." +} diff --git a/docs/maintenance/basalt-candidate-2026-11-01/evidence/chat64-final-state.json b/docs/maintenance/basalt-candidate-2026-11-01/evidence/chat64-final-state.json new file mode 100644 index 0000000..2ffa8cc --- /dev/null +++ b/docs/maintenance/basalt-candidate-2026-11-01/evidence/chat64-final-state.json @@ -0,0 +1,20 @@ +{ + "checked_at": 1793557928.166, + "endpoint": "running", + "worker": "ready", + "runtime": "strata", + "profile_id": "0c25bfe00240414397c41a980ecbe4f0", + "llm_loaded": true, + "tts_loaded": true, + "stt_loaded": true, + "active_requests": 0, + "scheduler": { + "active_requests": 0, + "waiting_requests": 0, + "tts_waiting_requests": 0, + "switching": false + }, + "protected_hashes_unchanged": 12, + "production_image_and_start_unchanged": true, + "owned_container_removed": true +} \ No newline at end of file diff --git a/docs/maintenance/basalt-candidate-2026-11-01/evidence/chat64-fixtures-proof.json b/docs/maintenance/basalt-candidate-2026-11-01/evidence/chat64-fixtures-proof.json new file mode 100644 index 0000000..2d7caf8 --- /dev/null +++ b/docs/maintenance/basalt-candidate-2026-11-01/evidence/chat64-fixtures-proof.json @@ -0,0 +1,13 @@ +{ + "inference": false, + "prepared": true, + "source": "actual pinned tokenizer and chat template", + "initial_tokens": 64000, + "final_tokens": 64132, + "output_tokens": 96, + "slack": 8, + "held_prefix_tokens": [ + 64001, + 64001 + ] +} diff --git a/docs/maintenance/basalt-candidate-2026-11-01/evidence/chat64-host-exit.json b/docs/maintenance/basalt-candidate-2026-11-01/evidence/chat64-host-exit.json new file mode 100644 index 0000000..ec4c125 --- /dev/null +++ b/docs/maintenance/basalt-candidate-2026-11-01/evidence/chat64-host-exit.json @@ -0,0 +1,7 @@ +{ + "client_exit_code": 0, + "error": null, + "test_finished": 1793557498.5666022, + "owned_container_removed": true, + "production_restore_required": true +} diff --git a/docs/maintenance/basalt-candidate-2026-11-01/evidence/chat64-runner-status.json b/docs/maintenance/basalt-candidate-2026-11-01/evidence/chat64-runner-status.json new file mode 100644 index 0000000..fe810e6 --- /dev/null +++ b/docs/maintenance/basalt-candidate-2026-11-01/evidence/chat64-runner-status.json @@ -0,0 +1,11 @@ +{ + "started": 1793557444.8711767, + "deadline": 1793557776.9458838, + "production_modified_by_runner": false, + "passed": true, + "phase": "candidate stopped; outer operator must restore original Strata/Qwen", + "updated": 1793557496.9457831, + "load_seconds": 17.381574392318726, + "capacity_test": true, + "server_exit_code": 0 +} diff --git a/docs/maintenance/basalt-candidate-2026-11-01/evidence/chat64-server.log b/docs/maintenance/basalt-candidate-2026-11-01/evidence/chat64-server.log new file mode 100644 index 0000000..212a8ca --- /dev/null +++ b/docs/maintenance/basalt-candidate-2026-11-01/evidence/chat64-server.log @@ -0,0 +1,31 @@ +[server] legend pp=prompt read tg=generation c=cached acc=drafts accepted dl=tokens per window hit=expert cache pcie=routed experts over PCIe +[server] engine ctx=262144 kv=int8 expert-cache=auto prefill=auto resident-experts batch=2 (from config) +[server] sampling temp=1.0 top_p=0.95 top_k=20 min_p=0.0 pres=0.0 +[server] vision mode=off +[server] ready http://127.0.0.1:18320/v1 openai+anthropic stats http://127.0.0.1:18320/ +[server] warning: this CPU has no AVX-512: the expert kernels run on AVX-2 (multi-token for the i-quant gate/up rows) +[server] auto resident=42.2GB pool-affinity=auto pool=3 +[server] warning: fallback: dense_tc projection on native_mmvq (types 4 / 21) +[server] warning: fallback: dense_tc projection on native_mmvq (types 8 / 21) +[server] loaded 43.8GiB 13.2s cuda0=12.8GiB ram=30.9GiB +[server] kv 0.9/7.8GiB cuda0 elastic slots=2 +[server] slots par=2 ctx/slot=262144 (slot-full-context), others queue +[server] weights loaded, ctx=262144 images=off +[server] s1 read pp=27776/64000 5504t/s 5s +[server] s1 read pp=53757/64000 5330t/s 10s +[server] live | s1 tg=1/16 | total 0t/s +[server] s1 done pp=64000/0c 12.6s 5095t/s tg=2 7.9t/s acc=67% ttft=12.7s end=stop hit=35.6% pcie=0.0% +[server] s1 read pp=30752/64000 5555t/s 6s +[server] s1 read pp=56486/64000 5338t/s 11s +[server] live | s1 tg=1/16 | total 0t/s +[server] s1 done pp=64000/0c 12.5s 5108t/s tg=2 8.1t/s acc=67% ttft=12.7s end=stop hit=40.0% pcie=0.0% +[server] live | s1 tg=27/96 16.0t/s | s2 tg=22/96 24.3t/s | total 40t/s +[server] s1 done pp=64132/63993c 0.5s tg=34 16.9t/s acc=58% dl=1.8 ttft=0.6s end=stop +[server] s2 done pp=64132/63993c 0.6s tg=34 26.8t/s acc=57% dl=2.0 ttft=1.3s end=stop hit=71.5% pcie=0.0% +[server] live | s1 tg=45/96 27.4t/s | s2 tg=43/96 33.6t/s | total 61t/s +[server] s1 done pp=64200/64165c 0.3s tg=49 28.1t/s acc=44% dl=1.5 ttft=0.4s end=stop hit=66.5% pcie=0.0% +[server] s2 done pp=64200/64165c 0.2s tg=51 65.4t/s acc=47% dl=1.5 ttft=0.8s end=stop hit=77.5% pcie=0.0% +[server] s1 done pp=64283/64250c 0.3s tg=52 34.4t/s acc=55% dl=2.0 ttft=0.4s end=stop +[server] s2 done pp=64281/64248c 0.4s tg=52 68.0t/s acc=72% dl=2.4 ttft=0.9s end=stop hit=80.6% pcie=0.0% +[server] stopping (Ctrl+C again to force) +[server] stopped diff --git a/docs/maintenance/basalt-candidate-2026-11-01/evidence/chat64-strata.json b/docs/maintenance/basalt-candidate-2026-11-01/evidence/chat64-strata.json new file mode 100644 index 0000000..811decd --- /dev/null +++ b/docs/maintenance/basalt-candidate-2026-11-01/evidence/chat64-strata.json @@ -0,0 +1,596 @@ +{ + "engine": "strata", + "started_at": 1793557670.3317032, + "deadline": 1793558196.9458838, + "context_per_slot": 262144, + "initial_tokens": 64000, + "final_tokens": 64132, + "output_tokens": 96, + "requests": [ + { + "tag": "A", + "phase": "preload", + "maximum": 16, + "started_at": 0.05486807902343571, + "first_content_at": 32.313648139999714, + "finished_at": 32.39287346700439, + "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": 32107.2, + "prompt_per_token_ms": 0.502, + "prompt_per_second": 1993.3, + "predicted_n": 2, + "predicted_ms": 98.6, + "predicted_per_token_ms": 49.3, + "predicted_per_second": 20.3, + "draft_n": 3, + "draft_n_accepted": 3 + }, + "stream_complete": true, + "finish_reason": "stop" + }, + { + "tag": "B", + "phase": "preload", + "maximum": 16, + "started_at": 32.39340435300255, + "first_content_at": 64.81076030799886, + "finished_at": 64.88117066398263, + "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": 32311.9, + "prompt_per_token_ms": 0.505, + "prompt_per_second": 1980.7, + "predicted_n": 2, + "predicted_ms": 86.1, + "predicted_per_token_ms": 43.05, + "predicted_per_second": 23.2, + "draft_n": 3, + "draft_n_accepted": 3 + }, + "stream_complete": true, + "finish_reason": "stop" + }, + { + "tag": "B", + "phase": "chat-1", + "maximum": 96, + "started_at": 64.88329863501713, + "first_content_at": 66.25181083800271, + "finished_at": 100.04082317498978, + "content": "Meine Archivkennung ist C64_B. Sichern Sie Ihre Daten regelmäßig an einem separaten Speicherort. Testen Sie die Wiederherstellung Ihrer Backups periodisch.", + "usage": { + "prompt_tokens": 64132, + "completion_tokens": 38, + "total_tokens": 64170, + "prompt_tokens_details": { + "cached_tokens": 63993 + } + }, + "timings": { + "cache_n": 63993, + "prompt_n": 139, + "prompt_ms": 1218.1, + "prompt_per_token_ms": 8.763, + "prompt_per_second": 114.1, + "predicted_n": 38, + "predicted_ms": 33472.1, + "predicted_per_token_ms": 880.845, + "predicted_per_second": 1.1, + "draft_n": 0, + "draft_n_accepted": 0 + }, + "stream_complete": true, + "finish_reason": "stop" + }, + { + "tag": "A", + "phase": "chat-1", + "maximum": 96, + "started_at": 64.88343662401894, + "first_content_at": 98.68147134303581, + "finished_at": 99.73019198299153, + "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": 0 + } + }, + "timings": { + "cache_n": 0, + "prompt_n": 64132, + "prompt_ms": 32271.9, + "prompt_per_token_ms": 0.503, + "prompt_per_second": 1987.2, + "predicted_n": 34, + "predicted_ms": 995.7, + "predicted_per_token_ms": 29.285, + "predicted_per_second": 34.1, + "draft_n": 0, + "draft_n_accepted": 0 + }, + "stream_complete": true, + "finish_reason": "stop" + }, + { + "tag": "B", + "phase": "chat-2", + "maximum": 96, + "started_at": 100.04218179301824, + "first_content_at": 100.6401676950045, + "finished_at": 103.09757655201247, + "content": "Ein Backup ist eine statische Kopie zur Wiederherstellung nach Datenverlust. Eine Synchronisierung hält zwei Speicherorte durch ständige Angleichung aktuell. Backups schützen vor Fehlern, Synchronisierung dient der Konsistenz.", + "usage": { + "prompt_tokens": 64204, + "completion_tokens": 48, + "total_tokens": 64252, + "prompt_tokens_details": { + "cached_tokens": 64169 + } + }, + "timings": { + "cache_n": 64169, + "prompt_n": 35, + "prompt_ms": 365.6, + "prompt_per_token_ms": 10.446, + "prompt_per_second": 95.7, + "predicted_n": 48, + "predicted_ms": 2373.4, + "predicted_per_token_ms": 49.446, + "predicted_per_second": 20.2, + "draft_n": 0, + "draft_n_accepted": 0 + }, + "stream_complete": true, + "finish_reason": "stop" + }, + { + "tag": "A", + "phase": "chat-2", + "maximum": 96, + "started_at": 100.04231246799463, + "first_content_at": 101.68064948398387, + "finished_at": 103.41817295103101, + "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": 64165 + } + }, + "timings": { + "cache_n": 64165, + "prompt_n": 35, + "prompt_ms": 876.5, + "prompt_per_token_ms": 25.043, + "prompt_per_second": 39.9, + "predicted_n": 49, + "predicted_ms": 1419.2, + "predicted_per_token_ms": 28.963, + "predicted_per_second": 34.5, + "draft_n": 0, + "draft_n_accepted": 0 + }, + "stream_complete": true, + "finish_reason": "stop" + }, + { + "tag": "B", + "phase": "chat-3", + "maximum": 96, + "started_at": 103.41968307300704, + "first_content_at": 104.31765061401529, + "finished_at": 106.318174087035, + "content": "Prüfen Sie zuerst die Integrität und Vollständigkeit der Sicherungsdateien. Stellen Sie sicher, dass die Zielumgebung kompatibel ist. Führen Sie die Wiederherstellung idealerweise in einer isolierten Testumgebung durch.", + "usage": { + "prompt_tokens": 64284, + "completion_tokens": 50, + "total_tokens": 64334, + "prompt_tokens_details": { + "cached_tokens": 64251 + } + }, + "timings": { + "cache_n": 64251, + "prompt_n": 33, + "prompt_ms": 745.7, + "prompt_per_token_ms": 22.597, + "prompt_per_second": 44.3, + "predicted_n": 50, + "predicted_ms": 1903.7, + "predicted_per_token_ms": 38.074, + "predicted_per_second": 26.3, + "draft_n": 0, + "draft_n_accepted": 0 + }, + "stream_complete": true, + "finish_reason": "stop" + }, + { + "tag": "A", + "phase": "chat-3", + "maximum": 96, + "started_at": 103.41985899303108, + "first_content_at": 105.15423092100536, + "finished_at": 106.28691636701114, + "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": 64281, + "completion_tokens": 47, + "total_tokens": 64328, + "prompt_tokens_details": { + "cached_tokens": 64248 + } + }, + "timings": { + "cache_n": 64248, + "prompt_n": 33, + "prompt_ms": 655.5, + "prompt_per_token_ms": 19.864, + "prompt_per_second": 50.3, + "predicted_n": 47, + "predicted_ms": 1056.7, + "predicted_per_token_ms": 22.483, + "predicted_per_second": 44.5, + "draft_n": 0, + "draft_n_accepted": 0 + }, + "stream_complete": true, + "finish_reason": "stop" + } + ], + "snapshots": [ + { + "at": 1793557675.390145, + "data": { + "schema_version": 1, + "sampled_at": 1793557675.388674, + "scope": "backend", + "backend": "strata", + "phase": "reading", + "generation_tok_s": null, + "prefill_tok_s": 63.7, + "active_slots": 0, + "attribution": "unavailable" + } + }, + { + "at": 1793557680.3931208, + "data": { + "schema_version": 1, + "sampled_at": 1793557680.3917189, + "scope": "backend", + "backend": "strata", + "phase": "reading", + "generation_tok_s": null, + "prefill_tok_s": 1887.7, + "active_slots": 0, + "attribution": "unavailable" + } + }, + { + "at": 1793557685.3958776, + "data": { + "schema_version": 1, + "sampled_at": 1793557685.394668, + "scope": "backend", + "backend": "strata", + "phase": "reading", + "generation_tok_s": null, + "prefill_tok_s": 1999.3, + "active_slots": 0, + "attribution": "unavailable" + } + }, + { + "at": 1793557690.3991408, + "data": { + "schema_version": 1, + "sampled_at": 1793557690.3976154, + "scope": "backend", + "backend": "strata", + "phase": "reading", + "generation_tok_s": null, + "prefill_tok_s": 2069.5, + "active_slots": 0, + "attribution": "unavailable" + } + }, + { + "at": 1793557695.4022021, + "data": { + "schema_version": 1, + "sampled_at": 1793557695.4008596, + "scope": "backend", + "backend": "strata", + "phase": "reading", + "generation_tok_s": null, + "prefill_tok_s": 2087.3, + "active_slots": 0, + "attribution": "unavailable" + } + }, + { + "at": 1793557700.405529, + "data": { + "schema_version": 1, + "sampled_at": 1793557700.4040508, + "scope": "backend", + "backend": "strata", + "phase": "reading", + "generation_tok_s": null, + "prefill_tok_s": 2101.9, + "active_slots": 0, + "attribution": "unavailable" + } + }, + { + "at": 1793557705.4091072, + "data": { + "schema_version": 1, + "sampled_at": 1793557705.4075062, + "scope": "backend", + "backend": "strata", + "phase": "reading", + "generation_tok_s": null, + "prefill_tok_s": 1993.3, + "active_slots": 0, + "attribution": "unavailable" + } + }, + { + "at": 1793557710.4137406, + "data": { + "schema_version": 1, + "sampled_at": 1793557710.4119499, + "scope": "backend", + "backend": "strata", + "phase": "reading", + "generation_tok_s": null, + "prefill_tok_s": 1540.9, + "active_slots": 0, + "attribution": "unavailable" + } + }, + { + "at": 1793557715.4171252, + "data": { + "schema_version": 1, + "sampled_at": 1793557715.4156706, + "scope": "backend", + "backend": "strata", + "phase": "reading", + "generation_tok_s": null, + "prefill_tok_s": 1968.2, + "active_slots": 0, + "attribution": "unavailable" + } + }, + { + "at": 1793557720.420461, + "data": { + "schema_version": 1, + "sampled_at": 1793557720.4190397, + "scope": "backend", + "backend": "strata", + "phase": "reading", + "generation_tok_s": null, + "prefill_tok_s": 2020.0, + "active_slots": 0, + "attribution": "unavailable" + } + }, + { + "at": 1793557725.4240637, + "data": { + "schema_version": 1, + "sampled_at": 1793557725.4225397, + "scope": "backend", + "backend": "strata", + "phase": "reading", + "generation_tok_s": null, + "prefill_tok_s": 2047.6, + "active_slots": 0, + "attribution": "unavailable" + } + }, + { + "at": 1793557730.4278102, + "data": { + "schema_version": 1, + "sampled_at": 1793557730.4264367, + "scope": "backend", + "backend": "strata", + "phase": "reading", + "generation_tok_s": null, + "prefill_tok_s": 2085.4, + "active_slots": 0, + "attribution": "unavailable" + } + }, + { + "at": 1793557735.4324386, + "data": { + "schema_version": 1, + "sampled_at": 1793557735.4296825, + "scope": "backend", + "backend": "strata", + "phase": "reading", + "generation_tok_s": null, + "prefill_tok_s": 1980.7, + "active_slots": 0, + "attribution": "unavailable" + } + }, + { + "at": 1793557740.4354672, + "data": { + "schema_version": 1, + "sampled_at": 1793557740.4341328, + "scope": "backend", + "backend": "strata", + "phase": "reading", + "generation_tok_s": null, + "prefill_tok_s": 113.3, + "active_slots": 2, + "attribution": "unavailable" + } + }, + { + "at": 1793557745.4389977, + "data": { + "schema_version": 1, + "sampled_at": 1793557745.437623, + "scope": "backend", + "backend": "strata", + "phase": "reading", + "generation_tok_s": null, + "prefill_tok_s": 1576.9, + "active_slots": 2, + "attribution": "unavailable" + } + }, + { + "at": 1793557750.4421165, + "data": { + "schema_version": 1, + "sampled_at": 1793557750.4407814, + "scope": "backend", + "backend": "strata", + "phase": "reading", + "generation_tok_s": null, + "prefill_tok_s": 1978.2, + "active_slots": 2, + "attribution": "unavailable" + } + }, + { + "at": 1793557755.4456851, + "data": { + "schema_version": 1, + "sampled_at": 1793557755.4440792, + "scope": "backend", + "backend": "strata", + "phase": "reading", + "generation_tok_s": null, + "prefill_tok_s": 2029.6, + "active_slots": 2, + "attribution": "unavailable" + } + }, + { + "at": 1793557760.4493153, + "data": { + "schema_version": 1, + "sampled_at": 1793557760.447995, + "scope": "backend", + "backend": "strata", + "phase": "reading", + "generation_tok_s": null, + "prefill_tok_s": 2074.3, + "active_slots": 2, + "attribution": "unavailable" + } + }, + { + "at": 1793557765.4524827, + "data": { + "schema_version": 1, + "sampled_at": 1793557765.4510577, + "scope": "backend", + "backend": "strata", + "phase": "reading", + "generation_tok_s": null, + "prefill_tok_s": 2090.6, + "active_slots": 2, + "attribution": "unavailable" + } + }, + { + "at": 1793557770.4562268, + "data": { + "schema_version": 1, + "sampled_at": 1793557770.4545674, + "scope": "backend", + "backend": "strata", + "phase": "idle", + "generation_tok_s": null, + "prefill_tok_s": null, + "active_slots": 0, + "attribution": "unavailable" + } + }, + { + "at": 1793557775.4605117, + "data": { + "schema_version": 1, + "sampled_at": 1793557775.4584975, + "scope": "backend", + "backend": "strata", + "phase": "reading", + "generation_tok_s": null, + "prefill_tok_s": 44.5, + "active_slots": 2, + "attribution": "unavailable" + } + } + ], + "groups": [ + { + "phase": "chat-1", + "wall_seconds": 35.159657199983485, + "overlap_seconds": 1.048720639955718, + "output_tokens": 72 + }, + { + "phase": "chat-2", + "wall_seconds": 3.377142487966921, + "overlap_seconds": 1.416927068028599, + "output_tokens": 97 + }, + { + "phase": "chat-3", + "wall_seconds": 2.8992902820464224, + "overlap_seconds": 1.1326854460057802, + "output_tokens": 97 + } + ], + "work_complete": true, + "passed": true, + "early_stop_budget": null, + "verified_properties": { + "total_slots": 2, + "default_generation_settings": { + "n_ctx": 262144, + "params": {} + } + }, + "elapsed_seconds": 106.31910459202481, + "preload_seconds": 64.88171226001577, + "work_seconds": 106.31905576999998 +} diff --git a/docs/maintenance/basalt-candidate-2026-11-01/evidence/chat64-window.json b/docs/maintenance/basalt-candidate-2026-11-01/evidence/chat64-window.json new file mode 100644 index 0000000..52ce397 --- /dev/null +++ b/docs/maintenance/basalt-candidate-2026-11-01/evidence/chat64-window.json @@ -0,0 +1,8 @@ +{ + "started": 1793557416.9458838, + "test_deadline": 1793557776.9458838, + "comparison_deadline": 1793558196.9458838, + "restore_deadline": 1793558316.9458838, + "go": "Michael: small64K-context chat bites comparison", + "actual_context_test": "Two64000-token archives, three short follow-up rounds each; existing262144 per-slot limits unchanged" +} \ No newline at end of file diff --git a/docs/maintenance/basalt-candidate-2026-11-01/evidence/comparison.json b/docs/maintenance/basalt-candidate-2026-11-01/evidence/comparison.json new file mode 100644 index 0000000..4d626b1 --- /dev/null +++ b/docs/maintenance/basalt-candidate-2026-11-01/evidence/comparison.json @@ -0,0 +1,53 @@ +{ + "reference": { + "solo_decode_tps": 64.8, + "parallel_wall_seconds": 12.3075, + "parallel_output_tokens": 1024, + "fresh_pair_wall_seconds": 13.5068, + "cached_pair_wall_seconds": 1.5775, + "long_wall_seconds": 31.7225, + "long_prefill_tps": 1923.3, + "long_prompt_tokens": 60047, + "source": "docs/maintenance/strata-029-staged-2026-11-01/README.md:134-143", + "runtime": "Strata 0.1.55, optimized original dual-GPU profile" + }, + "historical_not_controlled": true, + "solo": { + "strata_backend_tps": 64.8, + "basalt_backend_tps": 71.4, + "percent": 10.185185185185208 + }, + "parallel": { + "strata_wall_seconds": 12.3075, + "basalt_wall_seconds": 13.765592798998114, + "basalt_time_more_percent": 11.847189104189425, + "strata_end_to_end_tps": 83.20130002031283, + "basalt_end_to_end_tps": 74.38836924440542 + }, + "long": { + "prompt_tokens": 60047, + "strata_wall_seconds": 31.7225, + "basalt_wall_seconds": 12.05722963399603, + "time_reduction_percent": 61.99155289149332, + "wall_speedup": 2.630994097562565, + "strata_prefill_tps": 1923.3, + "basalt_prefill_tps": 5140.4 + }, + "cache_reused_tokens": [ + 7427, + 7413 + ], + "restored_window_minutes_seconds": [ + 6, + 23 + ], + "limits": [ + "One run, not a counterbalanced comparison", + "Basalt 5080+RAM versus Strata 3060+5080+RAM", + "Basalt official complete pack and provider defaults, pool=3, MTP active in parallel; Strata batch MTP off", + "Configured two 262144-token slots, not filled simultaneously", + "No general quality equivalence, long soak or generated-code/fenced-tool case in this shorter subset", + "Parallel comparison uses shared wall time, not summed per-request backend counters" + ], + "recommendation": "Keep current Strata active; Basalt is interesting for long prompt processing, not an unconditional faster replacement" +} diff --git a/docs/maintenance/basalt-candidate-2026-11-01/evidence/final.json b/docs/maintenance/basalt-candidate-2026-11-01/evidence/final.json new file mode 100644 index 0000000..7dd9ead --- /dev/null +++ b/docs/maintenance/basalt-candidate-2026-11-01/evidence/final.json @@ -0,0 +1,74 @@ +{ + "checked_at": "2026-11-01T13:05:52.771318+00:00", + "root": "/opt/athena-deck-dev/basalt-candidate-9175e7a3211b", + "commit": "9175e7a3211bda355c02e804c7c107b15b8ea89f", + "version": "0.1.0", + "gpu_architectures": [ + 120 + ], + "build_complete": true, + "binaries": { + "basalt": { + "bytes": 89597232, + "sha256": "1278458f0519a65fefec93224d5e3ff9cd1862a981f0fce2ae48a8e2614fb38a" + }, + "basalt-bench": { + "bytes": 605664, + "sha256": "91f35e14aa080a2f92d4aa48ab7b31abd49586447eeb0b873d48361b0c447b26" + }, + "basalt-probe": { + "bytes": 430392, + "sha256": "16ed0638cf653d0944f6aed0731d79514773b3ba07d85832998510d78724894e" + }, + "basalt-vision": { + "bytes": 593560, + "sha256": "ec5a436ce6c5a7e74525d5258cacc498799a6f898a4a1ee9ee2cefa3b34e195e" + } + }, + "binary_hashes_unchanged": true, + "native_debian_help_passed": true, + "native_libraries_found": true, + "ctest": { + "selected": 62, + "failed": 0, + "skipped": 0, + "seconds": 91.0 + }, + "python_fixture_tests": { + "total": 647, + "passed": 645, + "skipped": 2, + "seconds": 290.0, + "successful": true + }, + "nas_helper_tests": 9, + "manifest": { + "entries": 8290, + "logical_bytes": 1589570206, + "logical_gib": 1.48, + "directory_and_file_symlinks": 1, + "complete_inventory_readback": true + }, + "production": { + "protected_hashes_unchanged": 12, + "image_unchanged": true, + "start_unchanged": true, + "health": "healthy" + }, + "cleanup_rehearsal": { + "deleted_owned_fixture": true, + "external_symlink_target_preserved": true, + "symlink_root_rejected": true + }, + "owned_builder_removed": true, + "adopted_worker_exit_code": "0", + "activated": false, + "inference_performed": false, + "models_downloaded": false, + "limits": [ + "SM86 RTX 3060 unsupported including peer tier", + "No model or GPU quality/performance test", + "AVX-512-only tests and quantizer microbenchmark excluded", + "Native Python server/Deck/systemd integration and fresh Debian full restore not accepted" + ] +} diff --git a/docs/maintenance/basalt-candidate-2026-11-01/evidence/full-hardware-check.json b/docs/maintenance/basalt-candidate-2026-11-01/evidence/full-hardware-check.json new file mode 100644 index 0000000..abaa7af --- /dev/null +++ b/docs/maintenance/basalt-candidate-2026-11-01/evidence/full-hardware-check.json @@ -0,0 +1 @@ +{"at": 1793552738.9177687, "gpu": "NVIDIA GeForce RTX 3060, 1 MiB, 12288 MiB\nNVIDIA GeForce RTX 5080, 15400 MiB, 16303 MiB\n", "mem_available_kib": "12561668"} \ No newline at end of file diff --git a/docs/maintenance/basalt-candidate-2026-11-01/evidence/full-host-exit.json b/docs/maintenance/basalt-candidate-2026-11-01/evidence/full-host-exit.json new file mode 100644 index 0000000..b676eef --- /dev/null +++ b/docs/maintenance/basalt-candidate-2026-11-01/evidence/full-host-exit.json @@ -0,0 +1,7 @@ +{ + "client_exit_code": 0, + "error": null, + "test_finished": 1793552339.981375, + "owned_container_removed": true, + "production_restore_required": true +} diff --git a/docs/maintenance/basalt-candidate-2026-11-01/evidence/full-restoration.json b/docs/maintenance/basalt-candidate-2026-11-01/evidence/full-restoration.json new file mode 100644 index 0000000..e86a855 --- /dev/null +++ b/docs/maintenance/basalt-candidate-2026-11-01/evidence/full-restoration.json @@ -0,0 +1,22 @@ +{ + "checked_at": 1793552964.504, + "state": "running", + "profile_id": "0c25bfe00240414397c41a980ecbe4f0", + "runtime": "strata", + "worker_state": "ready", + "llm_loaded": true, + "tts_loaded": true, + "stt_loaded": true, + "scheduler": { + "active_requests": 0, + "waiting_requests": 0, + "tts_waiting_requests": 0, + "switching": false + }, + "restore_job": "80def5babe2b4cf1aa647e3a08401590", + "restore_job_state": "complete", + "protected_hashes_unchanged": 12, + "production_image_and_start_unchanged": true, + "owned_container_removed": true, + "window_seconds": 890.2707097530365 +} \ No newline at end of file diff --git a/docs/maintenance/basalt-candidate-2026-11-01/evidence/full-results.json b/docs/maintenance/basalt-candidate-2026-11-01/evidence/full-results.json new file mode 100644 index 0000000..2e7a961 --- /dev/null +++ b/docs/maintenance/basalt-candidate-2026-11-01/evidence/full-results.json @@ -0,0 +1,14939 @@ +{ + "started": 1793552163.8040886, + "deadline": 1793552794.2332902, + "context_per_slot": 262144, + "prompt_tokens_per_slot": 261632, + "output_room_per_slot": 512, + "phases": [ + { + "label": "fresh-two-full-inputs", + "maximum_output_tokens": 1, + "snapshots": [ + { + "at": 1793552163.824471, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552164.3252816, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": null, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552164.8260674, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 1472, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552165.3266609, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 4416, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552165.827483, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 4416, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552166.3281052, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 7360, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552166.8288848, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 10304, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552167.3296692, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 13248, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552167.830302, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 16192, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552168.3314517, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 18768, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552168.8322303, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 21344, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552169.3329537, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 24288, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552169.833607, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 27232, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552170.334161, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 30176, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552170.8349097, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 33120, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552171.335743, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 33120, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552171.8366294, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 35696, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552172.3372066, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 38640, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552172.837931, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 41584, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552173.3384953, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 44160, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552173.839095, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 46736, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552174.3398015, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 49312, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552174.8404305, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 52256, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552175.341222, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 54832, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552175.84196, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 57408, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552176.3425531, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 59984, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552176.8433056, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 62560, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552177.343867, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 62560, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552177.8446267, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 65504, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552178.345247, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 68080, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552178.8461146, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 71024, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552179.3468466, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 73968, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552179.8475544, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 76544, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552180.3482895, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 79120, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552180.8489528, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 81696, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552181.349568, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 84272, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552181.8503957, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 86848, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552182.3513396, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 88688, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552182.8519614, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 91632, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552183.3526034, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 91632, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552183.8533301, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 94208, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552184.3554153, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 96784, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552184.8562522, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 99360, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552185.3572092, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 101936, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552185.8580835, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 104144, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552186.3590229, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 106352, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552186.859626, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 109296, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552187.360381, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 111872, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552187.8613098, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 114080, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552188.3619297, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 116656, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552188.8627925, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 118864, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552189.3633525, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 121440, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552189.8643296, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 121440, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552190.3652802, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 124016, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552190.866376, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 126960, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552191.3669963, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 129168, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552191.8676896, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 131744, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552192.3682797, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 134320, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552192.8690388, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 136528, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552193.36961, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 139104, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552193.8703346, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 139104, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552194.3711193, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 141680, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552194.8717077, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 144624, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552195.3724763, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 146832, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552195.873219, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 149408, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552196.373808, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 151984, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552196.874563, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 154192, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552197.3754308, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 156768, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552197.8761005, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 156768, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552198.377049, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 159344, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552198.8778167, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 161920, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552199.3786309, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 164128, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552199.87931, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 166704, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552200.380122, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 168912, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552200.8807101, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 171488, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552201.3812926, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 174064, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552201.882015, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 176272, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552202.3827646, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 178480, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552202.8835056, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 178480, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552203.3843129, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 180688, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552203.8851392, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 183264, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552204.3883657, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 185840, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552204.8889618, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 188048, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552205.3895752, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 190624, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552205.8902526, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 193200, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552206.3911831, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 194672, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552206.891847, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 197248, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552207.3925822, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 197248, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552207.893476, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 199456, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552208.3941572, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 202032, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552208.8947551, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 203872, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552209.3953767, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 206448, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552209.8960774, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 208288, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552210.396796, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 210864, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552210.897669, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 212336, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552211.3983107, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 214912, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552211.899186, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 217120, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552212.3998048, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 219696, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552212.9005792, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 221536, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552213.401158, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 224112, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552213.9018936, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 224112, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552214.4025345, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 225952, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552214.9031422, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 228528, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552215.4039705, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 230000, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552215.9047585, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 232576, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552216.4053261, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 234784, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552216.9059367, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 237360, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552217.4065874, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 239200, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552217.9073014, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 241776, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552218.4078825, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 243616, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552218.9084792, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 243616, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552219.4090586, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 246192, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552219.9101245, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 247594, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552220.4109354, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 249982, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552220.911686, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 251773, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552221.4124389, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 253863, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552221.9131606, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 256251, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552222.4138715, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 258341, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552222.9145744, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 260132, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552223.4153876, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 261625, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552223.91628, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 261625, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552224.4210606, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 90, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552224.9216497, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 1813, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552225.4222615, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 3082, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552225.9232025, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 4442, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552226.4239104, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 6165, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552226.9245594, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 7434, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552227.4253786, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 8794, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552227.9263284, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 10517, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552228.4270866, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 11786, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552228.9281754, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 13056, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552229.428816, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 14688, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552229.9296153, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 15957, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552230.4308114, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 17408, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552230.9313574, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 18768, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552231.431989, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 20128, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552231.9328122, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 21306, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552232.433727, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 22848, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552232.9343412, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 24208, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552233.434956, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 25386, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552233.9358044, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 26837, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552234.4364433, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 28288, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552234.936995, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 29466, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552235.4378564, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 30826, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552235.9384735, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 32368, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552236.439109, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 33546, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552236.9399247, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 34725, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552237.440973, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 34816, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552237.9418073, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 36266, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552238.442488, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 37626, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552238.94366, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 39168, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552239.444315, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 40346, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552239.9450629, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 41706, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552240.4460912, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 43520, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552240.9471695, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 44336, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552241.4478073, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 45696, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552241.9483685, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 46874, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552242.4492238, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 48144, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552242.950072, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 49685, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552243.450691, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 50954, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552243.951843, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 52224, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552244.458221, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 53584, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552244.9590735, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 54853, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552245.459975, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 55941, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552245.960758, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 57392, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552246.461381, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 58752, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552246.9621222, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 59930, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552247.463083, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 61200, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552247.9637437, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 62741, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552248.4643795, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 63920, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552248.9651568, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 65008, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552249.4658356, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 66549, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552249.966478, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 67818, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552250.467226, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 68906, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552250.9681702, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 70176, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552251.4690092, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 71626, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552251.9696593, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 72805, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552252.4702501, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 73984, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552252.9709716, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 74074, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552253.4716837, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 75616, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552253.97229, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 76885, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552254.4729414, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 78336, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552254.973569, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 79424, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552255.4742, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 80784, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552255.9753933, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 82688, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552256.4759626, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 83141, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552256.9765139, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 84592, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552257.4774525, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 85770, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552257.9785876, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 87040, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552258.47926, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 88309, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552258.9798422, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 89578, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552259.4804416, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 90666, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552259.981476, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 92117, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552260.4822009, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 93477, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552260.9828572, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 94656, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552261.4837897, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 95834, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552261.9843931, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 97376, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552262.4849746, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 98554, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552262.9855707, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 99642, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552263.4863548, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 101093, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552263.9870217, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 102362, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552264.4937882, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 103450, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552264.9948156, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 104538, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552265.49667, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 106080, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552265.9975638, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 107258, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552266.4981909, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 108346, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552266.9991448, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 109797, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552267.4998126, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 111066, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552268.0004065, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 112154, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552268.500988, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 113333, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552269.0017784, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 114874, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552269.5023992, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 114874, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552270.0030038, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 116053, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552270.5040305, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 117504, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552271.0047436, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 118592, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552271.5053744, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 119861, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552272.0059233, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 121856, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552272.506956, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 122037, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552273.0077322, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 123578, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552273.5083663, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 124757, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552274.0094452, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 126208, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552274.5101852, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 127296, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552275.0108104, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 128565, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552275.5117052, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 129653, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552276.0127108, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 130832, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552276.5132976, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 132282, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552277.0138166, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 133461, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552277.5147033, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 134912, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552278.0153875, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 136000, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552278.5160136, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 137269, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552279.0166929, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 138357, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552279.5175629, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 139536, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552280.018317, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 140986, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552280.5190516, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 142165, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552281.019676, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 143253, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552281.520612, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 144704, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552282.0212781, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 144704, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552282.5218832, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 145973, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552283.0228927, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 147968, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552283.5234702, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 148240, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552284.024049, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 149690, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552284.5322204, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 150869, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552285.032826, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 152320, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552285.5333686, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 153408, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552286.033918, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 154677, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552286.5344563, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 155765, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552287.0352643, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 156944, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552287.5361826, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 158394, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552288.0369604, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 159573, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552288.537628, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 160661, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552289.0382676, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 162112, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552289.5390644, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 163381, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552290.039702, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 164469, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552290.5404441, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 165648, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552291.0410304, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 167098, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552291.5416024, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 167098, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552292.0421681, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 168277, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552292.543224, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 169728, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552293.043824, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 170816, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552293.5444384, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 172085, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552294.044989, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 173173, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552294.545812, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 174261, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552295.0464926, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 175712, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552295.547143, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 176890, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552296.0482056, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 178432, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552296.54911, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 179157, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552297.0498736, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 180426, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552297.5504494, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 181514, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552298.0512905, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 182784, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552298.5518336, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 184053, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552299.0524726, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 185232, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552299.5530415, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 186320, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552300.0539927, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 187498, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552300.5545497, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 188949, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552301.0550795, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 190037, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552301.5556383, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 191125, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552302.0565813, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 192485, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552302.5571573, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 193664, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552303.0577226, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 194752, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552303.5582726, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 195840, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552304.0589342, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 195930, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552304.5699224, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 197381, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552305.070495, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 198560, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552305.5716407, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 200192, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552306.0726395, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 200917, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552306.5732875, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 202186, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552307.0738392, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 203274, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552307.5747356, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 204544, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552308.0753474, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 205632, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552308.5759258, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 206810, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552309.0765052, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 207808, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552309.5774817, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 208986, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552310.0781395, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 210346, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552310.5787044, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 211525, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552311.0792487, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 212522, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552311.5802627, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 213792, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552312.081191, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 215061, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552312.581812, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 216149, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552313.0823812, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 217237, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552313.5829916, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 218597, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552314.0837626, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 219776, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552314.5842965, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 220864, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552315.0853443, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 222042, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552315.585904, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 222042, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552316.0864575, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 223402, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552316.5870147, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 224581, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552317.0878694, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 226304, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552317.5886893, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 226757, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552318.089354, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 228117, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552318.5900102, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 229205, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552319.09107, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 230656, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552319.5917432, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 231653, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552320.0925333, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 232832, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552320.593119, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 233920, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552321.0941496, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 235098, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552321.594881, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 236458, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552322.0954807, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 237637, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552322.5960581, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 238634, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552323.0969305, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 239813, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552323.5975444, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 241173, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552324.0981183, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 242261, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552324.6089978, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 242261, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552325.1098232, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 243712, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552325.6104136, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 244709, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552326.1110091, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 245888, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552326.611579, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 246976, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552327.112755, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 248154, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552327.6134615, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 249514, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552328.1141245, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 250693, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552328.6147223, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 251690, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552329.1155498, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 252869, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552329.6162221, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 254229, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552330.1168685, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 255317, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552330.6176617, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 256405, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552331.1186867, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 257765, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552331.6193216, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 258944, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552332.119904, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 258944, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552332.6204834, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 260032, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552333.1210585, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 261130, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552333.621718, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 261383, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552334.1227417, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 261631, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + } + ], + "requests": [ + { + "content": "BAS", + "usage": { + "prompt_tokens": 261632, + "completion_tokens": 1, + "total_tokens": 261633, + "prompt_tokens_details": { + "cached_tokens": 0 + } + }, + "timings": { + "cache_n": 0, + "prompt_n": 261632, + "prompt_ms": 59319.1, + "prompt_per_token_ms": 0.227, + "prompt_per_second": 4410.6, + "predicted_n": 1, + "predicted_ms": 132.8, + "predicted_per_token_ms": 132.8, + "predicted_per_second": 7.5, + "draft_n": 0, + "draft_n_accepted": 0 + }, + "tool_calls": [], + "stream_complete": true, + "finish_reason": "length", + "slot": "A", + "wall_seconds": 59.929510231973836, + "ttft_seconds": 59.9121150149731 + }, + { + "content": "BAS", + "usage": { + "prompt_tokens": 261632, + "completion_tokens": 1, + "total_tokens": 261633, + "prompt_tokens_details": { + "cached_tokens": 0 + } + }, + "timings": { + "cache_n": 0, + "prompt_n": 261632, + "prompt_ms": 110243.9, + "prompt_per_token_ms": 0.421, + "prompt_per_second": 2373.2, + "predicted_n": 1, + "predicted_ms": 107.6, + "predicted_per_token_ms": 107.6, + "predicted_per_second": 9.3, + "draft_n": 0, + "draft_n_accepted": 0 + }, + "tool_calls": [], + "stream_complete": true, + "finish_reason": "length", + "slot": "B", + "wall_seconds": 170.33407547799288, + "ttft_seconds": 170.33279546900303 + } + ], + "wall_seconds": 170.80328291101614, + "output_tokens": 2, + "end_to_end_output_tokens_per_second": 0.011709376810057834, + "accepted_both": true, + "final_slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ], + "combined_input_tokens_per_wall_second": 3063.5476735690513 + }, + { + "label": "cached-two-full-outputs", + "maximum_output_tokens": 512, + "snapshots": [ + { + "at": 1793552334.6463728, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + } + ], + "requests": [ + { + "slot": "A", + "http_error": 400, + "error_body": "{\"error\": {\"type\": \"invalid_request_error\", \"message\": \"request exceeds the context window: prompt (261632 tokens) + max tokens (512) exceeds the context (262144); requests are never truncated. Send a smaller max_tokens (at most 504 here), or start the server with --fit-max-tokens (or set \\\"fit-max-tokens\\\": true in the \\\"server\\\" section of the --config file) to shorten it to the room left\"}}", + "wall_seconds": 0.42021127699990757 + }, + { + "slot": "B", + "http_error": 400, + "error_body": "{\"error\": {\"type\": \"invalid_request_error\", \"message\": \"request exceeds the context window: prompt (261632 tokens) + max tokens (512) exceeds the context (262144); requests are never truncated. Send a smaller max_tokens (at most 504 here), or start the server with --fit-max-tokens (or set \\\"fit-max-tokens\\\": true in the \\\"server\\\" section of the --config file) to shorten it to the room left\"}}", + "wall_seconds": 0.40564899999299087 + } + ], + "wall_seconds": 0.5033723970118444, + "output_tokens": 0, + "end_to_end_output_tokens_per_second": 0.0, + "accepted_both": false, + "final_slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + } + ], + "passed": false, + "both_full_slots_decoding_observed": false, + "initial_slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ], + "elapsed_seconds": 171.3528687953949, + "cached_tokens": [ + null, + null + ] +} diff --git a/docs/maintenance/basalt-candidate-2026-11-01/evidence/full-runner-status.json b/docs/maintenance/basalt-candidate-2026-11-01/evidence/full-runner-status.json new file mode 100644 index 0000000..5985d46 --- /dev/null +++ b/docs/maintenance/basalt-candidate-2026-11-01/evidence/full-runner-status.json @@ -0,0 +1,11 @@ +{ + "started": 1793552130.2978513, + "deadline": 1793552794.2332902, + "production_modified_by_runner": false, + "passed": true, + "phase": "candidate stopped; outer operator must restore original Strata/Qwen", + "updated": 1793552338.796751, + "load_seconds": 33.45602011680603, + "capacity_test": false, + "server_exit_code": 0 +} diff --git a/docs/maintenance/basalt-candidate-2026-11-01/evidence/full-server.log b/docs/maintenance/basalt-candidate-2026-11-01/evidence/full-server.log new file mode 100644 index 0000000..68db8eb --- /dev/null +++ b/docs/maintenance/basalt-candidate-2026-11-01/evidence/full-server.log @@ -0,0 +1,57 @@ +[server] legend pp=prompt read tg=generation c=cached acc=drafts accepted dl=tokens per window hit=expert cache pcie=routed experts over PCIe +[server] engine ctx=262144 kv=int8 expert-cache=auto prefill=auto resident-experts batch=2 (from config) +[server] sampling temp=1.0 top_p=0.95 top_k=20 min_p=0.0 pres=0.0 +[server] vision mode=off +[server] ready http://127.0.0.1:18320/v1 openai+anthropic stats http://127.0.0.1:18320/ +[server] warning: this CPU has no AVX-512: the expert kernels run on AVX-2 (multi-token for the i-quant gate/up rows) +[server] loading weights into cuda0 [==========> ] 5.4/12.7 GiB +[server] auto resident=41.6GB pool-affinity=auto pool=3 +[server] warning: fallback: dense_tc projection on native_mmvq (types 4 / 21) +[server] warning: fallback: dense_tc projection on native_mmvq (types 8 / 21) +[server] loaded 43.8GiB 29.1s cuda0=12.7GiB ram=31.0GiB +[server] kv 0.9/7.8GiB cuda0 elastic slots=2 +[server] slots par=2 ctx/slot=262144 (slot-full-context), others queue +[server] weights loaded, ctx=262144 images=off +[server] s1 read pp=27232/261632 5052t/s 5s +[server] s2 read pp=49312/261632 5039t/s 10s +[server] s1 read pp=52992/261632 4965t/s 11s +[server] s1 read pp=79120/261632 4972t/s 16s +[server] s2 read pp=96784/261632 4920t/s 20s +[server] s1 read pp=104144/261632 4901t/s 21s +[server] s1 read pp=126960/261632 4831t/s 26s +[server] s2 read pp=141680/261632 4772t/s 30s +[server] s1 read pp=149408/261632 4765t/s 31s +[server] s1 read pp=171488/261632 4704t/s 37s +[server] s2 read pp=185840/261632 4671t/s 40s +[server] s1 read pp=193200/261632 4652t/s 42s +[server] s1 read pp=214912/261632 4583t/s 47s +[server] s2 read pp=225952/261632 4551t/s 50s +[server] s1 read pp=234784/261632 4524t/s 52s +[server] s1 read pp=256251/261632 4458t/s 58s +[server] live | s1 tg=1/1 | total 0t/s +[server] s1 done pp=261632/0c 59.3s 4411t/s tg=1 7.5t/s ttft=59.5s end=length hit=29.3% pcie=0.0% +[server] s2 read pp=90/261632 424t/s 60s +[server] s2 read pp=14688/261632 2703t/s 65s +[server] s2 read pp=28288/261632 2679t/s 70s +[server] s2 read pp=41706/261632 2646t/s 75s +[server] s2 read pp=54853/261632 2620t/s 80s +[server] s2 read pp=67818/261632 2601t/s 86s +[server] s2 read pp=80784/261632 2583t/s 91s +[server] s2 read pp=93477/261632 2566t/s 96s +[server] s2 read pp=106080/261632 2549t/s 101s +[server] s2 read pp=118592/261632 2536t/s 106s +[server] s2 read pp=130560/261632 2517t/s 111s +[server] s2 read pp=143253/261632 2504t/s 117s +[server] s2 read pp=155765/261632 2494t/s 122s +[server] s2 read pp=168277/261632 2483t/s 127s +[server] s2 read pp=180426/261632 2473t/s 132s +[server] s2 read pp=192485/261632 2462t/s 138s +[server] s2 read pp=204272/261632 2448t/s 143s +[server] s2 read pp=216149/261632 2439t/s 148s +[server] s2 read pp=228117/261632 2429t/s 153s +[server] s2 read pp=239360/261632 2416t/s 159s +[server] s2 read pp=251690/261632 2406t/s 164s +[server] s2 read pp=261582/261632 2379t/s 169s +[server] s2 done pp=261632/0c 110.2s 2373t/s tg=1 9.3t/s ttft=169.9s end=length +[server] stopping (Ctrl+C again to force) +[server] stopped diff --git a/docs/maintenance/basalt-candidate-2026-11-01/evidence/full-summary.json b/docs/maintenance/basalt-candidate-2026-11-01/evidence/full-summary.json new file mode 100644 index 0000000..19c1543 --- /dev/null +++ b/docs/maintenance/basalt-candidate-2026-11-01/evidence/full-summary.json @@ -0,0 +1,50 @@ +{ + "prompt_tokens_per_request": 261632, + "cold_requests": [ + { + "slot": "A", + "prompt_tokens": 261632, + "prompt_seconds": 106.1235, + "prompt_tokens_per_second": 2465.4, + "ttft_seconds": 166.24535822300822 + }, + { + "slot": "B", + "prompt_tokens": 261632, + "prompt_seconds": 59.3935, + "prompt_tokens_per_second": 4405.1, + "ttft_seconds": 59.99161572099547 + } + ], + "combined_cold_wall_seconds": 166.3013672780071, + "combined_cold_input_tokens_per_second": 3146.4804442963846, + "completed_full_context_output_tokens": 504, + "completed_full_context_output_backend_tps": 17.5, + "output_source": "full2-server.log: s1 done pp=261632/261625c ... tg=504 17.5t/s", + "parallel_full_decode_proven": false, + "capacity_oom_proven": false, + "test_complete": false, + "stop_reason": "First attempt missing 8-token context slack. Corrected output pair incomplete on runner timeout in same fixed window; another context re-prefilled.", + "restoration": { + "checked_at": 1793552964.504, + "state": "running", + "profile_id": "0c25bfe00240414397c41a980ecbe4f0", + "runtime": "strata", + "worker_state": "ready", + "llm_loaded": true, + "tts_loaded": true, + "stt_loaded": true, + "scheduler": { + "active_requests": 0, + "waiting_requests": 0, + "tts_waiting_requests": 0, + "switching": false + }, + "restore_job": "80def5babe2b4cf1aa647e3a08401590", + "restore_job_state": "complete", + "protected_hashes_unchanged": 12, + "production_image_and_start_unchanged": true, + "owned_container_removed": true, + "window_seconds": 890.2707097530365 + } +} diff --git a/docs/maintenance/basalt-candidate-2026-11-01/evidence/full-window.json b/docs/maintenance/basalt-candidate-2026-11-01/evidence/full-window.json new file mode 100644 index 0000000..e5f3348 --- /dev/null +++ b/docs/maintenance/basalt-candidate-2026-11-01/evidence/full-window.json @@ -0,0 +1,6 @@ +{ + "go": "Michael: fill both slots to the edge and measure input/output", + "started": 1793552074.2332902, + "test_deadline": 1793552794.2332902, + "restore_deadline": 1793552974.2332902 +} \ No newline at end of file diff --git a/docs/maintenance/basalt-candidate-2026-11-01/evidence/full2-host-exit.json b/docs/maintenance/basalt-candidate-2026-11-01/evidence/full2-host-exit.json new file mode 100644 index 0000000..11dd570 --- /dev/null +++ b/docs/maintenance/basalt-candidate-2026-11-01/evidence/full2-host-exit.json @@ -0,0 +1,7 @@ +{ + "client_exit_code": 1, + "error": null, + "test_finished": 1793552777.219092, + "owned_container_removed": true, + "production_restore_required": true +} diff --git a/docs/maintenance/basalt-candidate-2026-11-01/evidence/full2-results.json b/docs/maintenance/basalt-candidate-2026-11-01/evidence/full2-results.json new file mode 100644 index 0000000..65208a1 --- /dev/null +++ b/docs/maintenance/basalt-candidate-2026-11-01/evidence/full2-results.json @@ -0,0 +1,21371 @@ +{ + "started": 1793552520.7903593, + "deadline": 1793552794.2332902, + "context_per_slot": 262144, + "prompt_tokens_per_slot": 261632, + "output_room_per_slot": 504, + "phases": [ + { + "label": "fresh-two-full-inputs", + "maximum_output_tokens": 1, + "snapshots": [ + { + "at": 1793552520.8097198, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552521.3107016, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": null, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552521.8115797, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": null, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552522.3125436, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 394, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552522.8132057, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 394, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552523.3137994, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 3946, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552523.8145988, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 7104, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552524.315215, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 10261, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552524.815808, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 13418, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552525.3163657, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 16181, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552525.8175757, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 19338, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552526.3182077, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 22496, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552526.8187897, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 25258, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552527.319372, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 25258, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552527.8202856, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 28021, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552528.321371, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 30784, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552528.8219907, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 33546, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552529.3227553, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 36309, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552529.82365, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 38282, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552530.3244522, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 41440, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552530.8258939, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 44202, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552531.3264785, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 46965, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552531.8274453, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 49728, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552532.3281248, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 52490, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552532.828809, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 55253, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552533.3296332, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 57226, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552533.830352, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 60384, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552534.3310308, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 63146, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552534.8317618, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 63146, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552535.332335, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 65909, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552535.8331099, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 68672, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552536.333756, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 71434, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552536.8346, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 73802, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552537.3355258, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 76170, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552537.8364108, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 79328, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552538.337006, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 81696, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552538.8377132, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 84458, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552539.3382833, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 87221, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552539.8391595, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 89589, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552540.3397472, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 89589, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552540.8403306, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 92352, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552541.3425534, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 95114, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552541.8433728, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 97877, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552542.3440397, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 100245, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552542.8446805, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 103008, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552543.3454256, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 105376, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552543.8461676, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 108138, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552544.3467638, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 110901, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552544.8473485, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 110901, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552545.348303, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 113664, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552545.849034, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 115637, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552546.3498452, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 118005, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552546.850471, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 120768, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552547.3513474, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 123530, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552547.8520734, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 125898, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552548.3528862, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 128661, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552548.8534527, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 131424, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552549.3545551, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 133002, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552549.8555782, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 135765, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552550.3563497, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 135765, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552550.856945, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 138133, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552551.3575063, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 140896, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552551.8584328, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 142869, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552552.359142, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 145632, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552552.8597834, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 147605, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552553.3605683, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 150368, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552553.8617094, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 151946, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552554.3624203, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 154709, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552554.8630326, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 157077, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552555.363615, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 159840, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552555.864588, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 161813, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552556.3653822, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 164576, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552556.8659806, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 166549, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552557.366543, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 166549, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552557.8672585, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 169312, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552558.3680835, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 170890, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552558.8687198, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 173653, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552559.369326, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 176021, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552559.8700557, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 178784, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552560.3709545, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 180757, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552560.871616, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 183125, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552561.3750174, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 185493, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552561.8757234, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 188256, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552562.3764992, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 189440, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552562.8774624, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 189834, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552563.3780391, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 192597, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552563.878954, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 194965, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552564.3797448, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 197728, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552564.8805163, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 199701, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552565.3811624, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 202069, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552565.882054, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 204437, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552566.382644, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 206805, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552566.8832831, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 206805, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552567.3843744, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 208778, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552567.8852694, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 211541, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552568.3858597, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 213909, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552568.8866067, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 216277, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552569.387335, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 218645, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552569.8882124, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 221013, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552570.3889687, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 221013, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552570.8896902, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 223381, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552571.3902462, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 225749, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552571.8910813, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 227722, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552572.3918157, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 230485, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552572.8924742, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 232853, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552573.3934448, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 235221, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552573.894045, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 235221, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552574.3948293, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 237589, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552574.8956518, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 239957, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552575.3962548, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 242325, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552575.896879, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 244693, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552576.3982437, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 246591, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552576.8990722, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 246591, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552577.399732, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 249150, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552577.9004416, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 251069, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552578.4009898, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 253308, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552578.9017599, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 255547, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552579.4023588, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 257147, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552579.9030633, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 259386, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552580.40382, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 261305, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552580.904688, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 261625, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552581.4095664, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 96, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552581.9102132, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 1824, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552582.410931, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 3168, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552582.9119587, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 4608, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552583.4125917, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 6240, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552583.9131896, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 7680, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552584.414338, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 9216, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552584.9151084, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 10656, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552585.4157515, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 12096, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552585.9163952, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 13344, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552586.4173322, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 14976, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552586.9181674, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 16416, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552587.41898, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 17664, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552587.9198096, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 19200, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552588.4209607, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 20736, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552588.921726, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 21984, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552589.4228103, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 23328, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552589.9234653, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 24960, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552590.4242368, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 26304, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552590.9249759, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 26304, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552591.4259768, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 27648, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552591.9265654, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 29280, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552592.4271724, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 30624, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552592.9281495, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 32256, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552593.4288352, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 33504, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552593.9294562, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 34944, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552594.430169, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 36864, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552594.9309587, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 37536, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552595.4315813, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 39072, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552595.932169, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 40320, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552596.4331338, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 41568, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552596.9340105, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 43200, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552597.4346347, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 44544, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552597.9358091, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 46080, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552598.4364128, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 47328, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552598.9372187, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 48768, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552599.4379144, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 49920, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552599.9389744, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 51456, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552600.4396582, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 52896, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552600.9405932, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 54144, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552601.4468124, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 55392, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552601.9475222, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 57024, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552602.4481683, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 57024, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552602.9489634, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 58368, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552603.449745, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 59904, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552603.9504366, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 61056, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552604.4511473, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 62496, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552604.9525125, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 64512, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552605.4531138, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 64992, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552605.9538338, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 66528, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552606.4548078, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 67776, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552606.9559007, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 69120, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552607.4566007, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 70560, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552607.957321, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 71904, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552608.458022, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 73728, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552608.9590266, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 74496, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552609.460011, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 75936, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552609.9607627, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 77184, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552610.4617264, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 78432, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552610.9624853, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 80064, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552611.4630656, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 81312, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552611.9636824, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 82464, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552612.4646115, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 84000, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552612.965349, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 85344, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552613.4659536, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 86496, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552613.9670799, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 87744, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552614.467731, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 89376, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552614.9685578, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 90624, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552615.4691474, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 91776, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552615.9701881, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 92160, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552616.4708247, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 93312, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552616.971694, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 94656, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552617.4723053, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 95808, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552617.9732282, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 97056, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552618.4741805, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 98592, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552618.974986, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 99840, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552619.4760761, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 101376, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552619.9767122, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 102528, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552620.477324, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 103872, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552620.9779034, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 105024, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552621.4850075, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 106272, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552621.9855957, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 107808, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552622.48616, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 109056, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552622.9870627, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 110592, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552623.4878445, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 111648, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552623.9884012, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 112992, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552624.4889526, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 114144, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552624.9898014, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 115392, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552625.4904048, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 116928, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552625.9909418, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 118176, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552626.4915035, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 119328, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552626.9925358, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 120768, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552627.4931676, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 122112, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552627.993872, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 123264, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552628.494738, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 124512, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552628.9953694, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 124512, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552629.4960077, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 126048, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552629.9966414, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 127296, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552630.4976325, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 129024, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552630.9982634, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 129696, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552631.4988964, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 131040, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552631.9995255, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 132192, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552632.500475, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 133632, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552633.0010684, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 134784, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552633.501707, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 136128, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552634.0024555, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 137280, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552634.50344, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 138432, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552635.0046067, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 139968, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552635.505249, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 141216, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552636.0061162, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 142848, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552636.506707, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 143616, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552637.007647, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 144960, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552637.5082767, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 146112, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552638.0094275, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 147456, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552638.5101447, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 148608, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552639.0107865, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 149952, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552639.5114288, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 151104, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552640.012428, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 152256, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552640.513064, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 153792, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552641.0137103, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 155040, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552641.5222752, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 156096, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552642.0231402, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 157440, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552642.5238116, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 158784, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552643.0244565, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 159936, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552643.525079, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 160992, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552644.0261672, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 162432, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552644.5268002, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 163776, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552645.02742, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 164832, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552645.5283403, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 165984, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552646.0290291, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 167424, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552646.5297384, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 168672, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552647.0304294, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 169728, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552647.5316608, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 170496, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552648.0323126, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 171072, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552648.533419, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 172416, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552649.0340998, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 173568, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552649.5353487, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 175104, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552650.0362432, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 176160, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552650.536868, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 177408, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552651.0374753, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 178560, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552651.5384123, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 179808, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552652.0390453, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 181248, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552652.5397475, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 182496, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552653.0402935, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 183552, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552653.541257, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 184800, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552654.0419028, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 186240, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552654.542596, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 187392, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552655.0432947, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 188544, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552655.5441961, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 189984, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552656.0448685, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 191232, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552656.5454476, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 192384, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552657.046067, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 193632, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552657.5466275, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 193632, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552658.0471904, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 195072, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552658.5478272, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 196320, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552659.0484316, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 198144, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552659.549051, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 198720, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552660.0496004, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 200064, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552660.5501564, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 201216, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552661.0511177, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 202752, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552661.5610595, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 203808, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552662.0616183, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 205056, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552662.562162, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 206208, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552663.0631745, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 207456, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552663.5637271, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 208896, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552664.0643516, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 210144, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552664.564999, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 211200, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552665.0657747, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 212448, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552665.5663958, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 213888, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552666.0669992, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 213888, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552666.5675807, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 215040, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552667.0686343, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 216576, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552667.569257, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 217632, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552668.0698307, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 218880, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552668.5704186, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 220032, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552669.0712092, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 221280, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552669.5718505, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 222720, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552670.0724545, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 223872, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552670.573001, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 224928, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552671.0739717, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 226080, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552671.5745597, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 227424, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552672.0751307, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 228672, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552672.575677, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 229632, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552673.076682, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 230880, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552673.5773125, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 232224, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552674.078028, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 233376, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552674.578655, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 234432, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552675.0797315, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 235776, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552675.5804462, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 235776, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552676.0811553, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 237120, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552676.581854, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 238272, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552677.0829139, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 239616, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552677.5836189, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 240672, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552678.0843558, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 241920, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552678.5853727, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 243072, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552679.0862749, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 244320, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552679.586904, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 245760, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552680.0875323, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 246912, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552680.5882204, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 247968, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552681.0890455, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 249120, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552681.599305, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 250464, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552682.1000571, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 251616, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552682.6007135, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 252672, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552683.101536, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 253824, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552683.6021545, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 255264, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552684.1027257, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 256416, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552684.6033077, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 257376, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552685.1042247, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 258048, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552685.604954, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 258495, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552686.1055956, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 259612, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793552686.6061156, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 1, + "prompt_tokens": 261632, + "prefill_done": 260581, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": null, + "drafts_accepted": null + } + ] + } + ], + "requests": [ + { + "content": "BAS", + "usage": { + "prompt_tokens": 261632, + "completion_tokens": 1, + "total_tokens": 261633, + "prompt_tokens_details": { + "cached_tokens": 0 + } + }, + "timings": { + "cache_n": 0, + "prompt_n": 261632, + "prompt_ms": 106123.5, + "prompt_per_token_ms": 0.406, + "prompt_per_second": 2465.4, + "predicted_n": 1, + "predicted_ms": 68.9, + "predicted_per_token_ms": 68.9, + "predicted_per_second": 14.5, + "draft_n": 0, + "draft_n_accepted": 0 + }, + "tool_calls": [], + "stream_complete": true, + "finish_reason": "length", + "slot": "A", + "wall_seconds": 166.24701132299379, + "ttft_seconds": 166.24535822300822 + }, + { + "content": "BAS", + "usage": { + "prompt_tokens": 261632, + "completion_tokens": 1, + "total_tokens": 261633, + "prompt_tokens_details": { + "cached_tokens": 0 + } + }, + "timings": { + "cache_n": 0, + "prompt_n": 261632, + "prompt_ms": 59393.5, + "prompt_per_token_ms": 0.227, + "prompt_per_second": 4405.1, + "predicted_n": 1, + "predicted_ms": 129.1, + "predicted_per_token_ms": 129.1, + "predicted_per_second": 7.7, + "draft_n": 0, + "draft_n_accepted": 0 + }, + "tool_calls": [], + "stream_complete": true, + "finish_reason": "length", + "slot": "B", + "wall_seconds": 60.01403268598369, + "ttft_seconds": 59.99161572099547 + } + ], + "wall_seconds": 166.3013672780071, + "output_tokens": 2, + "end_to_end_output_tokens_per_second": 0.012026359330266882, + "accepted_both": true, + "final_slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ], + "combined_input_tokens_per_wall_second": 3146.4804442963846 + }, + { + "label": "cached-two-full-outputs", + "maximum_output_tokens": 504, + "snapshots": [ + { + "at": 1793552687.1341944, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552687.6352537, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": null, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261633, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552688.1363764, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "decoding", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 21.4, + "generated": 9, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 261632, + "reused": 261625, + "ttft_s": 0.23, + "draft_len": 1.75, + "ctx_used": 261641, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 96, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552688.6373498, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "decoding", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 21.8, + "generated": 20, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 261632, + "reused": 261625, + "ttft_s": 0.23, + "draft_len": 2.0, + "ctx_used": 261652, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 384, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552689.1384768, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "decoding", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 19.1, + "generated": 26, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 261632, + "reused": 261625, + "ttft_s": 0.23, + "draft_len": 1.85, + "ctx_used": 261658, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 384, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552689.6395605, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "decoding", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 19.0, + "generated": 36, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 261632, + "reused": 261625, + "ttft_s": 0.23, + "draft_len": 1.79, + "ctx_used": 261668, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 672, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552690.1406069, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "decoding", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 19.5, + "generated": 45, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 261632, + "reused": 261625, + "ttft_s": 0.23, + "draft_len": 1.87, + "ctx_used": 261677, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 960, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552690.6416664, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "decoding", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 16.8, + "generated": 52, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 261632, + "reused": 261625, + "ttft_s": 0.23, + "draft_len": 1.79, + "ctx_used": 261684, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 1248, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552691.1425304, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "decoding", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 16.3, + "generated": 59, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 261632, + "reused": 261625, + "ttft_s": 0.23, + "draft_len": 1.73, + "ctx_used": 261691, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 1536, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552691.643582, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "decoding", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 15.0, + "generated": 66, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 261632, + "reused": 261625, + "ttft_s": 0.23, + "draft_len": 1.68, + "ctx_used": 261698, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 1824, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552692.144667, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "decoding", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 16.0, + "generated": 76, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 261632, + "reused": 261625, + "ttft_s": 0.23, + "draft_len": 1.72, + "ctx_used": 261708, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 1824, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552692.6457055, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "decoding", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 17.3, + "generated": 86, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 261632, + "reused": 261625, + "ttft_s": 0.23, + "draft_len": 1.71, + "ctx_used": 261718, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 2112, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552693.146662, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "decoding", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 18.9, + "generated": 95, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 261632, + "reused": 261625, + "ttft_s": 0.23, + "draft_len": 1.72, + "ctx_used": 261727, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 2400, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552693.6475878, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "decoding", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 19.2, + "generated": 104, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 261632, + "reused": 261625, + "ttft_s": 0.23, + "draft_len": 1.73, + "ctx_used": 261736, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 2688, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552694.1485846, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "decoding", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 17.9, + "generated": 112, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 261632, + "reused": 261625, + "ttft_s": 0.23, + "draft_len": 1.72, + "ctx_used": 261744, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 2688, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552694.6496468, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "decoding", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 19.2, + "generated": 121, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 261632, + "reused": 261625, + "ttft_s": 0.23, + "draft_len": 1.75, + "ctx_used": 261753, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 2976, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552695.1506357, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "decoding", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 17.1, + "generated": 129, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 261632, + "reused": 261625, + "ttft_s": 0.23, + "draft_len": 1.74, + "ctx_used": 261761, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 3168, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552695.6516347, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "decoding", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 16.6, + "generated": 137, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 261632, + "reused": 261625, + "ttft_s": 0.23, + "draft_len": 1.73, + "ctx_used": 261769, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 3360, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552696.1526985, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "decoding", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 16.9, + "generated": 144, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 261632, + "reused": 261625, + "ttft_s": 0.23, + "draft_len": 1.69, + "ctx_used": 261776, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 3648, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552696.6536863, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "decoding", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 16.6, + "generated": 154, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 261632, + "reused": 261625, + "ttft_s": 0.23, + "draft_len": 1.71, + "ctx_used": 261786, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 3648, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552697.1547496, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "decoding", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 17.0, + "generated": 160, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 261632, + "reused": 261625, + "ttft_s": 0.23, + "draft_len": 1.7, + "ctx_used": 261792, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 3936, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552697.6557362, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "decoding", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 16.1, + "generated": 169, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 261632, + "reused": 261625, + "ttft_s": 0.23, + "draft_len": 1.69, + "ctx_used": 261801, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 4224, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552698.1567209, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "decoding", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 16.9, + "generated": 176, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 261632, + "reused": 261625, + "ttft_s": 0.23, + "draft_len": 1.69, + "ctx_used": 261808, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 4512, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552698.6578746, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "decoding", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 17.2, + "generated": 186, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 261632, + "reused": 261625, + "ttft_s": 0.23, + "draft_len": 1.72, + "ctx_used": 261818, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 4608, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552699.1588986, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "decoding", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 16.7, + "generated": 193, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 261632, + "reused": 261625, + "ttft_s": 0.23, + "draft_len": 1.71, + "ctx_used": 261825, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 4704, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552699.6600919, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "decoding", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 15.7, + "generated": 200, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 261632, + "reused": 261625, + "ttft_s": 0.23, + "draft_len": 1.68, + "ctx_used": 261832, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 5088, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552700.1610312, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "decoding", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 16.6, + "generated": 210, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 261632, + "reused": 261625, + "ttft_s": 0.23, + "draft_len": 1.66, + "ctx_used": 261842, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 5376, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552700.6622348, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "decoding", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 15.5, + "generated": 215, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 261632, + "reused": 261625, + "ttft_s": 0.23, + "draft_len": 1.65, + "ctx_used": 261847, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 5760, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552701.1633255, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "decoding", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 16.5, + "generated": 226, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 261632, + "reused": 261625, + "ttft_s": 0.23, + "draft_len": 1.66, + "ctx_used": 261858, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 6048, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552701.6646614, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "decoding", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 17.1, + "generated": 233, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 261632, + "reused": 261625, + "ttft_s": 0.23, + "draft_len": 1.65, + "ctx_used": 261865, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 6336, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552702.1656816, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "decoding", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 18.3, + "generated": 246, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 261632, + "reused": 261625, + "ttft_s": 0.23, + "draft_len": 1.66, + "ctx_used": 261878, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 6336, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552702.6667604, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "decoding", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 20.7, + "generated": 257, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 261632, + "reused": 261625, + "ttft_s": 0.23, + "draft_len": 1.68, + "ctx_used": 261889, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 6624, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552703.1678872, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "decoding", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 21.8, + "generated": 267, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 261632, + "reused": 261625, + "ttft_s": 0.23, + "draft_len": 1.71, + "ctx_used": 261899, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 6912, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552703.6690018, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "decoding", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 23.0, + "generated": 277, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 261632, + "reused": 261625, + "ttft_s": 0.23, + "draft_len": 1.73, + "ctx_used": 261909, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 7104, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552704.1701531, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "decoding", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 20.7, + "generated": 282, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 261632, + "reused": 261625, + "ttft_s": 0.23, + "draft_len": 1.74, + "ctx_used": 261914, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 7296, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552704.6712527, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "decoding", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 19.4, + "generated": 292, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 261632, + "reused": 261625, + "ttft_s": 0.23, + "draft_len": 1.78, + "ctx_used": 261924, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 7296, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552705.1723206, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "decoding", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 17.2, + "generated": 300, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 261632, + "reused": 261625, + "ttft_s": 0.23, + "draft_len": 1.77, + "ctx_used": 261932, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 7488, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552705.6734083, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "decoding", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 17.5, + "generated": 311, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 261632, + "reused": 261625, + "ttft_s": 0.23, + "draft_len": 1.79, + "ctx_used": 261943, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 7776, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552706.1743977, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "decoding", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 19.6, + "generated": 320, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 261632, + "reused": 261625, + "ttft_s": 0.23, + "draft_len": 1.78, + "ctx_used": 261952, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 8064, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552706.675385, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "decoding", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 19.8, + "generated": 330, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 261632, + "reused": 261625, + "ttft_s": 0.23, + "draft_len": 1.79, + "ctx_used": 261962, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 8256, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552707.176494, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "decoding", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 18.5, + "generated": 336, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 261632, + "reused": 261625, + "ttft_s": 0.23, + "draft_len": 1.78, + "ctx_used": 261968, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 8256, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552707.699318, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "decoding", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 16.4, + "generated": 344, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 261632, + "reused": 261625, + "ttft_s": 0.23, + "draft_len": 1.76, + "ctx_used": 261976, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 8544, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552708.2003956, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "decoding", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 15.9, + "generated": 352, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 261632, + "reused": 261625, + "ttft_s": 0.23, + "draft_len": 1.76, + "ctx_used": 261984, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 8832, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552708.7014081, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "decoding", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 14.7, + "generated": 359, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 261632, + "reused": 261625, + "ttft_s": 0.23, + "draft_len": 1.76, + "ctx_used": 261991, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 8832, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552709.202645, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "decoding", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 15.7, + "generated": 369, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 261632, + "reused": 261625, + "ttft_s": 0.23, + "draft_len": 1.76, + "ctx_used": 262001, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 9216, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552709.7037177, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "decoding", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 17.6, + "generated": 378, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 261632, + "reused": 261625, + "ttft_s": 0.23, + "draft_len": 1.76, + "ctx_used": 262010, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 9408, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552710.205131, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "decoding", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 19.6, + "generated": 388, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 261632, + "reused": 261625, + "ttft_s": 0.23, + "draft_len": 1.76, + "ctx_used": 262020, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 9696, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552710.7063046, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "decoding", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 19.4, + "generated": 397, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 261632, + "reused": 261625, + "ttft_s": 0.23, + "draft_len": 1.76, + "ctx_used": 262029, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 10080, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552711.2074468, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "decoding", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 18.8, + "generated": 406, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 261632, + "reused": 261625, + "ttft_s": 0.23, + "draft_len": 1.76, + "ctx_used": 262038, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 10368, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552711.709683, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "decoding", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 19.7, + "generated": 417, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 261632, + "reused": 261625, + "ttft_s": 0.23, + "draft_len": 1.77, + "ctx_used": 262049, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 10656, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552712.211227, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "decoding", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 20.4, + "generated": 429, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 261632, + "reused": 261625, + "ttft_s": 0.23, + "draft_len": 1.79, + "ctx_used": 262061, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 10848, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552712.7122703, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "decoding", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 22.9, + "generated": 441, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 261632, + "reused": 261625, + "ttft_s": 0.23, + "draft_len": 1.81, + "ctx_used": 262073, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 10848, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552713.2135394, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "decoding", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 20.9, + "generated": 448, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 261632, + "reused": 261625, + "ttft_s": 0.23, + "draft_len": 1.8, + "ctx_used": 262080, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 11136, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552713.714645, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "decoding", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 20.4, + "generated": 456, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 261632, + "reused": 261625, + "ttft_s": 0.23, + "draft_len": 1.79, + "ctx_used": 262088, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 11424, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552714.2159295, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "decoding", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 18.8, + "generated": 465, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 261632, + "reused": 261625, + "ttft_s": 0.23, + "draft_len": 1.8, + "ctx_used": 262097, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 11616, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552714.7173975, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "decoding", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 17.3, + "generated": 474, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 261632, + "reused": 261625, + "ttft_s": 0.23, + "draft_len": 1.8, + "ctx_used": 262106, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 11904, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552715.218913, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "decoding", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 17.2, + "generated": 483, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 261632, + "reused": 261625, + "ttft_s": 0.23, + "draft_len": 1.8, + "ctx_used": 262115, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 11904, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552715.7199798, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "decoding", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 17.2, + "generated": 489, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 261632, + "reused": 261625, + "ttft_s": 0.23, + "draft_len": 1.79, + "ctx_used": 262121, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 12192, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552716.2213578, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "decoding", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 15.9, + "generated": 496, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 261632, + "reused": 261625, + "ttft_s": 0.23, + "draft_len": 1.78, + "ctx_used": 262128, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 12384, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552716.7222278, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 262136, + "drafts_offered": 345, + "drafts_accepted": 218 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 12672, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552717.223103, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 262136, + "drafts_offered": 345, + "drafts_accepted": 218 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 13824, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552717.7236986, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 262136, + "drafts_offered": 345, + "drafts_accepted": 218 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 15264, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552718.2242846, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 262136, + "drafts_offered": 345, + "drafts_accepted": 218 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 16608, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552718.7248611, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 262136, + "drafts_offered": 345, + "drafts_accepted": 218 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 17760, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552719.2258284, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 262136, + "drafts_offered": 345, + "drafts_accepted": 218 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 19200, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552719.7265022, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 262136, + "drafts_offered": 345, + "drafts_accepted": 218 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 20640, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552720.2271578, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 262136, + "drafts_offered": 345, + "drafts_accepted": 218 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 21792, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552720.7277346, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 262136, + "drafts_offered": 345, + "drafts_accepted": 218 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 23040, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552721.228674, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 262136, + "drafts_offered": 345, + "drafts_accepted": 218 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 24576, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552721.7293255, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 262136, + "drafts_offered": 345, + "drafts_accepted": 218 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 25920, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552722.229927, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 262136, + "drafts_offered": 345, + "drafts_accepted": 218 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 25920, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552722.731033, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 262136, + "drafts_offered": 345, + "drafts_accepted": 218 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 27648, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552723.2315617, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 262136, + "drafts_offered": 345, + "drafts_accepted": 218 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 28512, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552723.7321494, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 262136, + "drafts_offered": 345, + "drafts_accepted": 218 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 29952, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552724.2329376, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 262136, + "drafts_offered": 345, + "drafts_accepted": 218 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 31104, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552724.733977, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 262136, + "drafts_offered": 345, + "drafts_accepted": 218 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 32352, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552725.234629, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 262136, + "drafts_offered": 345, + "drafts_accepted": 218 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 33984, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552725.7351744, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 262136, + "drafts_offered": 345, + "drafts_accepted": 218 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 35232, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552726.2363088, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 262136, + "drafts_offered": 345, + "drafts_accepted": 218 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 36864, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552726.7371216, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 262136, + "drafts_offered": 345, + "drafts_accepted": 218 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 37824, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552727.238124, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 262136, + "drafts_offered": 345, + "drafts_accepted": 218 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 39168, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552727.7510543, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 262136, + "drafts_offered": 345, + "drafts_accepted": 218 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 40320, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552728.2521422, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 262136, + "drafts_offered": 345, + "drafts_accepted": 218 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 41568, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552728.752777, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 262136, + "drafts_offered": 345, + "drafts_accepted": 218 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 43200, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552729.2533894, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 262136, + "drafts_offered": 345, + "drafts_accepted": 218 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 44448, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552729.7539775, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 262136, + "drafts_offered": 345, + "drafts_accepted": 218 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 45504, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552730.2550328, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 262136, + "drafts_offered": 345, + "drafts_accepted": 218 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 46944, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552730.7556763, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 262136, + "drafts_offered": 345, + "drafts_accepted": 218 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 48288, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552731.2562497, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 262136, + "drafts_offered": 345, + "drafts_accepted": 218 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 49440, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552731.7573674, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 262136, + "drafts_offered": 345, + "drafts_accepted": 218 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 50688, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552732.2580395, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 262136, + "drafts_offered": 345, + "drafts_accepted": 218 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 52032, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552732.7586064, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 262136, + "drafts_offered": 345, + "drafts_accepted": 218 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 53280, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552733.2591755, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 262136, + "drafts_offered": 345, + "drafts_accepted": 218 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 54432, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552733.7600853, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 262136, + "drafts_offered": 345, + "drafts_accepted": 218 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 55680, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552734.2607512, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 262136, + "drafts_offered": 345, + "drafts_accepted": 218 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 57216, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552734.7613418, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 262136, + "drafts_offered": 345, + "drafts_accepted": 218 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 58368, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552735.2618897, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 262136, + "drafts_offered": 345, + "drafts_accepted": 218 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 59520, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552735.762882, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 262136, + "drafts_offered": 345, + "drafts_accepted": 218 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 59904, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552736.2636251, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 262136, + "drafts_offered": 345, + "drafts_accepted": 218 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 61056, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552736.7644055, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 262136, + "drafts_offered": 345, + "drafts_accepted": 218 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 62400, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552737.2649975, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 262136, + "drafts_offered": 345, + "drafts_accepted": 218 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 63552, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552737.765774, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 262136, + "drafts_offered": 345, + "drafts_accepted": 218 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 64704, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552738.266346, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 262136, + "drafts_offered": 345, + "drafts_accepted": 218 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 66240, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552738.767424, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 262136, + "drafts_offered": 345, + "drafts_accepted": 218 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 67488, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552739.2685008, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 262136, + "drafts_offered": 345, + "drafts_accepted": 218 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 69120, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552739.7690609, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 262136, + "drafts_offered": 345, + "drafts_accepted": 218 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 69888, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552740.2696452, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 262136, + "drafts_offered": 345, + "drafts_accepted": 218 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 71232, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552740.770197, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 262136, + "drafts_offered": 345, + "drafts_accepted": 218 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 72384, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552741.271384, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 262136, + "drafts_offered": 345, + "drafts_accepted": 218 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 73728, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552741.7720242, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 262136, + "drafts_offered": 345, + "drafts_accepted": 218 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 74880, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552742.2727504, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 262136, + "drafts_offered": 345, + "drafts_accepted": 218 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 76224, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552742.773349, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 262136, + "drafts_offered": 345, + "drafts_accepted": 218 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 77280, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552743.2739997, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 262136, + "drafts_offered": 345, + "drafts_accepted": 218 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 78432, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552743.7745981, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 262136, + "drafts_offered": 345, + "drafts_accepted": 218 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 79968, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552744.2752056, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 262136, + "drafts_offered": 345, + "drafts_accepted": 218 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 81216, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552744.7757866, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 262136, + "drafts_offered": 345, + "drafts_accepted": 218 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 82272, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552745.2766585, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 262136, + "drafts_offered": 345, + "drafts_accepted": 218 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 83616, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552745.7772946, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 262136, + "drafts_offered": 345, + "drafts_accepted": 218 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 84960, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552746.27795, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 262136, + "drafts_offered": 345, + "drafts_accepted": 218 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 86112, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552746.7788248, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 262136, + "drafts_offered": 345, + "drafts_accepted": 218 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 87168, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552747.279792, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 262136, + "drafts_offered": 345, + "drafts_accepted": 218 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 88608, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552747.7937524, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 262136, + "drafts_offered": 345, + "drafts_accepted": 218 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 89856, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552748.2943513, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 262136, + "drafts_offered": 345, + "drafts_accepted": 218 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 91008, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552748.7964902, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 262136, + "drafts_offered": 345, + "drafts_accepted": 218 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 92256, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552749.2972095, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 262136, + "drafts_offered": 345, + "drafts_accepted": 218 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 92256, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552749.7977846, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 262136, + "drafts_offered": 345, + "drafts_accepted": 218 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 93792, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552750.2983742, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 262136, + "drafts_offered": 345, + "drafts_accepted": 218 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 95040, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552750.7992795, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 262136, + "drafts_offered": 345, + "drafts_accepted": 218 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 96768, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552751.2998679, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 262136, + "drafts_offered": 345, + "drafts_accepted": 218 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 97440, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552751.8004706, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 262136, + "drafts_offered": 345, + "drafts_accepted": 218 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 98784, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552752.3010478, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 262136, + "drafts_offered": 345, + "drafts_accepted": 218 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 99936, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552752.8021793, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 262136, + "drafts_offered": 345, + "drafts_accepted": 218 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 101376, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552753.3027606, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 262136, + "drafts_offered": 345, + "drafts_accepted": 218 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 102432, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552753.8033571, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 262136, + "drafts_offered": 345, + "drafts_accepted": 218 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 103680, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552754.3039591, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 262136, + "drafts_offered": 345, + "drafts_accepted": 218 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 104832, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552754.8046262, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 262136, + "drafts_offered": 345, + "drafts_accepted": 218 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 106080, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552755.3052115, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 262136, + "drafts_offered": 345, + "drafts_accepted": 218 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 107520, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552755.8057454, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 262136, + "drafts_offered": 345, + "drafts_accepted": 218 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 108768, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552756.3063612, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 262136, + "drafts_offered": 345, + "drafts_accepted": 218 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 109824, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552756.8075724, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 262136, + "drafts_offered": 345, + "drafts_accepted": 218 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 111072, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552757.3085577, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 262136, + "drafts_offered": 345, + "drafts_accepted": 218 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 112512, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552757.8092144, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 262136, + "drafts_offered": 345, + "drafts_accepted": 218 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 113664, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552758.309821, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 262136, + "drafts_offered": 345, + "drafts_accepted": 218 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 114816, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552758.810636, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 262136, + "drafts_offered": 345, + "drafts_accepted": 218 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 115200, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552759.3112016, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 262136, + "drafts_offered": 345, + "drafts_accepted": 218 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 116256, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552759.8117535, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 262136, + "drafts_offered": 345, + "drafts_accepted": 218 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 117504, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552760.3123045, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 262136, + "drafts_offered": 345, + "drafts_accepted": 218 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 118656, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552760.8131506, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 262136, + "drafts_offered": 345, + "drafts_accepted": 218 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 119904, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552761.3137429, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 262136, + "drafts_offered": 345, + "drafts_accepted": 218 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 121344, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552761.8146029, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 262136, + "drafts_offered": 345, + "drafts_accepted": 218 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 122592, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552762.3151748, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 262136, + "drafts_offered": 345, + "drafts_accepted": 218 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 123648, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552762.8161013, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 262136, + "drafts_offered": 345, + "drafts_accepted": 218 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 124896, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552763.316681, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 262136, + "drafts_offered": 345, + "drafts_accepted": 218 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 126336, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552763.8172529, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 262136, + "drafts_offered": 345, + "drafts_accepted": 218 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 127488, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552764.317796, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 262136, + "drafts_offered": 345, + "drafts_accepted": 218 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 128544, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552764.8187578, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 262136, + "drafts_offered": 345, + "drafts_accepted": 218 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 129792, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552765.3193681, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 262136, + "drafts_offered": 345, + "drafts_accepted": 218 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 131136, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552765.819969, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 262136, + "drafts_offered": 345, + "drafts_accepted": 218 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 132192, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552766.3205748, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 262136, + "drafts_offered": 345, + "drafts_accepted": 218 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 133248, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552766.8215654, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 262136, + "drafts_offered": 345, + "drafts_accepted": 218 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 134688, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + }, + { + "at": 1793552767.3221552, + "slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 262136, + "drafts_offered": 345, + "drafts_accepted": 218 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 135936, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261632, + "drafts_offered": 0, + "drafts_accepted": 0 + } + ] + } + ], + "requests": [] + } + ], + "passed": false, + "both_full_slots_decoding_observed": false, + "initial_slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ], + "elapsed_seconds": 246.53180360794067 +} diff --git a/docs/maintenance/basalt-candidate-2026-11-01/evidence/full2-runner-status.json b/docs/maintenance/basalt-candidate-2026-11-01/evidence/full2-runner-status.json new file mode 100644 index 0000000..cdaacdc --- /dev/null +++ b/docs/maintenance/basalt-candidate-2026-11-01/evidence/full2-runner-status.json @@ -0,0 +1,11 @@ +{ + "started": 1793552489.4918776, + "deadline": 1793552794.2332902, + "production_modified_by_runner": false, + "passed": false, + "phase": "candidate stopped; outer operator must restore original Strata/Qwen", + "updated": 1793552775.803959, + "load_seconds": 31.24987816810608, + "error": "TimeoutExpired: Command '['/opt/athena-deck-dev/basalt-candidate-9175e7a3211b/venv/bin/python', '/opt/athena-deck-dev/basalt-candidate-9175e7a3211b/full2_client.py', '--go', '--deadline', '1793552794.2332902']' timed out after 253.49130519520259 seconds", + "server_exit_code": 0 +} diff --git a/docs/maintenance/basalt-candidate-2026-11-01/evidence/full2-server.log b/docs/maintenance/basalt-candidate-2026-11-01/evidence/full2-server.log new file mode 100644 index 0000000..3c774dc --- /dev/null +++ b/docs/maintenance/basalt-candidate-2026-11-01/evidence/full2-server.log @@ -0,0 +1,88 @@ +[server] legend pp=prompt read tg=generation c=cached acc=drafts accepted dl=tokens per window hit=expert cache pcie=routed experts over PCIe +[server] engine ctx=262144 kv=int8 expert-cache=auto prefill=auto resident-experts batch=2 (from config) +[server] sampling temp=1.0 top_p=0.95 top_k=20 min_p=0.0 pres=0.0 +[server] vision mode=off +[server] ready http://127.0.0.1:18320/v1 openai+anthropic stats http://127.0.0.1:18320/ +[server] warning: this CPU has no AVX-512: the expert kernels run on AVX-2 (multi-token for the i-quant gate/up rows) +[server] loading weights into cuda0 [=======================>] 12.6/12.8 GiB 6641 MB/s +[server] auto resident=41.9GB pool-affinity=auto pool=3 +[server] warning: fallback: dense_tc projection on native_mmvq (types 4 / 21) +[server] warning: fallback: dense_tc projection on native_mmvq (types 8 / 21) +[server] loaded 43.8GiB 27.1s cuda0=12.8GiB ram=30.9GiB +[server] kv 0.9/7.8GiB cuda0 elastic slots=2 +[server] slots par=2 ctx/slot=262144 (slot-full-context), others queue +[server] weights loaded, ctx=262144 images=off +[server] s1 read pp=22496/261632 4482t/s 5s +[server] s2 read pp=46965/261632 4792t/s 10s +[server] s1 read pp=49728/261632 4805t/s 10s +[server] s1 read pp=75776/261632 4793t/s 16s +[server] s2 read pp=95114/261632 4800t/s 20s +[server] s1 read pp=100245/261632 4811t/s 21s +[server] s1 read pp=125898/261632 4776t/s 26s +[server] s2 read pp=140896/261632 4750t/s 30s +[server] s1 read pp=150368/261632 4731t/s 32s +[server] s1 read pp=173653/261632 4669t/s 37s +[server] s2 read pp=185493/261632 4639t/s 40s +[server] s1 read pp=194965/261632 4614t/s 42s +[server] s1 read pp=216277/261632 4568t/s 47s +[server] s2 read pp=225749/261632 4545t/s 50s +[server] s1 read pp=237589/261632 4508t/s 53s +[server] s1 read pp=257147/261632 4449t/s 58s +[server] live | s1 tg=1/1 | total 0t/s +[server] s1 done pp=261632/0c 59.4s 4405t/s tg=1 7.7t/s ttft=59.6s end=length hit=29.7% pcie=0.0% +[server] s2 read pp=96/261632 457t/s 60s +[server] s2 read pp=14976/261632 2774t/s 65s +[server] s2 read pp=29280/261632 2760t/s 70s +[server] s2 read pp=43200/261632 2735t/s 75s +[server] s2 read pp=57024/261632 2709t/s 81s +[server] s2 read pp=70560/261632 2688t/s 86s +[server] s2 read pp=84000/261632 2667t/s 91s +[server] s2 read pp=96768/261632 2642t/s 96s +[server] s2 read pp=110208/261632 2629t/s 101s +[server] s2 read pp=123264/261632 2617t/s 107s +[server] s2 read pp=136128/261632 2604t/s 112s +[server] s2 read pp=148608/261632 2589t/s 117s +[server] s2 read pp=160992/261632 2573t/s 122s +[server] s2 read pp=173568/261632 2563t/s 127s +[server] s2 read pp=186240/261632 2552t/s 133s +[server] s2 read pp=198144/261632 2536t/s 138s +[server] s2 read pp=211200/261632 2525t/s 143s +[server] s2 read pp=223872/261632 2515t/s 149s +[server] s2 read pp=235776/261632 2503t/s 154s +[server] s2 read pp=247968/261632 2490t/s 159s +[server] s2 read pp=259612/261632 2478t/s 164s +[server] live | s2 tg=1/1 | total 0t/s +[server] s2 done pp=261632/0c 106.1s 2465t/s tg=1 14.5t/s ttft=165.8s end=length +[server] live | s1 tg=36/504 19.6t/s | total 20t/s +[server] live | s1 tg=69/504 17.1t/s | total 17t/s +[server] s2 read pp=2400/261632 490t/s 5s +[server] live | s1 tg=106/504 17.5t/s | total 17t/s +[server] live | s1 tg=140/504 17.2t/s | total 17t/s +[server] live | s1 tg=172/504 16.9t/s | total 17t/s +[server] s2 read pp=4512/261632 448t/s 10s +[server] live | s1 tg=208/504 16.9t/s | total 17t/s +[server] live | s1 tg=244/504 16.9t/s | total 17t/s +[server] s2 read pp=7104/261632 460t/s 16s +[server] live | s1 tg=283/504 17.2t/s | total 17t/s +[server] live | s1 tg=322/504 17.3t/s | total 17t/s +[server] live | s1 tg=356/504 17.1t/s | total 17t/s +[server] s2 read pp=9120/261632 439t/s 21s +[server] live | s1 tg=393/504 17.2t/s | total 17t/s +[server] live | s1 tg=437/504 17.6t/s | total 18t/s +[server] s2 read pp=11616/261632 447t/s 26s +[server] live | s1 tg=472/504 17.5t/s | total 18t/s +[server] s1 done pp=261632/261625c 0.0s tg=504 17.5t/s acc=63% dl=1.8 ttft=0.2s end=length hit=33.5% pcie=0.0% +[server] s2 read pp=19200/261632 616t/s 32s +[server] s2 read pp=32256/261632 887t/s 37s +[server] s2 read pp=45504/261632 1094t/s 42s +[server] s2 read pp=58368/261632 1249t/s 47s +[server] s2 read pp=71232/261632 1371t/s 52s +[server] s2 read pp=83616/261632 1464t/s 58s +[server] s2 read pp=96096/261632 1540t/s 63s +[server] s2 read pp=108768/261632 1608t/s 68s +[server] s2 read pp=121344/261632 1663t/s 73s +[server] s2 read pp=133248/261632 1704t/s 79s +[server] s2 read pp=145632/261632 1745t/s 84s +[server] stopping (Ctrl+C again to force) +[server] s2 done pp=152064/0c 86.5s 1758t/s tg=0 end=length +[server] stopped diff --git a/docs/maintenance/basalt-candidate-2026-11-01/evidence/paired-artifact-index.json b/docs/maintenance/basalt-candidate-2026-11-01/evidence/paired-artifact-index.json new file mode 100644 index 0000000..a1d8fbd --- /dev/null +++ b/docs/maintenance/basalt-candidate-2026-11-01/evidence/paired-artifact-index.json @@ -0,0 +1,58 @@ +{ + "paired-basalt.json": { + "bytes": 51753, + "sha256": "f9c9391e120945739216403d2910bdffc5bf2a3ccff5957cab2740211778fc81" + }, + "paired-strata.json": { + "bytes": 1349, + "sha256": "36020780ebc8262772a9a2ab84e0988f0c0b61f9dd489bb4e1270192acbdac16" + }, + "paired-strata2.json": { + "bytes": 18223, + "sha256": "0fefeadd5d2a8f75948198f041a6385841e5bad2220db0e213e31691421dcbdb" + }, + "paired-window.json": { + "bytes": 387, + "sha256": "65e803dfc97d27634db34a28ff346f751401ccb5759570e67b18657b200efa55" + }, + "paired-fixtures-proof.json": { + "bytes": 248, + "sha256": "1950437fa1b0209740f13c6fef70c05a2cebb8988c439f20830c9b8ef6176e33" + }, + "paired-runner-status.json": { + "bytes": 332, + "sha256": "8c6e3190a2ef3f86a856f859730e41648eaa7d978c437ca9c84ce324dbdd885a" + }, + "paired-host-exit.json": { + "bytes": 158, + "sha256": "d74dae821a75bf5896cab3f6405b65b729adccc9fbf65707b0c49a811c85d1a3" + }, + "paired-server.log": { + "bytes": 4040, + "sha256": "63b6c3909fe971fbf343a3672f0e2f8e986a032c17957aba9095c6876279aa02" + }, + "paired-final-state.json": { + "bytes": 531, + "sha256": "6dd33784eb9096cbdee892c56a4fead48929888730282714f5dc4779fe82e54c" + }, + "paired-fixtures.json": { + "bytes": 2437195, + "sha256": "e7ec6b476774c5b04cd851c1f57cbfac3234f87f5c03f95c19bc8d50ff0cb3d4" + }, + "paired_client.py": { + "bytes": 10620, + "sha256": "597a91cda44db92331878ba008a4cb0383522d662c843b2ed61ee55475a90e99" + }, + "paired_strata_client.py": { + "bytes": 10750, + "sha256": "8bf83521aa789a163d4ab8ff687b2e37ad4e33d0c0cf0b77fbc604355a38c154" + }, + "paired_host.py": { + "bytes": 4963, + "sha256": "2fb279f11c57d3eeff2ea173d39013ada83439f20f95e11ddeac82678fd21b56" + }, + "paired_runner.py": { + "bytes": 4908, + "sha256": "fd406a1e6cf71824e1de2027053db00f402b7bee1203d1d7ae73eaea38ab2ca0" + } +} \ No newline at end of file diff --git a/docs/maintenance/basalt-candidate-2026-11-01/evidence/paired-basalt.json b/docs/maintenance/basalt-candidate-2026-11-01/evidence/paired-basalt.json new file mode 100644 index 0000000..5c40fa2 --- /dev/null +++ b/docs/maintenance/basalt-candidate-2026-11-01/evidence/paired-basalt.json @@ -0,0 +1,1845 @@ +{ + "engine": "basalt", + "started_at": 1793554586.425066, + "deadline": 1793555440.9617686, + "context_per_slot": 262144, + "initial_tokens": 261500, + "final_tokens": 261632, + "output_tokens": 504, + "requests": [ + { + "tag": "A", + "phase": "preload", + "maximum": 16, + "started_at": 0.0015890730428509414, + "first_content_at": 64.7486519080121, + "finished_at": 64.90289920201758, + "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": 64471.9, + "prompt_per_token_ms": 0.247, + "prompt_per_second": 4056.0, + "predicted_n": 2, + "predicted_ms": 294.4, + "predicted_per_token_ms": 147.2, + "predicted_per_second": 6.8, + "draft_n": 6, + "draft_n_accepted": 4 + }, + "stream_complete": true, + "finish_reason": "stop" + }, + { + "tag": "B", + "phase": "preload", + "maximum": 16, + "started_at": 64.9038545640069, + "first_content_at": 171.98426800302695, + "finished_at": 172.15695949899964, + "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": 106805.5, + "prompt_per_token_ms": 0.408, + "prompt_per_second": 2448.4, + "predicted_n": 2, + "predicted_ms": 321.2, + "predicted_per_token_ms": 160.6, + "predicted_per_second": 6.2, + "draft_n": 6, + "draft_n_accepted": 4 + }, + "stream_complete": true, + "finish_reason": "stop" + }, + { + "tag": "B", + "phase": "full-output", + "maximum": 504, + "started_at": 172.16150227200706, + "first_content_at": 174.23082136601442, + "finished_at": 199.859824854997, + "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 gelegentliche Kopieren von Dateien; er verlangt nach einer durchdachten Architektur, automatisierten Prozessen und regelmäßigen Validierungen.\n\n**Die 3-2-1-Regel als Grundpfeiler**\n\nDer goldene Standard für eine robuste Datensicherungsarchitektur 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 müssen und mindestens eine Kopie an einem anderen Ort aufbewahrt werden sollte. Diese Struktur minimiert das Risiko eines gleichzeitigen Ausfalls aller Sicherungskopien. Die primäre Kopie befindet sich auf dem Produktionsserver oder der lokalen Arbeitsstation. Die zweite Kopie wird typischerweise auf einem lokalen Backup-Server oder einem Network Attached Storage (NAS) vorgehalten, um schnelle Wiederherstellungen bei kleineren Fehlern zu ermöglichen. Die dritte Kopie muss extern gelagert werden, entweder in einer Cloud-Umgebung oder physisch in einem sicheren Rechenzentrum an einem anderen Standort. Diese geografische Trennung ist entscheidend, um lokale Katastrophen wie Brände, Überschwemmungen oder Diebstähle zu überleben.\n\n**Backup-Typen und ihre strategische Anwendung**\n\nNicht alle Backups sind gleich. Die Wahl des Backup-Typs hängt von der Datenmenge, der Änderungshäufigkeit und den Recovery Time Objectives (RTO) sowie Recovery Point Objectives (RPO) ab. Das Vollbackup (Full Backup) ist die einfachste Form, bei der alle ausgewählten Daten vollständig kopiert werden. Es bietet die schnellste Wiederherstellung, da keine Abhängigkeiten von anderen Backup-Sätzen bestehen. Allerdings ist es ressourcenintensiv in", + "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": 549.2, + "prompt_per_token_ms": 3.951, + "prompt_per_second": 253.1, + "predicted_n": 504, + "predicted_ms": 25721.2, + "predicted_per_token_ms": 51.034, + "predicted_per_second": 19.6, + "draft_n": 347, + "draft_n_accepted": 213 + }, + "stream_complete": true, + "finish_reason": "length" + }, + { + "tag": "A", + "phase": "full-output", + "maximum": 504, + "started_at": 172.16274277004413, + "first_content_at": 173.3276432850398, + "finished_at": 199.99107222404564, + "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 jeden Unternehmens, einer Institution oder eines privaten Nutzers. Der Verlust von Daten kann durch technische Defekte, menschliches Versagen, Cyberangriffe wie Ransomware oder physische Katastrophen wie Brände und Überschwemmungen verursacht werden. Die Konsequenzen reichen von finanziellen Einbußen über den Verlust von geistigem Eigentum bis hin zur vollständigen Geschäftsaufgabe. Daher ist die Implementierung einer zuverlässigen Datensicherungsstrategie keine optionale Maßnahme, sondern eine fundamentale Notwendigkeit für die betriebliche Kontinuität und die Datensicherheit. Dieser Fachtext beleuchtet die grundlegenden Prinzipien, die bewährten Methoden und die technischen Herausforderungen, die bei der Gestaltung einer robusten Backup-Infrastruktur zu berücksichtigen sind.\n\n**Das 3-2-1-Backup-Prinzip als Grundpfeiler**\n\nDer Goldstandard für zuverlässige Datensicherung ist das sogenannte 3-2-1-Prinzip. Dieses Regelwerk ist einfach zu verstehen, aber in der Praxis oft schwer konsequent umzusetzen. Es besagt, dass mindestens drei Kopien der Daten vorhanden sein sollten. Diese Kopien sollten auf zwei verschiedenen Speichermedien gespeichert werden, wobei eine Kopie an einem anderen Ort aufbewahrt werden muss. Die Logik hinter diesem Prinzip ist die Redundanz gegen verschiedene Fehlerquellen. Wenn ein Speichermedium ausfällt, ist eine zweite Kopie auf einem anderen Medium verfügbar. Wenn das gesamte Gebäude durch ein Feuer oder einen Wasserschaden zerstört wird, ist die externe Kopie noch sicher. Die Wahl der Speichermedien ist dabei entscheidend. Traditionell wurden Festplatten (HDDs) und Magnetbänder verwendet. Heute kommen zunehmend Solid-State-Drives (SSDs), Netzwerk Attached Storage (NAS) und Cloud-Speicher zum Einsatz. Jede dieser Technologien hat ihre spezifischen Vor- und Nachteile hinsichtlich Haltbarkeit, Geschwindigkeit und Kosten.\n\n**Die Rolle der Cloud in der Datensicherung**\n\nDie Cloud hat die Landschaft der Datensicherung revolutioniert. Anbieter wie Amazon Web Services (AWS), Microsoft Azure oder Google Cloud bieten skalierbare, redundante Speicherlösungen, die physische Sicherheit und geografische Verteilung garantieren. Für viele Unternehmen ist die Cloud die ideale Lösung für die \"", + "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": 578.5, + "prompt_per_token_ms": 4.162, + "prompt_per_second": 240.3, + "predicted_n": 504, + "predicted_ms": 26554.9, + "predicted_per_token_ms": 52.793, + "predicted_per_second": 18.9, + "draft_n": 344, + "draft_n_accepted": 206 + }, + "stream_complete": true, + "finish_reason": "length" + } + ], + "snapshots": [ + { + "at": 1793554591.428172, + "data": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 16, + "prompt_tokens": 261500, + "prefill_done": null, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261500, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793554596.4299452, + "data": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 16, + "prompt_tokens": 261500, + "prefill_done": 19338, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261500, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793554601.432251, + "data": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 16, + "prompt_tokens": 261500, + "prefill_done": 46965, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261500, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793554606.43439, + "data": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 16, + "prompt_tokens": 261500, + "prefill_done": 71434, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261500, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793554611.436755, + "data": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 16, + "prompt_tokens": 261500, + "prefill_done": 94720, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261500, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793554616.4393578, + "data": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 16, + "prompt_tokens": 261500, + "prefill_done": 118005, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261500, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793554621.4413085, + "data": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 16, + "prompt_tokens": 261500, + "prefill_done": 140896, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261500, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793554626.4439065, + "data": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 16, + "prompt_tokens": 261500, + "prefill_done": 161813, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261500, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793554631.4461288, + "data": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 16, + "prompt_tokens": 261500, + "prefill_done": 183520, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261500, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793554636.4483423, + "data": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 16, + "prompt_tokens": 261500, + "prefill_done": 204437, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261500, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793554641.4503, + "data": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 16, + "prompt_tokens": 261500, + "prefill_done": 225749, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261500, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793554646.4524329, + "data": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 16, + "prompt_tokens": 261500, + "prefill_done": 244693, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261500, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793554651.4547443, + "data": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 16, + "prompt_tokens": 261500, + "prefill_done": null, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261500, + "drafts_offered": 6, + "drafts_accepted": 4 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793554656.4571288, + "data": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 16, + "prompt_tokens": 261500, + "prefill_done": 13344, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261500, + "drafts_offered": 6, + "drafts_accepted": 4 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793554661.4592822, + "data": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 16, + "prompt_tokens": 261500, + "prefill_done": 26304, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261500, + "drafts_offered": 6, + "drafts_accepted": 4 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793554666.4615066, + "data": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 16, + "prompt_tokens": 261500, + "prefill_done": 40128, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261500, + "drafts_offered": 6, + "drafts_accepted": 4 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793554671.4639754, + "data": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 16, + "prompt_tokens": 261500, + "prefill_done": 53760, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261500, + "drafts_offered": 6, + "drafts_accepted": 4 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793554676.4662812, + "data": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 16, + "prompt_tokens": 261500, + "prefill_done": 65952, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261500, + "drafts_offered": 6, + "drafts_accepted": 4 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793554681.468751, + "data": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 16, + "prompt_tokens": 261500, + "prefill_done": 79296, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261500, + "drafts_offered": 6, + "drafts_accepted": 4 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793554686.4711685, + "data": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 16, + "prompt_tokens": 261500, + "prefill_done": 91008, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261500, + "drafts_offered": 6, + "drafts_accepted": 4 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793554691.4736967, + "data": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 16, + "prompt_tokens": 261500, + "prefill_done": 104256, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261500, + "drafts_offered": 6, + "drafts_accepted": 4 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793554696.4761539, + "data": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 16, + "prompt_tokens": 261500, + "prefill_done": 117216, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261500, + "drafts_offered": 6, + "drafts_accepted": 4 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793554701.47877, + "data": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 16, + "prompt_tokens": 261500, + "prefill_done": 129024, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261500, + "drafts_offered": 6, + "drafts_accepted": 4 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793554706.4813845, + "data": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 16, + "prompt_tokens": 261500, + "prefill_done": 141504, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261500, + "drafts_offered": 6, + "drafts_accepted": 4 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793554711.4838607, + "data": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 16, + "prompt_tokens": 261500, + "prefill_done": 153984, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261500, + "drafts_offered": 6, + "drafts_accepted": 4 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793554716.4865105, + "data": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 16, + "prompt_tokens": 261500, + "prefill_done": 165120, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261500, + "drafts_offered": 6, + "drafts_accepted": 4 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793554721.4889667, + "data": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 16, + "prompt_tokens": 261500, + "prefill_done": 177888, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261500, + "drafts_offered": 6, + "drafts_accepted": 4 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793554726.4913352, + "data": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 16, + "prompt_tokens": 261500, + "prefill_done": 189024, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261500, + "drafts_offered": 6, + "drafts_accepted": 4 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793554731.4937532, + "data": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 16, + "prompt_tokens": 261500, + "prefill_done": 200448, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261500, + "drafts_offered": 6, + "drafts_accepted": 4 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793554736.4961736, + "data": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 16, + "prompt_tokens": 261500, + "prefill_done": 212928, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261500, + "drafts_offered": 6, + "drafts_accepted": 4 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793554741.4986103, + "data": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 16, + "prompt_tokens": 261500, + "prefill_done": 223872, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261500, + "drafts_offered": 6, + "drafts_accepted": 4 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793554746.5011973, + "data": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 16, + "prompt_tokens": 261500, + "prefill_done": 235584, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261500, + "drafts_offered": 6, + "drafts_accepted": 4 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793554751.5035, + "data": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 16, + "prompt_tokens": 261500, + "prefill_done": 246528, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261500, + "drafts_offered": 6, + "drafts_accepted": 4 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793554756.5058897, + "data": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "prefill", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 0.0, + "generated": 0, + "max_tokens": 16, + "prompt_tokens": 261500, + "prefill_done": 258191, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 261500, + "drafts_offered": 6, + "drafts_accepted": 4 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793554761.5090194, + "data": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "decoding", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 11.2, + "generated": 20, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 261632, + "reused": 261493, + "ttft_s": 0.78, + "draft_len": 1.64, + "ctx_used": 261652, + "drafts_offered": 6, + "drafts_accepted": 4 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "decoding", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 17.6, + "generated": 15, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 261632, + "reused": 261493, + "ttft_s": 1.63, + "draft_len": 1.67, + "ctx_used": 261647, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793554766.5123544, + "data": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "decoding", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 19.3, + "generated": 113, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 261632, + "reused": 261493, + "ttft_s": 0.78, + "draft_len": 1.44, + "ctx_used": 261745, + "drafts_offered": 6, + "drafts_accepted": 4 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "decoding", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 22.4, + "generated": 123, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 261632, + "reused": 261493, + "ttft_s": 1.63, + "draft_len": 1.64, + "ctx_used": 261755, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793554771.515725, + "data": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "decoding", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 21.2, + "generated": 223, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 261632, + "reused": 261493, + "ttft_s": 0.78, + "draft_len": 1.67, + "ctx_used": 261855, + "drafts_offered": 6, + "drafts_accepted": 4 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "decoding", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 21.2, + "generated": 222, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 261632, + "reused": 261493, + "ttft_s": 1.63, + "draft_len": 1.71, + "ctx_used": 261854, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793554776.5218096, + "data": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "decoding", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 19.5, + "generated": 319, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 261632, + "reused": 261493, + "ttft_s": 0.78, + "draft_len": 1.7, + "ctx_used": 261951, + "drafts_offered": 6, + "drafts_accepted": 4 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "decoding", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 19.5, + "generated": 306, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 261632, + "reused": 261493, + "ttft_s": 1.63, + "draft_len": 1.65, + "ctx_used": 261938, + "drafts_offered": null, + "drafts_accepted": null + } + ] + }, + { + "at": 1793554781.525285, + "data": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": true, + "state": "decoding", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 17.8, + "generated": 413, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 261632, + "reused": 261493, + "ttft_s": 0.78, + "draft_len": 1.67, + "ctx_used": 262045, + "drafts_offered": 6, + "drafts_accepted": 4 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": true, + "state": "decoding", + "api": "openai", + "model": "athena-basalt-iq3xxs-test", + "tok_s": 21.6, + "generated": 413, + "max_tokens": 504, + "prompt_tokens": 261632, + "prefill_done": 261632, + "reused": 261493, + "ttft_s": 1.63, + "draft_len": 1.69, + "ctx_used": 262045, + "drafts_offered": null, + "drafts_accepted": null + } + ] + } + ], + "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, + "min_p": 0.0, + "presence_penalty": 0.0, + "n_predict": -1 + } + } + }, + "elapsed_seconds": 199.9931513449992, + "preload_seconds": 172.15862989303423, + "parallel_wall_seconds": 27.833112599037122, + "overlap_seconds": 25.629003488982562, + "output_tokens_per_wall_second": 36.21585607478452, + "cache_reused": [ + 261493, + 261493 + ], + "work_seconds": 199.9931117410306 +} diff --git a/docs/maintenance/basalt-candidate-2026-11-01/evidence/paired-comparison.json b/docs/maintenance/basalt-candidate-2026-11-01/evidence/paired-comparison.json new file mode 100644 index 0000000..8738775 --- /dev/null +++ b/docs/maintenance/basalt-candidate-2026-11-01/evidence/paired-comparison.json @@ -0,0 +1,43 @@ +{ + "basalt_complete": true, + "basalt_whole_work_seconds": 199.9931117410306, + "basalt_read_and_acknowledge_seconds": 172.15862989303423, + "basalt_parallel_answers_seconds": 27.833112599037122, + "basalt_parallel_end_to_end_output_tokens_per_second": 36.21585607478452, + "basalt_per_answer_backend_output_tps": [ + 19.6, + 18.9 + ], + "basalt_simultaneous_full_decode_seconds": 25.629003488982562, + "basalt_both_full_decode_snapshots": 5, + "basalt_first_input_tps": 4056.0, + "strata_first_input_tps": 1949.1, + "first_input_speed_ratio": 2.0809604432815147, + "strata_abort_seconds": 232.2537018750445, + "strata_more_total_time_percent_lower_bound": 16.130850634389795, + "strata_second_input_incomplete": true, + "strata_full_pair_output_not_measured": true, + "early_abort_requested_by_user": true, + "scope": "One identical near-limit conversation workload; Basalt5080+RAM versus current optimized Strata3060+5080+RAM; not general short-prompt or quality equivalence", + "final_state": { + "checked_at": 1793555492.298, + "endpoint": "running", + "worker": "ready", + "runtime": "strata", + "profile_id": "0c25bfe00240414397c41a980ecbe4f0", + "llm_loaded": true, + "tts_loaded": true, + "stt_loaded": true, + "active_requests": 0, + "scheduler": { + "active_requests": 0, + "waiting_requests": 0, + "tts_waiting_requests": 0, + "switching": false + }, + "protected_hashes_unchanged": 12, + "production_image_and_start_unchanged": true, + "owned_test_container_removed": true, + "additional_inference": false + } +} diff --git a/docs/maintenance/basalt-candidate-2026-11-01/evidence/paired-final-state.json b/docs/maintenance/basalt-candidate-2026-11-01/evidence/paired-final-state.json new file mode 100644 index 0000000..06aff79 --- /dev/null +++ b/docs/maintenance/basalt-candidate-2026-11-01/evidence/paired-final-state.json @@ -0,0 +1,21 @@ +{ + "checked_at": 1793555492.298, + "endpoint": "running", + "worker": "ready", + "runtime": "strata", + "profile_id": "0c25bfe00240414397c41a980ecbe4f0", + "llm_loaded": true, + "tts_loaded": true, + "stt_loaded": true, + "active_requests": 0, + "scheduler": { + "active_requests": 0, + "waiting_requests": 0, + "tts_waiting_requests": 0, + "switching": false + }, + "protected_hashes_unchanged": 12, + "production_image_and_start_unchanged": true, + "owned_test_container_removed": true, + "additional_inference": false +} \ No newline at end of file diff --git a/docs/maintenance/basalt-candidate-2026-11-01/evidence/paired-fixtures-proof.json b/docs/maintenance/basalt-candidate-2026-11-01/evidence/paired-fixtures-proof.json new file mode 100644 index 0000000..e8c4c55 --- /dev/null +++ b/docs/maintenance/basalt-candidate-2026-11-01/evidence/paired-fixtures-proof.json @@ -0,0 +1,13 @@ +{ + "inference": false, + "prepared": true, + "source": "actual pinned tokenizer and chat template", + "initial_tokens": 261500, + "final_tokens": 261632, + "output_tokens": 504, + "slack": 8, + "held_prefix_tokens": [ + 261501, + 261501 + ] +} diff --git a/docs/maintenance/basalt-candidate-2026-11-01/evidence/paired-host-exit.json b/docs/maintenance/basalt-candidate-2026-11-01/evidence/paired-host-exit.json new file mode 100644 index 0000000..2a07032 --- /dev/null +++ b/docs/maintenance/basalt-candidate-2026-11-01/evidence/paired-host-exit.json @@ -0,0 +1,7 @@ +{ + "client_exit_code": 0, + "error": null, + "test_finished": 1793554788.7173693, + "owned_container_removed": true, + "production_restore_required": true +} diff --git a/docs/maintenance/basalt-candidate-2026-11-01/evidence/paired-runner-status.json b/docs/maintenance/basalt-candidate-2026-11-01/evidence/paired-runner-status.json new file mode 100644 index 0000000..e3407ff --- /dev/null +++ b/docs/maintenance/basalt-candidate-2026-11-01/evidence/paired-runner-status.json @@ -0,0 +1,11 @@ +{ + "started": 1793554569.0149407, + "deadline": 1793555440.9617686, + "production_modified_by_runner": false, + "passed": true, + "phase": "candidate stopped; outer operator must restore original Strata/Qwen", + "updated": 1793554787.8391988, + "load_seconds": 17.36522102355957, + "capacity_test": true, + "server_exit_code": 0 +} diff --git a/docs/maintenance/basalt-candidate-2026-11-01/evidence/paired-server.log b/docs/maintenance/basalt-candidate-2026-11-01/evidence/paired-server.log new file mode 100644 index 0000000..1221511 --- /dev/null +++ b/docs/maintenance/basalt-candidate-2026-11-01/evidence/paired-server.log @@ -0,0 +1,66 @@ +[server] legend pp=prompt read tg=generation c=cached acc=drafts accepted dl=tokens per window hit=expert cache pcie=routed experts over PCIe +[server] engine ctx=262144 kv=int8 expert-cache=auto prefill=auto resident-experts batch=2 (from config) +[server] sampling temp=1.0 top_p=0.95 top_k=20 min_p=0.0 pres=0.0 +[server] vision mode=off +[server] ready http://127.0.0.1:18320/v1 openai+anthropic stats http://127.0.0.1:18320/ +[server] warning: this CPU has no AVX-512: the expert kernels run on AVX-2 (multi-token for the i-quant gate/up rows) +[server] auto resident=42.2GB pool-affinity=auto pool=3 +[server] warning: fallback: dense_tc projection on native_mmvq (types 4 / 21) +[server] warning: fallback: dense_tc projection on native_mmvq (types 8 / 21) +[server] loaded 43.8GiB 13.2s cuda0=12.8GiB ram=30.9GiB +[server] kv 0.9/7.8GiB cuda0 elastic slots=2 +[server] slots par=2 ctx/slot=262144 (slot-full-context), others queue +[server] weights loaded, ctx=262144 images=off +[server] s1 read pp=394/261500 65t/s 6s +[server] s1 read pp=28021/261500 2515t/s 11s +[server] s1 read pp=55253/261500 3348t/s 17s +[server] s1 read pp=81696/261500 3719t/s 22s +[server] s1 read pp=105376/261500 3907t/s 27s +[server] s1 read pp=128661/261500 4011t/s 32s +[server] s1 read pp=151552/261500 4054t/s 37s +[server] s1 read pp=176021/261500 4106t/s 43s +[server] s1 read pp=197728/261500 4127t/s 48s +[server] s1 read pp=218645/261500 4119t/s 53s +[server] s1 read pp=239957/261500 4114t/s 58s +[server] s1 read pp=259273/261500 4089t/s 63s +[server] live | s1 tg=1/16 | total 0t/s +[server] s1 done pp=261500/0c 64.5s 4056t/s tg=2 6.8t/s acc=67% ttft=64.7s end=stop hit=25.1% pcie=0.0% +[server] s1 read pp=13824/261500 2690t/s 5s +[server] s1 read pp=27552/261500 2713t/s 10s +[server] s1 read pp=41280/261500 2698t/s 15s +[server] s1 read pp=54912/261500 2685t/s 20s +[server] s1 read pp=68448/261500 2664t/s 26s +[server] s1 read pp=81792/261500 2647t/s 31s +[server] s1 read pp=95040/261500 2633t/s 36s +[server] s1 read pp=108192/261500 2618t/s 41s +[server] s1 read pp=121152/261500 2602t/s 47s +[server] s1 read pp=133632/261500 2581t/s 52s +[server] s1 read pp=146400/261500 2571t/s 57s +[server] s1 read pp=158976/261500 2560t/s 62s +[server] s1 read pp=171552/261500 2547t/s 67s +[server] s1 read pp=183936/261500 2532t/s 73s +[server] s1 read pp=196608/261500 2521t/s 78s +[server] s1 read pp=209280/261500 2510t/s 83s +[server] s1 read pp=221184/261500 2495t/s 89s +[server] s1 read pp=233376/261500 2487t/s 94s +[server] s1 read pp=245280/261500 2475t/s 99s +[server] s1 read pp=257184/261500 2463t/s 104s +[server] live | s1 tg=1/16 | total 0t/s +[server] s1 done pp=261500/0c 106.8s 2448t/s tg=2 6.2t/s acc=67% ttft=107.0s end=stop hit=14.9% pcie=0.0% +[server] live | s1 tg=5/504 5.5t/s | s2 tg=1/504 | total 6t/s +[server] live | s1 tg=41/504 14.1t/s | s2 tg=41/504 20.4t/s | total 34t/s +[server] live | s1 tg=81/504 16.1t/s | s2 tg=84/504 20.3t/s | total 36t/s +[server] live | s1 tg=118/504 16.6t/s | s2 tg=129/504 20.8t/s | total 37t/s +[server] live | s1 tg=171/504 18.7t/s | s2 tg=162/504 19.7t/s | total 38t/s +[server] live | s1 tg=213/504 19.0t/s | s2 tg=207/504 20.1t/s | total 39t/s +[server] live | s1 tg=255/504 19.1t/s | s2 tg=247/504 19.8t/s | total 39t/s +[server] live | s1 tg=297/504 19.2t/s | s2 tg=285/504 19.6t/s | total 39t/s +[server] live | s1 tg=336/504 19.1t/s | s2 tg=327/504 19.6t/s | total 39t/s +[server] live | s1 tg=378/504 19.2t/s | s2 tg=372/504 19.8t/s | total 39t/s +[server] live | s1 tg=414/504 19.0t/s | s2 tg=414/504 19.8t/s | total 39t/s +[server] live | s1 tg=448/504 18.7t/s | s2 tg=455/504 19.7t/s | total 38t/s +[server] live | s1 tg=490/504 18.8t/s | s2 tg=496/504 19.7t/s | total 39t/s +[server] s2 done pp=261632/261493c 0.5s tg=504 19.6t/s acc=61% dl=1.7 ttft=1.6s end=length +[server] s1 done pp=261632/261493c 0.6s tg=504 18.9t/s acc=60% dl=1.7 ttft=0.8s end=length hit=31.2% pcie=0.0% +[server] stopping (Ctrl+C again to force) +[server] stopped diff --git a/docs/maintenance/basalt-candidate-2026-11-01/evidence/paired-strata.json b/docs/maintenance/basalt-candidate-2026-11-01/evidence/paired-strata.json new file mode 100644 index 0000000..c187ffb --- /dev/null +++ b/docs/maintenance/basalt-candidate-2026-11-01/evidence/paired-strata.json @@ -0,0 +1,38 @@ +{ + "engine": "strata", + "started_at": 1793554963.2803357, + "deadline": 1793556460.9617686, + "context_per_slot": 262144, + "initial_tokens": 261500, + "final_tokens": 261632, + "output_tokens": 504, + "requests": [ + { + "tag": "A", + "phase": "preload", + "maximum": 16, + "started_at": 0.029037983971647918, + "first_content_at": null, + "finished_at": 0.032633850001730025, + "content": "", + "usage": {}, + "timings": {}, + "stream_complete": false, + "error": "RuntimeError: HTTP 400: {\"error\": {\"message\": \"Denkbudget: positive ganze Tokenzahl oder -1 f\\u00fcr unbegrenzt; 0 ist nicht backendneutral.\", \"type\": \"invalid_request_error\", \"param\": null, \"code\": \"invalid_request_error\"}}" + } + ], + "snapshots": [], + "work_complete": false, + "passed": false, + "early_stop_budget": 231.99207850218517, + "verified_properties": { + "total_slots": 2, + "default_generation_settings": { + "n_ctx": 262144, + "params": {} + } + }, + "elapsed_seconds": 0.03278498299187049, + "stop_reason": "request_failed", + "error": "RuntimeError: HTTP 400: {\"error\": {\"message\": \"Denkbudget: positive ganze Tokenzahl oder -1 f\\u00fcr unbegrenzt; 0 ist nicht backendneutral.\", \"type\": \"invalid_request_error\", \"param\": null, \"code\": \"invalid_request_error\"}}" +} diff --git a/docs/maintenance/basalt-candidate-2026-11-01/evidence/paired-strata2.json b/docs/maintenance/basalt-candidate-2026-11-01/evidence/paired-strata2.json new file mode 100644 index 0000000..0dcdc4d --- /dev/null +++ b/docs/maintenance/basalt-candidate-2026-11-01/evidence/paired-strata2.json @@ -0,0 +1,716 @@ +{ + "engine": "strata", + "started_at": 1793555194.9898386, + "deadline": 1793556460.9617686, + "context_per_slot": 262144, + "initial_tokens": 261500, + "final_tokens": 261632, + "output_tokens": 504, + "requests": [ + { + "tag": "A", + "phase": "preload", + "maximum": 16, + "started_at": 0.06457248103106394, + "first_content_at": 134.4906737000565, + "finished_at": 134.57836158102145, + "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": 134167.8, + "prompt_per_token_ms": 0.513, + "prompt_per_second": 1949.1, + "predicted_n": 2, + "predicted_ms": 109.3, + "predicted_per_token_ms": 54.65, + "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": 134.57894860202214, + "first_content_at": null, + "finished_at": 232.25433554302435, + "content": "", + "usage": {}, + "timings": {}, + "stream_complete": false + } + ], + "snapshots": [ + { + "at": 1793555200.057153, + "data": { + "schema_version": 1, + "sampled_at": 1793555200.0558207, + "scope": "backend", + "backend": "strata", + "phase": "reading", + "generation_tok_s": null, + "prefill_tok_s": 60.9, + "active_slots": 0, + "attribution": "unavailable" + } + }, + { + "at": 1793555205.0610237, + "data": { + "schema_version": 1, + "sampled_at": 1793555205.0594864, + "scope": "backend", + "backend": "strata", + "phase": "reading", + "generation_tok_s": null, + "prefill_tok_s": 1887.3, + "active_slots": 0, + "attribution": "unavailable" + } + }, + { + "at": 1793555210.065528, + "data": { + "schema_version": 1, + "sampled_at": 1793555210.063582, + "scope": "backend", + "backend": "strata", + "phase": "reading", + "generation_tok_s": null, + "prefill_tok_s": 1998.9, + "active_slots": 0, + "attribution": "unavailable" + } + }, + { + "at": 1793555215.068904, + "data": { + "schema_version": 1, + "sampled_at": 1793555215.0675328, + "scope": "backend", + "backend": "strata", + "phase": "reading", + "generation_tok_s": null, + "prefill_tok_s": 2084.7, + "active_slots": 0, + "attribution": "unavailable" + } + }, + { + "at": 1793555220.071983, + "data": { + "schema_version": 1, + "sampled_at": 1793555220.0705934, + "scope": "backend", + "backend": "strata", + "phase": "reading", + "generation_tok_s": null, + "prefill_tok_s": 2100.6, + "active_slots": 0, + "attribution": "unavailable" + } + }, + { + "at": 1793555225.07604, + "data": { + "schema_version": 1, + "sampled_at": 1793555225.074163, + "scope": "backend", + "backend": "strata", + "phase": "reading", + "generation_tok_s": null, + "prefill_tok_s": 2113.3, + "active_slots": 0, + "attribution": "unavailable" + } + }, + { + "at": 1793555230.0876691, + "data": { + "schema_version": 1, + "sampled_at": 1793555230.0863626, + "scope": "backend", + "backend": "strata", + "phase": "reading", + "generation_tok_s": null, + "prefill_tok_s": 2120.5, + "active_slots": 0, + "attribution": "unavailable" + } + }, + { + "at": 1793555235.091053, + "data": { + "schema_version": 1, + "sampled_at": 1793555235.089577, + "scope": "backend", + "backend": "strata", + "phase": "reading", + "generation_tok_s": null, + "prefill_tok_s": 2118.9, + "active_slots": 0, + "attribution": "unavailable" + } + }, + { + "at": 1793555240.0947769, + "data": { + "schema_version": 1, + "sampled_at": 1793555240.0932806, + "scope": "backend", + "backend": "strata", + "phase": "reading", + "generation_tok_s": null, + "prefill_tok_s": 2118.1, + "active_slots": 0, + "attribution": "unavailable" + } + }, + { + "at": 1793555245.099664, + "data": { + "schema_version": 1, + "sampled_at": 1793555245.0973575, + "scope": "backend", + "backend": "strata", + "phase": "reading", + "generation_tok_s": null, + "prefill_tok_s": 2113.1, + "active_slots": 0, + "attribution": "unavailable" + } + }, + { + "at": 1793555250.1032665, + "data": { + "schema_version": 1, + "sampled_at": 1793555250.1017992, + "scope": "backend", + "backend": "strata", + "phase": "reading", + "generation_tok_s": null, + "prefill_tok_s": 2103.1, + "active_slots": 0, + "attribution": "unavailable" + } + }, + { + "at": 1793555255.1067684, + "data": { + "schema_version": 1, + "sampled_at": 1793555255.105219, + "scope": "backend", + "backend": "strata", + "phase": "reading", + "generation_tok_s": null, + "prefill_tok_s": 2098.3, + "active_slots": 0, + "attribution": "unavailable" + } + }, + { + "at": 1793555260.1098335, + "data": { + "schema_version": 1, + "sampled_at": 1793555260.1084738, + "scope": "backend", + "backend": "strata", + "phase": "reading", + "generation_tok_s": null, + "prefill_tok_s": 2093.1, + "active_slots": 0, + "attribution": "unavailable" + } + }, + { + "at": 1793555265.114336, + "data": { + "schema_version": 1, + "sampled_at": 1793555265.1120875, + "scope": "backend", + "backend": "strata", + "phase": "reading", + "generation_tok_s": null, + "prefill_tok_s": 2087.3, + "active_slots": 0, + "attribution": "unavailable" + } + }, + { + "at": 1793555270.118712, + "data": { + "schema_version": 1, + "sampled_at": 1793555270.116685, + "scope": "backend", + "backend": "strata", + "phase": "reading", + "generation_tok_s": null, + "prefill_tok_s": 2079.5, + "active_slots": 0, + "attribution": "unavailable" + } + }, + { + "at": 1793555275.1224577, + "data": { + "schema_version": 1, + "sampled_at": 1793555275.121063, + "scope": "backend", + "backend": "strata", + "phase": "reading", + "generation_tok_s": null, + "prefill_tok_s": 2064.7, + "active_slots": 0, + "attribution": "unavailable" + } + }, + { + "at": 1793555280.1258013, + "data": { + "schema_version": 1, + "sampled_at": 1793555280.1243658, + "scope": "backend", + "backend": "strata", + "phase": "reading", + "generation_tok_s": null, + "prefill_tok_s": 2058.5, + "active_slots": 0, + "attribution": "unavailable" + } + }, + { + "at": 1793555285.1287785, + "data": { + "schema_version": 1, + "sampled_at": 1793555285.1273372, + "scope": "backend", + "backend": "strata", + "phase": "reading", + "generation_tok_s": null, + "prefill_tok_s": 2050.4, + "active_slots": 0, + "attribution": "unavailable" + } + }, + { + "at": 1793555290.1324544, + "data": { + "schema_version": 1, + "sampled_at": 1793555290.1308792, + "scope": "backend", + "backend": "strata", + "phase": "reading", + "generation_tok_s": null, + "prefill_tok_s": 2043.4, + "active_slots": 0, + "attribution": "unavailable" + } + }, + { + "at": 1793555295.1360543, + "data": { + "schema_version": 1, + "sampled_at": 1793555295.134535, + "scope": "backend", + "backend": "strata", + "phase": "reading", + "generation_tok_s": null, + "prefill_tok_s": 2035.2, + "active_slots": 0, + "attribution": "unavailable" + } + }, + { + "at": 1793555300.1391444, + "data": { + "schema_version": 1, + "sampled_at": 1793555300.1377554, + "scope": "backend", + "backend": "strata", + "phase": "reading", + "generation_tok_s": null, + "prefill_tok_s": 2028.0, + "active_slots": 0, + "attribution": "unavailable" + } + }, + { + "at": 1793555305.1422448, + "data": { + "schema_version": 1, + "sampled_at": 1793555305.140902, + "scope": "backend", + "backend": "strata", + "phase": "reading", + "generation_tok_s": null, + "prefill_tok_s": 2019.8, + "active_slots": 0, + "attribution": "unavailable" + } + }, + { + "at": 1793555310.1452308, + "data": { + "schema_version": 1, + "sampled_at": 1793555310.143942, + "scope": "backend", + "backend": "strata", + "phase": "reading", + "generation_tok_s": null, + "prefill_tok_s": 2004.1, + "active_slots": 0, + "attribution": "unavailable" + } + }, + { + "at": 1793555315.1482148, + "data": { + "schema_version": 1, + "sampled_at": 1793555315.146833, + "scope": "backend", + "backend": "strata", + "phase": "reading", + "generation_tok_s": null, + "prefill_tok_s": 1994.5, + "active_slots": 0, + "attribution": "unavailable" + } + }, + { + "at": 1793555320.1513176, + "data": { + "schema_version": 1, + "sampled_at": 1793555320.1498532, + "scope": "backend", + "backend": "strata", + "phase": "reading", + "generation_tok_s": null, + "prefill_tok_s": 1986.4, + "active_slots": 0, + "attribution": "unavailable" + } + }, + { + "at": 1793555325.1545882, + "data": { + "schema_version": 1, + "sampled_at": 1793555325.1533017, + "scope": "backend", + "backend": "strata", + "phase": "reading", + "generation_tok_s": null, + "prefill_tok_s": 1979.3, + "active_slots": 0, + "attribution": "unavailable" + } + }, + { + "at": 1793555330.158575, + "data": { + "schema_version": 1, + "sampled_at": 1793555330.157082, + "scope": "backend", + "backend": "strata", + "phase": "reading", + "generation_tok_s": null, + "prefill_tok_s": 1949.0, + "active_slots": 0, + "attribution": "unavailable" + } + }, + { + "at": 1793555335.1694772, + "data": { + "schema_version": 1, + "sampled_at": 1793555335.16823, + "scope": "backend", + "backend": "strata", + "phase": "reading", + "generation_tok_s": null, + "prefill_tok_s": 1635.9, + "active_slots": 0, + "attribution": "unavailable" + } + }, + { + "at": 1793555340.1726468, + "data": { + "schema_version": 1, + "sampled_at": 1793555340.1713045, + "scope": "backend", + "backend": "strata", + "phase": "reading", + "generation_tok_s": null, + "prefill_tok_s": 1900.2, + "active_slots": 0, + "attribution": "unavailable" + } + }, + { + "at": 1793555345.1760924, + "data": { + "schema_version": 1, + "sampled_at": 1793555345.1743436, + "scope": "backend", + "backend": "strata", + "phase": "reading", + "generation_tok_s": null, + "prefill_tok_s": 2008.5, + "active_slots": 0, + "attribution": "unavailable" + } + }, + { + "at": 1793555350.179238, + "data": { + "schema_version": 1, + "sampled_at": 1793555350.1778872, + "scope": "backend", + "backend": "strata", + "phase": "reading", + "generation_tok_s": null, + "prefill_tok_s": 2090.0, + "active_slots": 0, + "attribution": "unavailable" + } + }, + { + "at": 1793555355.182781, + "data": { + "schema_version": 1, + "sampled_at": 1793555355.1812756, + "scope": "backend", + "backend": "strata", + "phase": "reading", + "generation_tok_s": null, + "prefill_tok_s": 2104.0, + "active_slots": 0, + "attribution": "unavailable" + } + }, + { + "at": 1793555360.1866937, + "data": { + "schema_version": 1, + "sampled_at": 1793555360.185094, + "scope": "backend", + "backend": "strata", + "phase": "reading", + "generation_tok_s": null, + "prefill_tok_s": 2116.6, + "active_slots": 0, + "attribution": "unavailable" + } + }, + { + "at": 1793555365.1897936, + "data": { + "schema_version": 1, + "sampled_at": 1793555365.1884825, + "scope": "backend", + "backend": "strata", + "phase": "reading", + "generation_tok_s": null, + "prefill_tok_s": 2123.1, + "active_slots": 0, + "attribution": "unavailable" + } + }, + { + "at": 1793555370.1932251, + "data": { + "schema_version": 1, + "sampled_at": 1793555370.1917732, + "scope": "backend", + "backend": "strata", + "phase": "reading", + "generation_tok_s": null, + "prefill_tok_s": 2121.1, + "active_slots": 0, + "attribution": "unavailable" + } + }, + { + "at": 1793555375.1970456, + "data": { + "schema_version": 1, + "sampled_at": 1793555375.1953404, + "scope": "backend", + "backend": "strata", + "phase": "reading", + "generation_tok_s": null, + "prefill_tok_s": 2119.8, + "active_slots": 0, + "attribution": "unavailable" + } + }, + { + "at": 1793555380.2005825, + "data": { + "schema_version": 1, + "sampled_at": 1793555380.1990316, + "scope": "backend", + "backend": "strata", + "phase": "reading", + "generation_tok_s": null, + "prefill_tok_s": 2111.8, + "active_slots": 0, + "attribution": "unavailable" + } + }, + { + "at": 1793555385.2043674, + "data": { + "schema_version": 1, + "sampled_at": 1793555385.2028196, + "scope": "backend", + "backend": "strata", + "phase": "reading", + "generation_tok_s": null, + "prefill_tok_s": 2105.1, + "active_slots": 0, + "attribution": "unavailable" + } + }, + { + "at": 1793555390.2157872, + "data": { + "schema_version": 1, + "sampled_at": 1793555390.2145143, + "scope": "backend", + "backend": "strata", + "phase": "reading", + "generation_tok_s": null, + "prefill_tok_s": 2099.8, + "active_slots": 0, + "attribution": "unavailable" + } + }, + { + "at": 1793555395.219717, + "data": { + "schema_version": 1, + "sampled_at": 1793555395.2180724, + "scope": "backend", + "backend": "strata", + "phase": "reading", + "generation_tok_s": null, + "prefill_tok_s": 2092.8, + "active_slots": 0, + "attribution": "unavailable" + } + }, + { + "at": 1793555400.2239592, + "data": { + "schema_version": 1, + "sampled_at": 1793555400.2221503, + "scope": "backend", + "backend": "strata", + "phase": "reading", + "generation_tok_s": null, + "prefill_tok_s": 2087.0, + "active_slots": 0, + "attribution": "unavailable" + } + }, + { + "at": 1793555405.2271414, + "data": { + "schema_version": 1, + "sampled_at": 1793555405.225744, + "scope": "backend", + "backend": "strata", + "phase": "reading", + "generation_tok_s": null, + "prefill_tok_s": 2072.8, + "active_slots": 0, + "attribution": "unavailable" + } + }, + { + "at": 1793555410.2304082, + "data": { + "schema_version": 1, + "sampled_at": 1793555410.229071, + "scope": "backend", + "backend": "strata", + "phase": "reading", + "generation_tok_s": null, + "prefill_tok_s": 2064.8, + "active_slots": 0, + "attribution": "unavailable" + } + }, + { + "at": 1793555415.2333264, + "data": { + "schema_version": 1, + "sampled_at": 1793555415.2319975, + "scope": "backend", + "backend": "strata", + "phase": "reading", + "generation_tok_s": null, + "prefill_tok_s": 2057.9, + "active_slots": 0, + "attribution": "unavailable" + } + }, + { + "at": 1793555420.2377527, + "data": { + "schema_version": 1, + "sampled_at": 1793555420.2360256, + "scope": "backend", + "backend": "strata", + "phase": "reading", + "generation_tok_s": null, + "prefill_tok_s": 2049.7, + "active_slots": 0, + "attribution": "unavailable" + } + }, + { + "at": 1793555425.2425077, + "data": { + "schema_version": 1, + "sampled_at": 1793555425.2404025, + "scope": "backend", + "backend": "strata", + "phase": "reading", + "generation_tok_s": null, + "prefill_tok_s": 2042.7, + "active_slots": 0, + "attribution": "unavailable" + } + } + ], + "work_complete": false, + "passed": false, + "early_stop_budget": 231.99207850218517, + "verified_properties": { + "total_slots": 2, + "default_generation_settings": { + "n_ctx": 262144, + "params": {} + } + }, + "elapsed_seconds": 232.25683023204328, + "stop_reason": "strata_proven_slower_total_work_lower_bound", + "strata_elapsed_lower_bound_seconds": 232.2537018750445, + "preload_seconds": 232.2546956380247, + "error": "RuntimeError: Benchmark stopped before admission" +} diff --git a/docs/maintenance/basalt-candidate-2026-11-01/evidence/paired-weight-source-check.json b/docs/maintenance/basalt-candidate-2026-11-01/evidence/paired-weight-source-check.json new file mode 100644 index 0000000..1e82ae8 --- /dev/null +++ b/docs/maintenance/basalt-candidate-2026-11-01/evidence/paired-weight-source-check.json @@ -0,0 +1,24 @@ +{ + "method": "Compared actual active Strata GGUF sizes and SHA-256(first 64 MiB + last 64 MiB + little-endian uint64 size) with source records read from the verified Basalt pack metadata", + "model": "Qwen3.8-Flash-Next GSQ-RCO IQ3_XXS", + "sources": [ + { + "filename": "Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00001-of-00002.gguf", + "size": 47039860096, + "size_matches": true, + "fingerprint": "2cc828488f9d622aed814d8f8944a3c787ce3880a3dbe915823f0123af7e3379", + "source_fingerprint_matches": true + }, + { + "filename": "Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00002-of-00002.gguf", + "size": 28800138432, + "size_matches": true, + "fingerprint": "d7860b7ebdddd9450948726843da988fdea64a08e451654ee17e1117eadb3c68", + "source_fingerprint_matches": true + } + ], + "all_sources_match": true, + "full_gguf_hash_comparison_performed": false, + "full_runtime_tensor_equivalence_proven": false, + "runtime_pack_difference": "Basalt includes HC8 and other packaged runtime-specific components; identical input GGUF variant is not proof of bit-identical internal arithmetic or every runtime tensor" +} diff --git a/docs/maintenance/basalt-candidate-2026-11-01/evidence/paired-window.json b/docs/maintenance/basalt-candidate-2026-11-01/evidence/paired-window.json new file mode 100644 index 0000000..8ad0d9f --- /dev/null +++ b/docs/maintenance/basalt-candidate-2026-11-01/evidence/paired-window.json @@ -0,0 +1,8 @@ +{ + "started": 1793554540.9617686, + "test_deadline": 1793555440.9617686, + "comparison_deadline": 1793556460.9617686, + "restore_deadline": 1793556640.9617686, + "go": "Michael: repeat correctly, same test with Strata, stop Strata if demonstrably slower", + "policy": "Stop only own Strata requests after Basalt total work time plus15percent and2seconds; leave original Strata loaded" +} \ No newline at end of file diff --git a/docs/maintenance/basalt-candidate-2026-11-01/evidence/post-test-audit.json b/docs/maintenance/basalt-candidate-2026-11-01/evidence/post-test-audit.json new file mode 100644 index 0000000..8a03692 --- /dev/null +++ b/docs/maintenance/basalt-candidate-2026-11-01/evidence/post-test-audit.json @@ -0,0 +1,32 @@ +{ + "checked_at": 1793550917.391583, + "manifest_entries": 8470, + "logical_bytes": 81701843234, + "logical_gib": 76.09, + "manifest_independently_complete": true, + "model_sha256_matches": "d02bb1b188bbc9ed6bc88ce5e89c7c2d64247290c7bae70fbb9d9d17fe65ed71", + "production_unchanged": true, + "owned_test_container_removed": true, + "cleanup_fixture_passed": true, + "candidate_retained": true, + "weights_only_in_owned_candidate": true, + "go_consumed": true, + "restoration": { + "restored": true, + "checked_at": 1793550091.122105, + "model": "flash-next-strata-iq3-dual", + "protected_hashes_unchanged": 12, + "container_image_start_unchanged": true, + "production_health": "healthy", + "owned_container_removed": true, + "total_window_seconds": 382.50690150260925, + "loaded": { + "llm": true, + "tts": true, + "stt": true + }, + "authenticated_gui_loaded_readback": true, + "original_restore_probe_passed": true, + "restore_probe_used_as_benchmark": false + } +} diff --git a/docs/maintenance/basalt-candidate-2026-11-01/evidence/short-test.json b/docs/maintenance/basalt-candidate-2026-11-01/evidence/short-test.json new file mode 100644 index 0000000..9375df9 --- /dev/null +++ b/docs/maintenance/basalt-candidate-2026-11-01/evidence/short-test.json @@ -0,0 +1,635 @@ +{ + "test": { + "started": 1793549816.993339, + "client_budget_seconds": 480, + "model": "athena-basalt-iq3xxs-test", + "historical_reference_not_controlled": true, + "requests": [ + { + "content": "# Datensicherung: Strategien, Methoden und Best Practices für die digitale Resilienz\n\nIn der modernen, digitalisierten Welt sind Daten das wertvollste Gut eines Unternehmens, einer Institution oder eines einzelnen Individuums. Sie bilden das Fundament für operative Prozesse, strategische Entscheidungen und die Bewahrung historischer Informationen. Doch die Abhängigkeit von digitalen Daten bringt erhebliche Risiken mit sich. Hardware-Ausfälle, menschliche Fehler, Cyberangriffe wie Ransomware, Naturkatastrophen oder schlichte Softwarefehler können zu einem vollständigen Datenverlust führen. Die Datensicherung, oft als Backup bezeichnet, ist daher keine optionale Zusatzleistung, sondern eine zentrale Säule der IT-Sicherheit und der betrieblichen Kontinuitätsplanung (Business Continuity Planning). Dieser Fachtext beleuchtet die grundlegenden Konzepte, die verschiedenen Backup-Strategien, die technischen Implementierungen sowie die aktuellen Herausforderungen im Bereich der Datensicherung.\n\n## Die Notwendigkeit und die Ziele der Datensicherung\n\nDer primäre Zweck der Datensicherung besteht darin, Kopien von Daten zu erstellen, die im Falle eines Datenverlusts zur Wiederherstellung genutzt werden können. Es geht nicht nur darum, Daten zu kopieren, sondern darum, eine funktionierende und verifizierbare Wiederherstellungsstrategie zu etablieren. Ein Backup ist dann erfolgreich, wenn die Daten nicht nur gespeichert, sondern auch in einem definierten Zeitrahmen (Recovery Time Objective, RTO) und mit einem definierten Datenverlust (Recovery Point Objective, RPO) wiederhergestellt werden können.\n\nOhne eine robuste Backup-Strategie sind Organisationen extrem verwundbar. Studien zeigen, dass ein erheblicher Anteil kleiner und mittelständischer Unternehmen, die einen schweren Datenverlust erleiden, innerhalb von zwei Jahren schließen müssen. Die Datensicherung dient somit der Risikominderung. Sie schützt vor:\n1. **Hardware-Fehlern:** Festplatten, SSDs und Server haben eine begrenzte Lebensdauer.\n2. **Menschlichem Versagen:** Versehentliches Löschen, Überschreiben oder fehlerhafte Konfigurationen.\n3. **Cyberbedrohungen:** Ransomware verschlüsselt Daten und löscht oft Backups, wenn diese nicht isoliert sind.\n4. **Physischen Katastrophen:** Brände, Überschwemmungen oder Diebstahl können lokale Speichermedien zerstören.\n\n## Die 3-2-1-Regel: Der Goldstandard der Datens", + "usage": { + "prompt_tokens": 56, + "completion_tokens": 512, + "total_tokens": 568, + "prompt_tokens_details": { + "cached_tokens": 0 + } + }, + "timings": { + "cache_n": 0, + "prompt_n": 56, + "prompt_ms": 953.7, + "prompt_per_token_ms": 17.03, + "prompt_per_second": 58.7, + "predicted_n": 512, + "predicted_ms": 7173.3, + "predicted_per_token_ms": 14.01, + "predicted_per_second": 71.4, + "draft_n": 364, + "draft_n_accepted": 224 + }, + "tool_calls": [], + "stream_complete": true, + "finish_reason": "length", + "label": "solo-512", + "wall_seconds": 8.141315011016559, + "ttft_seconds": 1.0895000720047392 + }, + { + "content": "# Datensicherung: Strategien, Methoden und Best Practices für die digitale Resilienz\n\nIn der modernen, digitalisierten Welt ist Information das wertvollste Gut eines Unternehmens. Ob es sich um sensible Kundenstammdaten, komplexe Konstruktionspläne, Finanztransaktionen oder wissenschaftliche Forschungsdaten handelt – der Verlust dieser Informationen kann existenzbedrohende Folgen haben. Datensicherung, oft als Backup bezeichnet, ist daher keine optionale Zusatzleistung, sondern eine fundamentale Säule der IT-Infrastruktur und der betrieblichen Kontinuitätsplanung (Business Continuity Planning). Dieser Fachtext beleuchtet die theoretischen Grundlagen, die technischen Methoden, die organisatorischen Herausforderungen und die aktuellen Trends im Bereich der Datensicherung.\n\n## Die Notwendigkeit der Datensicherung: Risiken und Bedrohungen\n\nUm die Bedeutung der Datensicherung zu verstehen, muss man zunächst die Bedrohungen betrachten, gegen die sie schützt. Die Ursachen für Datenverlust sind vielfältig und reichen von banalen menschlichen Fehlern bis hin zu hochkomplexen Cyberangriffen.\n\nErstens sind **menschliche Fehler** eine der häufigsten Ursachen. Ein versehentliches Löschen einer Datei, eine fehlerhafte Konfiguration eines Servers oder das Überschreiben von Daten durch falsche Eingaben sind alltägliche Vorfälle. Zweitens spielen **technische Defekte** eine Rolle. Festplatten haben eine begrenzte Lebensdauer, SSDs können durch Schreibzyklen ausfallen, und RAID-Systeme sind zwar redundant, aber nicht unfehlbar. Hardware-Ausfälle sind statistisch gesehen unvermeidbar.\n\nDrittens, und in den letzten Jahren zunehmend dominant, sind **Cyberangriffe**. Ransomware, bei der Daten verschlüsselt und gegen Lösegeld freigegeben werden, hat sich zu einer der größten Bedrohungen für Unternehmen entwickelt. Auch Insider-Bedrohungen, bei denen Mitarbeiter absichtlich Daten stehlen oder manipulieren, stellen ein erhebliches Risiko dar.\n\nSchließlich dürfen **physische Katastrophen** nicht ignoriert werden. Brände, Überschwemmungen, Erdbeben oder Diebstahl können physische Speichermedien zerstören. Eine Datensicherung, die nur lokal im selben Gebäude gespeichert ist, bietet in solchen Szenarien keinen Schutz.\n\n## Grundlegende Prinzipien: Die 3-2-1-Regel\n\nDas goldene Standardmodell für eine robuste Datensicherungsstrategie ist die **", + "usage": { + "prompt_tokens": 61, + "completion_tokens": 512, + "total_tokens": 573, + "prompt_tokens_details": { + "cached_tokens": 0 + } + }, + "timings": { + "cache_n": 0, + "prompt_n": 61, + "prompt_ms": 950.9, + "prompt_per_token_ms": 15.589, + "prompt_per_second": 64.1, + "predicted_n": 512, + "predicted_ms": 762.3, + "predicted_per_token_ms": 17.728, + "predicted_per_second": 56.4, + "draft_n": 352, + "draft_n_accepted": 209 + }, + "tool_calls": [], + "stream_complete": true, + "finish_reason": "length", + "label": "parallel-512-0", + "wall_seconds": 13.763757278007688, + "ttft_seconds": 2.163895653007785 + }, + { + "content": "# Home Assistant: Die Architektur der offenen Smart-Home-Automatisierung\n\nIn der modernen Landschaft der intelligenten Gebäudeautomation hat sich eine klare Dichotomie zwischen proprietären, cloud-zentrierten Ökosystemen und offenen, lokal gesteuerten Plattformen herausgebildet. Während Anbieter wie Amazon Alexa, Google Home oder Apple HomeKit oft auf Benutzerfreundlichkeit und nahtlose Integration setzen, aber häufig Abhängigkeiten von externen Servern und Datenschutzbedenken mit sich bringen, positioniert sich **Home Assistant** als das Gegenmodell. Es ist eine Open-Source-Softwareplattform, die darauf ausgelegt ist, die volle Kontrolle über das eigene Smart Home in die Hände des Nutzers zu legen. Dieser Fachtext beleuchtet die technische Architektur, die Funktionsweise, die Integrationsvielfalt sowie die philosophischen und praktischen Implikationen von Home Assistant im Kontext der heutigen IoT-Landschaft (Internet of Things).\n\n## Die philosophische Grundlage: Lokalität und Privatsphäre\n\nDer Kern von Home Assistant liegt nicht nur in seiner technischen Funktionalität, sondern in seiner zugrunde liegenden Philosophie. Im Gegensatz zu vielen kommerziellen Smart-Home-Systemen, die Daten zur Analyse in die Cloud senden, operiert Home Assistant primär lokal. Das bedeutet, dass die Logik für Automatisierungen, die Speicherung von Zuständen und die Steuerung von Geräten auf einem lokalen Server (oft ein Raspberry Pi, ein Mini-PC oder ein NAS) stattfinden. Diese Architektur bietet mehrere entscheidende Vorteile:\n\n1. **Datenschutz:** Da keine Daten an externe Server gesendet werden müssen, um das System funktionsfähig zu halten, bleibt die Privatsphäre des Nutzers gewahrt. Sensordaten, Nutzungsprofile und Verhaltensmuster verbleiben im eigenen Netzwerk.\n2. **Zuverlässigkeit und Latenz:** Cloud-basierte Systeme sind anfällig für Internetverbindungsprobleme. Home Assistant funktioniert auch dann, wenn die Internetverbindung abbricht. Die Reaktionszeiten sind zudem oft kürzer, da die Befehle nicht erst über externe Server umgeleitet werden müssen.\n3. **Unabhängigkeit von Herstellern:** Proprietäre Ökosysteme neigen dazu, nur Geräte zu unterstützen, die in ihrem eigenen Partnerprogramm sind. Home Assistant hingegen ist herstellerneutral. Es kann Geräte von Zigbee, Z-Wave, Wi-Fi, Bluetooth, Matter und vielen anderen Protokollen integrieren, unabhängig davon, ob der", + "usage": { + "prompt_tokens": 56, + "completion_tokens": 512, + "total_tokens": 568, + "prompt_tokens_details": { + "cached_tokens": 0 + } + }, + "timings": { + "cache_n": 0, + "prompt_n": 56, + "prompt_ms": 969.6, + "prompt_per_token_ms": 17.314, + "prompt_per_second": 57.8, + "predicted_n": 512, + "predicted_ms": 11850.1, + "predicted_per_token_ms": 23.19, + "predicted_per_second": 43.1, + "draft_n": 338, + "draft_n_accepted": 228 + }, + "tool_calls": [], + "stream_complete": true, + "finish_reason": "length", + "label": "parallel-512-1", + "wall_seconds": 12.958067108003888, + "ttft_seconds": 1.0948563019919675 + }, + { + "content": "ORION_029_A", + "usage": { + "prompt_tokens": 7420, + "completion_tokens": 8, + "total_tokens": 7428, + "prompt_tokens_details": { + "cached_tokens": 0 + } + }, + "timings": { + "cache_n": 0, + "prompt_n": 7420, + "prompt_ms": 1916.8, + "prompt_per_token_ms": 0.258, + "prompt_per_second": 3871.0, + "predicted_n": 8, + "predicted_ms": 2062.2, + "predicted_per_token_ms": 294.6, + "predicted_per_second": 3.4, + "draft_n": 7, + "draft_n_accepted": 5 + }, + "tool_calls": [], + "stream_complete": true, + "finish_reason": "stop", + "label": "fresh-context-pair-0", + "wall_seconds": 4.166197038983228, + "ttft_seconds": 2.0890192619990557 + }, + { + "content": "VEGA_029_B", + "usage": { + "prompt_tokens": 7420, + "completion_tokens": 8, + "total_tokens": 7428, + "prompt_tokens_details": { + "cached_tokens": 0 + } + }, + "timings": { + "cache_n": 0, + "prompt_n": 7420, + "prompt_ms": 2001.7, + "prompt_per_token_ms": 0.27, + "prompt_per_second": 3706.8, + "predicted_n": 8, + "predicted_ms": 184.1, + "predicted_per_token_ms": 36.82, + "predicted_per_second": 27.2, + "draft_n": 14, + "draft_n_accepted": 7 + }, + "tool_calls": [], + "stream_complete": true, + "finish_reason": "stop", + "label": "fresh-context-pair-1", + "wall_seconds": 4.721308364009019, + "ttft_seconds": 4.288342759013176 + }, + { + "content": "ORION_029_A", + "usage": { + "prompt_tokens": 7457, + "completion_tokens": 8, + "total_tokens": 7465, + "prompt_tokens_details": { + "cached_tokens": 7427 + } + }, + "timings": { + "cache_n": 7427, + "prompt_n": 30, + "prompt_ms": 347.1, + "prompt_per_token_ms": 11.57, + "prompt_per_second": 86.4, + "predicted_n": 8, + "predicted_ms": 198.6, + "predicted_per_token_ms": 28.371, + "predicted_per_second": 35.2, + "draft_n": 7, + "draft_n_accepted": 5 + }, + "tool_calls": [], + "stream_complete": true, + "finish_reason": "stop", + "label": "cached-context-pair-0", + "wall_seconds": 0.6599048889765982, + "ttft_seconds": 0.44635216798633337 + }, + { + "content": "VEGA_029_B", + "usage": { + "prompt_tokens": 7457, + "completion_tokens": 8, + "total_tokens": 7465, + "prompt_tokens_details": { + "cached_tokens": 7413 + } + }, + "timings": { + "cache_n": 7413, + "prompt_n": 44, + "prompt_ms": 556.2, + "prompt_per_token_ms": 12.641, + "prompt_per_second": 79.1, + "predicted_n": 8, + "predicted_ms": 98.4, + "predicted_per_token_ms": 19.68, + "predicted_per_second": 50.8, + "draft_n": 13, + "draft_n_accepted": 6 + }, + "tool_calls": [], + "stream_complete": true, + "finish_reason": "stop", + "label": "cached-context-pair-1", + "wall_seconds": 1.441102206998039, + "ttft_seconds": 1.15489095900557 + }, + { + "content": "ALPHA_029\nOMEGA_029", + "usage": { + "prompt_tokens": 60047, + "completion_tokens": 14, + "total_tokens": 60061, + "prompt_tokens_details": { + "cached_tokens": 0 + } + }, + "timings": { + "cache_n": 0, + "prompt_n": 60047, + "prompt_ms": 11681.4, + "prompt_per_token_ms": 0.195, + "prompt_per_second": 5140.4, + "predicted_n": 14, + "predicted_ms": 337.5, + "predicted_per_token_ms": 24.107, + "predicted_per_second": 41.5, + "draft_n": 19, + "draft_n_accepted": 13 + }, + "tool_calls": [], + "stream_complete": true, + "finish_reason": "stop", + "label": "long-context-retrieval", + "wall_seconds": 12.05722963399603, + "ttft_seconds": 11.765940587996738 + }, + { + "content": "{\"ok\":true,\"marker\":\"ATHENA029\"}", + "usage": { + "prompt_tokens": 38, + "completion_tokens": 14, + "total_tokens": 52, + "prompt_tokens_details": { + "cached_tokens": 0 + } + }, + "timings": { + "cache_n": 0, + "prompt_n": 38, + "prompt_ms": 450.7, + "prompt_per_token_ms": 11.861, + "prompt_per_second": 84.3, + "predicted_n": 14, + "predicted_ms": 315.3, + "predicted_per_token_ms": 22.521, + "predicted_per_second": 44.4, + "draft_n": 16, + "draft_n_accepted": 14 + }, + "tool_calls": [], + "stream_complete": true, + "finish_reason": "stop", + "label": "json", + "wall_seconds": 0.8031282690062653, + "ttft_seconds": 0.5288593270233832 + }, + { + "content": "Ich rufe lookup_order für die Bestellung TEST-029 auf.", + "usage": { + "prompt_tokens": 290, + "completion_tokens": 48, + "total_tokens": 338, + "prompt_tokens_details": { + "cached_tokens": 0 + } + }, + "timings": { + "cache_n": 0, + "prompt_n": 290, + "prompt_ms": 1075.2, + "prompt_per_token_ms": 3.708, + "prompt_per_second": 269.7, + "predicted_n": 48, + "predicted_ms": 746.1, + "predicted_per_token_ms": 15.544, + "predicted_per_second": 64.3, + "draft_n": 49, + "draft_n_accepted": 40 + }, + "tool_calls": [ + { + "id": "call_edbf0ab6f8ff447fad635f74", + "type": "function", + "function": { + "name": "lookup_order", + "arguments": "{\"order_id\":\"TEST-029\"}" + } + } + ], + "stream_complete": true, + "finish_reason": "tool_calls", + "label": "mock-tool-call", + "wall_seconds": 1.8477112609834876, + "ttft_seconds": 1.1111738350009546 + }, + { + "content": "Die Bestellung **TEST-029** hat den Status **READY**.", + "usage": { + "prompt_tokens": 111, + "completion_tokens": 16, + "total_tokens": 127, + "prompt_tokens_details": { + "cached_tokens": 0 + } + }, + "timings": { + "cache_n": 0, + "prompt_n": 111, + "prompt_ms": 326.4, + "prompt_per_token_ms": 2.941, + "prompt_per_second": 340.1, + "predicted_n": 16, + "predicted_ms": 267.2, + "predicted_per_token_ms": 16.7, + "predicted_per_second": 59.9, + "draft_n": 15, + "draft_n_accepted": 10 + }, + "tool_calls": [], + "stream_complete": true, + "finish_reason": "stop", + "label": "mock-tool-result", + "wall_seconds": 0.6197226489894092, + "ttft_seconds": 0.3876685779832769 + } + ], + "groups": [ + { + "label": "parallel-512", + "wall_seconds": 13.765592798998114, + "output_tokens": 1024, + "end_to_end_output_tokens_per_second": 74.38836924440542 + }, + { + "label": "fresh-context-pair", + "wall_seconds": 4.721667356992839, + "output_tokens": 16, + "end_to_end_output_tokens_per_second": 3.388633461504617 + }, + { + "label": "cached-context-pair", + "wall_seconds": 1.441468163015088, + "output_tokens": 16, + "end_to_end_output_tokens_per_second": 11.099794230996503 + } + ], + "passed": true, + "verified_slots": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 0, + "drafts_offered": null, + "drafts_accepted": null + } + ], + "elapsed_seconds": 43.42267671698937, + "cache_slot_snapshot": [ + { + "id": 0, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 7465, + "drafts_offered": 7, + "drafts_accepted": 0 + }, + { + "id": 1, + "n_ctx": 262144, + "is_processing": false, + "state": "idle", + "api": null, + "model": null, + "tok_s": 0.0, + "generated": 0, + "max_tokens": null, + "prompt_tokens": 0, + "prefill_done": 0, + "reused": null, + "ttft_s": null, + "draft_len": null, + "ctx_used": 7465, + "drafts_offered": 13, + "drafts_accepted": 6 + } + ] + }, + "runner": { + "started": 1793549783.8752985, + "deadline": 1793550428.6152046, + "production_modified_by_runner": false, + "passed": true, + "phase": "candidate stopped; outer operator must restore original Strata/Qwen", + "updated": 1793549862.1543162, + "load_seconds": 33.07659959793091, + "server_exit_code": 0 + }, + "restoration": { + "restored": true, + "checked_at": 1793550091.122105, + "model": "flash-next-strata-iq3-dual", + "protected_hashes_unchanged": 12, + "container_image_start_unchanged": true, + "production_health": "healthy", + "owned_container_removed": true, + "total_window_seconds": 382.50690150260925, + "loaded": { + "llm": true, + "tts": true, + "stt": true + }, + "authenticated_gui_loaded_readback": true, + "original_restore_probe_passed": true, + "restore_probe_used_as_benchmark": false + }, + "model": { + "repo": "jesdga/Qwen3.8-Flash-Next-Basalt", + "revision": "c0e57437ea564aa85263ab0bc0ee83568dd53213", + "filename": "Qwen3.8-FN-GSQ-RCO-IQ3_XXS.basalt", + "bytes": 79867643037, + "sha256": "d02bb1b188bbc9ed6bc88ce5e89c7c2d64247290c7bae70fbb9d9d17fe65ed71", + "header_readable_by_pinned_build": true, + "section_count": 19, + "sections": { + "tokenizer/chat_template.jinja": { + "offset": 2097152, + "bytes": 9993 + }, + "tokenizer/merges.txt": { + "offset": 4194304, + "bytes": 3353258 + }, + "tokenizer/token_type.json": { + "offset": 8388608, + "bytes": 744960 + }, + "tokenizer/tokenizer.json": { + "offset": 10485760, + "bytes": 541 + }, + "tokenizer/vocab.json": { + "offset": 12582912, + "bytes": 5737005 + }, + "dense": { + "offset": 18874368, + "bytes": 1538035200 + }, + "dense.index": { + "offset": 1558183936, + "bytes": 93571 + }, + "experts": { + "offset": 1560281088, + "bytes": 42912972800 + }, + "experts.layout": { + "offset": 44474302464, + "bytes": 3282 + }, + "gguf": { + "offset": 44476399616, + "bytes": 32916868096 + }, + "mtp/dense": { + "offset": 77393297408, + "bytes": 116099072 + }, + "mtp/dense.index": { + "offset": 77510737920, + "bytes": 1851 + }, + "mtp/experts": { + "offset": 77512835072, + "bytes": 707788800 + }, + "mtp/draft_vocab": { + "offset": 78221672448, + "bytes": 425196 + }, + "profile": { + "offset": 78223769600, + "bytes": 196628 + }, + "hc8": { + "offset": 78225866752, + "bytes": 712920832 + }, + "vision/mmproj": { + "offset": 78938898432, + "bytes": 907543008 + }, + "vision/text_vocab": { + "offset": 79846965248, + "bytes": 10946560 + }, + "meta": { + "offset": 79859548160, + "bytes": 8094877 + } + }, + "metadata_keys": [ + "converter", + "format", + "gguf_kv", + "hc8", + "license", + "name", + "profile", + "sampling", + "sources", + "tensors", + "version", + "vision" + ], + "activated": false, + "inference_performed": false + }, + "source": { + "repo": "jesdga/Qwen3.8-Flash-Next-Basalt", + "revision": "c0e57437ea564aa85263ab0bc0ee83568dd53213", + "filename": "Qwen3.8-FN-GSQ-RCO-IQ3_XXS.basalt", + "size": 79867643037, + "sha256": "d02bb1b188bbc9ed6bc88ce5e89c7c2d64247290c7bae70fbb9d9d17fe65ed71", + "source": "https://huggingface.co/jesdga/Qwen3.8-Flash-Next-Basalt", + "quantization": "GSQ-RCO IQ3_XXS", + "license": "Qwen Community License 1.0", + "purpose": "prepare-only; no production unload, model loading or inference authorized" + }, + "gpu_selection": { + "gpu_plan": { + "devices": "GPU-8ad38c6c-5a01-9d8e-1dfa-ed662ad78fbe", + "cards": [ + { + "visible": 0, + "token": "GPU-8ad38c6c-5a01-9d8e-1dfa-ed662ad78fbe", + "smi": 0, + "name": "RTX 5080" + } + ], + "notes": [], + "warning": "", + "error": "" + }, + "model_loaded": false, + "inference_performed": false, + "production_unchanged": true + }, + "configuration": { + "parallel": 2, + "slot_full_context": true, + "engine_words": [ + "--max-context", + "262144", + "--kv", + "int8", + "--expert-cache", + "auto", + "--prefill", + "auto", + "--resident-experts", + "--batch", + "2" + ], + "model": "/opt/athena-deck-dev/basalt-candidate-9175e7a3211b/models/Qwen3.8-FN-GSQ-RCO-IQ3_XXS.basalt", + "alias": "athena-basalt-iq3xxs-test", + "vision": "off", + "all_engine_flags_accepted": true, + "server_started": false, + "inference_performed": false + } +} diff --git a/docs/maintenance/basalt-candidate-2026-11-01/full2_client.py b/docs/maintenance/basalt-candidate-2026-11-01/full2_client.py new file mode 100644 index 0000000..b75d0ae --- /dev/null +++ b/docs/maintenance/basalt-candidate-2026-11-01/full2_client.py @@ -0,0 +1,221 @@ +#!/usr/bin/env python3 +"""Inside the owned candidate container: CPU-only preparation, or approved full-slot test. + +Use --prepare without GPUs before maintenance. --go requires a fresh absolute +window deadline. All input/output is synthetic; no production API is contacted. +""" +import argparse +import concurrent.futures +import importlib +import json +from pathlib import Path +import sys +import threading +import time +from types import SimpleNamespace +from typing import Any +import urllib.error +import urllib.request + +ROOT = Path('/opt/athena-deck-dev/basalt-candidate-9175e7a3211b') +BASE = 'http://127.0.0.1:18320' +MODEL = 'athena-basalt-iq3xxs-test' +CONTEXT = 262144 +OUTPUT = 504 +TARGET = CONTEXT - 512 + + +def save(path, value): + path.write_text(json.dumps(value, ensure_ascii=False, indent=2) + '\n') + assert json.loads(path.read_text()) == value + + +def prepare(): + sys.path[:0] = [str(ROOT / 'source'), str(ROOT / 'source/tools')] + ST = importlib.import_module('tokenizer') + ModelFile = importlib.import_module('model_file').ModelFile + extract_tokenizer = importlib.import_module('serve.engine.modelfile').extract_tokenizer + ChatTemplate = importlib.import_module('serve.frontend').ChatTemplate + Service = importlib.import_module('serve.service').Service + source = json.loads((ROOT / 'model-source.json').read_text()) + directory = extract_tokenizer(ModelFile(ROOT / 'models' / source['filename'])) + vocab = json.loads((directory / 'vocab.json').read_text()) + tokens = [None] * len(vocab) + for text, index in vocab.items(): + tokens[index] = text + tok = ST.Tokenizer(tokens, (directory / 'merges.txt').read_text().split('\n'), + json.loads((directory / 'token_type.json').read_text())) + template = directory / 'chat_template.jinja' + if not template.exists(): + template = ROOT / 'source/serve/chat_template.jinja' + # Token counting only: no model engine, GPU, inference or generated result. + service = Service(SimpleNamespace(max_context=CONTEXT), tok, ChatTemplate(template)) + docs = [] + for slot in ('A', 'B'): + rows = [f'Archiv {slot} Zeile {n:05d}: Standort {"West" if slot == "A" else "Ost"}, ' + f'Bauteil {(n * 71 + 19) % 10007:05d}, Freigabe dokumentiert.\n' + for n in range(16000)] + ending = ('\nEnde des synthetischen Archivs. Schreibe jetzt einen ausführlichen ' + 'deutschen Fachtext mit mindestens 1200 Wörtern über zuverlässige ' + 'Datensicherung. Beginne mit der Anfangskennung. Keine Rückfragen.') + + def messages(count, padding): + return [{'role': 'system', 'content': f'Unabhängiger Vollkontext-Test {slot}. ' + f'Anfangskennung BASALT_FULL_{slot}. Schreibe auf Deutsch.'}, + {'role': 'user', 'content': ''.join(rows[:count]) + ' x' * padding + ending}] + + def length(value): + return len(service.encode_prompt(value, None, {'enable_thinking': False})) + + low, high = 0, len(rows) + while low < high: + middle = (low + high + 1) // 2 + if length(messages(middle, 0)) <= TARGET: + low = middle + else: + high = middle - 1 + count = low + missing = TARGET - length(messages(count, 0)) + assert 0 <= missing < 100 + # Joining padding to the following newline can change one BPE token. + actual = 0 + padded = messages(count, 0) + for padding in range(max(0, missing - 2), missing + 3): + padded = messages(count, padding) + actual = length(padded) + if actual == TARGET: + break + else: + raise AssertionError((slot, actual, TARGET)) + docs.append(dict(slot=slot, prompt_tokens=actual, max_tokens=OUTPUT, messages=padded)) + path = ROOT / 'full-fixtures.json' + assert not path.exists(), 'Inspect existing full-context fixture rather than overwrite' + save(path, docs) + print(json.dumps(dict(prepared=True, inference=False, prompt_tokens=[d['prompt_tokens'] for d in docs], + output_room=OUTPUT, context_per_slot=CONTEXT)), flush=True) + + +def run(deadline): + from test_client import parse_sse + assert time.time() < deadline <= time.time() + 720 + path = ROOT / 'full2-results.json' + assert not path.exists(), 'Never silently repeat full-context inference' + docs = json.loads((ROOT / 'full-fixtures.json').read_text()) + assert len(docs) == 2 and all(d['prompt_tokens'] == TARGET for d in docs) + result: dict[str, Any] = dict(started=time.time(), deadline=deadline, context_per_slot=CONTEXT, + prompt_tokens_per_slot=TARGET, output_room_per_slot=OUTPUT, + phases=[], passed=False, both_full_slots_decoding_observed=False) + + def persist(): + result['elapsed_seconds'] = time.time() - result['started'] + save(path, result) + + def get(route): + with urllib.request.urlopen(BASE + route, timeout=3) as response: + return json.load(response) + + def request(document, maximum, barrier) -> dict[str, Any]: + barrier.wait(timeout=10) + began = time.monotonic() + first = [] + body = dict(model=MODEL, messages=document['messages'], max_tokens=maximum, + temperature=0, seed=42, reasoning_effort='none', stream=True, + stream_options={'include_usage': True}) + req = urllib.request.Request(BASE + '/v1/chat/completions', + data=json.dumps(body).encode(), headers={'Content-Type': 'application/json'}) + try: + with urllib.request.urlopen(req, timeout=max(1, min(600, deadline - time.time()))) as response: + def lines(): + for line in response: + if time.time() >= deadline: + raise TimeoutError('Full-context deadline; restore original runtime') + yield line + row = parse_sse(lines(), lambda: first.append(time.monotonic() - began)) + row.update(slot=document['slot'], wall_seconds=time.monotonic() - began, + ttft_seconds=first[0] if first else None) + assert row['usage']['prompt_tokens'] == TARGET, 'Actual backend input differs from fixture' + return row + except urllib.error.HTTPError as error: + return dict(slot=document['slot'], http_error=error.code, + error_body=error.read().decode(), wall_seconds=time.monotonic() - began) + except Exception as error: + return dict(slot=document['slot'], error=type(error).__name__ + ': ' + str(error), + wall_seconds=time.monotonic() - began) + + def pair(label, maximum): + phase: dict[str, Any] = dict(label=label, maximum_output_tokens=maximum, snapshots=[], requests=[]) + result['phases'].append(phase) + persist() + began = time.monotonic() + barrier = threading.Barrier(2) + heartbeat = began + with concurrent.futures.ThreadPoolExecutor(max_workers=2) as pool: + jobs = [pool.submit(request, document, maximum, barrier) for document in docs] + while not all(job.done() for job in jobs): + if time.time() >= deadline: + raise TimeoutError('Hard full-context client deadline') + try: + slots = get('/slots') + phase['snapshots'].append(dict(at=time.time(), slots=slots)) + if all(s.get('state') == 'decoding' and s.get('prompt_tokens') == TARGET for s in slots) and len(slots) == 2: + result['both_full_slots_decoding_observed'] = True + except (OSError, ValueError): + pass + if time.monotonic() - heartbeat >= 20: + heartbeat = time.monotonic() + persist() + print(json.dumps(dict(phase=label, elapsed=time.monotonic() - began, + last_snapshot=phase['snapshots'][-1:])), flush=True) + time.sleep(0.5) + phase['requests'] = [job.result() for job in jobs] + phase['wall_seconds'] = time.monotonic() - began + phase['output_tokens'] = sum(row.get('usage', {}).get('completion_tokens', 0) for row in phase['requests']) + phase['end_to_end_output_tokens_per_second'] = phase['output_tokens'] / phase['wall_seconds'] + phase['accepted_both'] = all('usage' in row for row in phase['requests']) + phase['final_slots'] = get('/slots') + persist() + return phase + + try: + props = get('/props') + slots = get('/slots') + assert props['total_slots'] == 2 and props['default_generation_settings']['n_ctx'] == CONTEXT + assert len(slots) == 2 and all(s['n_ctx'] == CONTEXT and not s['is_processing'] for s in slots) + result['initial_slots'] = slots + # Separate input speed from output speed. First read two full, different + # documents with one output token each; then reuse them for parallel decode. + cold = pair('fresh-two-full-inputs', 1) + if not cold['accepted_both']: + result['capacity_rejected'] = True + return + cold['combined_input_tokens_per_wall_second'] = 2 * TARGET / cold['wall_seconds'] + warm = pair('cached-two-full-outputs', OUTPUT) + result['passed'] = (warm['accepted_both'] and result['both_full_slots_decoding_observed'] + and all(row['usage']['completion_tokens'] == OUTPUT for row in warm['requests'])) + result['cached_tokens'] = [row.get('usage', {}).get('prompt_tokens_details', {}).get('cached_tokens') + for row in warm['requests']] + except Exception as error: + result['error'] = type(error).__name__ + ': ' + str(error) + raise + finally: + persist() + print(json.dumps({k: v for k, v in result.items() if k != 'phases'}, ensure_ascii=False), flush=True) + + +def main(): + parser = argparse.ArgumentParser() + group = parser.add_mutually_exclusive_group(required=True) + group.add_argument('--prepare', action='store_true') + group.add_argument('--go', action='store_true') + parser.add_argument('--deadline', type=float) + args = parser.parse_args() + if args.prepare: + prepare() + else: + if args.deadline is None: + parser.error('Fresh explicit Go and deadline required') + run(args.deadline) + + +if __name__ == '__main__': + main() diff --git a/docs/maintenance/basalt-candidate-2026-11-01/full2_host.py b/docs/maintenance/basalt-candidate-2026-11-01/full2_host.py new file mode 100644 index 0000000..592120a --- /dev/null +++ b/docs/maintenance/basalt-candidate-2026-11-01/full2_host.py @@ -0,0 +1,90 @@ +#!/usr/bin/env python3 +"""Athena host: one explicitly authorized test after normal authenticated drain. + +Never stops/starts Deck or production models. The operator must restore normal +production immediately after this worker returns, including on failure. +""" +import argparse +import importlib.util +import json +from pathlib import Path +import subprocess +import time + +ROOT = Path('/opt/athena-deck-dev/basalt-candidate-9175e7a3211b') +CUDA = Path('/opt/athena-deck-dev/runtime/state/strata-runtime/cuda') +GPU = 'GPU-8ad38c6c-5a01-9d8e-1dfa-ed662ad78fbe' + + +def main(): + parser = argparse.ArgumentParser() + parser.add_argument('--go', action='store_true') + if not parser.parse_args().go: + parser.error('Explicit Michael model-switch/test Go required') + spec = importlib.util.spec_from_file_location('candidate', ROOT / 'candidate.py') + assert spec is not None and spec.loader is not None + owner = importlib.util.module_from_spec(spec) + spec.loader.exec_module(owner) + owner.validate(ROOT, ROOT) + window = json.loads((ROOT / 'full-window.json').read_text()) + drained = json.loads((ROOT / 'full2-drained.json').read_text()) + assert time.time() - drained['checked_at'] < 45 + assert drained['state'] == 'stopped' and drained['active_requests'] == 0 + assert all(type(drained['scheduler'][key]) is int and drained['scheduler'][key] == 0 + for key in ('active_requests', 'waiting_requests', 'tts_waiting_requests')) + assert not drained['scheduler']['switching'] + assert not Path('/opt/athena-deck-dev/runtime/state/strata-worker/worker.json').exists() + assert not subprocess.check_output(['nvidia-smi', '--query-compute-apps=pid', + '--format=csv,noheader,nounits'], text=True).strip() + before = json.loads((ROOT / 'production-before.json').read_text()) + current = owner.snapshot() + assert before['image'] == current['image'] and before['started'] == current['started'] + assert not owner.owned_container(before['image']) + assert time.time() + 60 < window['test_deadline'] + production = json.loads(subprocess.check_output(['docker', 'inspect', 'athena-deck-dev'], text=True))[0] + command = ['docker', 'run', '--rm', '--pull=never', '--name', owner.NAME, + '--label', 'athena-deck.basalt-owner=' + owner.OWNER, + '--runtime', production['HostConfig']['Runtime'], '--gpus', 'device=' + GPU, + '--network', 'none', '--read-only', '--user', '65534:65534', '--cap-drop', 'ALL', + '--security-opt', 'no-new-privileges', '--cpus', '12', '--cpuset-cpus', '0,1,2,3,6,7,8,9', + '--memory', '52g', '--memory-swap', '52g', '--pids-limit', '512', + '--ulimit', 'memlock=-1:-1', '--mount', f'type=bind,src={ROOT},dst={ROOT}', + '--mount', f'type=bind,src={ROOT / "tmp"},dst=/tmp', + '--mount', f'type=bind,src={CUDA},dst={CUDA},readonly', + '-e', 'CUDA_VISIBLE_DEVICES=' + GPU, '-e', 'NVIDIA_VISIBLE_DEVICES=' + GPU, + '-e', 'NVIDIA_DRIVER_CAPABILITIES=compute,utility', '-e', 'HOME=' + str(ROOT / 'home'), + '-e', 'TMPDIR=' + str(ROOT / 'tmp'), '-e', 'CUDA_CACHE_PATH=' + str(ROOT / 'cache/cuda'), + '-e', 'PYTHONDONTWRITEBYTECODE=1', '-e', 'OPENBLAS_NUM_THREADS=1', '-e', 'OMP_NUM_THREADS=1', + '--entrypoint', str(ROOT / 'venv/bin/python'), before['image'], '-B', + str(ROOT / 'full2_runner.py'), '--go', '--deadline', str(window['test_deadline'])] + error = None + with (ROOT / 'full2-host.log').open('w') as log: + process = subprocess.Popen(command, stdout=log, stderr=subprocess.STDOUT) + try: + while process.poll() is None: + if time.time() >= window['test_deadline']: + raise TimeoutError('Test budget reached; stop only owned test and restore original') + if owner.available() < 1536: + raise RuntimeError('Host RAM headroom guard; restore original') + time.sleep(2) + except BaseException as exc: + error = type(exc).__name__ + ': ' + str(exc) + finally: + instance = owner.owned_container(before['image']) + if instance: + action = ['docker', 'stop', '--timeout', '10'] if instance['State']['Running'] else ['docker', 'rm'] + subprocess.run(action + [instance['Id']], check=True, stdout=log, stderr=log) + if process.poll() is None: + process.wait(timeout=30) + remaining = owner.owned_container(before['image']) + assert remaining is None + result = dict(client_exit_code=process.returncode, error=error, test_finished=time.time(), + owned_container_removed=True, production_restore_required=True) + path = ROOT / 'full2-host-exit.json' + path.write_text(json.dumps(result, indent=2) + '\n') + assert json.loads(path.read_text()) == result + print(json.dumps(result), flush=True) + + +if __name__ == '__main__': + main() diff --git a/docs/maintenance/basalt-candidate-2026-11-01/full2_runner.py b/docs/maintenance/basalt-candidate-2026-11-01/full2_runner.py new file mode 100644 index 0000000..99aae21 --- /dev/null +++ b/docs/maintenance/basalt-candidate-2026-11-01/full2_runner.py @@ -0,0 +1,100 @@ +#!/usr/bin/env python3 +"""Inside a future isolated GPU test container, only after separate Michael Go. + +No production API, model stop/start or profile mutation is implemented here. +The operator must drain/stop the original model beforehand and restore it after +this process exits. The absolute deadline leaves the outer restoration reserve. +""" +import argparse +import json +import os +from pathlib import Path +import signal +import subprocess +import sys +import time +import urllib.error +import urllib.request +from typing import Any + +ROOT = Path('/opt/athena-deck-dev/basalt-candidate-9175e7a3211b') + + +def main(): + parser = argparse.ArgumentParser() + parser.add_argument('--go', action='store_true') + parser.add_argument('--deadline', type=float, help='Absolute epoch deadline before restoration reserve') + args = parser.parse_args() + if not args.go or args.deadline is None: + parser.error('Explicit Michael model-switch/test Go and absolute deadline required') + assert time.time() < args.deadline <= time.time() + 720 + source = json.loads((ROOT / 'model-source.json').read_text()) + proof = json.loads((ROOT / 'model-verification.json').read_text()) + assert json.loads((ROOT / 'model-download.json').read_text())['state'] == 'verified' + assert proof['sha256'] == source['sha256'] and proof['header_readable_by_pinned_build'] + assert (ROOT / 'models' / source['filename']).stat().st_size == source['size'] + assert not (ROOT / 'full2-results.json').exists(), 'Never silently repeat a test' + result: dict[str, Any] = dict(started=time.time(), deadline=args.deadline, + production_modified_by_runner=False, passed=False) + record = ROOT / 'full2-runner-status.json' + + def save(phase): + result['phase'] = phase + result['updated'] = time.time() + record.write_text(json.dumps(result, indent=2) + '\n') + assert json.loads(record.read_text()) == result + + save('loading one candidate; no production routes') + python = ROOT / 'venv/bin/python' + command = [ROOT / 'source/bin/basalt', 'serve', '--python', python, + '--config', ROOT / 'test-config.json'] + with (ROOT / 'full2-server.log').open('w') as output: + server = subprocess.Popen(list(map(str, command)), cwd=ROOT / 'source', + stdout=output, stderr=subprocess.STDOUT, start_new_session=True) + try: + load_deadline = min(args.deadline - 20, time.time() + 240) + while True: + if server.poll() is not None: + raise RuntimeError('Owned Basalt server exited during load; inspect own server log') + if time.time() >= load_deadline: + raise TimeoutError('Load budget expired; restore original runtime') + try: + with urllib.request.urlopen('http://127.0.0.1:18320/props', timeout=2) as response: + props = json.load(response) + if not props['is_sleeping']: + assert props['model_alias'] == 'athena-basalt-iq3xxs-test' + assert props['total_slots'] == 2 + assert props['default_generation_settings']['n_ctx'] == 262144 + break + except (OSError, urllib.error.URLError, KeyError): + pass + time.sleep(0.5) + result['load_seconds'] = time.time() - result['started'] + save('short synthetic client; no tools executed') + remaining = min(600, args.deadline - time.time() - 20) + if remaining <= 0: + raise TimeoutError('No test budget remains; restore original runtime') + with (ROOT / 'full2-client.log').open('w') as output: + completed = subprocess.run([str(python), str(ROOT / 'full2_client.py'), '--go', '--deadline', str(args.deadline)], + cwd=ROOT, stdout=output, stderr=subprocess.STDOUT, timeout=remaining) + assert completed.returncode == 0 + result['capacity_test'] = json.loads((ROOT / 'full2-results.json').read_text())['passed'] + result['passed'] = True + except BaseException as error: + result['error'] = type(error).__name__ + ': ' + str(error) + raise + finally: + if server.poll() is None: + os.killpg(server.pid, signal.SIGTERM) + try: + server.wait(timeout=15) + except subprocess.TimeoutExpired: + os.killpg(server.pid, signal.SIGKILL) + server.wait(timeout=5) + result['server_exit_code'] = server.poll() + save('candidate stopped; outer operator must restore original Strata/Qwen') + print(json.dumps(result, indent=2)) + + +if __name__ == '__main__': + main() diff --git a/docs/maintenance/basalt-candidate-2026-11-01/full_client.py b/docs/maintenance/basalt-candidate-2026-11-01/full_client.py new file mode 100644 index 0000000..8fcd83b --- /dev/null +++ b/docs/maintenance/basalt-candidate-2026-11-01/full_client.py @@ -0,0 +1,221 @@ +#!/usr/bin/env python3 +"""Inside the owned candidate container: CPU-only preparation, or approved full-slot test. + +Use --prepare without GPUs before maintenance. --go requires a fresh absolute +window deadline. All input/output is synthetic; no production API is contacted. +""" +import argparse +import concurrent.futures +import importlib +import json +from pathlib import Path +import sys +import threading +import time +from types import SimpleNamespace +from typing import Any +import urllib.error +import urllib.request + +ROOT = Path('/opt/athena-deck-dev/basalt-candidate-9175e7a3211b') +BASE = 'http://127.0.0.1:18320' +MODEL = 'athena-basalt-iq3xxs-test' +CONTEXT = 262144 +OUTPUT = 512 +TARGET = CONTEXT - OUTPUT + + +def save(path, value): + path.write_text(json.dumps(value, ensure_ascii=False, indent=2) + '\n') + assert json.loads(path.read_text()) == value + + +def prepare(): + sys.path[:0] = [str(ROOT / 'source'), str(ROOT / 'source/tools')] + ST = importlib.import_module('tokenizer') + ModelFile = importlib.import_module('model_file').ModelFile + extract_tokenizer = importlib.import_module('serve.engine.modelfile').extract_tokenizer + ChatTemplate = importlib.import_module('serve.frontend').ChatTemplate + Service = importlib.import_module('serve.service').Service + source = json.loads((ROOT / 'model-source.json').read_text()) + directory = extract_tokenizer(ModelFile(ROOT / 'models' / source['filename'])) + vocab = json.loads((directory / 'vocab.json').read_text()) + tokens = [None] * len(vocab) + for text, index in vocab.items(): + tokens[index] = text + tok = ST.Tokenizer(tokens, (directory / 'merges.txt').read_text().split('\n'), + json.loads((directory / 'token_type.json').read_text())) + template = directory / 'chat_template.jinja' + if not template.exists(): + template = ROOT / 'source/serve/chat_template.jinja' + # Token counting only: no model engine, GPU, inference or generated result. + service = Service(SimpleNamespace(max_context=CONTEXT), tok, ChatTemplate(template)) + docs = [] + for slot in ('A', 'B'): + rows = [f'Archiv {slot} Zeile {n:05d}: Standort {"West" if slot == "A" else "Ost"}, ' + f'Bauteil {(n * 71 + 19) % 10007:05d}, Freigabe dokumentiert.\n' + for n in range(16000)] + ending = ('\nEnde des synthetischen Archivs. Schreibe jetzt einen ausführlichen ' + 'deutschen Fachtext mit mindestens 1200 Wörtern über zuverlässige ' + 'Datensicherung. Beginne mit der Anfangskennung. Keine Rückfragen.') + + def messages(count, padding): + return [{'role': 'system', 'content': f'Unabhängiger Vollkontext-Test {slot}. ' + f'Anfangskennung BASALT_FULL_{slot}. Schreibe auf Deutsch.'}, + {'role': 'user', 'content': ''.join(rows[:count]) + ' x' * padding + ending}] + + def length(value): + return len(service.encode_prompt(value, None, {'enable_thinking': False})) + + low, high = 0, len(rows) + while low < high: + middle = (low + high + 1) // 2 + if length(messages(middle, 0)) <= TARGET: + low = middle + else: + high = middle - 1 + count = low + missing = TARGET - length(messages(count, 0)) + assert 0 <= missing < 100 + # Joining padding to the following newline can change one BPE token. + actual = 0 + padded = messages(count, 0) + for padding in range(max(0, missing - 2), missing + 3): + padded = messages(count, padding) + actual = length(padded) + if actual == TARGET: + break + else: + raise AssertionError((slot, actual, TARGET)) + docs.append(dict(slot=slot, prompt_tokens=actual, max_tokens=OUTPUT, messages=padded)) + path = ROOT / 'full-fixtures.json' + assert not path.exists(), 'Inspect existing full-context fixture rather than overwrite' + save(path, docs) + print(json.dumps(dict(prepared=True, inference=False, prompt_tokens=[d['prompt_tokens'] for d in docs], + output_room=OUTPUT, context_per_slot=CONTEXT)), flush=True) + + +def run(deadline): + from test_client import parse_sse + assert time.time() < deadline <= time.time() + 720 + path = ROOT / 'full-results.json' + assert not path.exists(), 'Never silently repeat full-context inference' + docs = json.loads((ROOT / 'full-fixtures.json').read_text()) + assert len(docs) == 2 and all(d['prompt_tokens'] == TARGET for d in docs) + result: dict[str, Any] = dict(started=time.time(), deadline=deadline, context_per_slot=CONTEXT, + prompt_tokens_per_slot=TARGET, output_room_per_slot=OUTPUT, + phases=[], passed=False, both_full_slots_decoding_observed=False) + + def persist(): + result['elapsed_seconds'] = time.time() - result['started'] + save(path, result) + + def get(route): + with urllib.request.urlopen(BASE + route, timeout=3) as response: + return json.load(response) + + def request(document, maximum, barrier) -> dict[str, Any]: + barrier.wait(timeout=10) + began = time.monotonic() + first = [] + body = dict(model=MODEL, messages=document['messages'], max_tokens=maximum, + temperature=0, seed=42, reasoning_effort='none', stream=True, + stream_options={'include_usage': True}) + req = urllib.request.Request(BASE + '/v1/chat/completions', + data=json.dumps(body).encode(), headers={'Content-Type': 'application/json'}) + try: + with urllib.request.urlopen(req, timeout=max(1, min(600, deadline - time.time()))) as response: + def lines(): + for line in response: + if time.time() >= deadline: + raise TimeoutError('Full-context deadline; restore original runtime') + yield line + row = parse_sse(lines(), lambda: first.append(time.monotonic() - began)) + row.update(slot=document['slot'], wall_seconds=time.monotonic() - began, + ttft_seconds=first[0] if first else None) + assert row['usage']['prompt_tokens'] == TARGET, 'Actual backend input differs from fixture' + return row + except urllib.error.HTTPError as error: + return dict(slot=document['slot'], http_error=error.code, + error_body=error.read().decode(), wall_seconds=time.monotonic() - began) + except Exception as error: + return dict(slot=document['slot'], error=type(error).__name__ + ': ' + str(error), + wall_seconds=time.monotonic() - began) + + def pair(label, maximum): + phase: dict[str, Any] = dict(label=label, maximum_output_tokens=maximum, snapshots=[], requests=[]) + result['phases'].append(phase) + persist() + began = time.monotonic() + barrier = threading.Barrier(2) + heartbeat = began + with concurrent.futures.ThreadPoolExecutor(max_workers=2) as pool: + jobs = [pool.submit(request, document, maximum, barrier) for document in docs] + while not all(job.done() for job in jobs): + if time.time() >= deadline: + raise TimeoutError('Hard full-context client deadline') + try: + slots = get('/slots') + phase['snapshots'].append(dict(at=time.time(), slots=slots)) + if all(s.get('state') == 'decoding' and s.get('prompt_tokens') == TARGET for s in slots) and len(slots) == 2: + result['both_full_slots_decoding_observed'] = True + except (OSError, ValueError): + pass + if time.monotonic() - heartbeat >= 20: + heartbeat = time.monotonic() + persist() + print(json.dumps(dict(phase=label, elapsed=time.monotonic() - began, + last_snapshot=phase['snapshots'][-1:])), flush=True) + time.sleep(0.5) + phase['requests'] = [job.result() for job in jobs] + phase['wall_seconds'] = time.monotonic() - began + phase['output_tokens'] = sum(row.get('usage', {}).get('completion_tokens', 0) for row in phase['requests']) + phase['end_to_end_output_tokens_per_second'] = phase['output_tokens'] / phase['wall_seconds'] + phase['accepted_both'] = all('usage' in row for row in phase['requests']) + phase['final_slots'] = get('/slots') + persist() + return phase + + try: + props = get('/props') + slots = get('/slots') + assert props['total_slots'] == 2 and props['default_generation_settings']['n_ctx'] == CONTEXT + assert len(slots) == 2 and all(s['n_ctx'] == CONTEXT and not s['is_processing'] for s in slots) + result['initial_slots'] = slots + # Separate input speed from output speed. First read two full, different + # documents with one output token each; then reuse them for parallel decode. + cold = pair('fresh-two-full-inputs', 1) + if not cold['accepted_both']: + result['capacity_rejected'] = True + return + cold['combined_input_tokens_per_wall_second'] = 2 * TARGET / cold['wall_seconds'] + warm = pair('cached-two-full-outputs', OUTPUT) + result['passed'] = (warm['accepted_both'] and result['both_full_slots_decoding_observed'] + and all(row['usage']['completion_tokens'] == OUTPUT for row in warm['requests'])) + result['cached_tokens'] = [row.get('usage', {}).get('prompt_tokens_details', {}).get('cached_tokens') + for row in warm['requests']] + except Exception as error: + result['error'] = type(error).__name__ + ': ' + str(error) + raise + finally: + persist() + print(json.dumps({k: v for k, v in result.items() if k != 'phases'}, ensure_ascii=False), flush=True) + + +def main(): + parser = argparse.ArgumentParser() + group = parser.add_mutually_exclusive_group(required=True) + group.add_argument('--prepare', action='store_true') + group.add_argument('--go', action='store_true') + parser.add_argument('--deadline', type=float) + args = parser.parse_args() + if args.prepare: + prepare() + else: + if args.deadline is None: + parser.error('Fresh explicit Go and deadline required') + run(args.deadline) + + +if __name__ == '__main__': + main() diff --git a/docs/maintenance/basalt-candidate-2026-11-01/full_host.py b/docs/maintenance/basalt-candidate-2026-11-01/full_host.py new file mode 100644 index 0000000..6d000ea --- /dev/null +++ b/docs/maintenance/basalt-candidate-2026-11-01/full_host.py @@ -0,0 +1,90 @@ +#!/usr/bin/env python3 +"""Athena host: one explicitly authorized test after normal authenticated drain. + +Never stops/starts Deck or production models. The operator must restore normal +production immediately after this worker returns, including on failure. +""" +import argparse +import importlib.util +import json +from pathlib import Path +import subprocess +import time + +ROOT = Path('/opt/athena-deck-dev/basalt-candidate-9175e7a3211b') +CUDA = Path('/opt/athena-deck-dev/runtime/state/strata-runtime/cuda') +GPU = 'GPU-8ad38c6c-5a01-9d8e-1dfa-ed662ad78fbe' + + +def main(): + parser = argparse.ArgumentParser() + parser.add_argument('--go', action='store_true') + if not parser.parse_args().go: + parser.error('Explicit Michael model-switch/test Go required') + spec = importlib.util.spec_from_file_location('candidate', ROOT / 'candidate.py') + assert spec is not None and spec.loader is not None + owner = importlib.util.module_from_spec(spec) + spec.loader.exec_module(owner) + owner.validate(ROOT, ROOT) + window = json.loads((ROOT / 'full-window.json').read_text()) + drained = json.loads((ROOT / 'full-drained.json').read_text()) + assert time.time() - drained['checked_at'] < 45 + assert drained['state'] == 'stopped' and drained['active_requests'] == 0 + assert all(type(drained['scheduler'][key]) is int and drained['scheduler'][key] == 0 + for key in ('active_requests', 'waiting_requests', 'tts_waiting_requests')) + assert not drained['scheduler']['switching'] + assert not Path('/opt/athena-deck-dev/runtime/state/strata-worker/worker.json').exists() + assert not subprocess.check_output(['nvidia-smi', '--query-compute-apps=pid', + '--format=csv,noheader,nounits'], text=True).strip() + before = json.loads((ROOT / 'production-before.json').read_text()) + current = owner.snapshot() + assert before['image'] == current['image'] and before['started'] == current['started'] + assert not owner.owned_container(before['image']) + assert time.time() + 60 < window['test_deadline'] + production = json.loads(subprocess.check_output(['docker', 'inspect', 'athena-deck-dev'], text=True))[0] + command = ['docker', 'run', '--rm', '--pull=never', '--name', owner.NAME, + '--label', 'athena-deck.basalt-owner=' + owner.OWNER, + '--runtime', production['HostConfig']['Runtime'], '--gpus', 'device=' + GPU, + '--network', 'none', '--read-only', '--user', '65534:65534', '--cap-drop', 'ALL', + '--security-opt', 'no-new-privileges', '--cpus', '12', '--cpuset-cpus', '0,1,2,3,6,7,8,9', + '--memory', '52g', '--memory-swap', '52g', '--pids-limit', '512', + '--ulimit', 'memlock=-1:-1', '--mount', f'type=bind,src={ROOT},dst={ROOT}', + '--mount', f'type=bind,src={ROOT / "tmp"},dst=/tmp', + '--mount', f'type=bind,src={CUDA},dst={CUDA},readonly', + '-e', 'CUDA_VISIBLE_DEVICES=' + GPU, '-e', 'NVIDIA_VISIBLE_DEVICES=' + GPU, + '-e', 'NVIDIA_DRIVER_CAPABILITIES=compute,utility', '-e', 'HOME=' + str(ROOT / 'home'), + '-e', 'TMPDIR=' + str(ROOT / 'tmp'), '-e', 'CUDA_CACHE_PATH=' + str(ROOT / 'cache/cuda'), + '-e', 'PYTHONDONTWRITEBYTECODE=1', '-e', 'OPENBLAS_NUM_THREADS=1', '-e', 'OMP_NUM_THREADS=1', + '--entrypoint', str(ROOT / 'venv/bin/python'), before['image'], '-B', + str(ROOT / 'full_runner.py'), '--go', '--deadline', str(window['test_deadline'])] + error = None + with (ROOT / 'full-host.log').open('w') as log: + process = subprocess.Popen(command, stdout=log, stderr=subprocess.STDOUT) + try: + while process.poll() is None: + if time.time() >= window['test_deadline']: + raise TimeoutError('Test budget reached; stop only owned test and restore original') + if owner.available() < 1536: + raise RuntimeError('Host RAM headroom guard; restore original') + time.sleep(2) + except BaseException as exc: + error = type(exc).__name__ + ': ' + str(exc) + finally: + instance = owner.owned_container(before['image']) + if instance: + action = ['docker', 'stop', '--timeout', '10'] if instance['State']['Running'] else ['docker', 'rm'] + subprocess.run(action + [instance['Id']], check=True, stdout=log, stderr=log) + if process.poll() is None: + process.wait(timeout=30) + remaining = owner.owned_container(before['image']) + assert remaining is None + result = dict(client_exit_code=process.returncode, error=error, test_finished=time.time(), + owned_container_removed=True, production_restore_required=True) + path = ROOT / 'full-host-exit.json' + path.write_text(json.dumps(result, indent=2) + '\n') + assert json.loads(path.read_text()) == result + print(json.dumps(result), flush=True) + + +if __name__ == '__main__': + main() diff --git a/docs/maintenance/basalt-candidate-2026-11-01/full_runner.py b/docs/maintenance/basalt-candidate-2026-11-01/full_runner.py new file mode 100644 index 0000000..518c635 --- /dev/null +++ b/docs/maintenance/basalt-candidate-2026-11-01/full_runner.py @@ -0,0 +1,100 @@ +#!/usr/bin/env python3 +"""Inside a future isolated GPU test container, only after separate Michael Go. + +No production API, model stop/start or profile mutation is implemented here. +The operator must drain/stop the original model beforehand and restore it after +this process exits. The absolute deadline leaves the outer restoration reserve. +""" +import argparse +import json +import os +from pathlib import Path +import signal +import subprocess +import sys +import time +import urllib.error +import urllib.request +from typing import Any + +ROOT = Path('/opt/athena-deck-dev/basalt-candidate-9175e7a3211b') + + +def main(): + parser = argparse.ArgumentParser() + parser.add_argument('--go', action='store_true') + parser.add_argument('--deadline', type=float, help='Absolute epoch deadline before restoration reserve') + args = parser.parse_args() + if not args.go or args.deadline is None: + parser.error('Explicit Michael model-switch/test Go and absolute deadline required') + assert time.time() < args.deadline <= time.time() + 720 + source = json.loads((ROOT / 'model-source.json').read_text()) + proof = json.loads((ROOT / 'model-verification.json').read_text()) + assert json.loads((ROOT / 'model-download.json').read_text())['state'] == 'verified' + assert proof['sha256'] == source['sha256'] and proof['header_readable_by_pinned_build'] + assert (ROOT / 'models' / source['filename']).stat().st_size == source['size'] + assert not (ROOT / 'full-results.json').exists(), 'Never silently repeat a test' + result: dict[str, Any] = dict(started=time.time(), deadline=args.deadline, + production_modified_by_runner=False, passed=False) + record = ROOT / 'full-runner-status.json' + + def save(phase): + result['phase'] = phase + result['updated'] = time.time() + record.write_text(json.dumps(result, indent=2) + '\n') + assert json.loads(record.read_text()) == result + + save('loading one candidate; no production routes') + python = ROOT / 'venv/bin/python' + command = [ROOT / 'source/bin/basalt', 'serve', '--python', python, + '--config', ROOT / 'test-config.json'] + with (ROOT / 'full-server.log').open('w') as output: + server = subprocess.Popen(list(map(str, command)), cwd=ROOT / 'source', + stdout=output, stderr=subprocess.STDOUT, start_new_session=True) + try: + load_deadline = min(args.deadline - 20, time.time() + 240) + while True: + if server.poll() is not None: + raise RuntimeError('Owned Basalt server exited during load; inspect own server log') + if time.time() >= load_deadline: + raise TimeoutError('Load budget expired; restore original runtime') + try: + with urllib.request.urlopen('http://127.0.0.1:18320/props', timeout=2) as response: + props = json.load(response) + if not props['is_sleeping']: + assert props['model_alias'] == 'athena-basalt-iq3xxs-test' + assert props['total_slots'] == 2 + assert props['default_generation_settings']['n_ctx'] == 262144 + break + except (OSError, urllib.error.URLError, KeyError): + pass + time.sleep(0.5) + result['load_seconds'] = time.time() - result['started'] + save('short synthetic client; no tools executed') + remaining = min(600, args.deadline - time.time() - 20) + if remaining <= 0: + raise TimeoutError('No test budget remains; restore original runtime') + with (ROOT / 'full-client.log').open('w') as output: + completed = subprocess.run([str(python), str(ROOT / 'full_client.py'), '--go', '--deadline', str(args.deadline)], + cwd=ROOT, stdout=output, stderr=subprocess.STDOUT, timeout=remaining) + assert completed.returncode == 0 + result['capacity_test'] = json.loads((ROOT / 'full-results.json').read_text())['passed'] + result['passed'] = True + except BaseException as error: + result['error'] = type(error).__name__ + ': ' + str(error) + raise + finally: + if server.poll() is None: + os.killpg(server.pid, signal.SIGTERM) + try: + server.wait(timeout=15) + except subprocess.TimeoutExpired: + os.killpg(server.pid, signal.SIGKILL) + server.wait(timeout=5) + result['server_exit_code'] = server.poll() + save('candidate stopped; outer operator must restore original Strata/Qwen') + print(json.dumps(result, indent=2)) + + +if __name__ == '__main__': + main() diff --git a/docs/maintenance/basalt-candidate-2026-11-01/host_short_test.py b/docs/maintenance/basalt-candidate-2026-11-01/host_short_test.py new file mode 100644 index 0000000..4768851 --- /dev/null +++ b/docs/maintenance/basalt-candidate-2026-11-01/host_short_test.py @@ -0,0 +1,90 @@ +#!/usr/bin/env python3 +"""Athena host: one explicitly authorized test after normal authenticated drain. + +Never stops/starts Deck or production models. The operator must restore normal +production immediately after this worker returns, including on failure. +""" +import argparse +import importlib.util +import json +from pathlib import Path +import subprocess +import time + +ROOT = Path('/opt/athena-deck-dev/basalt-candidate-9175e7a3211b') +CUDA = Path('/opt/athena-deck-dev/runtime/state/strata-runtime/cuda') +GPU = 'GPU-8ad38c6c-5a01-9d8e-1dfa-ed662ad78fbe' + + +def main(): + parser = argparse.ArgumentParser() + parser.add_argument('--go', action='store_true') + if not parser.parse_args().go: + parser.error('Explicit Michael model-switch/test Go required') + spec = importlib.util.spec_from_file_location('candidate', ROOT / 'candidate.py') + assert spec is not None and spec.loader is not None + owner = importlib.util.module_from_spec(spec) + spec.loader.exec_module(owner) + owner.validate(ROOT, ROOT) + window = json.loads((ROOT / 'test-window.json').read_text()) + drained = json.loads((ROOT / 'test-drained.json').read_text()) + assert time.time() - drained['checked_at'] < 45 + assert drained['state'] == 'stopped' and drained['active_requests'] == 0 + assert all(type(drained['scheduler'][key]) is int and drained['scheduler'][key] == 0 + for key in ('active_requests', 'waiting_requests', 'tts_waiting_requests')) + assert not drained['scheduler']['switching'] + assert not Path('/opt/athena-deck-dev/runtime/state/strata-worker/worker.json').exists() + assert not subprocess.check_output(['nvidia-smi', '--query-compute-apps=pid', + '--format=csv,noheader,nounits'], text=True).strip() + before = json.loads((ROOT / 'production-before.json').read_text()) + current = owner.snapshot() + assert before['image'] == current['image'] and before['started'] == current['started'] + assert not owner.owned_container(before['image']) + assert time.time() + 60 < window['test_deadline'] + production = json.loads(subprocess.check_output(['docker', 'inspect', 'athena-deck-dev'], text=True))[0] + command = ['docker', 'run', '--rm', '--pull=never', '--name', owner.NAME, + '--label', 'athena-deck.basalt-owner=' + owner.OWNER, + '--runtime', production['HostConfig']['Runtime'], '--gpus', 'device=' + GPU, + '--network', 'none', '--read-only', '--user', '65534:65534', '--cap-drop', 'ALL', + '--security-opt', 'no-new-privileges', '--cpus', '12', '--cpuset-cpus', '0,1,2,3,6,7,8,9', + '--memory', '52g', '--memory-swap', '52g', '--pids-limit', '512', + '--ulimit', 'memlock=-1:-1', '--mount', f'type=bind,src={ROOT},dst={ROOT}', + '--mount', f'type=bind,src={ROOT / "tmp"},dst=/tmp', + '--mount', f'type=bind,src={CUDA},dst={CUDA},readonly', + '-e', 'CUDA_VISIBLE_DEVICES=' + GPU, '-e', 'NVIDIA_VISIBLE_DEVICES=' + GPU, + '-e', 'NVIDIA_DRIVER_CAPABILITIES=compute,utility', '-e', 'HOME=' + str(ROOT / 'home'), + '-e', 'TMPDIR=' + str(ROOT / 'tmp'), '-e', 'CUDA_CACHE_PATH=' + str(ROOT / 'cache/cuda'), + '-e', 'PYTHONDONTWRITEBYTECODE=1', '-e', 'OPENBLAS_NUM_THREADS=1', '-e', 'OMP_NUM_THREADS=1', + '--entrypoint', str(ROOT / 'venv/bin/python'), before['image'], '-B', + str(ROOT / 'run_short_test.py'), '--go', '--deadline', str(window['test_deadline'])] + error = None + with (ROOT / 'host-test.log').open('w') as log: + process = subprocess.Popen(command, stdout=log, stderr=subprocess.STDOUT) + try: + while process.poll() is None: + if time.time() >= window['test_deadline']: + raise TimeoutError('Test budget reached; stop only owned test and restore original') + if owner.available() < 1536: + raise RuntimeError('Host RAM headroom guard; restore original') + time.sleep(2) + except BaseException as exc: + error = type(exc).__name__ + ': ' + str(exc) + finally: + instance = owner.owned_container(before['image']) + if instance: + action = ['docker', 'stop', '--timeout', '10'] if instance['State']['Running'] else ['docker', 'rm'] + subprocess.run(action + [instance['Id']], check=True, stdout=log, stderr=log) + if process.poll() is None: + process.wait(timeout=30) + remaining = owner.owned_container(before['image']) + assert remaining is None + result = dict(client_exit_code=process.returncode, error=error, test_finished=time.time(), + owned_container_removed=True, production_restore_required=True) + path = ROOT / 'host-test-exit.json' + path.write_text(json.dumps(result, indent=2) + '\n') + assert json.loads(path.read_text()) == result + print(json.dumps(result), flush=True) + + +if __name__ == '__main__': + main() diff --git a/docs/maintenance/basalt-candidate-2026-11-01/model-source.json b/docs/maintenance/basalt-candidate-2026-11-01/model-source.json new file mode 100644 index 0000000..7145da1 --- /dev/null +++ b/docs/maintenance/basalt-candidate-2026-11-01/model-source.json @@ -0,0 +1,11 @@ +{ + "repo": "jesdga/Qwen3.8-Flash-Next-Basalt", + "revision": "c0e57437ea564aa85263ab0bc0ee83568dd53213", + "filename": "Qwen3.8-FN-GSQ-RCO-IQ3_XXS.basalt", + "size": 79867643037, + "sha256": "d02bb1b188bbc9ed6bc88ce5e89c7c2d64247290c7bae70fbb9d9d17fe65ed71", + "source": "https://huggingface.co/jesdga/Qwen3.8-Flash-Next-Basalt", + "quantization": "GSQ-RCO IQ3_XXS", + "license": "Qwen Community License 1.0", + "purpose": "prepare-only; no production unload, model loading or inference authorized" +} diff --git a/docs/maintenance/basalt-candidate-2026-11-01/paired_client.py b/docs/maintenance/basalt-candidate-2026-11-01/paired_client.py new file mode 100644 index 0000000..022e40e --- /dev/null +++ b/docs/maintenance/basalt-candidate-2026-11-01/paired_client.py @@ -0,0 +1,236 @@ +#!/usr/bin/env python3 +"""Same synthetic near-limit conversation workload for Basalt and current Strata. + +Basalt: inside own isolated GPU container. Strata: native Athena host, existing +managed API credential received on stdin only. Stops only its own HTTP sockets. +No service/model/profile mutation. Separate fresh Go and deadline required. +""" +import argparse +import concurrent.futures +import http.client +import json +from pathlib import Path +import socket +import sys +import threading +import time +from typing import Any +from urllib.parse import quote + +ROOT = Path('/opt/athena-deck-dev/basalt-candidate-9175e7a3211b') +FINAL = 261632 +OUTPUT = 504 + + +def overlaps(rows): + if len(rows) != 2 or any(r.get('first_content_at') is None or r.get('finished_at') is None for r in rows): + return 0.0 + return max(0.0, min(r['finished_at'] for r in rows) - max(r['first_content_at'] for r in rows)) + + +def slower_budget(reference): + assert reference > 0 + return reference * 1.15 + 2.0 + + +def main(): + parser = argparse.ArgumentParser() + parser.add_argument('--go', action='store_true') + parser.add_argument('--engine', required=True, choices=['basalt', 'strata']) + parser.add_argument('--deadline', required=True, type=float) + args = parser.parse_args() + if not args.go: + parser.error('Fresh explicit Michael benchmark/model-switch Go required') + assert time.time() < args.deadline <= time.time() + 2100 + basalt = args.engine == 'basalt' + key = '' if basalt else json.load(sys.stdin)['key'] + assert basalt or (isinstance(key, str) and key) + port = 18320 if basalt else 8120 + model = 'athena-basalt-iq3xxs-test' if basalt else 'flash-next-strata-iq3-dual' + path = ROOT / ('paired-' + args.engine + '.json') + assert not path.exists(), 'Do not silently repeat a benchmark' + docs = json.loads((ROOT / 'paired-fixtures.json').read_text()) + assert len(docs) == 2 and all(d['initial_tokens'] == 261500 and d['final_tokens'] == FINAL for d in docs) + early = None + if not basalt: + reference = json.loads((ROOT / 'paired-basalt.json').read_text()) + assert reference['passed'] and reference['work_complete'] + early = slower_budget(reference['work_seconds']) + started = time.monotonic() + stop = threading.Event() + lock = threading.RLock() + sockets: set[Any] = set() + result: dict[str, Any] = dict(engine=args.engine, started_at=time.time(), deadline=args.deadline, + context_per_slot=262144, initial_tokens=261500, final_tokens=FINAL, output_tokens=OUTPUT, + requests=[], snapshots=[], work_complete=False, passed=False, early_stop_budget=early) + + def save(): + with lock: + result['elapsed_seconds'] = time.monotonic() - started + temporary = path.with_suffix('.pending') + temporary.write_text(json.dumps(result, ensure_ascii=False, indent=2) + '\n') + temporary.replace(path) + + def headers(): + return {'Content-Type': 'application/json', **({'Authorization': 'Bearer ' + key} if key else {})} + + def get(route): + conn = http.client.HTTPConnection('127.0.0.1', port, timeout=3) + try: + conn.request('GET', route, headers=headers()) + response = conn.getresponse() + assert response.status == 200, ('Telemetry HTTP', response.status) + return json.loads(response.read()) + finally: + conn.close() + + def cancel(reason): + with lock: + if result['work_complete'] or stop.is_set(): + return + result['stop_reason'] = reason + if reason == 'strata_proven_slower_total_work_lower_bound': + result['strata_elapsed_lower_bound_seconds'] = time.monotonic() - started + stop.set() + owned = list(sockets) + save() + for sock in owned: + try: + sock.shutdown(socket.SHUT_RDWR) + except OSError: + pass + + def watch(): + last_save = 0.0 + while not stop.wait(0.5): + elapsed = time.monotonic() - started + if time.time() >= args.deadline: + cancel('hard_benchmark_deadline') + break + if early is not None and elapsed > early: + cancel('strata_proven_slower_total_work_lower_bound') + break + if elapsed - last_save >= 5: + last_save = elapsed + try: + sample = get('/slots' if basalt else '/v1/telemetry/speed') + with lock: + result['snapshots'].append(dict(at=time.time(), data=sample)) + except (OSError, ValueError, AssertionError, http.client.HTTPException): + pass + save() + + def request(document, phase, maximum, barrier=None): + if barrier: + barrier.wait(timeout=10) + if stop.is_set(): + raise RuntimeError('Benchmark stopped before admission') + messages = document['initial' if phase == 'preload' else 'final'] + expected = document['initial_tokens' if phase == 'preload' else 'final_tokens'] + row: dict[str, Any] = dict(tag=document['tag'], phase=phase, maximum=maximum, + started_at=time.monotonic() - started, first_content_at=None, finished_at=None, + content='', usage={}, timings={}, stream_complete=False) + with lock: + result['requests'].append(row) + save() + conn = http.client.HTTPConnection('127.0.0.1', port, + timeout=max(1, min(900, args.deadline - time.time()))) + raw_socket = None + body = dict(model=model, messages=messages, max_tokens=maximum, temperature=0, + seed=42, reasoning_effort='none', reasoning_budget_tokens=0, + stream=True, stream_options={'include_usage': True}) + try: + conn.request('POST', '/v1/chat/completions', body=json.dumps(body).encode(), headers=headers()) + raw_socket = conn.sock + with lock: + sockets.add(raw_socket) + if stop.is_set(): + cancel('benchmark_stopped') + raise RuntimeError('Benchmark stopped') + response = conn.getresponse() + if response.status != 200: + raise RuntimeError('HTTP ' + str(response.status) + ': ' + response.read().decode()[:2000]) + while not stop.is_set(): + line = response.readline() + if not line: + break + if not line.startswith(b'data:'): + continue + raw = line[5:].strip() + if raw == b'[DONE]': + with lock: + row['stream_complete'] = True + break + item = json.loads(raw) + if 'error' in item: + raise RuntimeError(str(item['error'])) + with lock: + row['usage'] = item.get('usage') or row['usage'] + row['timings'] = item.get('timings') or item.get('backend_timings') or row['timings'] + for choice in item.get('choices', []): + text = choice.get('delta', {}).get('content') or '' + if text and row['first_content_at'] is None: + row['first_content_at'] = time.monotonic() - started + save() + row['content'] += text + if choice.get('finish_reason'): + row['finish_reason'] = choice['finish_reason'] + if not stop.is_set(): + assert row['stream_complete'], 'Incomplete real response' + assert row['usage'].get('prompt_tokens') == expected, ('Actual token count', row['usage']) + if phase == 'preload': + assert row['content'].strip() == 'OK', ('Unexpected preload reply', row['content']) + else: + assert row['usage'].get('completion_tokens') == OUTPUT, ('Output shortened', row['usage']) + return row + except Exception as exc: + with lock: + row['error'] = type(exc).__name__ + ': ' + str(exc) + if not stop.is_set(): + cancel('request_failed') + raise + finally: + conn.close() + with lock: + sockets.discard(raw_socket) + row['finished_at'] = time.monotonic() - started + save() # Preserve this response even when the other never finishes. + + worker = threading.Thread(target=watch, daemon=True) + try: + route = '/props' if basalt else '/props?model=' + quote(model) + props = get(route) + assert props['total_slots'] == 2 and props['default_generation_settings']['n_ctx'] == 262144 + result['verified_properties'] = {k: props[k] for k in ('total_slots', 'default_generation_settings')} + save() + worker.start() + for doc in docs: + request(doc, 'preload', 16) + result['preload_seconds'] = time.monotonic() - started + save() + barrier = threading.Barrier(2) + parallel_start = time.monotonic() + with concurrent.futures.ThreadPoolExecutor(max_workers=2) as pool: + jobs = [pool.submit(request, doc, 'full-output', OUTPUT, barrier) for doc in docs] + rows = [job.result() for job in jobs] + result['parallel_wall_seconds'] = time.monotonic() - parallel_start + result['overlap_seconds'] = overlaps(rows) + result['output_tokens_per_wall_second'] = sum(r['usage']['completion_tokens'] for r in rows) / result['parallel_wall_seconds'] + result['cache_reused'] = [r['usage'].get('prompt_tokens_details', {}).get('cached_tokens', 0) for r in rows] + result['work_seconds'] = time.monotonic() - started + result['work_complete'] = True + result['passed'] = result['overlap_seconds'] > 0.5 and all(n >= 261400 for n in result['cache_reused']) + if not result['passed']: + result['unmet'] = 'Both near-full contexts must actually decode concurrently with preserved input' + except Exception as exc: + result['error'] = type(exc).__name__ + ': ' + str(exc) + finally: + stop.set() + if worker.is_alive(): + worker.join(timeout=5) + save() + print(json.dumps({k: v for k, v in result.items() if k not in ('requests', 'snapshots')}, ensure_ascii=False), flush=True) + + +if __name__ == '__main__': + main() diff --git a/docs/maintenance/basalt-candidate-2026-11-01/paired_host.py b/docs/maintenance/basalt-candidate-2026-11-01/paired_host.py new file mode 100644 index 0000000..87fc536 --- /dev/null +++ b/docs/maintenance/basalt-candidate-2026-11-01/paired_host.py @@ -0,0 +1,90 @@ +#!/usr/bin/env python3 +"""Athena host: one explicitly authorized test after normal authenticated drain. + +Never stops/starts Deck or production models. The operator must restore normal +production immediately after this worker returns, including on failure. +""" +import argparse +import importlib.util +import json +from pathlib import Path +import subprocess +import time + +ROOT = Path('/opt/athena-deck-dev/basalt-candidate-9175e7a3211b') +CUDA = Path('/opt/athena-deck-dev/runtime/state/strata-runtime/cuda') +GPU = 'GPU-8ad38c6c-5a01-9d8e-1dfa-ed662ad78fbe' + + +def main(): + parser = argparse.ArgumentParser() + parser.add_argument('--go', action='store_true') + if not parser.parse_args().go: + parser.error('Explicit Michael model-switch/test Go required') + spec = importlib.util.spec_from_file_location('candidate', ROOT / 'candidate.py') + assert spec is not None and spec.loader is not None + owner = importlib.util.module_from_spec(spec) + spec.loader.exec_module(owner) + owner.validate(ROOT, ROOT) + window = json.loads((ROOT / 'paired-window.json').read_text()) + drained = json.loads((ROOT / 'paired-drained.json').read_text()) + assert time.time() - drained['checked_at'] < 45 + assert drained['state'] == 'stopped' and drained['active_requests'] == 0 + assert all(type(drained['scheduler'][key]) is int and drained['scheduler'][key] == 0 + for key in ('active_requests', 'waiting_requests', 'tts_waiting_requests')) + assert not drained['scheduler']['switching'] + assert not Path('/opt/athena-deck-dev/runtime/state/strata-worker/worker.json').exists() + assert not subprocess.check_output(['nvidia-smi', '--query-compute-apps=pid', + '--format=csv,noheader,nounits'], text=True).strip() + before = json.loads((ROOT / 'paired-before.json').read_text()) + current = owner.snapshot() + assert before['image'] == current['image'] and before['started'] == current['started'] + assert not owner.owned_container(before['image']) + assert time.time() + 60 < window['test_deadline'] + production = json.loads(subprocess.check_output(['docker', 'inspect', 'athena-deck-dev'], text=True))[0] + command = ['docker', 'run', '--rm', '--pull=never', '--name', owner.NAME, + '--label', 'athena-deck.basalt-owner=' + owner.OWNER, + '--runtime', production['HostConfig']['Runtime'], '--gpus', 'device=' + GPU, + '--network', 'none', '--read-only', '--user', '65534:65534', '--cap-drop', 'ALL', + '--security-opt', 'no-new-privileges', '--cpus', '12', '--cpuset-cpus', '0,1,2,3,6,7,8,9', + '--memory', '52g', '--memory-swap', '52g', '--pids-limit', '512', + '--ulimit', 'memlock=-1:-1', '--mount', f'type=bind,src={ROOT},dst={ROOT}', + '--mount', f'type=bind,src={ROOT / "tmp"},dst=/tmp', + '--mount', f'type=bind,src={CUDA},dst={CUDA},readonly', + '-e', 'CUDA_VISIBLE_DEVICES=' + GPU, '-e', 'NVIDIA_VISIBLE_DEVICES=' + GPU, + '-e', 'NVIDIA_DRIVER_CAPABILITIES=compute,utility', '-e', 'HOME=' + str(ROOT / 'home'), + '-e', 'TMPDIR=' + str(ROOT / 'tmp'), '-e', 'CUDA_CACHE_PATH=' + str(ROOT / 'cache/cuda'), + '-e', 'PYTHONDONTWRITEBYTECODE=1', '-e', 'OPENBLAS_NUM_THREADS=1', '-e', 'OMP_NUM_THREADS=1', + '--entrypoint', str(ROOT / 'venv/bin/python'), before['image'], '-B', + str(ROOT / 'paired_runner.py'), '--go', '--deadline', str(window['test_deadline'])] + error = None + with (ROOT / 'paired-host.log').open('w') as log: + process = subprocess.Popen(command, stdout=log, stderr=subprocess.STDOUT) + try: + while process.poll() is None: + if time.time() >= window['test_deadline']: + raise TimeoutError('Test budget reached; stop only owned test and restore original') + if owner.available() < 1536: + raise RuntimeError('Host RAM headroom guard; restore original') + time.sleep(2) + except BaseException as exc: + error = type(exc).__name__ + ': ' + str(exc) + finally: + instance = owner.owned_container(before['image']) + if instance: + action = ['docker', 'stop', '--timeout', '10'] if instance['State']['Running'] else ['docker', 'rm'] + subprocess.run(action + [instance['Id']], check=True, stdout=log, stderr=log) + if process.poll() is None: + process.wait(timeout=30) + remaining = owner.owned_container(before['image']) + assert remaining is None + result = dict(client_exit_code=process.returncode, error=error, test_finished=time.time(), + owned_container_removed=True, production_restore_required=True) + path = ROOT / 'paired-host-exit.json' + path.write_text(json.dumps(result, indent=2) + '\n') + assert json.loads(path.read_text()) == result + print(json.dumps(result), flush=True) + + +if __name__ == '__main__': + main() diff --git a/docs/maintenance/basalt-candidate-2026-11-01/paired_prepare.py b/docs/maintenance/basalt-candidate-2026-11-01/paired_prepare.py new file mode 100644 index 0000000..ec2d951 --- /dev/null +++ b/docs/maintenance/basalt-candidate-2026-11-01/paired_prepare.py @@ -0,0 +1,104 @@ +#!/usr/bin/env python3 +"""Owned CPU-only container: create identical real-tokenized conversation fixtures. + +No engine/model inference. Preserve assistant history so held slot prefixes +are genuine prefixes, instead of replaying a whole prompt with a one-token cap. +""" +import importlib +import json +from pathlib import Path +import sys +from types import SimpleNamespace + +ROOT = Path('/opt/athena-deck-dev/basalt-candidate-9175e7a3211b') +INITIAL = 261500 +FINAL = 261632 +OUTPUT = 504 +SLACK = 8 + + +def main(): + sys.path[:0] = [str(ROOT / 'source'), str(ROOT / 'source/tools')] + ST = importlib.import_module('tokenizer') + ModelFile = importlib.import_module('model_file').ModelFile + extract = importlib.import_module('serve.engine.modelfile').extract_tokenizer + Template = importlib.import_module('serve.frontend').ChatTemplate + Service = importlib.import_module('serve.service').Service + source = json.loads((ROOT / 'model-source.json').read_text()) + directory = extract(ModelFile(ROOT / 'models' / source['filename'])) + vocab = json.loads((directory / 'vocab.json').read_text()) + tokens = [None] * len(vocab) + for text, index in vocab.items(): + tokens[index] = text + tok = ST.Tokenizer(tokens, (directory / 'merges.txt').read_text().split('\n'), + json.loads((directory / 'token_type.json').read_text())) + template = directory / 'chat_template.jinja' + assert template.is_file() + svc = Service(SimpleNamespace(max_context=262144), tok, Template(template)) + + def encode(messages): + return svc.encode_prompt(messages, None, {'enable_thinking': False}) + + def pad(make, target, estimate=0): + ids = [] + for n in range(max(0, estimate - 3), estimate + 5): + messages = make(n) + ids = encode(messages) + if len(ids) == target: + return messages, ids + raise AssertionError(('No exact token padding', target, len(ids))) + + docs = [] + for tag in ('A', 'B'): + rows = [f'Archiv PAIR3_{tag} Zeile {n:05d}: Standort ' + f'{"West" if tag == "A" else "Ost"}, Bauteil {(n * 71 + 19) % 10007:05d}, ' + 'Freigabe dokumentiert.\n' for n in range(15000)] + + def initial(count, padding=0): + return [{'role': 'system', 'content': f'Unabhängiges Gespräch PAIR3_{tag}. Lies nur dein Archiv.'}, + {'role': 'user', 'content': ''.join(rows[:count]) + ' x' * padding + + '\nBestätige den Empfang. Antworte ausschließlich mit OK, ohne Satzzeichen.'}] + + low, high = 0, len(rows) + while low < high: + middle = (low + high + 1) // 2 + if len(encode(initial(middle))) <= INITIAL: + low = middle + else: + high = middle - 1 + count = low + base, before = pad(lambda n: initial(count, n), INITIAL, + INITIAL - len(encode(initial(count)))) + history = base + [{'role': 'assistant', 'content': 'OK', 'reasoning_content': ''}] + + def follow(padding): + return history + [{'role': 'user', 'content': ' x' * padding + + '\nSchreibe jetzt einen ausführlichen deutschen Fachtext mit mindestens ' + '1200 Wörtern über zuverlässige Datensicherung. Keine Rückfragen.'}] + + final, after = pad(follow, FINAL, FINAL - len(encode(follow(0)))) + held = before + tok.encode('OK') + common = 0 + for a, b in zip(held, after): + if a != b: + break + common += 1 + # Exact assertion: next request extends the whole held prompt+answer. + assert common == len(held), (tag, common, len(held)) + assert FINAL + OUTPUT + SLACK == 262144 + docs.append(dict(tag=tag, initial=base, final=final, initial_tokens=len(before), + final_tokens=len(after), held_prefix_tokens=common, + expected_initial_answer='OK', output_tokens=OUTPUT)) + target = ROOT / 'paired-fixtures.json' + assert not target.exists(), 'Preserve previously prepared fixture' + target.write_text(json.dumps(docs, ensure_ascii=False) + '\n') + assert json.loads(target.read_text()) == docs + report = dict(inference=False, prepared=True, source='actual pinned tokenizer and chat template', + initial_tokens=INITIAL, final_tokens=FINAL, output_tokens=OUTPUT, slack=SLACK, + held_prefix_tokens=[d['held_prefix_tokens'] for d in docs]) + (ROOT / 'paired-fixtures-proof.json').write_text(json.dumps(report, indent=2) + '\n') + print(json.dumps(report), flush=True) + + +if __name__ == '__main__': + main() diff --git a/docs/maintenance/basalt-candidate-2026-11-01/paired_runner.py b/docs/maintenance/basalt-candidate-2026-11-01/paired_runner.py new file mode 100644 index 0000000..63a9d24 --- /dev/null +++ b/docs/maintenance/basalt-candidate-2026-11-01/paired_runner.py @@ -0,0 +1,100 @@ +#!/usr/bin/env python3 +"""Inside a future isolated GPU test container, only after separate Michael Go. + +No production API, model stop/start or profile mutation is implemented here. +The operator must drain/stop the original model beforehand and restore it after +this process exits. The absolute deadline leaves the outer restoration reserve. +""" +import argparse +import json +import os +from pathlib import Path +import signal +import subprocess +import sys +import time +import urllib.error +import urllib.request +from typing import Any + +ROOT = Path('/opt/athena-deck-dev/basalt-candidate-9175e7a3211b') + + +def main(): + parser = argparse.ArgumentParser() + parser.add_argument('--go', action='store_true') + parser.add_argument('--deadline', type=float, help='Absolute epoch deadline before restoration reserve') + args = parser.parse_args() + if not args.go or args.deadline is None: + parser.error('Explicit Michael model-switch/test Go and absolute deadline required') + assert time.time() < args.deadline <= time.time() + 1200 + source = json.loads((ROOT / 'model-source.json').read_text()) + proof = json.loads((ROOT / 'model-verification.json').read_text()) + assert json.loads((ROOT / 'model-download.json').read_text())['state'] == 'verified' + assert proof['sha256'] == source['sha256'] and proof['header_readable_by_pinned_build'] + assert (ROOT / 'models' / source['filename']).stat().st_size == source['size'] + assert not (ROOT / 'paired-basalt.json').exists(), 'Never silently repeat a test' + result: dict[str, Any] = dict(started=time.time(), deadline=args.deadline, + production_modified_by_runner=False, passed=False) + record = ROOT / 'paired-runner-status.json' + + def save(phase): + result['phase'] = phase + result['updated'] = time.time() + record.write_text(json.dumps(result, indent=2) + '\n') + assert json.loads(record.read_text()) == result + + save('loading one candidate; no production routes') + python = ROOT / 'venv/bin/python' + command = [ROOT / 'source/bin/basalt', 'serve', '--python', python, + '--config', ROOT / 'test-config.json'] + with (ROOT / 'paired-server.log').open('w') as output: + server = subprocess.Popen(list(map(str, command)), cwd=ROOT / 'source', + stdout=output, stderr=subprocess.STDOUT, start_new_session=True) + try: + load_deadline = min(args.deadline - 20, time.time() + 240) + while True: + if server.poll() is not None: + raise RuntimeError('Owned Basalt server exited during load; inspect own server log') + if time.time() >= load_deadline: + raise TimeoutError('Load budget expired; restore original runtime') + try: + with urllib.request.urlopen('http://127.0.0.1:18320/props', timeout=2) as response: + props = json.load(response) + if not props['is_sleeping']: + assert props['model_alias'] == 'athena-basalt-iq3xxs-test' + assert props['total_slots'] == 2 + assert props['default_generation_settings']['n_ctx'] == 262144 + break + except (OSError, urllib.error.URLError, KeyError): + pass + time.sleep(0.5) + result['load_seconds'] = time.time() - result['started'] + save('short synthetic client; no tools executed') + remaining = min(900, args.deadline - time.time() - 20) + if remaining <= 0: + raise TimeoutError('No test budget remains; restore original runtime') + with (ROOT / 'paired-client.log').open('w') as output: + completed = subprocess.run([str(python), str(ROOT / 'paired_client.py'), '--go', '--engine', 'basalt', '--deadline', str(args.deadline)], + cwd=ROOT, stdout=output, stderr=subprocess.STDOUT, timeout=remaining) + assert completed.returncode == 0 + result['capacity_test'] = json.loads((ROOT / 'paired-basalt.json').read_text())['passed'] + result['passed'] = True + except BaseException as error: + result['error'] = type(error).__name__ + ': ' + str(error) + raise + finally: + if server.poll() is None: + os.killpg(server.pid, signal.SIGTERM) + try: + server.wait(timeout=15) + except subprocess.TimeoutExpired: + os.killpg(server.pid, signal.SIGKILL) + server.wait(timeout=5) + result['server_exit_code'] = server.poll() + save('candidate stopped; outer operator must restore original Strata/Qwen') + print(json.dumps(result, indent=2)) + + +if __name__ == '__main__': + main() diff --git a/docs/maintenance/basalt-candidate-2026-11-01/paired_strata_client.py b/docs/maintenance/basalt-candidate-2026-11-01/paired_strata_client.py new file mode 100644 index 0000000..ad83e39 --- /dev/null +++ b/docs/maintenance/basalt-candidate-2026-11-01/paired_strata_client.py @@ -0,0 +1,241 @@ +#!/usr/bin/env python3 +"""Same synthetic near-limit conversation workload for Basalt and current Strata. + +Basalt: inside own isolated GPU container. Strata: native Athena host, existing +managed API credential received on stdin only. Stops only its own HTTP sockets. +No service/model/profile mutation. Separate fresh Go and deadline required. +""" +import argparse +import concurrent.futures +import http.client +import json +from pathlib import Path +import socket +import sys +import threading +import time +from typing import Any +from urllib.parse import quote + +ROOT = Path('/opt/athena-deck-dev/basalt-candidate-9175e7a3211b') +FINAL = 261632 +OUTPUT = 504 + + +def overlaps(rows): + if len(rows) != 2 or any(r.get('first_content_at') is None or r.get('finished_at') is None for r in rows): + return 0.0 + return max(0.0, min(r['finished_at'] for r in rows) - max(r['first_content_at'] for r in rows)) + + +def slower_budget(reference): + assert reference > 0 + return reference * 1.15 + 2.0 + + +def make_body(model, messages, maximum): + # Deck rejects a numeric zero budget before applying the none effort. + return dict(model=model, messages=messages, max_tokens=maximum, temperature=0, + seed=42, reasoning_effort='none', stream=True, + stream_options={'include_usage': True}) + + +def main(): + parser = argparse.ArgumentParser() + parser.add_argument('--go', action='store_true') + parser.add_argument('--engine', required=True, choices=['basalt', 'strata']) + parser.add_argument('--deadline', required=True, type=float) + args = parser.parse_args() + if not args.go: + parser.error('Fresh explicit Michael benchmark/model-switch Go required') + assert time.time() < args.deadline <= time.time() + 2100 + basalt = args.engine == 'basalt' + key = '' if basalt else json.load(sys.stdin)['key'] + assert basalt or (isinstance(key, str) and key) + port = 18320 if basalt else 8120 + model = 'athena-basalt-iq3xxs-test' if basalt else 'flash-next-strata-iq3-dual' + path = ROOT / ('paired-' + args.engine + '2.json') + assert not path.exists(), 'Do not silently repeat a benchmark' + docs = json.loads((ROOT / 'paired-fixtures.json').read_text()) + assert len(docs) == 2 and all(d['initial_tokens'] == 261500 and d['final_tokens'] == FINAL for d in docs) + early = None + if not basalt: + reference = json.loads((ROOT / 'paired-basalt.json').read_text()) + assert reference['passed'] and reference['work_complete'] + early = slower_budget(reference['work_seconds']) + started = time.monotonic() + stop = threading.Event() + lock = threading.RLock() + sockets: set[Any] = set() + result: dict[str, Any] = dict(engine=args.engine, started_at=time.time(), deadline=args.deadline, + context_per_slot=262144, initial_tokens=261500, final_tokens=FINAL, output_tokens=OUTPUT, + requests=[], snapshots=[], work_complete=False, passed=False, early_stop_budget=early) + + def save(): + with lock: + result['elapsed_seconds'] = time.monotonic() - started + temporary = path.with_suffix('.pending') + temporary.write_text(json.dumps(result, ensure_ascii=False, indent=2) + '\n') + temporary.replace(path) + + def headers(): + return {'Content-Type': 'application/json', **({'Authorization': 'Bearer ' + key} if key else {})} + + def get(route): + conn = http.client.HTTPConnection('127.0.0.1', port, timeout=3) + try: + conn.request('GET', route, headers=headers()) + response = conn.getresponse() + assert response.status == 200, ('Telemetry HTTP', response.status) + return json.loads(response.read()) + finally: + conn.close() + + def cancel(reason): + with lock: + if result['work_complete'] or stop.is_set(): + return + result['stop_reason'] = reason + if reason == 'strata_proven_slower_total_work_lower_bound': + result['strata_elapsed_lower_bound_seconds'] = time.monotonic() - started + stop.set() + owned = list(sockets) + save() + for sock in owned: + try: + sock.shutdown(socket.SHUT_RDWR) + except OSError: + pass + + def watch(): + last_save = 0.0 + while not stop.wait(0.5): + elapsed = time.monotonic() - started + if time.time() >= args.deadline: + cancel('hard_benchmark_deadline') + break + if early is not None and elapsed > early: + cancel('strata_proven_slower_total_work_lower_bound') + break + if elapsed - last_save >= 5: + last_save = elapsed + try: + sample = get('/slots' if basalt else '/v1/telemetry/speed') + with lock: + result['snapshots'].append(dict(at=time.time(), data=sample)) + except (OSError, ValueError, AssertionError, http.client.HTTPException): + pass + save() + + def request(document, phase, maximum, barrier=None): + if barrier: + barrier.wait(timeout=10) + if stop.is_set(): + raise RuntimeError('Benchmark stopped before admission') + messages = document['initial' if phase == 'preload' else 'final'] + expected = document['initial_tokens' if phase == 'preload' else 'final_tokens'] + row: dict[str, Any] = dict(tag=document['tag'], phase=phase, maximum=maximum, + started_at=time.monotonic() - started, first_content_at=None, finished_at=None, + content='', usage={}, timings={}, stream_complete=False) + with lock: + result['requests'].append(row) + save() + conn = http.client.HTTPConnection('127.0.0.1', port, + timeout=max(1, min(900, args.deadline - time.time()))) + raw_socket = None + body = make_body(model, messages, maximum) + try: + conn.request('POST', '/v1/chat/completions', body=json.dumps(body).encode(), headers=headers()) + raw_socket = conn.sock + with lock: + sockets.add(raw_socket) + if stop.is_set(): + cancel('benchmark_stopped') + raise RuntimeError('Benchmark stopped') + response = conn.getresponse() + if response.status != 200: + raise RuntimeError('HTTP ' + str(response.status) + ': ' + response.read().decode()[:2000]) + while not stop.is_set(): + line = response.readline() + if not line: + break + if not line.startswith(b'data:'): + continue + raw = line[5:].strip() + if raw == b'[DONE]': + with lock: + row['stream_complete'] = True + break + item = json.loads(raw) + if 'error' in item: + raise RuntimeError(str(item['error'])) + with lock: + row['usage'] = item.get('usage') or row['usage'] + row['timings'] = item.get('timings') or item.get('backend_timings') or row['timings'] + for choice in item.get('choices', []): + text = choice.get('delta', {}).get('content') or '' + if text and row['first_content_at'] is None: + row['first_content_at'] = time.monotonic() - started + save() + row['content'] += text + if choice.get('finish_reason'): + row['finish_reason'] = choice['finish_reason'] + if not stop.is_set(): + assert row['stream_complete'], 'Incomplete real response' + assert row['usage'].get('prompt_tokens') == expected, ('Actual token count', row['usage']) + if phase == 'preload': + assert row['content'].strip() == 'OK', ('Unexpected preload reply', row['content']) + else: + assert row['usage'].get('completion_tokens') == OUTPUT, ('Output shortened', row['usage']) + return row + except Exception as exc: + with lock: + row['error'] = type(exc).__name__ + ': ' + str(exc) + if not stop.is_set(): + cancel('request_failed') + raise + finally: + conn.close() + with lock: + sockets.discard(raw_socket) + row['finished_at'] = time.monotonic() - started + save() # Preserve this response even when the other never finishes. + + worker = threading.Thread(target=watch, daemon=True) + try: + route = '/props' if basalt else '/props?model=' + quote(model) + props = get(route) + assert props['total_slots'] == 2 and props['default_generation_settings']['n_ctx'] == 262144 + result['verified_properties'] = {k: props[k] for k in ('total_slots', 'default_generation_settings')} + save() + worker.start() + for doc in docs: + request(doc, 'preload', 16) + result['preload_seconds'] = time.monotonic() - started + save() + barrier = threading.Barrier(2) + parallel_start = time.monotonic() + with concurrent.futures.ThreadPoolExecutor(max_workers=2) as pool: + jobs = [pool.submit(request, doc, 'full-output', OUTPUT, barrier) for doc in docs] + rows = [job.result() for job in jobs] + result['parallel_wall_seconds'] = time.monotonic() - parallel_start + result['overlap_seconds'] = overlaps(rows) + result['output_tokens_per_wall_second'] = sum(r['usage']['completion_tokens'] for r in rows) / result['parallel_wall_seconds'] + result['cache_reused'] = [r['usage'].get('prompt_tokens_details', {}).get('cached_tokens', 0) for r in rows] + result['work_seconds'] = time.monotonic() - started + result['work_complete'] = True + result['passed'] = result['overlap_seconds'] > 0.5 and all(n >= 261400 for n in result['cache_reused']) + if not result['passed']: + result['unmet'] = 'Both near-full contexts must actually decode concurrently with preserved input' + except Exception as exc: + result['error'] = type(exc).__name__ + ': ' + str(exc) + finally: + stop.set() + if worker.is_alive(): + worker.join(timeout=5) + save() + print(json.dumps({k: v for k, v in result.items() if k not in ('requests', 'snapshots')}, ensure_ascii=False), flush=True) + + +if __name__ == '__main__': + main() diff --git a/docs/maintenance/basalt-candidate-2026-11-01/paired_strata_transport.py b/docs/maintenance/basalt-candidate-2026-11-01/paired_strata_transport.py new file mode 100644 index 0000000..98f48ef --- /dev/null +++ b/docs/maintenance/basalt-candidate-2026-11-01/paired_strata_transport.py @@ -0,0 +1,68 @@ +#!/usr/bin/env python3 +"""NAS Hermes profile transport, run with existing /opt/hermes Python environment. + +Resolves only this profile's managed Athena API identity in memory. Never logs +or stores a credential. Does not stop/start services or change Hermes settings. +""" +import argparse +import contextlib +import io +import json +import logging +from pathlib import Path +import shlex +import subprocess +import urllib.request + +PROFILE = Path('/opt/data/profiles/athena-deck') +ROOT = '/opt/athena-deck-dev/basalt-candidate-9175e7a3211b/' + + +def key(): + from hermes_constants import set_hermes_home_override, reset_hermes_home_override + from agent.secret_scope import build_profile_secret_scope, set_secret_scope, reset_secret_scope + from hermes_cli.runtime_provider import resolve_runtime_provider + logging.disable(logging.CRITICAL) + home = set_hermes_home_override(PROFILE) + scope = set_secret_scope(build_profile_secret_scope(PROFILE), profile_home=str(PROFILE)) + try: + with contextlib.redirect_stdout(io.StringIO()): + route = resolve_runtime_provider(requested='Athena') + assert route['base_url'].rstrip('/') == 'http://192.168.1.212:8120/v1' + value = route['api_key'] + assert isinstance(value, str) and value + return value + finally: + reset_secret_scope(scope) + reset_hermes_home_override(home) + + +def main(): + parser = argparse.ArgumentParser() + parser.add_argument('mode', choices=['probe', 'strata']) + parser.add_argument('--go', action='store_true') + parser.add_argument('--deadline', type=float) + args = parser.parse_args() + if not args.go: + parser.error('Explicit current Michael comparison Go required') + credential = key() + if args.mode == 'probe': + request = urllib.request.Request('http://192.168.1.212:8120/props?model=flash-next-strata-iq3-dual', + headers={'Authorization': 'Bearer ' + credential}) + with urllib.request.urlopen(request, timeout=10) as response: + data = json.load(response) + assert data['total_slots'] == 2 and data['default_generation_settings']['n_ctx'] == 262144 + print(json.dumps(dict(managed_route_verified=True, slots=data['total_slots'], + context_per_slot=data['default_generation_settings']['n_ctx']))) + return + if args.deadline is None: + parser.error('Absolute benchmark deadline required') + command = ['python3', '-B', ROOT + 'paired_strata_client.py', '--engine', 'strata', '--go', + '--deadline', str(args.deadline)] + process = subprocess.run(['athena-ssh', shlex.join(command)], + input=json.dumps({'key': credential}), text=True, check=False) + raise SystemExit(process.returncode) + + +if __name__ == '__main__': + main() diff --git a/docs/maintenance/basalt-candidate-2026-11-01/paired_transport.py b/docs/maintenance/basalt-candidate-2026-11-01/paired_transport.py new file mode 100644 index 0000000..137d633 --- /dev/null +++ b/docs/maintenance/basalt-candidate-2026-11-01/paired_transport.py @@ -0,0 +1,68 @@ +#!/usr/bin/env python3 +"""NAS Hermes profile transport, run with existing /opt/hermes Python environment. + +Resolves only this profile's managed Athena API identity in memory. Never logs +or stores a credential. Does not stop/start services or change Hermes settings. +""" +import argparse +import contextlib +import io +import json +import logging +from pathlib import Path +import shlex +import subprocess +import urllib.request + +PROFILE = Path('/opt/data/profiles/athena-deck') +ROOT = '/opt/athena-deck-dev/basalt-candidate-9175e7a3211b/' + + +def key(): + from hermes_constants import set_hermes_home_override, reset_hermes_home_override + from agent.secret_scope import build_profile_secret_scope, set_secret_scope, reset_secret_scope + from hermes_cli.runtime_provider import resolve_runtime_provider + logging.disable(logging.CRITICAL) + home = set_hermes_home_override(PROFILE) + scope = set_secret_scope(build_profile_secret_scope(PROFILE), profile_home=str(PROFILE)) + try: + with contextlib.redirect_stdout(io.StringIO()): + route = resolve_runtime_provider(requested='Athena') + assert route['base_url'].rstrip('/') == 'http://192.168.1.212:8120/v1' + value = route['api_key'] + assert isinstance(value, str) and value + return value + finally: + reset_secret_scope(scope) + reset_hermes_home_override(home) + + +def main(): + parser = argparse.ArgumentParser() + parser.add_argument('mode', choices=['probe', 'strata']) + parser.add_argument('--go', action='store_true') + parser.add_argument('--deadline', type=float) + args = parser.parse_args() + if not args.go: + parser.error('Explicit current Michael comparison Go required') + credential = key() + if args.mode == 'probe': + request = urllib.request.Request('http://192.168.1.212:8120/props?model=flash-next-strata-iq3-dual', + headers={'Authorization': 'Bearer ' + credential}) + with urllib.request.urlopen(request, timeout=10) as response: + data = json.load(response) + assert data['total_slots'] == 2 and data['default_generation_settings']['n_ctx'] == 262144 + print(json.dumps(dict(managed_route_verified=True, slots=data['total_slots'], + context_per_slot=data['default_generation_settings']['n_ctx']))) + return + if args.deadline is None: + parser.error('Absolute benchmark deadline required') + command = ['python3', '-B', ROOT + 'paired_client.py', '--engine', 'strata', '--go', + '--deadline', str(args.deadline)] + process = subprocess.run(['athena-ssh', shlex.join(command)], + input=json.dumps({'key': credential}), text=True, check=False) + raise SystemExit(process.returncode) + + +if __name__ == '__main__': + main() diff --git a/docs/maintenance/basalt-candidate-2026-11-01/prepare_model.py b/docs/maintenance/basalt-candidate-2026-11-01/prepare_model.py new file mode 100644 index 0000000..e396ab7 --- /dev/null +++ b/docs/maintenance/basalt-candidate-2026-11-01/prepare_model.py @@ -0,0 +1,185 @@ +#!/usr/bin/env python3 +"""Athena-host model preparation only. Never starts an engine or changes Deck.""" +import argparse +import fcntl +import hashlib +import importlib.util +import json +import os +from pathlib import Path +import re +import resource +import shutil +import subprocess +import sys +import time + +BASE = Path('/opt/athena-deck-dev/basalt-candidate-9175e7a3211b') +ROOT = BASE +RESERVE = 20 * 1024 ** 3 +STARTED = time.time() +STATUS = ROOT / 'model-download.json' +OWNED_LOCK = False + + +def load_source(): + source = json.loads((ROOT / 'model-source.json').read_text()) + assert source['repo'] == 'jesdga/Qwen3.8-Flash-Next-Basalt' + assert source['filename'] == 'Qwen3.8-FN-GSQ-RCO-IQ3_XXS.basalt' + assert re.fullmatch('[0-9a-f]{40}', source['revision']) + assert re.fullmatch('[0-9a-f]{64}', source['sha256']) + assert source['size'] == 79867643037 + return source + + +def write_status(state, **extra): + value = dict(state=state, pid=os.getpid(), started=STARTED, updated=time.time(), + activated=False, inference_performed=False, **extra) + temporary = STATUS.with_suffix('.tmp') + temporary.write_text(json.dumps(value, indent=2) + '\n') + temporary.replace(STATUS) + + +def check_root(): + spec = importlib.util.spec_from_file_location('candidate', ROOT / 'candidate.py') + assert spec is not None and spec.loader is not None + module = importlib.util.module_from_spec(spec) + spec.loader.exec_module(module) + module.validate(ROOT, ROOT) + return module + + +def verify_pack(path, source): + assert path.is_file() and not path.is_symlink() and path.stat().st_size == source['size'] + write_status('verifying whole-file SHA-256', bytes=source['size']) + with path.open('rb') as data: + actual = hashlib.file_digest(data, 'sha256').hexdigest() + assert actual == source['sha256'], 'Downloaded pack SHA-256 mismatch; original Strata untouched' + # Import only the fixed public reader, after dropping privileges. It reads + # a header and bounded metadata, not an engine or GPU context. + sys.path.insert(0, str(ROOT / 'source/tools')) + reader = importlib.import_module('model_file') + pack = reader.ModelFile(str(path)) + names = pack.names() + required = ('meta', 'dense', 'experts', 'experts.layout', 'gguf', 'profile', 'hc8') + assert all(name in names and pack.section(name)[1] > 0 for name in required) + assert any(name.startswith('tokenizer/') for name in names) + assert any(name.startswith('mtp/') for name in names) + assert pack.section('meta')[1] <= 32 * 1024 ** 2 + assert pack.verify('meta'), 'Pack metadata checksum mismatch' + metadata = json.loads(pack.read('meta')) + result = dict(repo=source['repo'], revision=source['revision'], filename=source['filename'], + bytes=path.stat().st_size, sha256=actual, header_readable_by_pinned_build=True, + section_count=len(names), sections={name:dict(offset=pack.section(name)[0], + bytes=pack.section(name)[1]) for name in names}, + metadata_keys=sorted(metadata), activated=False, inference_performed=False) + proof = ROOT / 'model-verification.json' + proof.write_text(json.dumps(result, indent=2) + '\n') + assert json.loads(proof.read_text()) == result + return result + + +def download(): + global OWNED_LOCK, ROOT, STATUS + check_root() + source = load_source() + lock = os.open(ROOT / 'model-download.lock', os.O_CREAT | os.O_RDWR | os.O_NOFOLLOW, 0o600) + fcntl.flock(lock, fcntl.LOCK_EX | fcntl.LOCK_NB) + OWNED_LOCK = True + # The host parent is deliberately root-only. Retain access only to the + # already validated owned directory, without chmod of shared ancestors. + root_fd = os.open(ROOT, os.O_RDONLY | os.O_DIRECTORY | os.O_NOFOLLOW) + ROOT = Path('/proc/self/fd') / str(root_fd) + STATUS = ROOT / 'model-download.json' + models = ROOT / 'models' + assert models.is_dir() and not models.is_symlink() and models.resolve() == BASE / 'models' + final = models / source['filename'] + partial = final.with_name(final.name + '.part') + assert not final.is_symlink() and not partial.is_symlink() + os.chdir(ROOT) + if os.geteuid() == 0: + os.setgroups([]) + os.setgid(65534) + os.setuid(65534) + os.setpriority(os.PRIO_PROCESS, 0, 19) + resource.setrlimit(resource.RLIMIT_AS, (768 * 1024 ** 2, 768 * 1024 ** 2)) + os.environ.update(HOME=str(ROOT / 'home'), TMPDIR=str(ROOT / 'tmp'), + XDG_CACHE_HOME=str(ROOT / 'cache'), HF_HOME=str(ROOT / 'cache/hf')) + if final.exists(): + proof = verify_pack(final, source) + write_status('verified', sha256=proof['sha256'], bytes=proof['bytes'], reused=True) + return + allocated = partial.stat().st_blocks * 512 if partial.exists() else 0 + assert shutil.disk_usage(models).free >= max(0, source['size'] - allocated) + RESERVE + url = 'https://huggingface.co/' + source['repo'] + '/resolve/' + source['revision'] + '/' + source['filename'] + command = ['ionice', '-c', '3', 'aria2c', '--no-conf=true', '--enable-rpc=false', + '--dir=' + str(models), '--out=' + partial.name, '--file-allocation=none', + '--continue=true', '--auto-file-renaming=false', '--allow-overwrite=false', + '--check-integrity=true', '--checksum=sha-256=' + source['sha256'], + '--max-connection-per-server=4', '--split=4', '--min-split-size=32M', + '--max-concurrent-downloads=1', '--disk-cache=16M', '--max-tries=5', + '--retry-wait=5', '--connect-timeout=20', '--timeout=60', + '--summary-interval=15', '--enable-color=false', '--download-result=hide', url] + write_status('downloading', expected_bytes=source['size'], revision=source['revision']) + with (ROOT / 'model-download.log').open('a') as output: + process = subprocess.Popen(command, cwd=models, pass_fds=(root_fd,), + stdout=output, stderr=subprocess.STDOUT) + try: + while process.poll() is None: + time.sleep(10) + if shutil.disk_usage(models).free < RESERVE: + raise RuntimeError('20 GiB free-space floor reached; stopping only own download') + if time.time() - STARTED > 7200: + raise TimeoutError('Download time limit reached; owned partial file is resumable') + allocated = partial.stat().st_blocks * 512 if partial.exists() else 0 + write_status('downloading', expected_bytes=source['size'], + allocated_bytes=min(allocated, source['size']), + allocated_bytes_are_not_verified_download_progress=True, + revision=source['revision']) + if process.returncode: + raise RuntimeError('aria2 exited ' + str(process.returncode) + '; inspect scoped private log') + finally: + if process.poll() is None: + process.terminate() + process.wait(timeout=30) + proof = verify_pack(partial, source) + partial.replace(final) + assert final.stat().st_size == source['size'] and not partial.exists() + write_status('verified', sha256=proof['sha256'], bytes=proof['bytes'], + elapsed_seconds=time.time() - STARTED, + final=str(BASE / 'models' / source['filename'])) + + +def plan(): + module = check_root() + source = load_source() + before = json.loads((ROOT / 'production-before.json').read_text()) + assert module.snapshot() == before, 'Production changed: do not overwrite it' + assert not module.owned_container(before['image']) + assert shutil.which('aria2c') and shutil.which('ionice') + assert shutil.disk_usage(ROOT).free >= source['size'] + RESERVE + models = ROOT / 'models' + assert not models.exists(), 'Existing model area: inspect/resume rather than recreating it' + models.mkdir(mode=0o750) + os.chown(models, 65534, 65534) + record = dict(source=source, free_bytes=shutil.disk_usage(ROOT).free, + required_bytes=source['size'], free_space_reserve_bytes=RESERVE, + destination=str(models / source['filename']), + no_additional_download_cache_copy=True, inference_performed=False) + target = ROOT / 'model-plan.json' + target.write_text(json.dumps(record, indent=2) + '\n') + assert json.loads(target.read_text()) == record + print(json.dumps(record), flush=True) + + +if __name__ == '__main__': + parser = argparse.ArgumentParser() + parser.add_argument('action', choices=['plan', 'download']) + args = parser.parse_args() + try: + globals()[args.action]() + except BaseException as error: + # Never print redirect URLs, authentication data or full transport logs. + if args.action == 'download' and OWNED_LOCK: + write_status('failed', error_type=type(error).__name__, detail=str(error)) + raise diff --git a/docs/maintenance/basalt-candidate-2026-11-01/run_short_test.py b/docs/maintenance/basalt-candidate-2026-11-01/run_short_test.py new file mode 100644 index 0000000..da8a521 --- /dev/null +++ b/docs/maintenance/basalt-candidate-2026-11-01/run_short_test.py @@ -0,0 +1,100 @@ +#!/usr/bin/env python3 +"""Inside a future isolated GPU test container, only after separate Michael Go. + +No production API, model stop/start or profile mutation is implemented here. +The operator must drain/stop the original model beforehand and restore it after +this process exits. The absolute deadline leaves the outer restoration reserve. +""" +import argparse +import json +import os +from pathlib import Path +import signal +import subprocess +import sys +import time +import urllib.error +import urllib.request +from typing import Any + +ROOT = Path('/opt/athena-deck-dev/basalt-candidate-9175e7a3211b') + + +def main(): + parser = argparse.ArgumentParser() + parser.add_argument('--go', action='store_true') + parser.add_argument('--deadline', type=float, help='Absolute epoch deadline before restoration reserve') + args = parser.parse_args() + if not args.go or args.deadline is None: + parser.error('Explicit Michael model-switch/test Go and absolute deadline required') + assert time.time() < args.deadline <= time.time() + 720 + source = json.loads((ROOT / 'model-source.json').read_text()) + proof = json.loads((ROOT / 'model-verification.json').read_text()) + assert json.loads((ROOT / 'model-download.json').read_text())['state'] == 'verified' + assert proof['sha256'] == source['sha256'] and proof['header_readable_by_pinned_build'] + assert (ROOT / 'models' / source['filename']).stat().st_size == source['size'] + assert not (ROOT / 'test-results.json').exists(), 'Never silently repeat a test' + result: dict[str, Any] = dict(started=time.time(), deadline=args.deadline, + production_modified_by_runner=False, passed=False) + record = ROOT / 'test-runner-status.json' + + def save(phase): + result['phase'] = phase + result['updated'] = time.time() + record.write_text(json.dumps(result, indent=2) + '\n') + assert json.loads(record.read_text()) == result + + save('loading one candidate; no production routes') + python = ROOT / 'venv/bin/python' + command = [ROOT / 'source/bin/basalt', 'serve', '--python', python, + '--config', ROOT / 'test-config.json'] + with (ROOT / 'model-test-server.log').open('w') as output: + server = subprocess.Popen(list(map(str, command)), cwd=ROOT / 'source', + stdout=output, stderr=subprocess.STDOUT, start_new_session=True) + try: + load_deadline = min(args.deadline - 20, time.time() + 240) + while True: + if server.poll() is not None: + raise RuntimeError('Owned Basalt server exited during load; inspect own server log') + if time.time() >= load_deadline: + raise TimeoutError('Load budget expired; restore original runtime') + try: + with urllib.request.urlopen('http://127.0.0.1:18320/props', timeout=2) as response: + props = json.load(response) + if not props['is_sleeping']: + assert props['model_alias'] == 'athena-basalt-iq3xxs-test' + assert props['total_slots'] == 2 + assert props['default_generation_settings']['n_ctx'] == 262144 + break + except (OSError, urllib.error.URLError, KeyError): + pass + time.sleep(0.5) + result['load_seconds'] = time.time() - result['started'] + save('short synthetic client; no tools executed') + remaining = min(480, args.deadline - time.time() - 20) + if remaining <= 0: + raise TimeoutError('No test budget remains; restore original runtime') + with (ROOT / 'test-client.log').open('w') as output: + completed = subprocess.run([str(python), str(ROOT / 'test_client.py'), '--go'], + cwd=ROOT, stdout=output, stderr=subprocess.STDOUT, timeout=remaining) + assert completed.returncode == 0 + assert json.loads((ROOT / 'test-results.json').read_text())['passed'] + result['passed'] = True + except BaseException as error: + result['error'] = type(error).__name__ + ': ' + str(error) + raise + finally: + if server.poll() is None: + os.killpg(server.pid, signal.SIGTERM) + try: + server.wait(timeout=15) + except subprocess.TimeoutExpired: + os.killpg(server.pid, signal.SIGKILL) + server.wait(timeout=5) + result['server_exit_code'] = server.poll() + save('candidate stopped; outer operator must restore original Strata/Qwen') + print(json.dumps(result, indent=2)) + + +if __name__ == '__main__': + main() diff --git a/docs/maintenance/basalt-candidate-2026-11-01/test-config.json b/docs/maintenance/basalt-candidate-2026-11-01/test-config.json new file mode 100644 index 0000000..a33cc63 --- /dev/null +++ b/docs/maintenance/basalt-candidate-2026-11-01/test-config.json @@ -0,0 +1,18 @@ +{ + "server": { + "model": "/opt/athena-deck-dev/basalt-candidate-9175e7a3211b/models/Qwen3.8-FN-GSQ-RCO-IQ3_XXS.basalt", + "alias": "athena-basalt-iq3xxs-test", + "parallel": 2, + "slot-full-context": true, + "host": "127.0.0.1", + "port": 18320, + "gpu": "auto" + }, + "engine": { + "max-context": 262144, + "kv": "int8", + "expert-cache": "auto", + "prefill": "auto", + "resident-experts": true + } +} diff --git a/docs/maintenance/basalt-candidate-2026-11-01/test-plan.json b/docs/maintenance/basalt-candidate-2026-11-01/test-plan.json new file mode 100644 index 0000000..21f0745 --- /dev/null +++ b/docs/maintenance/basalt-candidate-2026-11-01/test-plan.json @@ -0,0 +1,37 @@ +{ + "purpose": "Single short Basalt candidate test, prepared but not authorized to start by package preparation alone", + "requires_new_explicit_model_switch_go": true, + "production_restart_required": false, + "production_profiles_must_not_be_modified": true, + "gpu_uuid": "GPU-8ad38c6c-5a01-9d8e-1dfa-ed662ad78fbe", + "gpu_name": "NVIDIA GeForce RTX 5080", + "gpu_visibility": "Expose only the 5080 to the isolated candidate; auto selection must see one supported card", + "unsupported_gpu": "RTX 3060, SM86, including peer tier", + "cpu_mask": [0, 1, 2, 3, 6, 7, 8, 9], + "production_container_cpu_limit": 12, + "candidate_cpu_limit": 12, + "candidate_ram_limit_gib": 52, + "candidate_additional_swap": 0, + "candidate_host_ram_headroom_guard_gib": 1.5, + "slot_count": 2, + "context_per_slot": 262144, + "kv_type": "int8", + "model_window_budget_seconds": 900, + "load_budget_seconds": 240, + "client_budget_seconds": 480, + "restoration_reserved_seconds": 180, + "network": "none; client and server use loopback inside one temporary container; no host ports", + "start_conditions": [ + "Explicit Michael Go for the Qwen unload and short model test", + "Model package size, SHA-256 and header verified", + "Authenticated production drain confirms both active and waiting work are zero; unknown counters are not idle", + "Normal supported model stop; no Deck, gateway or host restart", + "Actual loaded configuration reports two slots of 262144; do not silently lower context if memory does not fit" + ], + "workloads": ["solo 512 output tokens", "two simultaneous 512-token answers", "separate document markers and cached follow-ups", "long document marker retrieval", "strict JSON", "mock tool call and synthetic result; no real tools"], + "sampling": {"temperature": 0, "seed": 42, "reasoning_effort": "none"}, + "reference_policy": "Reuse documented current Strata results, no old-engine rerun; Basalt 5080+RAM vs Strata 3060+5080 is not a controlled same-hardware engine A/B", + "restoration": "Restore original Strata/Qwen profile and loaded speech state, compare protected settings and health; stop the test before the restoration reserve is consumed", + "automatic_followup_variants": false, + "prepared_only": true +} diff --git a/docs/maintenance/basalt-candidate-2026-11-01/test_candidate.py b/docs/maintenance/basalt-candidate-2026-11-01/test_candidate.py new file mode 100644 index 0000000..51cc0e7 --- /dev/null +++ b/docs/maintenance/basalt-candidate-2026-11-01/test_candidate.py @@ -0,0 +1,122 @@ +#!/usr/bin/env python3 +"""NAS offline tests with disposable synthetic directories; no Athena access.""" +import importlib.util +import json +from pathlib import Path +import subprocess +import sys +import tempfile +import unittest +from unittest.mock import Mock, patch + +SPEC = importlib.util.spec_from_file_location('candidate', Path(__file__).with_name('candidate.py')) +module = importlib.util.module_from_spec(SPEC) +SPEC.loader.exec_module(module) + + +class CleanupTests(unittest.TestCase): + def setUp(self): + self.temp = tempfile.TemporaryDirectory(prefix='basalt-cleanup-') + self.addCleanup(self.temp.cleanup) + self.parent = Path(self.temp.name) + self.root = self.parent / 'candidate' + self.root.mkdir() + module.dump(self.root / module.MARKER, module.marker(self.root)) + + def test_owned_tree_removed_and_external_symlink_target_preserved(self): + external = self.parent / 'external' + external.write_text('must survive') + (self.root / 'nested').mkdir() + (self.root / 'nested/file').write_text('synthetic') + (self.root / 'outside-link').symlink_to(external) + module.remove_tree(self.root, self.root) + self.assertFalse(self.root.exists()) + self.assertEqual(external.read_text(), 'must survive') + + def test_wrong_owner_refused(self): + (self.root / module.MARKER).write_text(json.dumps({'owner': 'another-user'})) + with self.assertRaisesRegex(RuntimeError, 'ownership'): + module.remove_tree(self.root, self.root) + self.assertTrue(self.root.exists()) + + def test_symlink_root_refused(self): + link = self.parent / 'link' + link.symlink_to(self.root, target_is_directory=True) + with self.assertRaisesRegex(RuntimeError, 'symlinked'): + module.remove_tree(link, link) + self.assertTrue(self.root.exists()) + + def test_different_expected_root_refused(self): + with self.assertRaisesRegex(RuntimeError, 'unexpected'): + module.remove_tree(self.root, self.parent / 'elsewhere') + + def test_marker_symlink_refused_without_following_it(self): + marker = self.root / module.MARKER + marker.unlink() + external = self.parent / 'external' + external.write_text('not an ownership marker') + marker.symlink_to(external) + with self.assertRaises(OSError): + module.remove_tree(self.root, self.root) + self.assertEqual(external.read_text(), 'not an ownership marker') + + def test_mocked_nested_mount_refused(self): + line = '1 2 0:1 / ' + str(self.root / 'borrowed') + ' rw - tmpfs tmpfs rw\n' + with patch.object(module.Path, 'read_text', return_value=line): + with self.assertRaisesRegex(RuntimeError, 'mount'): + module.remove_tree(self.root, self.root) + + def test_live_owned_child_refused_then_stopped_fixture_removed(self): + process = subprocess.Popen([sys.executable, '-c', 'import time;time.sleep(30)'], cwd=self.root) + try: + with self.assertRaisesRegex(RuntimeError, 'process'): + module.remove_tree(self.root, self.root) + finally: + process.terminate() + process.wait(timeout=5) + module.remove_tree(self.root, self.root) + self.assertFalse(self.root.exists()) + + def test_check_maps_hardcoded_tmp_back_into_owned_candidate(self): + before = {'image': 'existing-test-image'} + module.dump(self.root / 'production-before.json', before) + process = Mock(returncode=0) + process.poll.return_value = 0 + with patch.object(module, 'ROOT', self.root), \ + patch.object(module, 'available', return_value=8192), \ + patch.object(module, 'snapshot', return_value=before), \ + patch.object(module, 'owned_container', return_value=None), \ + patch.object(module.subprocess, 'Popen', return_value=process) as launch: + module.run_phase('check') + command = launch.call_args.args[0] + self.assertIn(f'type=bind,src={self.root / "tmp"},dst=/tmp', command) + self.assertEqual(command[command.index('--network') + 1], 'none') + self.assertEqual(command[command.index('--memory') + 1], '2g') + self.assertEqual(command[command.index('--memory-swap') + 1], '2g') + self.assertEqual(command[command.index('--pids-limit') + 1], '512') + + def test_manifest_includes_nested_manifests_and_directory_symlinks(self): + package = self.root / 'package' + package.mkdir() + (package / 'manifest.json').write_text('{}') + (self.root / 'manifest.json').write_text('{}') + (self.root / 'directory-link').symlink_to(package, target_is_directory=True) + before = {'image': 'existing-test-image'} + module.dump(self.root / 'production-before.json', before) + module.dump(self.root / 'status.json', { + 'phase': 'built and CPU-checked; awaiting separate model-test Go', + 'commit': module.COMMIT, 'inference_performed': False}) + with patch.object(module, 'ROOT', self.root), \ + patch.object(module, 'snapshot', return_value=before), \ + patch.object(module, 'owned_container', return_value=None), \ + patch.object(module, 'rehearsal'): + module.verify() + entries = {row['path']: row for row in json.loads((self.root / 'manifest.json').read_text())['files']} + self.assertIn('package/manifest.json', entries) + self.assertNotIn('manifest.json', entries) + self.assertTrue(entries['directory-link']['symlink']) + self.assertNotIn('sha256', entries['directory-link']) + + +if __name__ == '__main__': + unittest.main() diff --git a/docs/maintenance/basalt-candidate-2026-11-01/test_client.py b/docs/maintenance/basalt-candidate-2026-11-01/test_client.py new file mode 100644 index 0000000..afa4bd1 --- /dev/null +++ b/docs/maintenance/basalt-candidate-2026-11-01/test_client.py @@ -0,0 +1,190 @@ +#!/usr/bin/env python3 +"""Inside the future isolated Basalt test container; never changes production. + +Only --go permits HTTP/model requests. Preparation must not use that flag. +All conversations and tool results below are explicitly synthetic fixtures. +""" +import argparse +import concurrent.futures +import fcntl +import json +from pathlib import Path +import threading +import time +import urllib.request +from typing import Any + +ROOT = Path('/opt/athena-deck-dev/basalt-candidate-9175e7a3211b') +BASE = 'http://127.0.0.1:18320' +MODEL = 'athena-basalt-iq3xxs-test' +TOOL = {'type': 'function', 'function': {'name': 'lookup_order', + 'description': 'Synthetic test lookup; no real system.', + 'parameters': {'type': 'object', 'properties': {'order_id': {'type': 'string'}}, + 'required': ['order_id'], 'additionalProperties': False}}} + + +def parse_sse(lines, first_content=None) -> dict[str, Any]: + result: dict[str, Any] = dict(content='', usage={}, timings={}, tool_calls=[], stream_complete=False, + finish_reason=None) + calls: dict[int, Any] = {} + seen_content = False + for line in lines: + if not line.startswith(b'data:'): + continue + raw = line[5:].strip() + if raw == b'[DONE]': + result['stream_complete'] = True + break + item = json.loads(raw) + if 'error' in item: + raise RuntimeError(str(item['error'])) + result['usage'] = item.get('usage') or result['usage'] + result['timings'] = item.get('timings') or item.get('backend_timings') or result['timings'] + for choice in item.get('choices', []): + delta = choice.get('delta', {}) + if not seen_content and (delta.get('content') or delta.get('tool_calls')): + seen_content = True + if first_content: + first_content() + result['content'] += delta.get('content') or '' + result['finish_reason'] = choice.get('finish_reason') or result['finish_reason'] + for part in delta.get('tool_calls', []): + target = calls.setdefault(part.get('index', 0), {'id': '', 'type': 'function', + 'function': {'name': '', 'arguments': ''}}) + target['id'] = part.get('id') or target['id'] + for key in ('name', 'arguments'): + target['function'][key] += part.get('function', {}).get(key) or '' + result['tool_calls'] = list(calls.values()) + assert result['stream_complete'], 'Incomplete SSE stream' + assert result['usage'].get('completion_tokens', 0) > 0, 'Missing real output-token usage' + return result + + +def main(): + parser = argparse.ArgumentParser() + parser.add_argument('--go', action='store_true') + args = parser.parse_args() + if not args.go: + parser.error('Explicit Michael model-switch/test Go required before any HTTP request') + assert json.loads((ROOT / 'model-download.json').read_text())['state'] == 'verified' + lock = (ROOT / 'test-client.lock').open('a') + fcntl.flock(lock, fcntl.LOCK_EX | fcntl.LOCK_NB) + output = ROOT / 'test-results.json' + assert not output.exists(), 'Existing test result: inspect, never silently repeat a model test' + start = time.monotonic() + deadline = start + 480 + result: dict[str, Any] = dict(started=time.time(), client_budget_seconds=480, model=MODEL, + historical_reference_not_controlled=True, requests=[], groups=[], passed=False) + + def save(): + result['elapsed_seconds'] = time.monotonic() - start + output.write_text(json.dumps(result, indent=2) + '\n') + assert json.loads(output.read_text()) == result + + def get(path): + with urllib.request.urlopen(BASE + path, timeout=8) as response: + return json.load(response) + + def request(label, messages, maximum=128, barrier=None, **extra) -> dict[str, Any]: + if barrier: + barrier.wait(timeout=10) + began = time.monotonic() + assert began < deadline, 'Client budget exhausted; restore original runtime' + body = dict(model=MODEL, messages=messages, max_tokens=maximum, temperature=0, + seed=42, reasoning_effort='none', stream=True, + stream_options={'include_usage': True}, **extra) + first = [] + req = urllib.request.Request(BASE + '/v1/chat/completions', data=json.dumps(body).encode(), + headers={'Content-Type': 'application/json'}) + with urllib.request.urlopen(req, timeout=min(120, max(1, deadline - began))) as response: + def lines(): + for line in response: + if time.monotonic() >= deadline: + raise TimeoutError('Client budget exhausted') + yield line + row = parse_sse(lines(), lambda: first.append(time.monotonic() - began)) + row.update(label=label, wall_seconds=time.monotonic() - began, + ttft_seconds=first[0] if first else None) + return row + + def add(row): + result['requests'].append(row) + save() + + def pair(label, conversations, maximum): + barrier = threading.Barrier(2) + began = time.monotonic() + with concurrent.futures.ThreadPoolExecutor(max_workers=2) as pool: + futures = [pool.submit(request, label + '-' + str(i), messages, maximum, barrier) + for i, messages in enumerate(conversations)] + rows = [future.result() for future in futures] + wall = time.monotonic() - began + tokens = sum(row['usage']['completion_tokens'] for row in rows) + result['groups'].append(dict(label=label, wall_seconds=wall, + output_tokens=tokens, end_to_end_output_tokens_per_second=tokens / wall)) + for row in rows: + add(row) + return rows + + try: + props = get('/props') + assert props['model_alias'] == MODEL and props['total_slots'] == 2 + assert props['default_generation_settings']['n_ctx'] == 262144 and not props['is_sleeping'] + slots = get('/slots') + assert len(slots) == 2 and all(row['n_ctx'] == 262144 and not row['is_processing'] for row in slots) + result['verified_slots'] = slots + short = [[{'role': 'system', 'content': f'Kurzmessung 0, Gespräch {i}. Schreibe auf Deutsch.'}, + {'role': 'user', 'content': 'Schreibe einen ausführlichen Fachtext mit mindestens 1200 Wörtern über ' + + ('Home Assistant.' if i else 'Datensicherung.')}] for i in range(2)] + add(request('solo-512', short[0], 512)) + short[0][0]['content'] += ' Parallele Messung.' + pair('parallel-512', short, 512) + contexts = [] + for i, marker in enumerate(('ORION_029_A', 'VEGA_029_B')): + facts = '\n'.join(f'Datensatz {n:05d}: Bereich Lager, Farbe blau, geprüft und freigegeben.' for n in range(320)) + contexts.append([{'role': 'system', 'content': 'Lies nur das eigene Dokument. Antworte kurz und exakt.'}, + {'role': 'user', 'content': f'Dokument {i}:\n{facts}\nGeheime Kennung: {marker}\nNenne ausschließlich die geheime Kennung.'}]) + cold = pair('fresh-context-pair', contexts, 128) + for i, row in enumerate(cold): + assert ('ORION_029_A', 'VEGA_029_B')[i] in row['content'] + assert ('VEGA_029_B', 'ORION_029_A')[i] not in row['content'] + following = [messages + [{'role': 'assistant', 'content': row['content']}, + {'role': 'user', 'content': 'Welche geheime Kennung stand in meinem Dokument? Nur die Kennung.'}] + for messages, row in zip(contexts, cold)] + cached = pair('cached-context-pair', following, 128) + for i, row in enumerate(cached): + assert ('ORION_029_A', 'VEGA_029_B')[i] in row['content'] + result['cache_slot_snapshot'] = get('/slots') + text = '\n'.join(f'Archivzeile {n:05d}: Standort West, Kategorie Ersatzteile, Freigabe dokumentiert.' for n in range(2400)) + long = request('long-context-retrieval', [{'role': 'user', 'content': + 'Merke am Anfang: ALPHA_029.\n' + text + '\nMerke am Ende: OMEGA_029.\nNenne ausschließlich die beiden Merkwörter.'}]) + add(long) + assert all(marker in long['content'] for marker in ('ALPHA_029', 'OMEGA_029')) + row = request('json', [{'role': 'user', 'content': + 'Antworte ausschließlich als JSON mit exakt diesen Werten: {"ok":true,"marker":"ATHENA029"}'}]) + add(row) + assert json.loads(row['content']) == {'ok': True, 'marker': 'ATHENA029'} + messages = [{'role': 'user', 'content': 'Rufe lookup_order für die Bestellung TEST-029 auf. Erfinde kein Ergebnis.'}] + row = request('mock-tool-call', messages, 256, tools=[TOOL], tool_choice='auto') + add(row) + assert len(row['tool_calls']) == 1 + call = row['tool_calls'][0] + assert call['function']['name'] == 'lookup_order' + assert json.loads(call['function']['arguments']) == {'order_id': 'TEST-029'} + messages += [{'role': 'assistant', 'content': row['content'] or None, 'tool_calls': row['tool_calls']}, + {'role': 'tool', 'tool_call_id': call['id'], 'content': '{"order_id":"TEST-029","state":"READY"}'}] + follow = request('mock-tool-result', messages, 256, tools=[TOOL], tool_choice='none') + add(follow) + assert 'READY' in follow['content'] and not follow['tool_calls'] + assert len(result['requests']) == 11 + result['passed'] = True + except BaseException as error: + result['error'] = type(error).__name__ + ': ' + str(error) + raise + finally: + save() + print(json.dumps({key: result[key] for key in ('passed', 'elapsed_seconds')}, indent=2)) + + +if __name__ == '__main__': + main() diff --git a/docs/maintenance/basalt-candidate-2026-11-01/test_client_offline.py b/docs/maintenance/basalt-candidate-2026-11-01/test_client_offline.py new file mode 100644 index 0000000..a03114e --- /dev/null +++ b/docs/maintenance/basalt-candidate-2026-11-01/test_client_offline.py @@ -0,0 +1,81 @@ +#!/usr/bin/env python3 +"""NAS-only synthetic protocol/config tests. No model or network requests.""" +import importlib.util +import json +from pathlib import Path +import subprocess +import sys +import unittest + +HERE = Path(__file__).parent +SPEC = importlib.util.spec_from_file_location('basalt_test_client', HERE / 'test_client.py') +assert SPEC is not None and SPEC.loader is not None +client = importlib.util.module_from_spec(SPEC) +SPEC.loader.exec_module(client) + + +def frame(data): + return b'data: ' + json.dumps(data).encode() + b'\n' + + +class ProtocolTests(unittest.TestCase): + def test_synthetic_content_and_usage(self): + first = [] + row = client.parse_sse([ + frame({'choices': [{'delta': {'content': 'fixture'}, 'finish_reason': 'stop'}]}), + frame({'choices': [], 'usage': {'completion_tokens': 1, 'prompt_tokens': 2}}), + b'data: [DONE]\n'], lambda: first.append(True)) + self.assertEqual(row['content'], 'fixture') + self.assertEqual(first, [True]) + self.assertEqual(row['usage']['completion_tokens'], 1) + + def test_synthetic_split_tool_arguments(self): + row = client.parse_sse([ + frame({'choices': [{'delta': {'tool_calls': [{'index': 0, 'id': 'fixture-call', + 'function': {'name': 'lookup_order', 'arguments': '{"order_id":'}}]}}]}), + frame({'choices': [{'delta': {'tool_calls': [{'index': 0, + 'function': {'arguments': '"TEST-029"}'}}]}, 'finish_reason': 'tool_calls'}]}), + frame({'choices': [], 'usage': {'completion_tokens': 8}}), b'data: [DONE]\n']) + call = row['tool_calls'][0] + self.assertEqual(call['id'], 'fixture-call') + self.assertEqual(call['function']['name'], 'lookup_order') + self.assertEqual(json.loads(call['function']['arguments']), {'order_id': 'TEST-029'}) + + def test_incomplete_stream_is_not_accepted(self): + with self.assertRaisesRegex(AssertionError, 'Incomplete'): + client.parse_sse([frame({'choices': [], 'usage': {'completion_tokens': 1}})]) + + def test_missing_usage_is_not_a_success(self): + with self.assertRaisesRegex(AssertionError, 'usage'): + client.parse_sse([b'data: [DONE]\n']) + + def test_no_go_refuses_before_http_or_model_files(self): + process = subprocess.run([sys.executable, '-B', str(HERE / 'test_client.py')], + capture_output=True, text=True) + self.assertNotEqual(process.returncode, 0) + self.assertIn('Explicit Michael model-switch/test Go required', process.stderr) + + def test_prepared_config_and_total_window(self): + config = json.loads((HERE / 'test-config.json').read_text()) + plan = json.loads((HERE / 'test-plan.json').read_text()) + source = json.loads((HERE / 'model-source.json').read_text()) + self.assertEqual(config['server']['alias'], client.MODEL) + self.assertEqual(config['server']['parallel'], 2) + self.assertTrue(config['server']['slot-full-context']) + self.assertEqual(config['engine']['max-context'], 262144) + self.assertEqual(config['engine']['kv'], 'int8') + self.assertTrue(config['server']['model'].endswith('/models/' + source['filename'])) + self.assertEqual(sum(plan[key] for key in ('load_budget_seconds', 'client_budget_seconds', + 'restoration_reserved_seconds')), 900) + self.assertTrue(plan['requires_new_explicit_model_switch_go']) + self.assertTrue(plan['prepared_only']) + + def test_runner_refuses_without_model_switch_go_and_deadline(self): + process = subprocess.run([sys.executable, '-B', str(HERE / 'run_short_test.py')], + capture_output=True, text=True) + self.assertNotEqual(process.returncode, 0) + self.assertIn('Explicit Michael model-switch/test Go and absolute deadline required', process.stderr) + + +if __name__ == '__main__': + unittest.main() diff --git a/docs/maintenance/basalt-candidate-2026-11-01/test_paired_offline.py b/docs/maintenance/basalt-candidate-2026-11-01/test_paired_offline.py new file mode 100644 index 0000000..2ab2ec8 --- /dev/null +++ b/docs/maintenance/basalt-candidate-2026-11-01/test_paired_offline.py @@ -0,0 +1,127 @@ +"""Offline harness tests with deliberately synthetic HTTP fixtures, never model rates.""" +import contextlib +import http.server +import importlib.util +import io +import json +from pathlib import Path +import subprocess +import sys +import tempfile +import threading +import time +import unittest +from unittest.mock import patch + +SPEC = importlib.util.spec_from_file_location('paired_client', Path(__file__).with_name('paired_client.py')) +assert SPEC is not None and SPEC.loader is not None +CLIENT = importlib.util.module_from_spec(SPEC) +SPEC.loader.exec_module(CLIENT) + + +class ProtocolTests(unittest.TestCase): + def test_same_window_overlaps(self): + self.assertEqual(CLIENT.overlaps([dict(first_content_at=2, finished_at=8), + dict(first_content_at=5, finished_at=10)]), 3) + self.assertEqual(CLIENT.overlaps([dict(first_content_at=2, finished_at=4), + dict(first_content_at=5, finished_at=10)]), 0) + self.assertEqual(CLIENT.overlaps([]), 0) + + def test_slower_guard_is_conservative_total_work(self): + self.assertGreater(CLIENT.slower_budget(200), 200 * 1.1) + with self.assertRaises(AssertionError): + CLIENT.slower_budget(0) + + def test_missing_go_never_opens_http(self): + argv = ['paired_client.py', '--engine', 'basalt', '--deadline', str(time.time() + 60)] + with patch.object(sys, 'argv', argv), patch.object(CLIENT.http.client, 'HTTPConnection') as connection: + with contextlib.redirect_stderr(io.StringIO()), self.assertRaises(SystemExit) as error: + CLIENT.main() + self.assertEqual(error.exception.code, 2) + connection.assert_not_called() + + def test_real_deck_validator_accepts_no_thinking_request(self): + from api_compat import normalize_chat, apply_reasoning_budget, CompatibilityError + spec = importlib.util.spec_from_file_location('paired_strata_client', + Path(__file__).with_name('paired_strata_client.py')) + assert spec is not None and spec.loader is not None + module = importlib.util.module_from_spec(spec) + spec.loader.exec_module(module) + body = module.make_body('flash-next-strata-iq3-dual', + [{'role': 'user', 'content': 'Offline contract check'}], 504) + with self.assertRaises(CompatibilityError): + normalize_chat({**body, 'reasoning_budget_tokens': 0}) + normalized, _ = normalize_chat(body) + effective = apply_reasoning_budget(normalized, {}) + self.assertEqual(effective['reasoning_effort'], 'none') + self.assertEqual(effective['max_tokens'], 504) + self.assertNotIn('reasoning_budget_tokens', effective) + + def test_finished_response_survives_other_request_timeout(self): + # Mock counts intentionally stand for the API contract only. There is + # no real tokenizer/model/inference in this offline regression test. + class Handler(http.server.BaseHTTPRequestHandler): + def log_message(self, format, *args): + pass + + def do_GET(self): + value = dict(total_slots=2, default_generation_settings=dict(n_ctx=262144)) if self.path == '/props' else [] + body = json.dumps(value).encode() + self.send_response(200) + self.end_headers() + self.wfile.write(body) + + def do_POST(self): + body = json.loads(self.rfile.read(int(self.headers['Content-Length']))) + warm = body['max_tokens'] == 504 + slow = warm and body['messages'][0]['content'].endswith('B') + self.send_response(200) + self.end_headers() + if slow: + time.sleep(2) + text = 'offline fixture answer' if warm else 'OK' + tokens = 261632 if warm else 261500 + events = [dict(choices=[dict(delta=dict(content=text))]), + dict(choices=[dict(delta={}, finish_reason='length' if warm else 'stop')], + usage=dict(prompt_tokens=tokens, completion_tokens=504 if warm else 2, + prompt_tokens_details=dict(cached_tokens=261501 if warm else 0)))] + try: + for event in events: + self.wfile.write(b'data: ' + json.dumps(event).encode() + b'\n\n') + self.wfile.flush() + self.wfile.write(b'data: [DONE]\n\n') + except (BrokenPipeError, ConnectionResetError): + pass + + with tempfile.TemporaryDirectory() as temp: + root = Path(temp) + docs = [dict(tag=tag, initial=[dict(role='user', content='preload ' + tag)], + final=[dict(role='user', content='warm ' + tag)], initial_tokens=261500, + final_tokens=261632) for tag in ('A', 'B')] + (root / 'paired-fixtures.json').write_text(json.dumps(docs)) + server = http.server.ThreadingHTTPServer(('127.0.0.1', 0), Handler) + thread = threading.Thread(target=server.serve_forever, daemon=True) + thread.start() + original = CLIENT.http.client.HTTPConnection + def redirected(host, port, **kwargs): + return original('127.0.0.1', server.server_port, **kwargs) + argv = ['paired_client.py', '--go', '--engine', 'basalt', '--deadline', str(time.time() + 1)] + try: + with patch.object(CLIENT, 'ROOT', root), patch.object(sys, 'argv', argv), \ + patch.object(CLIENT.http.client, 'HTTPConnection', redirected), \ + contextlib.redirect_stdout(io.StringIO()): + CLIENT.main() + result = json.loads((root / 'paired-basalt.json').read_text()) + completed = [r for r in result['requests'] if r['phase'] == 'full-output' and r['tag'] == 'A'] + self.assertEqual(len(completed), 1) + self.assertTrue(completed[0]['stream_complete']) + self.assertEqual(completed[0]['usage']['completion_tokens'], 504) + self.assertEqual(result['stop_reason'], 'hard_benchmark_deadline') + self.assertFalse(result['passed']) + finally: + server.shutdown() + server.server_close() + + +if __name__ == '__main__': + unittest.main() diff --git a/docs/maintenance/basalt-deck-integration/README.md b/docs/maintenance/basalt-deck-integration/README.md new file mode 100644 index 0000000..55af592 --- /dev/null +++ b/docs/maintenance/basalt-deck-integration/README.md @@ -0,0 +1,60 @@ +# Basalt-Deck-Anbindung: lokaler Entwicklungsstand + +## Ergebnis + +Eigene Basalt-Laufzeit und eigener Worker, Chat-Routing hinter derselben Deck- +API, feste öffentliche Paketquelle, Modellkatalog-/Profil-/Preset-Validierung, +per-Slot-API-Metadaten, Laufzeitseite und Backup-/Restore-Rezept implementiert. +Strata bleibt erhalten. Kein Produktivwechsel, Modellstart, Neustart oder +Verschieben des bestehenden Kandidaten durch diese Entwicklungsprüfung. + +## Tatsächliche Prüfungen + +```sh +PYTHONWARNINGS=ignore::ResourceWarning python -m unittest \ + test_basalt test_strata test_model_management test_dashboard_data \ + test_backup test_execution_setup test_endpoint test_chat_test \ + test_reasoning_budget -q +``` + +Letzter Lauf: **174 Tests bestanden**, 67.487 Sekunden. Die vorherige rote +Backup-Fixture hatte zuerst eine willkürliche statt quellabgeleitete Modell-ID, +anschließend ein geteiltes Python-Parameterobjekt für Profil und Preset. +Beides in der Fixture korrigiert; keine Abschwächung der Backup-Validierung. +Der gezielte Regressionstest und der gesamte obige Satz sind grün. +Die TTS-Logzeilen dieses Laufs gehören ausschließlich zu synthetischen lokalen +Tests einschließlich erwarteter Fehlerfälle, nicht zu Produktiv-TTS. + +`git diff --check` und `node --check` für `profiles-ui.js`, `strata-ui.js`, +`dashboard-ui.js`, `studio.js` und `app.js` bestanden. + +Echte Browser-DOM-Prüfung mit tatsächlichem Editor-JavaScript und ausdrücklich +synthetischer isolierter API: Basalt-Paket vorausgewählt, 5080 vorgeschlagen, +Strata → llama.cpp → Basalt umgeschaltet, zugehörige Regler geprüft, zwei +262144-Kontext-Slots eingegeben und Speicherpayload durch die wirkliche +Python-`chat_parameters`-Validierung geprüft. Auch Basalt-Laufzeitseite, +Installationsknopf, Paketstatus und Profilknopf geprüft. Keine produktiven +POSTs und keine echte Modellantwort in diesem Browser-Test. + +## Offene Grenzen / Aktivierungssperren + +- Noch keine Installation/Aktivierung dieses Deck-Codes auf Athena, kein + echter Modelltest durch den neuen Worker, kein qualifizierter nativer + Gesamtbuild mit diesem neuen Installer und kein Fresh-Host-Vollrestore. +- Das bestehende geprüfte Paket liegt weiterhin auf der Samsung 980 PRO, + nicht auf dem `/data`-Datenträger WD Blue SN580. Der neue Downloadweg nutzt + den gewöhnlichen Deck-Modellkatalog. Vor Aktivierung Katalog-Mount und + verwaltete Übernahme auf der gewünschten Samsung ausdrücklich klären; + kein ungeprüfter Zweitdownload oder versteckter Kandidaten-Pfad. +- Zentrale Basalt-Live-/Summen-Tokenraten sind noch nicht angebunden. + Inhaltsfreie Slots/Properties werden angezeigt; Basalts JSON-Request- + Historie wird nicht als Dashboard-Metrik eingesammelt. Testchat-Timings + bleiben separat verfügbar. +- Zunächst nur Text. TTS-/STT-Betrieb und vorhandene Projektoren nicht geändert; + Qwen-TTS oder Vision auf GPU sind ein eigener späterer Auftrag. +- Produktionsaktivierung einschließlich notwendigem Deck/API-Neustart und + Modellwechsel braucht ein separates Go und nachgewiesenen normalen Drain. + Frühere Kandidatentests sind keine dauerhafte Aktivierungsfreigabe. + +Native Voraussetzungen, feste Quellen, Speicherpolitik, Wiederherstellung und +Rückfall: [Basalt-Rezept](../../../deploy/BASALT_NATIVE.md). diff --git a/docs/maintenance/basalt-deck-integration/TELEMETRY.md b/docs/maintenance/basalt-deck-integration/TELEMETRY.md new file mode 100644 index 0000000..de82c16 --- /dev/null +++ b/docs/maintenance/basalt-deck-integration/TELEMETRY.md @@ -0,0 +1,88 @@ +# Dashboard / Athena Pulse: Basalt-Telemetrie + +## Stand: aktiviert; API-Funktionsprüfungen bestanden, GUI-Endabnahme offen + +Nach Michaels ausdrücklichem Go und normaler Management-Anmeldung regulär +drainiert: API gestoppt, aktive/wartende/TTS-wartende Anfragen jeweils null, +kein Schedulerwechsel. Overlay auf dem laufenden TTS-RAM-Fix-Image gebaut, +vollständigen isolierten Server-Konstruktor geprüft, anschließend aktiviert. +Produktives Image `athena-deck-standalone:basalt-telemetry`, Zustand `healthy`. +Alle sechs App-Dateihashes sowohl im Image als auch in der kanonischen Quelle +geprüft. Profile, Endpoint-, Audio-, CPU- und Reasoning-Einstellungen unverändert. + +Bestehendes Basalt-Profil wieder geladen, Antwort `BEREIT` nach 22,01 Sekunden. +Danach vier begrenzte echte synthetische Chat-Aufrufe und ein Speech-Aufruf: +beide Slots gleichzeitig, positive Einlese-/Generierungsraten und Cache-Reuse +beobachtet. Folgeaufruf: 13827 Cache-Token. Die echten Antwort-Timings enthalten +positive MTP-Draft-/Akzeptanzwerte. Anna lieferte 4,08 Sekunden 24-kHz-Mono-WAV. +Dieser Prüfungssatz dauerte 13,51 Sekunden und ist kein Benchmark. +Evidenz auf dem NAS: `/opt/data/profiles/athena-deck/cache/scratch/telemetry-live-acceptance.json`. +Basalt auf 5080, Vision und TTS auf 3060 durch GPU-Prozessmetadaten bestätigt. + +**Noch offen:** Der Neustart beendet normale Management-Sitzungen; anschließender +Dashboard-Aufruf liefert HTTP 401. Erneute normale Anmeldung für die produktive +GUI-Prüfung und das Ablesen der globalen Queue-/MTP-/Modellstartzähler erforderlich. +Kein erneutes Aktivierungs-Go und kein weiterer Neustart nötig. Native Mac- +Client- und vollständige Fresh-Host-/Restore-Abnahme bleiben ebenfalls offen. + +## Implementierung und vorausgegangene Prüfungen + +Ursache: Der bisherige Dashboard-Pfad setzte Basalt nicht auf den gemeinsamen +Slot-/Metrikvertrag um; deshalb fehlten Anzeigen oder zeigten scheinbare Nullen. +Basalts ursprüngliches JSON-`/metrics` enthält Requestverlauf und ist hierfür +keine geeignete Quelle. + +`basalt_serve.py` ergänzt den gepinnten Upstream-Server um ein authentifiziertes, +inhaltsfreies `/telemetry`. `basalt_telemetry.py` liefert Slot 0/1, Belegung und +Phasen, rollierende Generierungsrate, Engine-Prefill-Mittel sowie Cache-/MTP- +und Tokenzähler. Abschlusszähler sind vom 500-Einträge-Verlauf unabhängig. +Modellprozess-Generationen setzen sauber zurück; gleichzeitiger Requestabschluss +oder Prozesswechsel beim Sampling wird ohne Doppelzählung behandelt. Unbekannte +Werte werden nicht in Nullen oder unvollständige Lebenszeitsummen umgewandelt. + +Dashboard und bestehendes `/v1/telemetry/speed` beziehen dieselbe Projektion. +Pulse behält seinen bisherigen Schema-1-Vertrag und Backend-Gesamtscope. +Keine Änderung am Plugin, anderen Hermes-Profilen oder der Mac-App erforderlich. +Das ist eine Vertragsprüfung, noch keine native Mac-Client-Endabnahme. + +## Tatsächlich ausgeführt + +- 48 gezielte Python-Tests bestanden: + `python -m unittest test_basalt_telemetry test_dashboard_data test_speed_telemetry test_basalt test_tts_ram test_tts -q`. +- `node --check dashboard-ui.js` und `git diff --check` bestanden. +- Bestehende eigene Pulse-Tests: 5 Python- und 2 Node-Tests bestanden. +- Echte Browser-DOM-Prüfung mit dem tatsächlichen Dashboard-JavaScript und + **ausschließlich synthetischen Daten**: beide Slotkarten, Generierungs- und + Einleserate, aktive/wartende Anfragen, Cache, MTP und Tokenzähler angezeigt. + Bei anschließend fehlender Telemetrie verschwinden die vorherigen Messwerte; + unbekannte Anfragen und Raten erscheinen als `–`, nicht als erfundene Nullen. +- `check_telemetry_mock.py` zweimal erfolgreich gegen die tatsächlich installierte + gepinnte Upstream-`Service`-/Handler-Implementierung ausgeführt: HTTP 401 ohne + Anmeldung, bestehende Chatroute weiterhin funktionstüchtig, numerische Zähler + nach synthetischer Mock-Antwort, keine Test-Promptinhalte/Zugangsschlüssel im + Telemetrieergebnis. Kein reales Modell, keine GPU-Inferenz, kein Neustart. + +Der letzte Test lief in der **aktuellen Deck-Containerumgebung**, mit deren +verwalteter Basalt-Python-Umgebung und CPU-Mock. Der anfängliche Aufruf desselben +venv direkt auf dem Host scheiterte wegen fehlender Python-3.12-Standardbibliothek. +Das ist keine native Host-/Fresh-Debian-Abnahme. Testskript und Launcher lagen +isoliert unter `state/basalt-runtime/tmp/deck-telemetry-test`; installierter +App-Code und Upstream-Checkout blieben unverändert. + +## Ursprünglicher Aktivierungsplan (Go inzwischen erteilt und umgesetzt) + +Separates Go für Deck/API-Aktivierung, regulären nachgewiesenen Drain und +Wiederladen des bestehenden Basalt-/Qwen-Profils erforderlich. Vorher normale +Management-Anmeldung herstellen; die Browserprüfung zeigte die Zugangsseite, +kein gespeicherter Vault-Login vorhanden. Keine Admin-Umgehung. + +Vorgesehene kurze Abnahme, erst nach Freigabe: drei begrenzte synthetische +parallele Anfragen für beide Slots und Warteschlange, ein Cache-Folgeaufruf, +Abgleich von Einlesen/Generierung/MTP/Modellstartzählern und Pulse-Vertrag. +Maximal 15 Minuten Modelltestbudget, keine Benchmarks oder Variantenmatrix. +Bestehende Profile, GPU-Aufteilung, Stimmen und Endpunktfreigaben erhalten. +Danach den tatsächlich produktiven Stand und offene Client-/Restore-Grenzen +hier nachtragen. Git-Publikation ersetzt diese Aktivierungsfreigabe nicht. + +Native Installation, gemeinsame App-/Launcher-Umstellung und Rückfall: +[Basalt-Rezept](../../../deploy/BASALT_NATIVE.md). diff --git a/docs/maintenance/basalt-deck-integration/accept_telemetry.py b/docs/maintenance/basalt-deck-integration/accept_telemetry.py new file mode 100644 index 0000000..245a1ef --- /dev/null +++ b/docs/maintenance/basalt-deck-integration/accept_telemetry.py @@ -0,0 +1,43 @@ +#!/usr/bin/env python3 +"""NAS Hermes: four synthetic telemetry checks and one short speech check.""" +import concurrent.futures,importlib.util,io,json,threading,time,urllib.request,wave +from pathlib import Path +s=importlib.util.spec_from_file_location('managed_transport',Path(__file__).resolve().parent.parent/'basalt-candidate-2026-11-01/paired_transport.py');assert s and s.loader +m=importlib.util.module_from_spec(s);s.loader.exec_module(m);KEY=m.key() +BASE='http://192.168.1.212:8120';OUT=Path('/opt/data/profiles/athena-deck/cache/scratch/telemetry-live-acceptance.json') +START=time.monotonic();samples=[];stop=threading.Event() +def call(path,data=None,binary=False): + assert time.monotonic()-START<900,'Short test budget exceeded' + req=urllib.request.Request(BASE+path,data=json.dumps(data).encode() if data is not None else None,headers={'Authorization':'Bearer '+KEY,'Content-Type':'application/json'}) + with urllib.request.urlopen(req,timeout=180 if data is not None else 10) as r:return r.read() if binary else json.load(r) +def poll(): + while not stop.is_set(): + try:samples.append(call('/v1/telemetry/speed')) + except Exception as e:samples.append({'error':type(e).__name__}) + stop.wait(.15) +def chat(messages): + out=call('/v1/chat/completions',dict(model='flash-next-basalt',messages=messages,max_tokens=128,temperature=0,chat_template_kwargs={'enable_thinking':False})) + assert out['choices'][0]['message'].get('content') + return {'usage':out.get('usage'),'timings':out.get('timings')} +def main(): + worker=threading.Thread(target=poll,daemon=True);worker.start() + base='\n'.join(f'Datenzeile {i:04d}: alpha beta gamma delta epsilon, unveraenderte Testdaten.' for i in range(600)) + first=[{'role':'user','content':base+'\nSchreibe jetzt die Zahlen von 1 bis 300, mit Komma getrennt.'}] + second=[{'role':'user','content':base+'\nSchreibe jetzt die Zahlen von 301 bis 600, mit Komma getrennt.'}] + third=[{'role':'user','content':'Schreibe die Zahlen von 601 bis 900, mit Komma getrennt.'}] + try: + with concurrent.futures.ThreadPoolExecutor(max_workers=3) as pool: + jobs=[pool.submit(chat,msg) for msg in (first,second,third)];results=[j.result() for j in jobs] + follow=chat(first) + finally:stop.set();worker.join(timeout=12) + valid=[x for x in samples if x.get('available',True) and 'error' not in x] + checks=dict(two_slots_observed=any(x.get('active_slots')==2 for x in valid),generation_observed=any((x.get('generation_tok_s') or 0)>0 for x in valid),prefill_observed=any((x.get('prefill_tok_s') or 0)>0 for x in valid),cache_reused=(follow.get('usage',{}).get('prompt_tokens_details',{}).get('cached_tokens') or 0)>0) + result=dict(checks=checks,requests=results,cached_followup=follow,samples=samples,seconds=time.monotonic()-START) + OUT.write_text(json.dumps(result,indent=2));print(json.dumps({'stage':'LLM acceptance','checks':checks,'seconds':result['seconds'],'evidence':str(OUT)}),flush=True) + assert all(checks.values()),'One or more actual LLM telemetry checks failed' + audio=call('/v1/audio/speech',dict(model='qwen-anna-gpu-3060',input='Anna ist bereit. Die Anzeige wurde aktualisiert.',voice='default',response_format='wav'),binary=True) + with wave.open(io.BytesIO(audio),'rb') as w:voice=dict(rate=w.getframerate(),channels=w.getnchannels(),frames=w.getnframes(),seconds=w.getnframes()/w.getframerate()) + assert voice['rate']==24000 and voice['channels']==1 and voice['frames']>0 + result.update(tts=voice,seconds=time.monotonic()-START);OUT.write_text(json.dumps(result,indent=2));assert json.loads(OUT.read_text())['tts']==voice + print(json.dumps({'stage':'Anna API passed','voice':voice,'total_seconds':result['seconds']}),flush=True) +if __name__=='__main__':main() diff --git a/docs/maintenance/basalt-deck-integration/activate.py b/docs/maintenance/basalt-deck-integration/activate.py new file mode 100644 index 0000000..d768d8e --- /dev/null +++ b/docs/maintenance/basalt-deck-integration/activate.py @@ -0,0 +1,122 @@ +#!/usr/bin/env python3 +"""Athena host: exact app overlay + drained activation using validated Profiles.save. +Requires separate Michael Go and prior normal authenticated GUI drain. +""" +import argparse +import hashlib +import importlib.util +import json +import os +from pathlib import Path +import shutil +import subprocess +import sys +import time + +ROOT=Path('/opt/athena-deck-dev/basalt-deck-activation') +BASE=Path('/opt/athena-deck-dev/runtime') +STATE=BASE/'state' +CANON=Path('/opt/athena-deck-dev/source') +TARGET='0c25bfe00240414397c41a980ecbe4f0' +SETTINGS=('profiles.json','endpoint.json','audio-policy.json','cpu-partition.json','reasoning-budget.json') +IMAGE='athena-deck-standalone:basalt-vision-9175e7a' + +def digest(path): + with Path(path).open('rb') as f:return hashlib.file_digest(f,'sha256').hexdigest() + +def installed():return json.loads(subprocess.check_output(['docker','inspect','athena-deck-dev'],text=True))[0] + +def record(**updates): + path=ROOT/'activation.json';data=json.loads(path.read_text()) if path.exists() else {} + data.update(updated_at=time.time(),**updates);path.write_text(json.dumps(data,indent=2));path.chmod(0o600) + assert json.loads(path.read_text())==data + return data + +def prepare(): + assert not (ROOT/'activation.json').exists() + prep=json.loads((ROOT/'preparation.json').read_text());assert prep['phase']=='prepared; original production unchanged' + info=installed();assert info['Image']==prep['image_before'] + app=ROOT/'image/app';files=[p for p in app.rglob('*') if p.is_file()];assert files + assert not any(p.name=='vpn.auth' or 'vpn' in p.parts for p in files) + # Preserve the actual installed launcher's changes, not an older local snapshot. + original=(CANON/'deploy/install.py').read_text();anchor="FILES += ['cpu_partition.py']" + assert anchor in original + changed=original.replace(anchor,anchor+"\nFILES += ['basalt_runtime.py','basalt_worker.py','basalt_sources.json','deploy/install_basalt.py','deploy/BASALT_NATIVE.md']",1) + before="'--pids-limit','256' if config.get('image_runtime') else '128'" + after="'--pids-limit',str(config.get('pids_limit',256 if config.get('image_runtime') else 128))" + assert before in changed;changed=changed.replace(before,after,1) + (app/'deploy').mkdir(exist_ok=True);(app/'deploy/install.py').write_text(changed) + names=sorted(str(p.relative_to(app)) for p in app.rglob('*') if p.is_file()) + baseline={n:digest(CANON/n) if (CANON/n).is_file() else None for n in names} + base_tag=info['Config']['Image'] + assert subprocess.check_output(['docker','image','inspect','--format','{{.Id}}',base_tag],text=True).strip()==info['Image'] + (ROOT/'image/Dockerfile').write_text('FROM '+base_tag+'\nUSER root\nCOPY app/ /app/\nUSER 65534:65534\n') + (ROOT/'image/.dockerignore').write_text('*\n!Dockerfile\n!app/\n!app/**\n') + with (ROOT/'image-build.log').open('w') as out:subprocess.run(['docker','build','--network','none','--pull=false','-t',IMAGE,ROOT/'image'],check=True,stdout=out,stderr=subprocess.STDOUT,timeout=300) + image_id=subprocess.check_output(['docker','image','inspect','--format','{{.Id}}',IMAGE],text=True).strip() + probe='from basalt_runtime import BasaltRuntime;from basalt_worker import BasaltWorker;from server import Server;print("Basalt image imports passed")' + subprocess.run(['docker','run','--rm','--network','none','--read-only','--cap-drop','ALL','--user','65534:65534','--memory','256m','--pids-limit','128','-e','NVIDIA_VISIBLE_DEVICES=void','--entrypoint','python3',image_id,'-B','-c',probe],check=True) + assert installed()['Image']==info['Image'] and installed()['State']['StartedAt']==info['State']['StartedAt'] + settings={n:digest(STATE/n) for n in SETTINGS} + profile=next(p for p in json.loads((STATE/'profiles.json').read_text()) if p['id']==TARGET) + record(phase='image prepared; normal GUI drain required',image_before=info['Config']['Image'],image_id_before=info['Image'],image=IMAGE,image_id=image_id,files=names,baseline=baseline,settings_before=settings,profile_before=profile,manifest_before=json.loads((BASE/'installation.json').read_text()),inference_performed=False) + print(json.dumps(dict(phase='image prepared',image_id=image_id,files=len(names))),flush=True) + +def apply(): + r=json.loads((ROOT/'activation.json').read_text());assert r['phase'] in ('image prepared; normal GUI drain required','drained; old Deck stopped') + info=installed();assert info['Image']==r['image_id_before'] + # The operator stores this fresh read-back only after the real normal GUI stop. + d=json.loads((ROOT/'drained.json').read_text()) + assert d['state']=='stopped' + if r['phase']=='image prepared; normal GUI drain required':assert time.time()-d['checked_at']<60 + else:assert info['State']['Running'] is False + assert d['active_requests']==0 and type(d['active_requests']) is int + for field in ('active_requests','waiting_requests','tts_waiting_requests'):assert type(d['scheduler'][field]) is int and d['scheduler'][field]==0 + assert d['scheduler']['switching'] is False + assert not (STATE/'strata-worker/worker.json').exists() + assert not subprocess.check_output(['nvidia-smi','--query-compute-apps=pid','--format=csv,noheader,nounits'],text=True).strip() + assert all(digest(STATE/n)==v for n,v in r['settings_before'].items() if n!='endpoint.json') + for n,value in r['baseline'].items():assert (digest(CANON/n) if (CANON/n).is_file() else None)==value + profiles_before=json.loads((STATE/'profiles.json').read_text()) + if info['State']['Running']:subprocess.run(['docker','stop','--timeout','45','athena-deck-dev'],check=True) + record(phase='drained; old Deck stopped') + # Validate and save through the maintained class, not a hand-written profile JSON patch. + code='''import json,pathlib +from catalog import Catalog +from profiles import Profiles +root=pathlib.Path('/var/lib/deck');store=Profiles(root/'profiles.json',Catalog(root/'models')) +p=next(p for p in store.rows if p['id']=='0c25bfe00240414397c41a980ecbe4f0') +params={**p['parameters'],'chat_runtime':'basalt','context':262144,'slots':2,'gpu_devices':['GPU-8ad38c6c-5a01-9d8e-1dfa-ed662ad78fbe'],'split_mode':'none','tensor_split':[],'load_mode':'none','gpu_offload':'auto','gpu_reserve_mode':'auto','gpu_reserve_mib':{},'vision_projector':'232f7c84e9cec16e19d86171c431f07fc3e9f8a633845bf1f8f5901539903743','vision_device':'GPU-4834d9d7-5b61-3004-1fb3-4ae49d482d4b'} +saved=store.save(dict(id=p['id'],revision=p['revision'],name='Flash Next Basalt',api_id='flash-next-basalt',kind='chat',model_id='88b40b59c99641a51bc87bdab5198c3b8db4832a0325d2fd57c79294a26a236d',parameters=params)) +assert 'flash-next-strata-iq3-dual' in saved['api_aliases'] +actual=next(p for p in json.loads((root/'profiles.json').read_text()) if p['id']==saved['id']);assert actual==saved +endpoint=json.loads((root/'endpoint.json').read_text());assert saved['id'] in endpoint['enabled_profiles'];endpoint['autostart']=True +(root/'endpoint.json').write_text(json.dumps(endpoint)) +print(json.dumps({'profile':saved['name'],'api_id':saved['api_id'],'legacy_alias_kept':True,'slots':saved['parameters']['slots'],'context':saved['parameters']['context']})) +''' + mounts=[];manifest=r['manifest_before'] + for value in [manifest.get('strata_storage'),*manifest.get('strata_storage_mounts',[]),*manifest.get('external_model_roots',[])]: + if not value:continue + path=Path(value);assert path.is_absolute() and path.is_dir() and not {'vpn','vpn.auth','OpenVPN-KIT','GluetunVPN'} & set(path.parts) + mounts+=['--mount','type=bind,src='+str(path)+',dst='+str(path)+',readonly'] + subprocess.run(['docker','run','--rm','--network','none','--read-only','--cap-drop','ALL','--user','65534:65534','-e','NVIDIA_VISIBLE_DEVICES=void','--mount','type=bind,src='+str(STATE)+',dst=/var/lib/deck',*mounts,'--entrypoint','python3',r['image_id'],'-B','-c',code],check=True) + # No other profile or audio policy is rewritten. + now=json.loads((STATE/'profiles.json').read_text()) + assert [p for p in now if p['id']!=TARGET]==[p for p in profiles_before if p['id']!=TARGET] + p=next(p for p in now if p['id']==TARGET);assert p['name']=='Flash Next Basalt' and p['parameters']['context']==262144 + for n in ('audio-policy.json','cpu-partition.json','reasoning-budget.json'):assert digest(STATE/n)==r['settings_before'][n] + for n in r['files']: + target=CANON/n;target.parent.mkdir(parents=True,exist_ok=True);shutil.copy2(ROOT/'image/app'/n,target) + spec=importlib.util.spec_from_file_location('deck_install',CANON/'deploy/install.py');assert spec is not None and spec.loader is not None + installer=importlib.util.module_from_spec(spec);spec.loader.exec_module(installer) + config=dict(r['manifest_before'],image=r['image'],previous_image=r['image_before'],pids_limit=2048) + subprocess.run(['docker','rm','athena-deck-dev'],check=True) + installer.launch(config);installer.ready(config);installer.write_manifest(BASE,config) + live=installed();assert live['Image']==r['image_id'] + record(phase='activated; short text/vision acceptance required',profile_after=p,pids_limit=2048,manifest_image=live['Image']) + print(json.dumps(dict(activated=True,profile=p['name'],api_id=p['api_id'],legacy_alias='flash-next-strata-iq3-dual',slots=2,context_per_slot=262144)),flush=True) + +if __name__=='__main__': + parser=argparse.ArgumentParser();parser.add_argument('operation',choices=('prepare','apply'));parser.add_argument('--go',action='store_true');args=parser.parse_args() + if not args.go:parser.error('Current Michael activation Go required') + prepare() if args.operation=='prepare' else apply() diff --git a/docs/maintenance/basalt-deck-integration/activate_telemetry.py b/docs/maintenance/basalt-deck-integration/activate_telemetry.py new file mode 100644 index 0000000..d66486d --- /dev/null +++ b/docs/maintenance/basalt-deck-integration/activate_telemetry.py @@ -0,0 +1,68 @@ +#!/usr/bin/env python3 +"""Athena host only: exact telemetry overlay, regular GUI drain, no profile edits.""" +import argparse,hashlib,importlib.util,json,shutil,subprocess,time +from pathlib import Path +ROOT=Path('/opt/athena-deck-dev/dashboard-telemetry-activation') +BASE=Path('/opt/athena-deck-dev/runtime');STATE=BASE/'state';SOURCE=Path('/opt/athena-deck-dev/source') +IMAGE='athena-deck-standalone:basalt-telemetry' +FILES=('basalt_worker.py','basalt_serve.py','basalt_telemetry.py','dashboard_data.py','dashboard-ui.js','deploy/install.py') +SETTINGS=('profiles.json','endpoint.json','audio-policy.json','cpu-partition.json','reasoning-budget.json') +def info():return json.loads(subprocess.check_output(['docker','inspect','athena-deck-dev'],text=True))[0] +def sha(p):return hashlib.sha256(p.read_bytes()).hexdigest() if p.is_file() else None +def save(data): + p=ROOT/'activation.json';p.write_text(json.dumps(data,indent=2));p.chmod(0o600);assert json.loads(p.read_text())==data + return data +def installer(): + s=importlib.util.spec_from_file_location('deck_install',SOURCE/'deploy/install.py');assert s and s.loader + m=importlib.util.module_from_spec(s);s.loader.exec_module(m);return m +def healthy(): + end=time.monotonic()+90 + while info()['State'].get('Health',{}).get('Status')=='starting' and time.monotonic()deadline:raise RuntimeError('Upstream mock did not start; inspect own mock-check.log') from None + time.sleep(.1) + assert before['schema_version']==1 and before['backend']=='basalt' and before['available'] + try:request('/telemetry',auth=False);raise AssertionError('Missing auth accepted') + except urllib.error.HTTPError as e:assert e.code==401 + model=request('/v1/models')['data'][0]['id'] + response=request('/v1/chat/completions',dict(model=model,messages=[dict(role='user',content='SYNTHETIC_PRIVATE_MARKER')],max_tokens=16,stream=False)) + after=request('/telemetry');assert after['metrics']['requests_completed_total']==1 + assert after['metrics']['tokens_predicted_total']>0 + text=json.dumps(after);assert 'SYNTHETIC_PRIVATE_MARKER' not in text and key not in text and 'requests' not in after and 'history' not in after + print(json.dumps(dict(real_upstream_mock=True,auth_401=True,existing_chat_route=True,numeric_counters=True,content_free=True,slots=len(after['slots']))),flush=True) +finally: + if process.poll() is None: + os.killpg(process.pid,signal.SIGTERM) + try:process.wait(timeout=5) + except subprocess.TimeoutExpired:os.killpg(process.pid,signal.SIGKILL);process.wait() diff --git a/docs/maintenance/basalt-deck-integration/finish_activation.py b/docs/maintenance/basalt-deck-integration/finish_activation.py new file mode 100644 index 0000000..719f0c5 --- /dev/null +++ b/docs/maintenance/basalt-deck-integration/finish_activation.py @@ -0,0 +1,37 @@ +#!/usr/bin/env python3 +"""Athena host: correct owned overlay directory modes, constructor-test, finish activation.""" +import importlib.util +import json +from pathlib import Path +import subprocess +import time +ROOT=Path('/opt/athena-deck-dev/basalt-deck-activation') +BASE=Path('/opt/athena-deck-dev/runtime') +CANON=Path('/opt/athena-deck-dev/source') +r=json.loads((ROOT/'activation.json').read_text()) +d=json.loads(subprocess.check_output(['docker','inspect','athena-deck-dev'],text=True))[0] +assert d['Image']==r['image_id'] and (d['State']['Health']['Status']=='unhealthy' or not d['State']['Running']) +subprocess.run(['docker','stop','--timeout','10','athena-deck-dev'],check=True) +assert subprocess.check_output(['docker','image','inspect','--format','{{.Id}}',r['image_before']],text=True).strip()==r['image_id_before'] +(ROOT/'image/Dockerfile').write_text('FROM '+r['image_before']+'\nUSER root\nCOPY app/ /app/\nUSER 65534:65534\n') +with (ROOT/'image-repair.log').open('w') as out:subprocess.run(['docker','build','--network','none','--pull=false','-t',r['image'],ROOT/'image'],stdout=out,stderr=subprocess.STDOUT,check=True,timeout=180) +image_id=subprocess.check_output(['docker','image','inspect','--format','{{.Id}}',r['image']],text=True).strip() +probe='''from pathlib import Path +import tempfile +from server import Server +with tempfile.TemporaryDirectory() as tmp: + s=Server(0,state_dir=Path(tmp)) + s.endpoint.close();s.video.close();s.dashboard.close();s.server_close() +print('Full isolated Server constructor passed; no model or production state') +''' +subprocess.run(['docker','run','--rm','--network','none','--read-only','--user','65534:65534','--memory','512m','--pids-limit','256','--cap-drop','ALL','-e','NVIDIA_VISIBLE_DEVICES=void','-e','DECK_REQUIRE_SETUP=0','-e','DECK_NETWORK_MODE=disabled','-e','TMPDIR=/test-tmp','--mount','type=bind,src='+str(BASE/'state/basalt-runtime/tmp')+',dst=/test-tmp','--entrypoint','python3',image_id,'-B','-c',probe],check=True,timeout=45) +spec=importlib.util.spec_from_file_location('deck_install',CANON/'deploy/install.py');assert spec and spec.loader +installer=importlib.util.module_from_spec(spec);spec.loader.exec_module(installer) +config=dict(r['manifest_before'],image=r['image'],previous_image=r['image_before'],pids_limit=2048) +subprocess.run(['docker','rm','athena-deck-dev'],check=True) +installer.launch(config);installer.ready(config);installer.write_manifest(BASE,config) +a=json.loads(subprocess.check_output(['docker','inspect','athena-deck-dev'],text=True))[0];assert a['Image']==image_id and a['State']['Running'] +p=next(p for p in json.loads((BASE/'state/profiles.json').read_text()) if p['id']=='0c25bfe00240414397c41a980ecbe4f0') +r.update(phase='activated; short text/vision acceptance required',image_id=image_id,profile_after=p,pids_limit=2048,updated_at=time.time(),directory_modes_corrected=True,full_constructor_verified=True) +p=ROOT/'activation.json';p.write_text(json.dumps(r,indent=2));assert json.loads(p.read_text())==r +print(json.dumps(dict(activated=True,image_id=image_id,profile='Flash Next Basalt',slots=2,context_per_slot=262144))) diff --git a/docs/maintenance/basalt-deck-integration/prepare_activation.py b/docs/maintenance/basalt-deck-integration/prepare_activation.py new file mode 100644 index 0000000..5c4b9e3 --- /dev/null +++ b/docs/maintenance/basalt-deck-integration/prepare_activation.py @@ -0,0 +1,86 @@ +#!/usr/bin/env python3 +"""Athena host only: owned runtime adoption + GPU-less SM86/120 vision build. +No service/model stop, no production source replacement, no inference. +""" +import argparse +import hashlib +import json +import os +from pathlib import Path +import shutil +import subprocess +import time + +BASE=Path('/opt/athena-deck-dev/runtime') +STATE=BASE/'state' +CAND=Path('/opt/athena-deck-dev/basalt-candidate-9175e7a3211b') +ROOT=Path('/opt/athena-deck-dev/basalt-deck-activation') +DEST=STATE/'basalt-runtime' +VIEW=Path('/var/lib/deck/basalt-runtime') +BLOCK={'vpn','vpn.auth','OpenVPN-KIT','GluetunVPN'} + +def digest(path): + with Path(path).open('rb') as f:return hashlib.file_digest(f,'sha256').hexdigest() + +def ignored(directory,names):return [n for n in names if n in BLOCK or n in ('__pycache__','.pytest_cache')] + +def chown_tree(root): + for directory,dirs,files in os.walk(root,followlinks=False): + dirs[:]=[n for n in dirs if n not in BLOCK] + os.chown(directory,65534,65534) + for name in files: + if name not in BLOCK:os.chown(Path(directory)/name,65534,65534,follow_symlinks=False) + +def save(phase,**values): + path=ROOT/'preparation.json';data=json.loads(path.read_text()) if path.exists() else {} + data.update(phase=phase,updated_at=time.time(),**values);path.write_text(json.dumps(data,indent=2));print(json.dumps(dict(phase=phase,**values)),flush=True) + +def main(): + recipe=json.loads((ROOT/'basalt_sources.json').read_text());pin=recipe['model'] + assert not DEST.exists(),'Existing managed runtime: inspect instead of repeating' + assert shutil.disk_usage(STATE).free>15*1024**3 + git=['git','-c','safe.directory='+str(CAND/'source'),'-C',str(CAND/'source')] + assert subprocess.check_output(git+['rev-parse','HEAD'],text=True).strip()==recipe['code'] + assert not subprocess.check_output(git+['status','--porcelain','--untracked-files=no'],text=True).strip() + info=json.loads(subprocess.check_output(['docker','inspect','athena-deck-dev'],text=True))[0] + save('copy managed public runtime; original worker stays loaded',image_before=info['Image'],started_before=info['State']['StartedAt']) + shutil.copytree(CAND/'source',DEST/'source',symlinks=True,ignore=ignored) + shutil.copytree(CAND/'venv',DEST/'venv',symlinks=True,ignore=ignored) + shutil.copytree(STATE/'strata-runtime/cuda',DEST/'cuda',symlinks=True,ignore=ignored) + # Relocate text launchers only. No candidate file is changed. + for p in (DEST/'venv/bin').iterdir(): + if p.name in BLOCK or p.is_symlink() or not p.is_file():continue + with p.open('rb') as f:first=f.read(2) + if first==b'#!': + data=p.read_bytes().replace(str(CAND/'venv').encode(),str(VIEW/'venv').encode());p.write_bytes(data) + for name in ('tmp','home','cache'):(DEST/name).mkdir(exist_ok=True) + chown_tree(DEST) + source=CAND/'models'/pin['file'];ident=hashlib.sha256((pin['repo']+pin['revision']+pin['file']).encode()).hexdigest();target=STATE/'models'/ident + assert source.stat().st_size==pin['size'] and source.stat().st_uid==65534 + assert source.stat().st_dev==(STATE/'models').stat().st_dev,'No cross-filesystem copy or silent slower-disk adoption' + save('verify existing whole model pack; no download or duplicate',model_id=ident) + assert digest(source)==pin['sha256'] + target.mkdir(mode=0o700);os.chown(target,65534,65534);os.link(source,target/'model.basalt') + entry=dict(pin,kind='chat',downloaded_at=time.time(),state='downloaded',runtime_ready=False,upstream_hash_verified=True,runtime_metadata={}) + path=target/'entry.json';path.write_text(json.dumps(entry));os.chown(path,65534,65534) + assert (target/'model.basalt').stat().st_ino==source.stat().st_ino + save('compile independent SM86/120 vision sidecar; no GPU attached',model_id=ident) + v=str(VIEW);cmake=v+'/venv/bin/cmake';nvcc=v+'/cuda/bin/nvcc';ninja=v+'/venv/bin/ninja' + configure=[cmake,'-S',v+'/source/tools/vision','-B',v+'/build-vision','-G','Ninja','-DCMAKE_BUILD_TYPE=Release','-DBUILD_TESTING=OFF','-DCMAKE_CUDA_ARCHITECTURES=86;120','-DCMAKE_CUDA_COMPILER='+nvcc,'-DCUDAToolkit_ROOT='+v+'/cuda','-DCMAKE_MAKE_PROGRAM='+ninja] + build=[cmake,'--build',v+'/build-vision','--target','basalt-vision','--parallel','1'] + import shlex + script='set -e; '+shlex.join(configure)+'; '+shlex.join(build)+'; '+shlex.join([v+'/venv/bin/python','-m','pip','check'])+'; '+shlex.join([v+'/venv/bin/python','-m','serve.server','--help']) + command=['docker','run','--rm','--name','athena-basalt-vision-build','--network','none','--read-only','--cap-drop','ALL','--security-opt','no-new-privileges:true','--user','65534:65534','--cpus','1','--cpu-shares','2','--memory','3g','--memory-swap','3g','--pids-limit','256','-e','NVIDIA_VISIBLE_DEVICES=void','-e','CUDA_VISIBLE_DEVICES=','-e','HOME='+v+'/home','-e','TMPDIR='+v+'/tmp','-e','LD_LIBRARY_PATH='+v+'/cuda/lib64:'+v+'/cuda/lib','--mount','type=bind,src='+str(DEST)+',dst='+v,'--mount','type=bind,src='+str(DEST/'tmp')+',dst=/tmp','--workdir',v+'/source','--entrypoint','nice',info['Image'],'-n','19','sh','-c',script] + with (ROOT/'vision-build.log').open('w') as out:subprocess.run(command,stdout=out,stderr=subprocess.STDOUT,check=True,timeout=1200) + cache=(DEST/'build-vision/CMakeCache.txt').read_text();assert 'CMAKE_CUDA_ARCHITECTURES:UNINITIALIZED=86;120' in cache + assert (DEST/'source/bin/basalt-vision').is_file() + marker=dict(commit=recipe['code'],version=recipe['version'],cuda='13.0',architectures=[120],vision_architectures=[86,120],origin='verified-candidate-adoption-plus-separate-vision-build',python='3.12.3',binary_sha256=digest(DEST/'source/bin/basalt'),vision_sha256=digest(DEST/'source/bin/basalt-vision'),inference_performed=False) + path=DEST/'ready.json';path.write_text(json.dumps(marker,indent=2));os.chown(path,65534,65534) + after=json.loads(subprocess.check_output(['docker','inspect','athena-deck-dev'],text=True))[0] + assert after['Image']==info['Image'] and after['State']['StartedAt']==info['State']['StartedAt'] + save('prepared; original production unchanged',model_id=ident,vision_architectures=[86,120],managed_runtime=str(DEST),whole_model_sha256_verified=True,shared_inode=True) + +if __name__=='__main__': + parser=argparse.ArgumentParser();parser.add_argument('--go',action='store_true');args=parser.parse_args() + if not args.go:parser.error('Current Michael activation Go required') + main() diff --git a/docs/maintenance/basalt-deck-integration/short_acceptance.py b/docs/maintenance/basalt-deck-integration/short_acceptance.py new file mode 100644 index 0000000..a1c28d8 --- /dev/null +++ b/docs/maintenance/basalt-deck-integration/short_acceptance.py @@ -0,0 +1,63 @@ +#!/usr/bin/env python3 +"""NAS/Hermes Python: four bounded synthetic acceptance requests, own managed key.""" +import concurrent.futures +import importlib.util +import json +from pathlib import Path +import struct +import time +import urllib.error +import urllib.request +import zlib +import base64 + +ROOT=Path(__file__).resolve().parent +spec=importlib.util.spec_from_file_location('athena_profile_transport',ROOT.parent/'basalt-candidate-2026-11-01/paired_transport.py');assert spec and spec.loader +transport=importlib.util.module_from_spec(spec);spec.loader.exec_module(transport) +KEY=transport.key() +BASE='http://192.168.1.212:8120' +MODEL='flash-next-basalt' +START=time.monotonic() + +def get(path): + req=urllib.request.Request(BASE+path,headers={'Authorization':'Bearer '+KEY}) + with urllib.request.urlopen(req,timeout=15) as r:return json.load(r) + +def chat(messages,tokens=40,model=MODEL): + assert time.monotonic()-START<600,'Short acceptance budget exhausted' + body=dict(model=model,messages=messages,max_tokens=tokens,temperature=0,chat_template_kwargs={'enable_thinking':False}) + req=urllib.request.Request(BASE+'/v1/chat/completions',data=json.dumps(body).encode(),headers={'Authorization':'Bearer '+KEY,'Content-Type':'application/json'}) + t=time.monotonic() + try: + with urllib.request.urlopen(req,timeout=240) as r:out=json.load(r) + except urllib.error.HTTPError as exc: + data=exc.read(8192).decode();raise RuntimeError('HTTP '+str(exc.code)+': '+data) from None + text=out['choices'][0]['message'].get('content') or '' + return dict(content=text,seconds=round(time.monotonic()-t,3),usage=out.get('usage'),timings=out.get('timings')) + +def main(): + models=get('/v1/models')['data'];row=next(m for m in models if m['id']==MODEL) + assert row['name']=='Flash Next Basalt' and row['parallel_slots']==2 and row['context_window']==262144 and row['context_scope']=='per_slot',row + print(json.dumps(dict(stage='advertised',profile=row['name'],api_id=row['id'],slots=row['parallel_slots'],context_per_slot=row['context_window'])),flush=True) + warm=chat([dict(role='user',content='Antworte nur mit dem Wort BEREIT.')]);assert 'BEREIT' in warm['content'].upper(),warm + print(json.dumps(dict(stage='model loaded and text passed',seconds=warm['seconds'],content=warm['content'])),flush=True) + props=get('/props?model='+MODEL) + assert props['total_slots']==2 and props['default_generation_settings']['n_ctx']==262144 and props['modalities']['vision'] is True,props + def one(marker): + result=chat([dict(role='user',content='Schreibe ausschließlich diese Kennung: '+marker)]) + assert marker in result['content'],result + return result + with concurrent.futures.ThreadPoolExecutor(max_workers=2) as pool:pair=list(pool.map(one,('BASALT_LINKS_7421','BASALT_RECHTS_8293'))) + print(json.dumps(dict(stage='parallel pair passed',answers=[r['content'] for r in pair])),flush=True) + def chunk(name,payload):return struct.pack('>I',len(payload))+name+payload+struct.pack('>I',zlib.crc32(name+payload)&0xffffffff) + size=128;raw=(b'\0'+bytes((255,0,0))*size)*size + image=b'\x89PNG\r\n\x1a\n'+chunk(b'IHDR',struct.pack('>IIBBBBB',size,size,8,2,0,0,0))+chunk(b'IDAT',zlib.compress(raw))+chunk(b'IEND',b'') + uri='data:image/png;base64,'+base64.b64encode(image).decode() + vision=chat([dict(role='user',content=[dict(type='text',text='Welche Farbe hat dieses Bild? Antworte auf Deutsch mit genau einem Farbwort.'),dict(type='image_url',image_url={'url':uri})])],24) + assert 'rot' in vision['content'].lower(),vision + print(json.dumps(dict(stage='vision passed',answer=vision['content'],seconds=vision['seconds'])),flush=True) + legacy=get('/props?model=flash-next-strata-iq3-dual');assert legacy['total_slots']==2 and legacy['modalities']['vision'] is True + result=dict(profile='Flash Next Basalt',api_id=MODEL,legacy_alias='flash-next-strata-iq3-dual',slots=2,context_per_slot=262144,vision=True,warm=warm,parallel=pair,vision_result=vision,elapsed_seconds=round(time.monotonic()-START,3),scope='Four short synthetic requests, not a benchmark or full-context fill') + out=Path('/opt/data/profiles/athena-deck/cache/scratch/basalt-live-acceptance.json');out.write_text(json.dumps(result,indent=2));print('Acceptance evidence: '+str(out),flush=True) + +if __name__=='__main__':main() diff --git a/docs/maintenance/git-publication-basalt-speech.md b/docs/maintenance/git-publication-basalt-speech.md new file mode 100644 index 0000000..11f46e8 --- /dev/null +++ b/docs/maintenance/git-publication-basalt-speech.md @@ -0,0 +1,68 @@ +# Git publication: Basalt, GPU speech and shared Qwen owner + +## Scope + +Michael requested publication of the accumulated Athena Deck working tree on +3 November 2026. The reviewed starting set contains 40 modified tracked files +and 131 new files. Publish the coupled integration together: the server, +profile/backup schemas and scheduler changes depend on the new runtime and +speech modules. This record is additional to that starting set. + +The change set includes: + +- Pinned Basalt runtime/model recipe, native build instructions, optional + separate vision worker, profile selection and backup/restore integration. +- Numeric, content-free Basalt dashboard/Pulse telemetry, slots and counters. +- Explicit Qwen-ASR GPU selection and scheduler admission, with the corrected + model-vocabulary prefix; existing CPU behavior remains available. +- Anna preset binding to the existing private reference and shared Qwen + TTS/atelier ownership, queue admission, cancellation and residency handling. +- Strata 0.2.9 recipe, controlled historical candidate/comparison evidence, + activation/restoration procedures, regression tests and current-system docs. + +Historical maintenance clients are execution-environment-specific. Their +presence in Git is not permission to rerun a historical activation, model +comparison, unloading operation or restoration. They retain their original +explicit-Go and bounded-maintenance-window requirements. + +## Publication checks actually performed + +- Fetched `origin/main` before review; initial local and remote-tracking heads + agree at `4e404d0`. +- Full local synthetic suite: **784 tests passed**, 108.958 seconds, using the + existing own `$TMPDIR/shared-qwen-tests/bin/python` environment. No production + model inference or live management write was performed for publication. +- Python AST parsing: **94** changed/new Python files passed. +- JSON parsing: **44** changed/new JSON files passed. +- `node --check`: all **8** changed JavaScript files passed. +- `git diff --check` passed before documentation changes; repeat against the + final staged set before committing. +- Examined all 171 starting paths for private-key blocks, common provider keys, + literal credentials and bearer/CLI secrets. Additional JSON credential-field + and CLI-argument traversal covered 38,494 nodes. The only textual credential + hits are the explicit `synthetic-service-secret` fixture; the JSON `token` + field is a GPU device UUID. No detected live access credential is published. +- Only ordinary UTF-8 source, recipes, documentation and historical test + evidence occur in the starting set. No model weights, voice references, + runtime environments or private state archives are included. Candidate + full-context inputs are generated synthetic archives, not production chats. +- No forbidden VPN file, configuration or VPN container was accessed. The + inspection uses the explicit Git status paths, not a host-wide inventory. + +The detailed publication inventory, source hashes and current test log remain +in the specialist's own workspace report directory, outside the repository. +No secret-bearing operator backup was created. + +## Unchanged limitations + +Publication is not deployment and supplies no new activation permission. +Existing live-activation claims belong to their individual maintenance records; +this publication reruns only local synthetic regressions and syntax checks. + +See [the shared Qwen record](shared-qwen/README.md) for the still-pending real +Anna → atelier → Anna GPU acceptance, and +[the Basalt native recipe](../../deploy/BASALT_NATIVE.md) for installation and +restore requirements. Fresh-Debian native end-to-end installation and complete +encrypted fresh-host restore remain unverified. The 3060-only coexistence +investigation and the requested Hermes vision-tool rollout are separate tasks; +this commit does not claim they have been completed. diff --git a/docs/maintenance/qwen-anna-existing-gpu/README.md b/docs/maintenance/qwen-anna-existing-gpu/README.md new file mode 100644 index 0000000..cd4be17 --- /dev/null +++ b/docs/maintenance/qwen-anna-existing-gpu/README.md @@ -0,0 +1,49 @@ +# TTS-Korrektur und aktuelle Endpunktabnahme + +## Tatsächlich produktiv geprüft + +- Vorhandene Qwen3-TTS-12Hz-1.7B-Base-Gewichte und faster-qwen3-tts 0.3.0 + weiterverwendet, private Anna-Referenz lokal eingebunden; kein neuer Dienst. +- Profil `Qwen 1.7B Anna GPU 3060`, API-ID `qwen-anna-gpu-3060`, + Profil-ID `5b67537ab825493786861b278ae26cbe`, `tts_voice=Anna`, `speed=1`. +- Nach Michaels Endpunktauftrag ausschließlich dieses TTS-Profil freigegeben; + Kikiri Anna CPU deaktiviert, nicht gelöscht. CPU-Qwen-Profile erhalten. +- RAM-Korrektur nach neuem ausdrücklichem Go und normalem GUI-Drain aktiviert. + Der anfängliche Health-Check wartete fälschlich nicht auf Dockers `starting`; + danach tatsächliches `healthy`, App-/Quellhash und unveränderte gespeicherte + Profile sowie Endpoint-, Audio-, CPU- und Reasoning-Einstellungen bestätigt. +- Laufendes Image: `athena-deck-standalone:qwen-tts-ram-fix`. + +## RAM-Zulassung + +45 gezielte Tests bestanden, darunter zuvor rote Tests für residenten Betrieb, +Kaltstart, Vorladen, zu wenig RAM, Reservierungsfreigabe und fehlende Gewichte. +Kaltstartbedarf: Dateigröße plus 1 GiB Policy-Reserve, hier 4,592 GiB. +Residenter Betrieb: 0,5 GiB Policy-Reserve. Keine Hersteller- oder vermessenen +RSS-Mindestwerte. VRAM-/Scheduler-Schutz unverändert. + +**Echte geschützte `/v1/audio/speech`-Aufrufe, nicht nur direkter Worker:** + +| Modellname im Request | Ergebnis | Audiodauer | HTTP-Gesamtzeit | +|---|---|---:|---:| +| `qwen-anna-gpu-3060`, `voice=default` | HTTP 200, 24-kHz-Mono-WAV | 3,84 s | 14,65 s | +| `tts`, Stimme aus Profil | HTTP 200, 24-kHz-Mono-WAV | 4,72 s | 3,63 s | + +Diese zwei Aufrufe sind eine Funktionsabnahme, kein neuer Geschwindigkeits- +benchmark. Separater Warm-Streaming-Test: [REALTIME_RESULTS.md](REALTIME_RESULTS.md). +Basalt anschließend geladen und mit kurzer BEREIT-Probe bestätigt. Beobachtet: +Basalt-Vision auf 3060, TTS-Python auf 3060 (4596 MiB), Basalt auf 5080. + +## Aufräumen + +Die fünf ausschließlich für den verworfenen Q8-GPU-Umbau angelegten lokalen +Code-/Lock-Dateien entfernt. Die zusätzliche, unbenutzte CUDA-Umgebung unter +`qwen-native-runtime/gpu` samt eigener Installerkopie entfernt. Vorhandene +CPU-Laufzeit-ID `47e0dc1973604351872f74263f7e191e` unverändert geprüft. +Keine fremden Git-Änderungen, Modelle oder privaten Stimmen gelöscht. + +## Noch nicht abgeschlossen + +Das anschließend beauftragte Dashboard-/Athena-Pulse-Telemetrieupdate ist eine +separate Entwicklung. Native vollständige Fresh-Host-/Restore-Abnahme und +Mac-Client-Endabnahme sind durch diese TTS-API-Prüfung nicht erbracht. diff --git a/docs/maintenance/qwen-anna-existing-gpu/REALTIME_RESULTS.md b/docs/maintenance/qwen-anna-existing-gpu/REALTIME_RESULTS.md new file mode 100644 index 0000000..5207b3c --- /dev/null +++ b/docs/maintenance/qwen-anna-existing-gpu/REALTIME_RESULTS.md @@ -0,0 +1,33 @@ +# Kurzer Echtzeittest · Qwen 1.7B / eigene Anna / RTX 3060 + +Zwei aufeinanderfolgende synthetische Streaming-Durchläufe mit demselben bereits +residenten Worker der produktiv vorhandenen faster-qwen3-tts-0.3.0-Laufzeit. +Keine Installation, kein Neustart, keine Änderung der Standardstimme oder +Endpunktfreigabe. Basalt auf 5080 und sein Vision-Sidecar auf 3060 blieben geladen. + +| Lauf | Audio | Erzeugung | Erster PCM-Block | Echtzeitfaktor Audio/Erzeugung | +|---|---:|---:|---:|---:| +| 1 | 10,16 s | 6,18 s | 0,283 s | 1,65× | +| 2 | 13,52 s | 7,42 s | 0,223 s | 1,82× | + +Zusammen 23,68 s Audio in 13,593728 s Erzeugungszeit: 1,74198× Echtzeit, +RTF 0,57406. Beide warmen Läufe schneller als Echtzeit. +Das separate anfängliche Laden dauerte 19,35712 s und ist nicht in diesen +warmen Zahlen enthalten. Der Kaltstart ist somit nicht sofort sprechbereit. + +Die Messung beobachtet den existierenden Worker direkt und die atomar +veröffentlichten PCM-Dateien mit 10-ms-Polling. Sie misst keine HTTP-/Netzwerk- +oder Playerlatenz und ist kein Langzeit-, Parallelitäts- oder Qualitätsbenchmark. +Harness: `realtime.py`, Ausführung in Deck mit Python 3.12; Modellprozess nutzt +unverändert die vorhandene GPU-Python-Umgebung. Kein neuer Dienst. + +Private Rohdaten auf Athena: +`/opt/athena-deck-dev/runtime/state/tts-tests/anna-gpu-realtime.json`. +Job-IDs: `791a6207ef4a45f88b5bb5f8a13d2075`, +`8cd0bdffed0a42228c7a464a2b2e9cf9`. +Keine Audio-/Referenzdaten in Git. + +Nach dem Test: ausschließlich Basalt-Vision auf 3060 (1702 MiB) und Basalt auf +5080 (15264 MiB) beobachtet; der eigene Testworker beendet. +Endpoint-, Audio-Policy-, CPU-Partition- und Reasoning-Einstellungen stimmen +bytegenau mit dem gesicherten Stand vor der Anna-Aktivierung überein. diff --git a/docs/maintenance/qwen-anna-existing-gpu/activate.py b/docs/maintenance/qwen-anna-existing-gpu/activate.py new file mode 100644 index 0000000..3304b86 --- /dev/null +++ b/docs/maintenance/qwen-anna-existing-gpu/activate.py @@ -0,0 +1,81 @@ +#!/usr/bin/env python3 +"""Athena-host scoped image overlay; explicit Go and regular fresh GUI drain required.""" +import argparse,hashlib,importlib.util,json,shutil,subprocess,time +from pathlib import Path +ROOT=Path('/opt/athena-deck-dev/qwen-anna-gpu-activation');BASE=Path('/opt/athena-deck-dev/runtime');STATE=BASE/'state';CANON=Path('/opt/athena-deck-dev/source') +FILES=['tts_worker.py','tts_runtime.py','tts_test.py','profiles.py','backup.py','endpoint.py','profiles-ui.js','tts-ui.js'] +IMAGE='athena-deck-standalone:qwen-anna-existing-gpu' +SETTINGS=['profiles.json','endpoint.json','audio-policy.json','cpu-partition.json','reasoning-budget.json'] +def inspect():return json.loads(subprocess.check_output(['docker','inspect','athena-deck-dev'],text=True))[0] +def digest(path):return hashlib.sha256(path.read_bytes()).hexdigest() +def run(args,**kwargs):return subprocess.run(list(map(str,args)),check=True,**kwargs) +def mounts(config): + out=['--mount','type=bind,src='+str(STATE)+',dst=/var/lib/deck'] + for p in dict.fromkeys([config.get('strata_storage'),*config.get('strata_storage_mounts',[]),*config.get('external_model_roots',[])]): + if not p:continue + path=Path(p);assert path.is_absolute() and path.is_dir() and not {'vpn','vpn.auth','OpenVPN-KIT','GluetunVPN'}&set(path.parts) + out+=['--mount','type=bind,src='+p+',dst='+p+',readonly'] + return out + +def prepare(): + info=inspect();config=json.loads((BASE/'installation.json').read_text());app=ROOT/'image/app';assert all((app/n).is_file() for n in FILES) + tag=info['Config']['Image'];assert subprocess.check_output(['docker','image','inspect','--format','{{.Id}}',tag],text=True).strip()==info['Image'] + (ROOT/'image/Dockerfile').write_text('FROM '+tag+'\nUSER root\nCOPY app/ /app/\nUSER 65534:65534\n') + with (ROOT/'build.log').open('w') as f:run(['docker','build','--network','none','--pull=false','-t',IMAGE,ROOT/'image'],stdout=f,stderr=subprocess.STDOUT,timeout=180) + tmp=ROOT/'test-tmp';tmp.mkdir(exist_ok=True);tmp.chmod(0o777) + probe='from server import Server;from pathlib import Path;import tempfile\nwith tempfile.TemporaryDirectory() as d:\n s=Server(0,state_dir=Path(d));s.endpoint.close();s.video.close();s.dashboard.close();s.server_close()\nprint("Full isolated Server constructor passed")' + run(['docker','run','--rm','--network','none','--read-only','--user','65534:65534','--memory','512m','--pids-limit','256','--cap-drop','ALL','-e','NVIDIA_VISIBLE_DEVICES=void','-e','DECK_REQUIRE_SETUP=0','-e','DECK_NETWORK_MODE=disabled','-e','TMPDIR=/test-tmp','--mount','type=bind,src='+str(tmp)+',dst=/test-tmp','--entrypoint','python3',IMAGE,'-B','-c',probe],timeout=45) + before=ROOT/'source-before';before.mkdir(exist_ok=True) + for n in FILES:shutil.copy2(CANON/n,before/n) + data=dict(phase='prepared',image_before=tag,image_id_before=info['Image'],started_before=info['State']['StartedAt'],config=config,baseline={n:digest(CANON/n) for n in FILES},settings={n:(STATE/n).read_text() for n in SETTINGS}) + path=ROOT/'activation.json';path.write_text(json.dumps(data,indent=2));path.chmod(0o600) + assert inspect()['Image']==info['Image'] and inspect()['State']['StartedAt']==info['State']['StartedAt'];print('Image and full constructor prepared; production unchanged',flush=True) + +def apply(): + data=json.loads((ROOT/'activation.json').read_text());assert data['phase']=='prepared' + d=json.loads((ROOT/'drained.json').read_text());assert time.time()-d['checked_at']<60 and d['state']=='stopped' and type(d['active_requests']) is int and d['active_requests']==0 + assert all(type(d['scheduler'][k]) is int and d['scheduler'][k]==0 for k in ('active_requests','waiting_requests','tts_waiting_requests')) and d['scheduler']['switching'] is False + assert inspect()['Image']==data['image_id_before'];assert all(digest(CANON/n)==h for n,h in data['baseline'].items()) + assert all((STATE/n).read_text()==text for n,text in data['settings'].items() if n!='endpoint.json') + old_profiles=json.loads(data['settings']['profiles.json']);old_endpoint=json.loads(data['settings']['endpoint.json']);assert old_endpoint['autostart'] is True + run(['docker','stop','--timeout','45','athena-deck-dev']);activated=False + try: + assert not subprocess.check_output(['nvidia-smi','--query-compute-apps=pid','--format=csv,noheader,nounits'],text=True).strip() + code="""from pathlib import Path +from catalog import Catalog +from profiles import Profiles +r=Path('/var/lib/deck');s=Profiles(r/'profiles.json',Catalog(r/'models'));old=next(p for p in s.rows if p['id']=='16387088f1ac4a5bae8ca037932f9f58') +assert not any(p.get('api_id')=='qwen-anna-gpu-3060' for p in s.rows) +p=s.save(dict(id=None,revision=0,name='Qwen 1.7B Anna GPU 3060',api_id='qwen-anna-gpu-3060',kind='audio',model_id=old['model_id'],parameters={'speed':1,'tts_voice':'Anna'}));print('Saved Anna profile '+p['id']) +""" + common=['docker','run','--rm','--network','none','--user','65534:65534','--cap-drop','ALL',*mounts(data['config'])] + run([*common,'-e','NVIDIA_VISIBLE_DEVICES=void','--entrypoint','python3',IMAGE,'-B','-c',code],timeout=30) + run([*common,'--gpus','device=GPU-4834d9d7-5b61-3004-1fb3-4ae49d482d4b','--memory','12g','--pids-limit','1024','-e','NVIDIA_DRIVER_CAPABILITIES=compute,utility','--mount','type=bind,src='+str(ROOT/'scripts')+',dst=/accept,readonly','--entrypoint','python3',IMAGE,'-B','/accept/check.py'],timeout=240) + now=json.loads((STATE/'profiles.json').read_text());extra=[p for p in now if p.get('api_id')=='qwen-anna-gpu-3060'];assert len(extra)==1 + assert [p for p in now if p['id']!=extra[0]['id']]==old_profiles + assert all((STATE/n).read_text()==data['settings'][n] for n in SETTINGS if n not in ('profiles.json','endpoint.json')) + # Restore the original endpoint publication/autostart exactly; no default voice change. + (STATE/'endpoint.json').write_text(data['settings']['endpoint.json']) + for n in FILES:shutil.copy2(ROOT/'image/app'/n,CANON/n) + spec=importlib.util.spec_from_file_location('deck_install',CANON/'deploy/install.py');installer=importlib.util.module_from_spec(spec);spec.loader.exec_module(installer) + config=dict(data['config'],image=IMAGE,previous_image=data['image_before']) + run(['docker','rm','athena-deck-dev']);installer.launch(config);installer.ready(config);installer.write_manifest(BASE,config) + activated=True;data.update(phase='activated and GPU tested; restore chat model',profile=extra[0],finished_at=time.time());(ROOT/'activation.json').write_text(json.dumps(data,indent=2));print(json.dumps(dict(activated=True,profile=extra[0]['name'],api_id=extra[0]['api_id'],standard_voice_unchanged=True)),flush=True) + finally: + if not activated: + current=json.loads((STATE/'profiles.json').read_text());assert [p for p in current if p.get('api_id')!='qwen-anna-gpu-3060']==old_profiles + (STATE/'profiles.json').write_text(data['settings']['profiles.json']);(STATE/'endpoint.json').write_text(data['settings']['endpoint.json']) + # Before image replacement the original stopped container is retained. + for n in FILES:shutil.copy2(ROOT/'source-before'/n,CANON/n) + try:live=inspect() + except subprocess.CalledProcessError:live=None + if live is None: + spec=importlib.util.spec_from_file_location('deck_restore',CANON/'deploy/install.py');assert spec and spec.loader + installer=importlib.util.module_from_spec(spec);spec.loader.exec_module(installer) + installer.launch(data['config']);installer.ready(data['config']);installer.write_manifest(BASE,data['config']) + elif not live['State']['Running']:run(['docker','start','athena-deck-dev']) + print('Activation failed; original settings/container restored. Verify health.',flush=True) + +if __name__=='__main__': + p=argparse.ArgumentParser();p.add_argument('operation',choices=['prepare','apply']);p.add_argument('--go',action='store_true');a=p.parse_args();assert a.go,'Current explicit Michael Go required' + prepare() if a.operation=='prepare' else apply() diff --git a/docs/maintenance/qwen-anna-existing-gpu/check.py b/docs/maintenance/qwen-anna-existing-gpu/check.py new file mode 100644 index 0000000..86ba171 --- /dev/null +++ b/docs/maintenance/qwen-anna-existing-gpu/check.py @@ -0,0 +1,35 @@ +#!/usr/bin/env python3 +"""Short real Anna test, using only the existing GPU environment and model.""" +import json,sys,time,wave,subprocess,struct,math +from pathlib import Path +sys.path.insert(0,'/app') +from catalog import Catalog +from profiles import Profiles +from tts_runtime import TTSRuntime +from tts_test import TTSTests +root=Path('/var/lib/deck');profiles=Profiles(root/'profiles.json',Catalog(root/'models'));runtime=TTSRuntime(root/'tts-runtime') +worker=TTSTests(root/'tts-tests',profiles,runtime);profiles.tts_blockers=worker.blockers;worker.policy='per_request' +# No HTTP listener or second service: the authenticated production endpoint must +# have been normally drained before this isolated, bounded acceptance is invoked. +p=next(p for p in profiles.rows if p['api_id']=='qwen-anna-gpu-3060') +t=time.monotonic();gpu_seen=False;peak=0 +try: + job=worker.start(p['id'],'Hallo Michael. Hier spricht Anna auf deiner Athena.',streaming=True) + while worker.job_status(job['id'])['state']=='running': + if time.monotonic()-t>180:raise TimeoutError('Anna short acceptance exceeded 180 seconds') + rows=subprocess.check_output(['nvidia-smi','--query-compute-apps=gpu_uuid,used_gpu_memory','--format=csv,noheader,nounits'],text=True) + for line in rows.splitlines(): + gpu,memory=map(str.strip,line.split(',')) + if gpu=='GPU-4834d9d7-5b61-3004-1fb3-4ae49d482d4b':gpu_seen=True;peak=max(peak,int(memory)) + time.sleep(.2) + result=worker.job_status(job['id']);assert result['state']=='complete',result + path=root/'tts-tests'/job['id']/'result.wav' + with wave.open(str(path)) as f: + assert f.getframerate()==24000 and f.getnchannels()==1 and f.getsampwidth()==2 + pcm=f.readframes(f.getnframes());frames=f.getnframes() + rms=math.sqrt(sum(n[0]*n[0] for n in struct.iter_unpack('1 + assert gpu_seen and peak>1024 + chunks=list((path.parent).glob('chunk-*.pcm'));assert chunks + out=dict(ok=True,profile=p['name'],api_id=p['api_id'],profile_id=p['id'],voice=p['parameters']['tts_voice'],model='Qwen3-TTS-12Hz-1.7B-Base',gpu='RTX 3060',gpu_observed=True,peak_mib=peak,job_id=job['id'],duration=frames/24000,rms=rms,seconds=time.monotonic()-t,first_chunk_seconds=result.get('first_chunk_seconds'),chunks=len(chunks),wav=str(path)) + (root/'tts-tests'/'anna-gpu-acceptance.json').write_text(json.dumps(out,indent=2));print(json.dumps(out),flush=True) +finally:worker.stop() diff --git a/docs/maintenance/qwen-anna-existing-gpu/fix_ram.py b/docs/maintenance/qwen-anna-existing-gpu/fix_ram.py new file mode 100644 index 0000000..aa57a17 --- /dev/null +++ b/docs/maintenance/qwen-anna-existing-gpu/fix_ram.py @@ -0,0 +1,46 @@ +#!/usr/bin/env python3 +"""Athena host: single-file TTS admission correction, explicit maintenance Go.""" +import argparse,hashlib,importlib.util,json,shutil,subprocess,time +from pathlib import Path +ROOT=Path('/opt/athena-deck-dev/qwen-tts-ram-fix');BASE=Path('/opt/athena-deck-dev/runtime');STATE=BASE/'state';SOURCE=Path('/opt/athena-deck-dev/source');IMAGE='athena-deck-standalone:qwen-tts-ram-fix' +SETTINGS=('profiles.json','endpoint.json','audio-policy.json','cpu-partition.json','reasoning-budget.json') +def info():return json.loads(subprocess.check_output(['docker','inspect','athena-deck-dev'],text=True))[0] +def sha(p):return hashlib.sha256(p.read_bytes()).hexdigest() +def installer(): + spec=importlib.util.spec_from_file_location('deck_install',SOURCE/'deploy/install.py');assert spec and spec.loader + module=importlib.util.module_from_spec(spec);spec.loader.exec_module(module);return module + +def prepare(): + d=info();tag=d['Config']['Image'];assert subprocess.check_output(['docker','image','inspect','--format','{{.Id}}',tag],text=True).strip()==d['Image'] + (ROOT/'Dockerfile').write_text('FROM '+tag+'\nUSER root\nCOPY tts_test.py /app/tts_test.py\nUSER 65534:65534\n') + with (ROOT/'build.log').open('w') as f:subprocess.run(['docker','build','--network','none','--pull=false','-t',IMAGE,ROOT],check=True,stdout=f,stderr=subprocess.STDOUT,timeout=180) + probe='from tts_test import TTSTests; assert hasattr(TTSTests,"_check_ram");print("TTS RAM image imports passed")' + subprocess.run(['docker','run','--rm','--network','none','--read-only','--user','65534:65534','--cap-drop','ALL','-e','NVIDIA_VISIBLE_DEVICES=void','--entrypoint','python3',IMAGE,'-B','-c',probe],check=True,timeout=25) + shutil.copy2(SOURCE/'tts_test.py',ROOT/'tts_test.before.py') + out=dict(phase='prepared',image_before=tag,image_id_before=d['Image'],started_before=d['State']['StartedAt'],source_before=sha(SOURCE/'tts_test.py'),source_after=sha(ROOT/'tts_test.py'),config=json.loads((BASE/'installation.json').read_text()),settings={n:(STATE/n).read_text() for n in SETTINGS}) + p=ROOT/'activation.json';p.write_text(json.dumps(out,indent=2));p.chmod(0o600) + assert info()['State']['StartedAt']==d['State']['StartedAt'];print('RAM-fix image prepared; original live process unchanged') + +def apply(): + a=json.loads((ROOT/'activation.json').read_text());assert a['phase']=='prepared' + d=json.loads((ROOT/'drained.json').read_text());assert time.time()-d['checked_at']<60 and d['state']=='stopped' and type(d['active_requests']) is int and d['active_requests']==0 + assert all(type(d['scheduler'][k]) is int and d['scheduler'][k]==0 for k in ('active_requests','waiting_requests','tts_waiting_requests')) and d['scheduler']['switching'] is False + assert info()['Image']==a['image_id_before'] and sha(SOURCE/'tts_test.py')==a['source_before'] + assert all((STATE/n).read_text()==a['settings'][n] for n in SETTINGS if n!='endpoint.json') + subprocess.run(['docker','stop','--timeout','45','athena-deck-dev'],check=True) + try: + assert not subprocess.check_output(['nvidia-smi','--query-compute-apps=pid','--format=csv,noheader,nounits'],text=True).strip() + shutil.copy2(ROOT/'tts_test.py',SOURCE/'tts_test.py');(STATE/'endpoint.json').write_text(a['settings']['endpoint.json']) + subprocess.run(['docker','rm','athena-deck-dev'],check=True) + config=dict(a['config'],image=IMAGE,previous_image=a['image_before']);i=installer();i.launch(config);i.ready(config);i.write_manifest(BASE,config) + deadline=time.monotonic()+90 + while info()['State'].get('Health',{}).get('Status')=='starting' and time.monotonic()=7000,'Insufficient free VRAM; no other model will be evicted' +headroom=cgroup_headroom();assert headroom is None or headroom>=8*1024**3,'Insufficient RAM headroom' +# Refuse coexistence with an unknown 3060 workload; the resident Basalt vision +# sidecar is the only expected peer. Never stop any existing process. +apps=subprocess.check_output(['nvidia-smi','--query-compute-apps=gpu_uuid,process_name','--format=csv,noheader'],text=True) +for line in apps.splitlines(): + device,name=map(str.strip,line.split(',',1)) + if device==gpu_id:assert 'vision' in name.lower(),'3060 occupied by another workload' +runtime=TTSRuntime(root/'tts-runtime');runtime.anna_reference() +# Assert exact existing backend before _ensure; don't trigger its repair/install path. +python,_=runtime.paths() +subprocess.run([str(python),'-c','from importlib.metadata import version;assert version("faster-qwen3-tts")=="0.3.0"'],check=True) +worker=TTSTests(root/'tts-tests',None,runtime);rows=[];start=time.monotonic() +try: + process=worker._ensure(gpu);load_seconds=time.monotonic()-start + print(json.dumps(dict(stage='loaded',load_seconds=load_seconds,gpu=gpu_id)),flush=True) + texts=[ + 'Hallo Michael. Ich bin Anna und spreche jetzt auf deiner Athena. Dieser kurze Test prüft, ob meine Stimme schneller erzeugt wird, als du sie anhören kannst.', + 'Das Sprachmodell und der Bildbetrachter bleiben dabei geladen. Für die Sprachausgabe verwenden wir die vorhandene Grafikkarte. Gemessen werden der erste Audioblock und die Zeit für den gesamten gesprochenen Text.' + ] + for index,text in enumerate(texts,1): + directory=root/'tts-tests'/uuid.uuid4().hex;directory.mkdir(mode=0o700) + started=time.monotonic();first=None + process.stdin.write(json.dumps(dict(output=str(directory),text=text,speaker='Anna',language='German',speed=1,streaming=True))+'\n');process.stdin.flush() + while not (directory/'result.json').is_file(): + if first is None and (directory/'chunk-000000.pcm').is_file():first=time.monotonic()-started + if process.poll() is not None:raise RuntimeError('Own TTS worker terminated') + if time.monotonic()-started>90:raise TimeoutError('Bounded warm generation exceeded 90 seconds') + time.sleep(.01) + elapsed=time.monotonic()-started;result=json.loads((directory/'result.json').read_text());assert result['ok'],result + if first is None and (directory/'chunk-000000.pcm').exists():first=elapsed + with wave.open(str(directory/'result.wav')) as f: + assert f.getnchannels()==1 and f.getframerate()==24000 and f.getnframes()>0 + duration=f.getnframes()/f.getframerate() + assert first is not None and process.poll() is None + row=dict(run=index,audio_seconds=duration,generation_seconds=elapsed,first_audio_seconds=first,rtf=elapsed/duration,realtime_speed=duration/elapsed,job_id=directory.name) + rows.append(row);print(json.dumps(row),flush=True) + out=dict(model='Qwen3-TTS-12Hz-1.7B-Base',voice='Anna',gpu=gpu_id,load_seconds=load_seconds,runs=rows,scope='Two sequential warm direct-worker streaming measurements; no API/network/player latency',total_audio_seconds=sum(r['audio_seconds'] for r in rows),total_generation_seconds=sum(r['generation_seconds'] for r in rows)) + out['aggregate_realtime_speed']=out['total_audio_seconds']/out['total_generation_seconds'];out['aggregate_rtf']=out['total_generation_seconds']/out['total_audio_seconds'] + (root/'tts-tests'/'anna-gpu-realtime.json').write_text(json.dumps(out,indent=2));print(json.dumps(out),flush=True) +finally:worker.stop() diff --git a/docs/maintenance/qwen-asr-gpu-accept.py b/docs/maintenance/qwen-asr-gpu-accept.py new file mode 100644 index 0000000..82c40c7 --- /dev/null +++ b/docs/maintenance/qwen-asr-gpu-accept.py @@ -0,0 +1,28 @@ +#!/usr/bin/env python3 +"""NAS Hermes: bounded Basalt restoration, Anna WAV, real GPU-ASR transcript.""" +import importlib.util,io,json,time,urllib.request,wave +from pathlib import Path +ROOT=Path(__file__).resolve().parent +s=importlib.util.spec_from_file_location('managed_transport',ROOT/'basalt-candidate-2026-11-01/paired_transport.py');assert s and s.loader +m=importlib.util.module_from_spec(s);s.loader.exec_module(m);KEY=m.key();BASE='http://192.168.1.212:8120';START=time.monotonic() +OUT=Path('/opt/data/profiles/athena-deck/cache/scratch/qwen-asr-gpu-acceptance.json') +def call(path,data=None,content_type='application/json',binary=False): + assert time.monotonic()-START<900,'15-minute acceptance budget exceeded' + if isinstance(data,dict):data=json.dumps(data).encode() + req=urllib.request.Request(BASE+path,data=data,headers={'Authorization':'Bearer '+KEY,'Content-Type':content_type}) + with urllib.request.urlopen(req,timeout=180) as r:return r.read() if binary else json.load(r) +def main(): + result={} + d=call('/v1/chat/completions',dict(model='flash-next-basalt',messages=[dict(role='user',content='Antworte nur mit BEREIT.')],max_tokens=16,temperature=0,chat_template_kwargs={'enable_thinking':False})) + assert 'BEREIT' in (d['choices'][0]['message'].get('content') or '').upper();result['basalt_restored']=True;print('Basalt restored and actual answer verified',flush=True) + phrase='Der blaue Schlüssel liegt auf dem Tisch.' + audio=call('/v1/audio/speech',dict(model='qwen-anna-gpu-3060',voice='default',input=phrase,response_format='wav'),binary=True) + with wave.open(io.BytesIO(audio),'rb') as w:result['anna']=dict(rate=w.getframerate(),channels=w.getnchannels(),seconds=w.getnframes()/w.getframerate()) + assert result['anna']['rate']==24000 and result['anna']['channels']==1;print('Anna real speech API passed',flush=True) + boundary='asr-acceptance-fixture';body=f'--{boundary}\r\nContent-Disposition: form-data; name="file"; filename="synthetic-reference.wav"\r\nContent-Type: audio/wav\r\n\r\n'.encode()+audio+b'\r\n' + for name,value in [('model','qwen3-asr-3060'),('language','de')]:body+=f'--{boundary}\r\nContent-Disposition: form-data; name="{name}"\r\n\r\n{value}\r\n'.encode() + body+=f'--{boundary}--\r\n'.encode();t=time.monotonic();d=call('/v1/audio/transcriptions',body,'multipart/form-data; boundary='+boundary) + text=d.get('text','');assert isinstance(text,str) and 'blau' in text.lower() and 'tisch' in text.lower() and 'Transcribe audio' not in text,text + result.update(asr_text=text,asr_seconds=time.monotonic()-t,total_seconds=time.monotonic()-START,scope='One short synthetic speech/transcription, not a benchmark; GPU process placement must be checked separately') + OUT.write_text(json.dumps(result,indent=2));assert json.loads(OUT.read_text())==result;print(json.dumps(result),flush=True) +if __name__=='__main__':main() diff --git a/docs/maintenance/qwen-asr-gpu-activate.py b/docs/maintenance/qwen-asr-gpu-activate.py new file mode 100644 index 0000000..545e2fa --- /dev/null +++ b/docs/maintenance/qwen-asr-gpu-activate.py @@ -0,0 +1,74 @@ +#!/usr/bin/env python3 +"""Athena host: GPU-ASR overlay; requires explicit Go and regular GUI drain.""" +import argparse,hashlib,importlib.util,json,shutil,subprocess,time +from pathlib import Path +ROOT=Path('/opt/athena-deck-dev/asr-gpu-activation');BASE=Path('/opt/athena-deck-dev/runtime');STATE=BASE/'state';SOURCE=Path('/opt/athena-deck-dev/source');IMAGE='athena-deck-standalone:qwen-asr-gpu' +FILES=('profiles.py','profiles-ui.js','backup.py','stt.py','inference.py','server.py','audio_policy.py','video.py','video_comfy.py','deploy/QWEN_ASR_GPU.md','deploy/qwen-asr-3060-profile.json','deploy/install.py') +SETTINGS=('profiles.json','endpoint.json','audio-policy.json','cpu-partition.json','reasoning-budget.json') +def sha(p):return hashlib.sha256(p.read_bytes()).hexdigest() if p.is_file() else None +def info():return json.loads(subprocess.check_output(['docker','inspect','athena-deck-dev'],text=True))[0] +def save(a): + p=ROOT/'activation.json';p.write_text(json.dumps(a,indent=2));p.chmod(0o600);assert json.loads(p.read_text())==a + +def prepare(): + assert not (ROOT/'activation.json').exists() + d=info();tag=d['Config']['Image'];assert subprocess.check_output(['docker','image','inspect','--format','{{.Id}}',tag],text=True).strip()==d['Image'] + app=ROOT/'image/app';original=(SOURCE/'deploy/install.py').read_text();anchor="FILES += ['cpu_partition.py']";assert anchor in original + (app/'deploy/install.py').write_text(original.replace(anchor,anchor+"\nFILES += ['deploy/QWEN_ASR_GPU.md','deploy/qwen-asr-3060-profile.json']",1)) + before={n:sha(SOURCE/n) for n in FILES};after={n:sha(app/n) for n in FILES};assert all(after.values()) + for n in FILES: + (app/n).chmod(0o644) + if before[n]: + p=ROOT/'before'/n;p.parent.mkdir(parents=True,exist_ok=True);shutil.copy2(SOURCE/n,p) + (ROOT/'image/Dockerfile').write_text('FROM '+tag+'\nUSER root\nCOPY app/ /app/\nUSER 65534:65534\n') + (ROOT/'image/.dockerignore').write_text('*\n!Dockerfile\n!app/\n!app/**\n') + with (ROOT/'build.log').open('w') as f:subprocess.run(['docker','build','--network','none','--pull=false','-t',IMAGE,ROOT/'image'],stdout=f,stderr=subprocess.STDOUT,check=True,timeout=180) + probe="from pathlib import Path;import tempfile;from server import Server;from stt import qwen_asr_request;assert 'Transcribe audio' not in str(qwen_asr_request(b'fixture','de'));t=tempfile.TemporaryDirectory();s=Server(0,state_dir=Path(t.name));s.endpoint.close();s.video.close();s.dashboard.close();s.server_close();t.cleanup();print('Isolated full Server and ASR protocol passed')" + subprocess.run(['docker','run','--rm','--network','none','--read-only','--user','65534:65534','--memory','512m','--pids-limit','256','--cap-drop','ALL','-e','NVIDIA_VISIBLE_DEVICES=void','-e','DECK_REQUIRE_SETUP=0','-e','DECK_NETWORK_MODE=disabled','-e','TMPDIR=/test-tmp','--mount','type=bind,src='+str(STATE/'basalt-runtime/tmp')+',dst=/test-tmp','--entrypoint','python3',IMAGE,'-B','-c',probe],check=True,timeout=45) + assert info()['State']['StartedAt']==d['State']['StartedAt'] + save(dict(phase='prepared',image_before=tag,image_id_before=d['Image'],started_before=d['State']['StartedAt'],source_before=before,source_after=after,config=json.loads((BASE/'installation.json').read_text()),settings={n:(STATE/n).read_text() for n in SETTINGS})) + print('GPU-ASR image prepared and constructor verified; production unchanged') +def apply(): + a=json.loads((ROOT/'activation.json').read_text());assert a['phase']=='prepared';d=json.loads((ROOT/'drained.json').read_text());assert time.time()-d['checked_at']<60 and d['state']=='stopped' and type(d['active_requests']) is int and d['active_requests']==0 + assert all(type(d['scheduler'][k]) is int and d['scheduler'][k]==0 for k in ('active_requests','waiting_requests','tts_waiting_requests')) and d['scheduler']['switching'] is False + assert info()['Image']==a['image_id_before'] and all(sha(SOURCE/n)==a['source_before'][n] for n in FILES) + assert all((STATE/n).read_text()==a['settings'][n] for n in SETTINGS if n!='endpoint.json') + subprocess.run(['docker','stop','--timeout','45','athena-deck-dev'],check=True) + assert not subprocess.check_output(['nvidia-smi','--query-compute-apps=pid','--format=csv,noheader,nounits'],text=True).strip() + for n in FILES: + (SOURCE/n).parent.mkdir(parents=True,exist_ok=True);shutil.copy2(ROOT/'image/app'/n,SOURCE/n) + (STATE/'endpoint.json').write_text(a['settings']['endpoint.json']) + code="""import json,pathlib,os +from types import SimpleNamespace +from catalog import Catalog +from profiles import Profiles +from runtime import Runtime +from inference import Scheduler +from stt import STT +from endpoint import Endpoint +class RegistrationCatalog(Catalog): + def _save_history(self):pass +root=pathlib.Path(os.environ.get('DECK_ASR_STATE','/var/lib/deck'));catalog=RegistrationCatalog(root/'models');profiles=Profiles(root/'profiles.json',catalog) +worker=SimpleNamespace(status=lambda:{'state':'stopped'},stop=lambda:None);scheduler=Scheduler(worker);stt=STT(profiles,catalog,Runtime(root/'runtime'));stt.acquire=scheduler.stt_reservation;profiles.stt_blockers=stt.blockers +data=json.loads(pathlib.Path('/app/deploy/qwen-asr-3060-profile.json').read_text());assert not any(p.get('api_id')==data['api_id'] for p in profiles.rows);p=profiles.save(data) +ep=Endpoint(root,profiles,worker,scheduler,SimpleNamespace(status=lambda:{'job':None}),SimpleNamespace(read=lambda:None),8108);ep.stt=stt +for old in profiles.rows: + if old['kind']=='stt' and old['id']!=p['id'] and old['id'] in ep.config['enabled_profiles']:ep.enable({'id':old['id'],'enabled':False}) +ep.enable({'id':p['id'],'enabled':True});actual=json.loads((root/'endpoint.json').read_text());assert p['id'] in actual['enabled_profiles'];assert json.loads((root/'profiles.json').read_text())[-1]['parameters']['stt_device']==data['parameters']['stt_device'] +print('GPU-ASR profile saved and published via maintained classes; no model loaded') +""" + mounts=[] + for v in [a['config'].get('strata_storage'),*a['config'].get('strata_storage_mounts',[]),*a['config'].get('external_model_roots',[])]: + if not v:continue + p=Path(v);assert p.is_absolute() and p.is_dir() and not {'vpn','vpn.auth','OpenVPN-KIT','GluetunVPN'}&set(p.parts);mounts+=['--mount','type=bind,src='+str(p)+',dst='+str(p)+',readonly'] + subprocess.run(['docker','run','--rm','--network','none','--read-only','--user','65534:65534','--cap-drop','ALL','-e','NVIDIA_VISIBLE_DEVICES=void','--mount','type=bind,src='+str(STATE)+',dst=/var/lib/deck',*mounts,'--entrypoint','python3',IMAGE,'-B','-c',code],check=True,timeout=45) + assert all((STATE/n).read_text()==a['settings'][n] for n in SETTINGS if n not in ('endpoint.json','profiles.json')) + subprocess.run(['docker','rm','athena-deck-dev'],check=True) + spec=importlib.util.spec_from_file_location('deck_install',SOURCE/'deploy/install.py');assert spec and spec.loader;i=importlib.util.module_from_spec(spec);spec.loader.exec_module(i);c=dict(a['config'],image=IMAGE,previous_image=a['image_before']);i.launch(c);i.ready(c) + end=time.monotonic()+90 + while info()['State'].get('Health',{}).get('Status')=='starting' and time.monotonic()` anstelle von `<|asr_text|>`. Der Parser bleibt +mit beiden Schreibweisen kompatibel. Keine neuen Gewichte, Downloads, +Laufzeiten, Profile oder Geräteeinstellungen. + +Die vorherige GPU-Aktivierung hatte die Residenz korrekt hergestellt, aber +noch keine erfolgreiche Transkription: Die erste echte Prüfung lieferte leeren +Text. Das wurde nicht als funktionierendes STT abgenommen. + +## Tatsächlich ausgeführte Prüfungen + +- 81 lokale Tests: `python -m unittest test_qwen_asr_protocol test_stt_gpu + test_audio_residency test_endpoint -q`. +- Neues Overlay auf dem tatsächlich laufenden, anhand seiner Image-ID geprüften + GPU-ASR-Image; nur `stt.py` und die damalige GPU-ASR-Rezeptdokumentation. +- Isolierter vollständiger `Server`-Konstruktor und exakte Deutsch-/Englisch- + Präfixassertionen im neuen Image, ohne Produktivzustand und ohne GPU-Zugriff. +- Normales angemeldetes Management: API-Stopp nur bei explizit null aktiven und + wartenden Anfragen, einschließlich TTS-/STT-Warteschlangen. Danach frischer + Nachweis `state=stopped`, sämtliche Zähler null, `switching=false`. +- Nach Aktivierung Image-/Quellhashes und alle fünf geschützten Einstellungsdateien + geprüft. Nach der echten Abnahme nochmals Einstellungen und installierte + Quellhashes geprüft. Keine Profiländerung und keine doppelte Registrierung. +- Basalt per echter API-Antwort wiederhergestellt. +- Anna per echter Speech-API: 2,56 Sekunden Mono-WAV, 24 kHz. +- Diese synthetische Sprachdatei per echter Transkriptions-API mit + `model=qwen3-asr-3060`, `language=de` erkannt: + **Der blaue Schlüssel liegt auf dem Tisch.** +- Gemessene Zeit dieses einzelnen ASR-Aufrufs: 0,446880 Sekunden; + gesamte Wiederherstellung und Prüfung: 37,616686 Sekunden. Kein Benchmark. +- NVIDIA-Prozessmetadaten nachgewiesen: Qwen-ASR auf RTX 3060 mit 1996 MiB; + Anna 4596 MiB und Basalt-Vision 1702 MiB ebenfalls dort. Basalt auf RTX 5080. + +## Ausführungsorte und Wiederholungsschutz + +- Athena-Hostskript: `docs/maintenance/qwen-asr-protocol-fix.py`, dort installiert + unter `/opt/athena-deck-dev/asr-protocol-fix/activate.py`. +- NAS-Abnahmeclient: `docs/maintenance/qwen-asr-gpu-accept.py` mit dem vorhandenen + profilgebundenen Hermes-Transport. Er löst nur die verwaltete Athena-API- + Identität auf; keine Credentials ausgeben oder kopieren. +- Das neue Korrekturverzeichnis enthält das private Aktivierungsprotokoll, + Vorher-Quellkopien, Imagebau und frischen Drain-Nachweis. Die alte + `/opt/athena-deck-dev/asr-gpu-activation`-Aktivierung bleibt unberührt. +- Bei einem Tool-Roundtrip war der erste Drain-Beleg älter als 60 Sekunden; + der Sicherheitsguard hat korrekt vor dem Containerstopp abgebrochen. + Danach frischen regulären GET-Nachweis und SSH-Übertragung/Anwendung in + derselben Browser-Ausführung gekoppelt, über den zuvor verifizierten + absoluten `athena-ssh`-Helfer. Keine Lockerung der Frische- oder Leerlaufprüfung. +- Keine erneute Aktivierung ohne neues zulässiges Wartungsfenster. Nicht das + initiale GPU-Profilregistrierungsskript erneut ausführen. Ein Management-Login + ist kein Deployment-Go; das vorhandene Go wurde nur für diesen unveränderten + Korrektur- und Abnahmeumfang verwendet. + +## Nativ, Restore und Rückfall + +Es ändern sich nur Python-Adapterlogik und Dokumentation; die native +Reproduktion, festen Modell-/Projektorquellen, CUDA-Zuordnung und Zustandswurzel +bleiben wie in `deploy/QWEN_ASR_GPU.md`. Keine neue Containerabhängigkeit. +Das vollständige native Debian-Installations-/Restore-Ende-zu-Ende-Ziel bleibt +weiterhin offen. Aktuelle Abnahme ist die laufende Containerinstallation, +keine native Neuinstallation oder Wiederherstellung. + +Vorheriges Image und ursprüngliche Quellen sind im geschützten +Aktivierungsverzeichnis erhalten. Ein späterer Rückfall benötigt regulären +Drain und gesonderte Freigabe; er würde den bekannten Präfixfehler wiederbringen. +Einstellungsdateien müssen dafür nicht geändert werden. Die nachträglich +aktualisierten Repository-Dokumente beschreiben den Abnahmeausgang; das Image +enthält die beim Bau eingefrorene Vorab-Rezeptversion. Anwendungscode wurde +nach dem geprüften Imagebau nicht verändert. + +Noch nicht geprüft: Michaels Mikrofonaufnahme, Hermes-/Mac-Clientzustellung, +andere Sprachen, lange Aufnahmen und Lastbetrieb. Keine weitere Modellinferenz +nur zur Dokumentationsvervollständigung starten. diff --git a/docs/maintenance/qwen-asr-protocol-fix.py b/docs/maintenance/qwen-asr-protocol-fix.py new file mode 100644 index 0000000..151ad60 --- /dev/null +++ b/docs/maintenance/qwen-asr-protocol-fix.py @@ -0,0 +1,60 @@ +#!/usr/bin/env python3 +"""Athena host: narrow ASR-prefix correction, retained explicit maintenance Go.""" +import argparse,hashlib,importlib.util,json,shutil,subprocess,time +from pathlib import Path +ROOT=Path('/opt/athena-deck-dev/asr-protocol-fix');BASE=Path('/opt/athena-deck-dev/runtime');STATE=BASE/'state';SOURCE=Path('/opt/athena-deck-dev/source');IMAGE='athena-deck-standalone:qwen-asr-protocol-fix' +FILES=('stt.py','deploy/QWEN_ASR_GPU.md') +SETTINGS=('profiles.json','endpoint.json','audio-policy.json','cpu-partition.json','reasoning-budget.json') +def info():return json.loads(subprocess.check_output(['docker','inspect','athena-deck-dev'],text=True))[0] +def sha(p):return hashlib.sha256(p.read_bytes()).hexdigest() +def save(a): + p=ROOT/'activation.json';p.write_text(json.dumps(a,indent=2));p.chmod(0o600) + assert json.loads(p.read_text())==a + +def prepare(): + assert not (ROOT/'activation.json').exists(),'Never overwrite an activation record' + d=info();tag=d['Config']['Image'];assert subprocess.check_output(['docker','image','inspect','--format','{{.Id}}',tag],text=True).strip()==d['Image'] + live=subprocess.check_output(['docker','exec','athena-deck-dev','python3','-B','-c','from pathlib import Path;import hashlib;print(hashlib.sha256(Path("/app/stt.py").read_bytes()).hexdigest())'],text=True).strip() + assert live==sha(SOURCE/'stt.py'),'Canonical source and current image disagree' + before={n:sha(SOURCE/n) for n in FILES};after={n:sha(ROOT/'app'/n) for n in FILES} + for n in FILES: + target=ROOT/'before'/n;target.parent.mkdir(parents=True,exist_ok=True);shutil.copy2(SOURCE/n,target) + (ROOT/'app'/n).chmod(0o644) + (ROOT/'Dockerfile').write_text('FROM '+tag+'\nUSER root\nCOPY app/ /app/\nUSER 65534:65534\n') + (ROOT/'.dockerignore').write_text('*\n!Dockerfile\n!app/\n!app/**\n') + with (ROOT/'build.log').open('w') as f:subprocess.run(['docker','build','--network','none','--pull=false','-t',IMAGE,ROOT],check=True,stdout=f,stderr=subprocess.STDOUT,timeout=180) + probe="from pathlib import Path;import tempfile;from server import Server;from stt import qwen_asr_request;assert qwen_asr_request(b'fixture','de')['messages'][-1]['content']=='language German';assert qwen_asr_request(b'fixture','en')['messages'][-1]['content']=='language English';t=tempfile.TemporaryDirectory();s=Server(0,state_dir=Path(t.name));s.endpoint.close();s.video.close();s.dashboard.close();s.server_close();t.cleanup();print('Corrected protocol and isolated full Server constructor passed')" + subprocess.run(['docker','run','--rm','--network','none','--read-only','--user','65534:65534','--memory','512m','--pids-limit','256','--cap-drop','ALL','-e','NVIDIA_VISIBLE_DEVICES=void','-e','DECK_REQUIRE_SETUP=0','-e','DECK_NETWORK_MODE=disabled','-e','TMPDIR=/test-tmp','--mount','type=bind,src='+str(STATE/'basalt-runtime/tmp')+',dst=/test-tmp','--entrypoint','python3',IMAGE,'-B','-c',probe],check=True,timeout=45) + assert info()['State']['StartedAt']==d['State']['StartedAt'] + save(dict(phase='prepared',image_before=tag,image_id_before=d['Image'],started_before=d['State']['StartedAt'],source_before=before,source_after=after,config=json.loads((BASE/'installation.json').read_text()),settings={n:(STATE/n).read_text() for n in SETTINGS})) + print('Correction image built and full constructor passed; production unchanged',flush=True) + +def apply(): + a=json.loads((ROOT/'activation.json').read_text());assert a['phase']=='prepared' + d=json.loads((ROOT/'drained.json').read_text());assert 0<=time.time()-d['checked_at']<60 and d['state']=='stopped' + assert type(d['active_requests']) is int and d['active_requests']==0 + assert all(type(d['scheduler'][k]) is int and d['scheduler'][k]==0 for k in ('active_requests','waiting_requests','tts_waiting_requests','stt_waiting_requests')) and d['scheduler']['switching'] is False + assert info()['Image']==a['image_id_before'] and all(sha(SOURCE/n)==a['source_before'][n] for n in FILES) + assert all((STATE/n).read_text()==a['settings'][n] for n in SETTINGS if n!='endpoint.json') + subprocess.run(['docker','stop','--timeout','45','athena-deck-dev'],check=True) + assert not subprocess.check_output(['nvidia-smi','--query-compute-apps=pid','--format=csv,noheader,nounits'],text=True).strip() + for n in FILES:shutil.copy2(ROOT/'app'/n,SOURCE/n) + (STATE/'endpoint.json').write_text(a['settings']['endpoint.json']) + subprocess.run(['docker','rm','athena-deck-dev'],check=True) + spec=importlib.util.spec_from_file_location('deck_install',SOURCE/'deploy/install.py');assert spec and spec.loader + module=importlib.util.module_from_spec(spec);spec.loader.exec_module(module) + config=dict(a['config'],image=IMAGE,previous_image=a['image_before']);module.launch(config);module.ready(config) + deadline=time.monotonic()+90 + while info()['State'].get('Health',{}).get('Status')=='starting' and time.monotonic(){const r=await fetch('/api/v1/voice');return {http:r.status,type:r.headers.get('content-type')};})()") +assert probe['http']==200 and 'application/json' in probe['type'],'Normal management login required; no test started' +goto_url('http://192.168.1.212:8108/stimmatelier/');wait_for_load() +selection=js("(async()=>{const r=await fetch('/api/v1/profiles');if(!r.ok)throw Error('Normal login required');const d=await r.json();const p=d.profiles.find(p=>p.kind==='voice'&&p.runnable&&p.model?.repo==='Qwen/Qwen3-TTS-12Hz-1.7B-Base');if(!p)throw Error('No runnable Qwen clone profile');const select=document.querySelector('#profile');select.value=p.id;select.dispatchEvent(new Event('change',{bubbles:true}));return {id:p.id,name:p.name};})()") +encoded=base64.b64encode((OUT/'reference.wav').read_bytes()).decode() +meta=json.loads((OUT/'restoration.json').read_text()) +request=dict(profile_id=selection['id'],text='Die gemeinsame Stimme wird im Atelier getestet.',device='3060',language='German',reference_text=meta['reference_text']) +expression="(async()=>{const raw=atob("+json.dumps(encoded)+"),bytes=Uint8Array.from(raw,c=>c.charCodeAt(0));const data=new FormData();const fields="+json.dumps(request)+";for(const [k,v]of Object.entries(fields))data.set(k,v);data.set('file',new File([bytes],'synthetic-reference.wav',{type:'audio/wav'}));const r=await fetch('/api/v1/voice/start',{method:'POST',headers:{'X-Athena-Deck':'1'},body:data});const d=await r.json();if(!r.ok)throw Error(d.error||'Atelier request failed');return {id:d.id,state:d.state,profile_id:d.profile_id};})()" +job=js(expression);print('Actual authenticated shared-Qwen job started:',job) +deadline=time.monotonic()+180 +while time.monotonic(){const r=await fetch('/api/v1/voice');if(!r.ok)throw Error('Management session lost');const d=await r.json();return {job:d.job,shared:d.shared_tts,mode:d.mode};})()") + current=state['job'];assert current and current['id']==job['id'],'Another voice job replaced the result; stop instead of accepting it' + if current['state']!='running':break + time.sleep(.3) +else:raise RuntimeError('Bounded atelier check timed out; do not interrupt active work automatically') +assert current['state']=='complete',current +assert current.get('shared_tts') is True and state['shared']['loaded'] is True and state['mode']=='llm',state +playback=js("(async()=>{const r=await fetch('/api/v1/voice/audio?id="+job['id']+"');if(!r.ok)throw Error('Output not available');const b=new Uint8Array(await r.arrayBuffer());const signature=String.fromCharCode(...b.slice(0,4));if(signature!=='RIFF')throw Error('Not WAV');const j="+json.dumps(current)+";await showResult('voice',j,selected());return {wav:true,bytes:b.length,playerReady:!!document.querySelector('#output').src,downloadReady:!!document.querySelector('#download').href};})()") +result=dict(stage='actual shared atelier generation passed; final Anna/PID check pending',profile=selection,job=current,shared=state['shared'],mode=state['mode'],output=playback) +p=OUT/'atelier.json';p.write_text(json.dumps(result,indent=2));assert json.loads(p.read_text())==result +print(json.dumps(result)) diff --git a/docs/maintenance/shared-qwen/activate.py b/docs/maintenance/shared-qwen/activate.py new file mode 100644 index 0000000..22d71ac --- /dev/null +++ b/docs/maintenance/shared-qwen/activate.py @@ -0,0 +1,108 @@ +#!/usr/bin/env python3 +"""Athena host: authorized shared-Qwen Deck + existing static atelier update.""" +import argparse,difflib,hashlib,importlib.util,json,shutil,subprocess,time +from pathlib import Path +ROOT=Path('/opt/athena-deck-dev/shared-qwen-activation-v2');BASE=Path('/opt/athena-deck-dev/runtime');STATE=BASE/'state';SOURCE=Path('/opt/athena-deck-dev/source');HELPER=Path('/opt/athena-deck-docker-helper/stimmatelier/app.js') +IMAGE='athena-deck-standalone:shared-qwen';UI_STAGE='athena-stimmatelier:shared-qwen-candidate';UI_NAME='athena-stimmatelier' +FILES=('audio_policy.py','inference.py','tts_test.py','tts_worker.py','voxcpm_test.py','server.py','voice-ui.js','deploy/stimmatelier/app.js','deploy/stimmatelier/index.html') +SETTINGS=('profiles.json','endpoint.json','audio-policy.json','cpu-partition.json','reasoning-budget.json') +HOST_KEYS=('NetworkMode','ReadonlyRootfs','CapDrop','CapAdd','SecurityOpt','PidsLimit','Memory','MemorySwap','NanoCpus','RestartPolicy','PortBindings','Mounts','LogConfig','Tmpfs') +def info(name='athena-deck-dev'):return json.loads(subprocess.check_output(['docker','inspect',name],text=True))[0] +def sha(p):return hashlib.sha256(p.read_bytes()).hexdigest() +def save(a): + p=ROOT/'activation.json';p.write_text(json.dumps(a,indent=2));p.chmod(0o600);assert json.loads(p.read_text())==a + +def image_hashes(name,files): + code='from pathlib import Path;import hashlib,json;print(json.dumps({n:hashlib.sha256((Path("/app")/n).read_bytes()).hexdigest() for n in '+repr(tuple(files))+'}))' + return json.loads(subprocess.check_output(['docker','exec',name,'python3','-B','-c',code],text=True)) + +def build(context,tag): + with (context/'build.log').open('w') as f:subprocess.run(['docker','build','--network','none','--pull=false','-t',tag,context],check=True,stdout=f,stderr=subprocess.STDOUT,timeout=180) + +def prepare(): + assert not (ROOT/'activation.json').exists() + d=info();ui=info(UI_NAME) + for x in (d,ui):assert subprocess.check_output(['docker','image','inspect','--format','{{.Id}}',x['Config']['Image']],text=True).strip()==x['Image'] + h=ui['HostConfig'];assert h['NetworkMode']=='none' and h['ReadonlyRootfs'] and h['CapDrop']==['ALL'] and not h.get('CapAdd') and not h.get('DeviceRequests') and not h.get('Devices') and not h.get('Privileged') + assert h.get('Mounts')==[dict(Type='bind',Source=str(STATE/'stimmatelier-ui'),Target='/data')] + assert ui['Config']['User']=='65534:65534' and ui['Config']['Entrypoint']==['python3','/app/app.py'] and not ui['Config']['Cmd'] + before={n:sha(SOURCE/n) for n in FILES};after={n:sha(ROOT/'app'/n) for n in FILES} + assert image_hashes('athena-deck-dev',FILES)==before + ui_hashes=image_hashes(UI_NAME,['app.js','index.html']) + assert sha(HELPER)==ui_hashes['app.js'] and sha(HELPER.parent/'index.html')==ui_hashes['index.html'] + assert after['deploy/stimmatelier/index.html']==ui_hashes['index.html'],'Preserve the actual live atelier markup' + diff=[] + for n in FILES: + p=ROOT/'before'/n;p.parent.mkdir(parents=True,exist_ok=True);shutil.copy2(SOURCE/n,p) + (ROOT/'app'/n).chmod(0o644) + diff.extend(difflib.unified_diff((SOURCE/n).read_text().splitlines(True),(ROOT/'app'/n).read_text().splitlines(True),fromfile=n+' (live)',tofile=n+' (candidate)')) + (ROOT/'candidate.diff').write_text(''.join(diff));shutil.copy2(HELPER,ROOT/'helper-app.before.js') + (ROOT/'Dockerfile').write_text('FROM '+d['Config']['Image']+'\nUSER root\nCOPY app/ /app/\nUSER 65534:65534\n') + (ROOT/'.dockerignore').write_text('*\n!Dockerfile\n!app/\n!app/**\n') + build(ROOT,IMAGE) + probe="from pathlib import Path;import tempfile;from server import Server;from stt import qwen_asr_request;t=tempfile.TemporaryDirectory();s=Server(0,state_dir=Path(t.name));assert s.voxcpm_tests.shared_tts is s.tts_tests;assert s.tts_tests.acquire==s.scheduler.tts_reservation;assert '' in qwen_asr_request(b'fixture','de')['messages'][-1]['content'];s.endpoint.close();s.video.close();s.dashboard.close();s.server_close();t.cleanup();print('Shared Qwen image: full isolated constructor and preserved ASR passed')" + subprocess.run(['docker','run','--rm','--network','none','--read-only','--user','65534:65534','--memory','512m','--pids-limit','256','--cap-drop','ALL','-e','NVIDIA_VISIBLE_DEVICES=void','-e','DECK_REQUIRE_SETUP=0','-e','DECK_NETWORK_MODE=disabled','-e','TMPDIR=/test-tmp','--mount','type=bind,src='+str(STATE/'basalt-runtime/tmp')+',dst=/test-tmp','--entrypoint','python3',IMAGE,'-B','-c',probe],check=True,timeout=45) + u=ROOT/'ui';u.mkdir();shutil.copy2(ROOT/'app/deploy/stimmatelier/app.js',u/'app.js') + (u/'Dockerfile').write_text('FROM '+ui['Config']['Image']+'\nUSER root\nCOPY app.js /app/app.js\nUSER 65534:65534\n');build(u,UI_STAGE) + subprocess.run(['docker','run','--rm','--network','none','--read-only','--entrypoint','python3',UI_STAGE,'-B','-c',"import ast;from pathlib import Path;ast.parse(Path('/app/app.py').read_text());assert 'voice/select' in Path('/app/app.js').read_text();print('Static atelier candidate checked')"],check=True,timeout=20) + assert info()['State']['StartedAt']==d['State']['StartedAt'] and info(UI_NAME)['Id']==ui['Id'] + image_id=subprocess.check_output(['docker','image','inspect','--format','{{.Id}}',IMAGE],text=True).strip();ui_image_id=subprocess.check_output(['docker','image','inspect','--format','{{.Id}}',UI_STAGE],text=True).strip() + save(dict(phase='prepared',image_before=d['Config']['Image'],image_id_before=d['Image'],image_id_after=image_id,ui_image_id_after=ui_image_id,started_before=d['State']['StartedAt'],source_before=before,source_after=after,config=json.loads((BASE/'installation.json').read_text()),settings={n:(STATE/n).read_text() for n in SETTINGS},ui_before=ui,ui_before_hashes=ui_hashes)) + print('Both images prepared; protected live processes unchanged',flush=True) + +def launch_ui(a): + old=a['ui_before'];h=old['HostConfig'];c=old['Config'] + args=['docker','run','-d','--name',UI_NAME,'--network','none','--read-only','--cap-drop','ALL','--security-opt','no-new-privileges:true','--restart',h['RestartPolicy']['Name'],'--pids-limit',str(h['PidsLimit']),'--memory',str(h['Memory']),'--memory-swap',str(h['MemorySwap']),'--cpus',str(h['NanoCpus']/1e9),'--user',c['User'],'--workdir',c['WorkingDir'],'--hostname',c['Hostname'],'--mount','type=bind,src='+str(STATE/'stimmatelier-ui')+',dst=/data'] + if h.get('LogConfig',{}).get('Type'): + args+=['--log-driver',h['LogConfig']['Type']] + for k,v in h['LogConfig'].get('Config',{}).items():args+=['--log-opt',k+'='+v] + for k,v in c.get('Labels',{}).items():args+=['--label',k+'='+v] + for v in c.get('Env',[]):args+=['-e',v] + args += [c['Image']] # The overlay inherits the complete original entrypoint/Cmd. + subprocess.run(args,check=True,stdout=subprocess.DEVNULL) + +def apply(): + a=json.loads((ROOT/'activation.json').read_text());assert a['phase']=='prepared' + d=json.loads((ROOT/'drained.json').read_text());assert 0<=time.time()-d['checked_at']<60 and d['state']=='stopped' and type(d['active_requests']) is int and d['active_requests']==0 + assert all(type(d['scheduler'][k]) is int and d['scheduler'][k]==0 for k in ('active_requests','waiting_requests','tts_waiting_requests','stt_waiting_requests')) and d['scheduler']['switching'] is False + assert info()['Image']==a['image_id_before'] and info(UI_NAME)['Id']==a['ui_before']['Id'] + assert subprocess.check_output(['docker','image','inspect','--format','{{.Id}}',IMAGE],text=True).strip()==a['image_id_after'] + assert subprocess.check_output(['docker','image','inspect','--format','{{.Id}}',UI_STAGE],text=True).strip()==a['ui_image_id_after'] + assert all(sha(SOURCE/n)==a['source_before'][n] for n in FILES) and sha(HELPER)==a['ui_before_hashes']['app.js'] + assert all((STATE/n).read_text()==a['settings'][n] for n in SETTINGS if n!='endpoint.json') + subprocess.run(['docker','stop','--timeout','45','athena-deck-dev'],check=True) + assert not subprocess.check_output(['nvidia-smi','--query-compute-apps=pid','--format=csv,noheader,nounits'],text=True).strip() + for n in FILES:shutil.copy2(ROOT/'app'/n,SOURCE/n) + (STATE/'endpoint.json').write_text(a['settings']['endpoint.json']) + subprocess.run(['docker','rm','athena-deck-dev'],check=True) + spec=importlib.util.spec_from_file_location('deck_install',SOURCE/'deploy/install.py');assert spec and spec.loader;module=importlib.util.module_from_spec(spec);spec.loader.exec_module(module) + config=dict(a['config'],image=IMAGE,previous_image=a['image_before']);module.launch(config);module.ready(config) + deadline=time.monotonic()+90 + while info()['State'].get('Health',{}).get('Status')=='starting' and time.monotonic()Isolated shared Qwen UI
','text/html') + files={'/voice-ui.js':ROOT/'voice-ui.js','/atelier/':ROOT/'deploy/stimmatelier/index.html','/atelier/app.js':ROOT/'deploy/stimmatelier/app.js','/atelier/style.css':ROOT/'deploy/stimmatelier/style.css'} + if self.path in files: + path=files[self.path];return self.send(path.read_bytes(),'text/html' if path.suffix=='.html' else 'text/css' if path.suffix=='.css' else 'application/javascript') + self.send({'error':'not found'},status=404) +if __name__=='__main__': + p=argparse.ArgumentParser();p.add_argument('--port',type=int,default=18764);args=p.parse_args();server=ThreadingHTTPServer(('127.0.0.1',args.port),Handler);print('Isolated UI fixture ready',flush=True) + try:server.serve_forever() + finally:server.server_close() diff --git a/docs/maintenance/shared-qwen/restore.py b/docs/maintenance/shared-qwen/restore.py new file mode 100644 index 0000000..2aba44f --- /dev/null +++ b/docs/maintenance/shared-qwen/restore.py @@ -0,0 +1,41 @@ +#!/usr/bin/env python3 +"""NAS: bounded model restoration and synthetic shared-Qwen GUI references. +No management bypass or profile-publication change. Credentials stay in memory. +""" +import importlib.util,io,json,os,subprocess,time,urllib.request,wave +from pathlib import Path +HERE=Path(__file__).resolve().parent +spec=importlib.util.spec_from_file_location('managed_transport',HERE.parent/'basalt-candidate-2026-11-01/paired_transport.py');assert spec and spec.loader +transport=importlib.util.module_from_spec(spec);spec.loader.exec_module(transport) +KEY=transport.key();START=time.monotonic();BASE='http://192.168.1.212:8120';OUT=Path(os.environ['TMPDIR'])/'shared-qwen-acceptance';OUT.mkdir(mode=0o700,exist_ok=True) +def call(path,data,binary=False): + assert time.monotonic()-START<900,'Bounded acceptance window exceeded' + req=urllib.request.Request(BASE+path,data=json.dumps(data).encode(),headers={'Authorization':'Bearer '+KEY,'Content-Type':'application/json'}) + with urllib.request.urlopen(req,timeout=180) as r:return r.read() if binary else json.load(r) +def speech(name,voice,text): + data=call('/v1/audio/speech',dict(model='qwen-anna-gpu-3060',voice=voice,input=text,response_format='wav'),True) + with wave.open(io.BytesIO(data)) as w:meta=dict(rate=w.getframerate(),channels=w.getnchannels(),seconds=w.getnframes()/w.getframerate()) + assert meta['rate']==24000 and meta['channels']==1 and meta['seconds']>0 + p=OUT/name;p.write_bytes(data);p.chmod(0o600);return meta + +def gpu_snapshot(): + raw=subprocess.check_output(['athena-ssh','nvidia-smi --query-compute-apps=gpu_uuid,pid,process_name,used_gpu_memory --format=csv,noheader,nounits'],text=True,timeout=15) + result=[] + for line in raw.splitlines(): + gpu,pid,path,mib=[s.strip() for s in line.split(',')] + role='tts' if '/tts-runtime/' in path else 'vision' if path.endswith('basalt-vision') else 'chat' if path.endswith('/basalt') else 'stt' if path.endswith('llama-server') else 'other' + result.append(dict(gpu=gpu,pid=int(pid),role=role,mib=int(mib))) + return result + +def main(): + result={} + response=call('/v1/chat/completions',dict(model='flash-next-basalt',messages=[dict(role='user',content='Antworte nur mit BEREIT.')],temperature=0,max_tokens=16,chat_template_kwargs={'enable_thinking':False})) + assert 'BEREIT' in (response['choices'][0]['message'].get('content') or '').upper();result['basalt_restored']=True;print('Basalt restored and actual answer verified',flush=True) + result['anna_before']=speech('anna-before.wav','default','Die gemeinsame Stimme wird im Atelier getestet.');print('Anna speech API passed',flush=True) + result['reference_text']='Dies ist eine synthetische Referenz für den Stimmtest.' + result['reference']=speech('reference.wav','Ryan',result['reference_text']);print('Synthetic Ryan reference prepared; no default voice changed',flush=True) + result['gpu_before_clone']=gpu_snapshot();assert len([r for r in result['gpu_before_clone'] if r['role']=='tts'])==1 + result.update(stage='models restored; authenticated atelier acceptance pending',seconds=time.monotonic()-START) + p=OUT/'restoration.json';p.write_text(json.dumps(result,indent=2));assert json.loads(p.read_text())==result + print(json.dumps(result),flush=True) +if __name__=='__main__':main() diff --git a/docs/maintenance/strata-029-linux-ab-2026-11-01/README.md b/docs/maintenance/strata-029-linux-ab-2026-11-01/README.md new file mode 100644 index 0000000..74a84fe --- /dev/null +++ b/docs/maintenance/strata-029-linux-ab-2026-11-01/README.md @@ -0,0 +1,102 @@ +# Strata 0.1.55: neue Linux-Optimierungen an/aus + +## Ergebnis und Betriebszustand + +**Ursprünglicher Betrieb wiederhergestellt und geprüft.** Qwen, TTS und STT sind +geladen, Deck gesund. Produktionscontainer und Startzeit, Profil-/Endpunkt-/Audio-/ +CPU-/Reasoning-Hashes sowie die vollständige freigegebene Worker-Konfiguration +sind unverändert. Keine Testcontainer mehr vorhanden, keine neue Einstellung +produktiv übernommen. Die bisherigen neuen Linux-Defaults bleiben aktiv. + +Die vollständige geplante A–B–B–A-Reihenfolge ist **nicht abgeschlossen**: +A, B und B lieferten je neun vollständige synthetische Antworten. Während der +Wiederholung lief der Vordergrund-Werkzeugaufruf trotz angeforderter längerer +Laufzeit nach 420 Sekunden aus. Der Docker-Client endete mit SIGPIPE (-13), der +isolierte Container lief zunächst weiter. Nach Zustandsprüfung ausschließlich +den verifizierten eigenen Container gestoppt, seine Entfernung und freie GPUs +nachgelesen, anschließend den regulären Endpunkt über die angemeldete GUI +wieder gestartet. Eine kleine echte Anfrage lud und prüfte das Originalprofil. +**Kein Neustart der Testserie, keine zusätzlichen Tuningvarianten.** + +Gesamtes Modell-/Wartungsfenster einschließlich Wiederherstellung: +**663,355 Sekunden**, innerhalb des zugesagten 900-Sekunden-Limits. Die +abgebrochene vierte Referenz verhindert eine vollständige Kontrolle von Drift +und Reihenfolgeeffekten; die Zahlen sind eine begrenzte Orientierung, kein +statistisch abgesicherter Nachweis kleiner Unterschiede. + +## Vergleich + +Beide Varianten nutzen denselben festen Quellcommit +`c62d5e3a15b40ea51c96aae9e8d36928965f53ab`, Engine **0.1.55**, IQ3_XXS, +3060 → 5080, Split 16, zwei Slots à 262144 Tokens, Gruppen `auto`, Batch-MTP aus, +Solo-MTP an, dieselben Reserven und dieselbe CPU-/Vision-Konfiguration. + +- **A:** elf neue Linux-Schalter nicht explizit gesetzt; echte Anbieterdefaults. +- **B:** dieselben elf Schalter explizit auf `0`. +- Die tatsächlichen Werte wurden aus der Umgebung des jeweils verifizierten + eigenen Engine-Kindprozesses gelesen und mit der erwarteten Variante verglichen. +- Das unveränderte gelernte Expertenprofil und Runtime-/Modellpfade waren read-only. +- Zwei GPUs in einem isolierten kurzlebigen Container, ohne Netzwerk und externe + Ports, UID/GID 65534, 59 GiB RAM ohne zusätzlichen Swap, gleiche CPU-Zuordnung. +- Gemessene Expertenallokation gleich: 5655/4917 GPU-Cache-Slots, + 30,76 GiB residente Experten im RAM. Keine stillen Budget-/Splitänderungen. + +| Lastfall | A: Defaults an, ein Block | B: aus, zwei Blöcke; Median | Einordnung | +|---|---:|---:|---| +| Solo, 512 Ausgabetokens, Backend-Decode | 61,5 Token/s | 61,45 Token/s | Praktisch gleich | +| Parallel, 2 × 512 Ausgabetokens, gemeinsame Gesamtzeit | 12,8005 s | 13,1114 s | Aus benötigt 2,43 % mehr Zeit | +| Derselbe parallele Durchsatz, Ende-zu-Ende | 80,00 Token/s | 78,10 Token/s | Aus liefert 2,37 % weniger | +| Zwei frische Dokumente, gemeinsame Gesamtzeit | 13,1723 s | 13,4300 s | Aus benötigt 1,96 % mehr Zeit | +| Zwei gecachte Folgeturns mit je 512 Ausgabetokens | 11,1598 s | 11,4394 s | Aus benötigt 2,51 % mehr Zeit | +| Frisches Dokument mit 30041 Eingabetokens, Prefill | 1779,6 Token/s | 1773,4 Token/s | Praktisch gleich | + +In allen abgeschlossenen Blöcken: vollständige Streams, getrennte Suchmarken, +Cache-Wiederverwendung, beide Marken im langen Dokument und exaktes JSON +bestanden. Das ist keine breite Qualitätsprüfung oder Langzeitabnahme. +Die niedrigeren absoluten Solozahlen gegenüber der vorherigen Kurzabnahme sind +kein weiterer Versionsvergleich: hier lief ein frischer isolierter Testprozess, +nicht dieselbe damalige API-Messung. A gegen B innerhalb dieses Laufs ist die +maßgebliche Gegenüberstellung. + +**Empfehlung:** Linux-Defaults beibehalten. Kein Hinweis, dass Abschalten auf +Athena schneller wäre. Der kleine Parallelvorteil ist wegen des unvollständigen +Wiederholungsschemas nicht als allgemein bewiesener Gewinn zu vermarkten. + +## Zusätzlicher beobachteter Befund, noch kein Folgeauftrag + +Bei der langen 30K-Anfrage meldet die Engine in beiden Varianten: + +> layer-major off for this prompt: no VRAM for a super-chunk (891 MiB free) + +Der schnellere Layer-major-Prefillpfad ist grundsätzlich aktiviert, fällt aber +bei dieser Anfrage wegen des tatsächlichen VRAM-Spielraums zurück. Das ist ein +konkreter Ansatz für eine spätere, gesondert freigegebene Untersuchung von +Cache-/Prefill-Speicherbudgets, kein Beweis für einen bestimmten Speedgewinn. +Reserven, Cachegrößen oder Kontextlimits wurden dafür **nicht geändert**. + +## Nachweise und Ausführungsumgebungen + +- [Sanitisierte Rohmessungen aller Blöcke einschließlich Teilversuch](evidence/results.json). +- [Programmgesteuerte Zusammenfassung und Differenzen](evidence/summary.json). +- [Historischer Host-/Client-Abbruchbefund](evidence/host.json). +- [Tatsächlicher Wiederherstellungsnachweis](evidence/restoration.json). +- Private vollständige eigene Testlogs und Antworten auf Athena unter + `/opt/athena-deck-dev/runtime/state/strata-linux-ab-20261101/`. +- `experiment.py`: `prepare`/`run` auf dem Athena-Host, `worker` im eigenen + Testcontainer; Hostskript unter `/opt/athena-deck-dev/strata-linux-ab-20261101/`. +- `restore.py`: Athena-Host, genau eine autorisierte Wiederherstellungsanfrage; + API-Identität nur im Speicher über den vorhandenen profilbezogenen SSH-Transport. +- `test_experiment.py`: NAS, ausschließlich Offline-/Mock-Tests, keine Verbindung + zu Athena. Vor dem Modelllauf vier Tests bestanden. Nach dem beobachteten + Client-Abbruch wurde Cleanup auch bei beendetem Docker-Client in `finally` + ergänzt; dessen Mock-Tests ersetzen keinen erneuten Modelltest. Die gespeicherten + Messungen stammen vom Lauf vor dieser nachträglichen Controllerkorrektur. + Danach bestanden alle sechs Offline-/Mock-Tests; keine zusätzliche Inferenz. + +Dieses Experiment installiert keine neue Laufzeit, Dienste oder Abhängigkeiten +und ändert keine nativen Restore-Pins oder privaten Profile. Die bereits +gepinnten nativen Strata-/CUDA-/Modellrezepte bleiben maßgeblich; keine +Docker-Voraussetzung für das native Produkt aus dem Testtransport ableiten. +Ein vollständiger frischer Debian-/verschlüsselter Ende-zu-Ende-Restore ist +weiterhin eine getrennte offene Abnahme. Jede weitere Inferenz, Umschaltung +oder Aktivierung benötigt einen neuen konkreten Auftrag. diff --git a/docs/maintenance/strata-029-linux-ab-2026-11-01/evidence/host.json b/docs/maintenance/strata-029-linux-ab-2026-11-01/evidence/host.json new file mode 100644 index 0000000..86eea21 --- /dev/null +++ b/docs/maintenance/strata-029-linux-ab-2026-11-01/evidence/host.json @@ -0,0 +1,7 @@ +{ + "isolated_seconds": 428.24523485900136, + "exit_code": -13, + "failure": null, + "protected_settings_unchanged": true, + "production_restart_required_via_gui": true +} diff --git a/docs/maintenance/strata-029-linux-ab-2026-11-01/evidence/restoration.json b/docs/maintenance/strata-029-linux-ab-2026-11-01/evidence/restoration.json new file mode 100644 index 0000000..8411c9a --- /dev/null +++ b/docs/maintenance/strata-029-linux-ab-2026-11-01/evidence/restoration.json @@ -0,0 +1,41 @@ +{ + "restored": true, + "checked_at": 1793531016.1898093, + "restoration_seconds": 68.22661750297993, + "total_window_seconds": 663.3552711009979, + "complete_abba": false, + "completed_blocks": [ + { + "index": 0, + "arm": "A", + "requests": 9 + }, + { + "index": 1, + "arm": "B", + "requests": 9 + }, + { + "index": 2, + "arm": "B", + "requests": 9 + } + ], + "settings_unchanged": true, + "worker_configuration_unchanged": true, + "production_container_unchanged": true, + "qwen_tts_stt_loaded": true, + "container_health": "healthy", + "test_container_removed": true, + "original_defaults_active": true, + "marker_found": true, + "restore_usage": { + "prompt_tokens": 23, + "completion_tokens": 7, + "total_tokens": 30, + "prompt_tokens_details": { + "cached_tokens": 0 + } + }, + "interruption": "Foreground tool timed out at 420 s; host docker client exited with SIGPIPE (-13). Partial repetition stopped; no new test series." +} diff --git a/docs/maintenance/strata-029-linux-ab-2026-11-01/evidence/results.json b/docs/maintenance/strata-029-linux-ab-2026-11-01/evidence/results.json new file mode 100644 index 0000000..de5db00 --- /dev/null +++ b/docs/maintenance/strata-029-linux-ab-2026-11-01/evidence/results.json @@ -0,0 +1,987 @@ +{ + "commit": "c62d5e3a15b40ea51c96aae9e8d36928965f53ab", + "order": [ + "A", + "B", + "B", + "A" + ], + "blocks": [ + { + "index": 0, + "arm": "A", + "rows": [ + { + "label": "solo", + "wall_seconds": 9.227288676018361, + "ttft_seconds": 0.918946802004939, + "usage": { + "prompt_tokens": 56, + "completion_tokens": 512, + "total_tokens": 568, + "prompt_tokens_details": { + "cached_tokens": 0 + } + }, + "timings": { + "cache_n": 0, + "prompt_n": 56, + "prompt_ms": 892.0, + "prompt_per_token_ms": 15.929, + "prompt_per_second": 62.8, + "predicted_n": 512, + "predicted_ms": 8331.7, + "predicted_per_token_ms": 16.273, + "predicted_per_second": 61.5, + "draft_n": 331, + "draft_n_accepted": 197 + }, + "finish_reason": "length", + "stream_complete": true + }, + { + "label": "parallel-1", + "wall_seconds": 12.773408526991261, + "ttft_seconds": 0.8335243979818188, + "usage": { + "prompt_tokens": 56, + "completion_tokens": 512, + "total_tokens": 568, + "prompt_tokens_details": { + "cached_tokens": 0 + } + }, + "timings": { + "cache_n": 0, + "prompt_n": 56, + "prompt_ms": 807.9, + "prompt_per_token_ms": 14.427, + "prompt_per_second": 69.3, + "predicted_n": 512, + "predicted_ms": 11916.8, + "predicted_per_token_ms": 23.275, + "predicted_per_second": 43.0, + "draft_n": 0, + "draft_n_accepted": 0 + }, + "finish_reason": "length", + "stream_complete": true + }, + { + "label": "parallel-0", + "wall_seconds": 12.799055131006753, + "ttft_seconds": 1.6289444869908039, + "usage": { + "prompt_tokens": 61, + "completion_tokens": 512, + "total_tokens": 573, + "prompt_tokens_details": { + "cached_tokens": 0 + } + }, + "timings": { + "cache_n": 0, + "prompt_n": 61, + "prompt_ms": 709.1, + "prompt_per_token_ms": 11.625, + "prompt_per_second": 86.0, + "predicted_n": 512, + "predicted_ms": 11163.2, + "predicted_per_token_ms": 21.803, + "predicted_per_second": 45.9, + "draft_n": 0, + "draft_n_accepted": 0 + }, + "finish_reason": "length", + "stream_complete": true + }, + { + "label": "fresh-context-0", + "wall_seconds": 13.115819074999308, + "ttft_seconds": 6.5406498919765, + "usage": { + "prompt_tokens": 7416, + "completion_tokens": 4, + "total_tokens": 7420, + "prompt_tokens_details": { + "cached_tokens": 0 + } + }, + "timings": { + "cache_n": 0, + "prompt_n": 7416, + "prompt_ms": 6499.2, + "prompt_per_token_ms": 0.876, + "prompt_per_second": 1141.1, + "predicted_n": 4, + "predicted_ms": 6536.0, + "predicted_per_token_ms": 1634.0, + "predicted_per_second": 0.6, + "draft_n": 0, + "draft_n_accepted": 0 + }, + "finish_reason": "stop", + "stream_complete": true + }, + { + "label": "fresh-context-1", + "wall_seconds": 13.172022479004227, + "ttft_seconds": 13.034305409004446, + "usage": { + "prompt_tokens": 7416, + "completion_tokens": 4, + "total_tokens": 7420, + "prompt_tokens_details": { + "cached_tokens": 0 + } + }, + "timings": { + "cache_n": 0, + "prompt_n": 7416, + "prompt_ms": 6346.4, + "prompt_per_token_ms": 0.856, + "prompt_per_second": 1168.5, + "predicted_n": 4, + "predicted_ms": 122.5, + "predicted_per_token_ms": 30.625, + "predicted_per_second": 32.7, + "draft_n": 0, + "draft_n_accepted": 0 + }, + "finish_reason": "stop", + "stream_complete": true + }, + { + "label": "cached-context-1", + "wall_seconds": 11.135430194990477, + "ttft_seconds": 0.661542598012602, + "usage": { + "prompt_tokens": 7466, + "completion_tokens": 512, + "total_tokens": 7978, + "prompt_tokens_details": { + "cached_tokens": 7419 + } + }, + "timings": { + "cache_n": 7419, + "prompt_n": 47, + "prompt_ms": 636.3, + "prompt_per_token_ms": 13.538, + "prompt_per_second": 73.9, + "predicted_n": 512, + "predicted_ms": 10434.9, + "predicted_per_token_ms": 20.381, + "predicted_per_second": 49.1, + "draft_n": 0, + "draft_n_accepted": 0 + }, + "finish_reason": "length", + "stream_complete": true + }, + { + "label": "cached-context-0", + "wall_seconds": 11.159398262010654, + "ttft_seconds": 1.436056341015501, + "usage": { + "prompt_tokens": 7466, + "completion_tokens": 512, + "total_tokens": 7978, + "prompt_tokens_details": { + "cached_tokens": 7419 + } + }, + "timings": { + "cache_n": 7419, + "prompt_n": 47, + "prompt_ms": 647.5, + "prompt_per_token_ms": 13.777, + "prompt_per_second": 72.6, + "predicted_n": 512, + "predicted_ms": 9707.7, + "predicted_per_token_ms": 18.96, + "predicted_per_second": 52.7, + "draft_n": 0, + "draft_n_accepted": 0 + }, + "finish_reason": "length", + "stream_complete": true + }, + { + "label": "long-context", + "wall_seconds": 17.166482217988232, + "ttft_seconds": 16.922221443994204, + "usage": { + "prompt_tokens": 30041, + "completion_tokens": 8, + "total_tokens": 30049, + "prompt_tokens_details": { + "cached_tokens": 0 + } + }, + "timings": { + "cache_n": 0, + "prompt_n": 30041, + "prompt_ms": 16880.6, + "prompt_per_token_ms": 0.562, + "prompt_per_second": 1779.6, + "predicted_n": 8, + "predicted_ms": 263.3, + "predicted_per_token_ms": 32.913, + "predicted_per_second": 30.4, + "draft_n": 7, + "draft_n_accepted": 6 + }, + "finish_reason": "stop", + "stream_complete": true + }, + { + "label": "json", + "wall_seconds": 1.047541482024826, + "ttft_seconds": 0.7081482170033269, + "usage": { + "prompt_tokens": 37, + "completion_tokens": 13, + "total_tokens": 50, + "prompt_tokens_details": { + "cached_tokens": 0 + } + }, + "timings": { + "cache_n": 0, + "prompt_n": 37, + "prompt_ms": 683.6, + "prompt_per_token_ms": 18.476, + "prompt_per_second": 54.1, + "predicted_n": 13, + "predicted_ms": 359.9, + "predicted_per_token_ms": 27.685, + "predicted_per_second": 36.1, + "draft_n": 10, + "draft_n_accepted": 10 + }, + "finish_reason": "stop", + "stream_complete": true + } + ], + "groups": [ + { + "label": "parallel", + "wall_seconds": 12.800486714986619, + "output_tokens": 1024 + }, + { + "label": "fresh-context", + "wall_seconds": 13.1723086850252, + "output_tokens": 8 + }, + { + "label": "cached-context", + "wall_seconds": 11.159832175006159, + "output_tokens": 1024 + } + ], + "complete": true, + "load_seconds": 71.04009791399585, + "effective_switches": { + "STRATA_CKPT_POOL": "1", + "STRATA_CKPT_POOL_READY": "4", + "STRATA_SLOT_CKPT_MOVE": "1", + "STRATA_SLOT_COPY_DIRECT": "1", + "STRATA_SLOT_COPY_BATCHSYNC": "1", + "STRATA_BATCH_GDN_GROUPS": "1", + "STRATA_BATCH_ATTN_ROWS": "1", + "STRATA_BATCH_SELF_COMMIT": "1", + "STRATA_QSA_SLOTS": "1", + "STRATA_GDN_TC": "1", + "STRATA_GDN_CONVL2": "2" + }, + "gpu_memory": "0, 10981\n1, 15572", + "runtime_metadata": [ + "strata generate: --batch 2: the slot sessions take 0.73 GiB of VRAM on CUDA0 that the expert cache would otherwise hold", + "strata generate: expert cache auto: 9.16 GiB free, 1024 MiB reserved (+0 MiB for the draft head, +256 MiB for what is allocated after the cache) -> 3647 slots", + "strata generate: expert cache 5655 slots, 7.91 GiB of VRAM; policy is", + "strata generate: layer split: CUDA1 runs layers 16-47, expert cache 4917 slots (8.55 GiB), 4917 of its 16384 profiled pairs; slot 0 verified", + "strata generate: resident RAM mode: 30.76 GiB of experts in RAM (page-locked), 5655 in the GPU cache; adaptive swaps exchange them with the GPU cache (no file reads)", + "strata serve: decode expert cache hit rate: 92.8% (283548 hits / 305416 lookups); 4664 more read by the GPU over PCIe or from another GPU (1.5% of all 310080 routed)", + "strata serve: decode expert cache hit rate: 81.2% (368 hits / 453 lookups); 27 more read by the GPU over PCIe or from another GPU (5.6% of all 480 routed)", + "strata serve: decode expert cache hit rate: 83.7% (384 hits / 459 lookups); 21 more read by the GPU over PCIe or from another GPU (4.4% of all 480 routed)", + "strata serve: decode expert cache hit rate: 87.3% (407 hits / 466 lookups); 14 more read by the GPU over PCIe or from another GPU (2.9% of all 480 routed)", + "strata prefill: layer-major prefill is on for this layer split (each layer's experts are read once per super-chunk of up to 32768 tokens, not once per chunk; STRATA_PREFILL_LAYER_MAJOR=0 or STRATA_DEFAULTS=026 turns it off)", + "strata serve: decode expert cache hit rate: 78.6% (356 hits / 453 lookups); 27 more read by the GPU over PCIe or from another GPU (5.6% of all 480 routed)", + "strata serve: decode expert cache hit rate: 58.1% (241 hits / 415 lookups); 65 more read by the GPU over PCIe or from another GPU (13.5% of all 480 routed)", + "strata serve: decode expert cache hit rate: 77.2% (346 hits / 448 lookups); 32 more read by the GPU over PCIe or from another GPU (6.7% of all 480 routed)", + "strata serve: decode expert cache hit rate: 86.1% (398 hits / 462 lookups); 18 more read by the GPU over PCIe or from another GPU (3.8% of all 480 routed)", + "strata serve: decode expert cache hit rate: 64.2% (273 hits / 425 lookups); 55 more read by the GPU over PCIe or from another GPU (11.5% of all 480 routed)", + "strata serve: decode expert cache hit rate: 87.8% (412 hits / 469 lookups); 11 more read by the GPU over PCIe or from another GPU (2.3% of all 480 routed)", + "strata prefill: layer-major off for this prompt: no VRAM for a super-chunk (891 MiB free)", + "strata serve: decode expert cache hit rate: 64.8% (3090 hits / 4769 lookups); 511 more read by the GPU over PCIe or from another GPU (9.7% of all 5280 routed)", + "strata serve: decode expert cache hit rate: 59.3% (3519 hits / 5933 lookups); 787 more read by the GPU over PCIe or from another GPU (11.7% of all 6720 routed)", + "[strata] filling the GPU's expert cache (5655 experts, 7.91 GiB of VRAM) ...", + "[strata] done: 512 tokens in 9 s (61.5 tok/s) (length, cancel=False), expert cache 92.8% hit (+1.5% of the routed experts over PCIe)", + "[strata] done: 512 tokens in 13 s (43.0 tok/s) (length, cancel=False), expert cache 83.7% hit (+4.4% of the routed experts over PCIe)", + "[strata] done: 512 tokens in 13 s (45.9 tok/s) (length, cancel=False), expert cache 87.3% hit (+2.9% of the routed experts over PCIe)", + "[strata] done: 4 tokens in 13 s (0.6 tok/s) (stop, cancel=False), expert cache 58.1% hit (+13.5% of the routed experts over PCIe)", + "[strata] done: 4 tokens in 13 s (32.7 tok/s) (stop, cancel=False), expert cache 77.2% hit (+6.7% of the routed experts over PCIe)", + "[strata] done: 512 tokens in 11 s (49.1 tok/s) (length, cancel=False), expert cache 64.2% hit (+11.5% of the routed experts over PCIe)", + "[strata] done: 512 tokens in 11 s (52.7 tok/s) (length, cancel=False), expert cache 87.8% hit (+2.3% of the routed experts over PCIe)", + "[strata] done: 8 tokens in 17 s (30.4 tok/s) (stop, cancel=False), expert cache 64.8% hit (+9.7% of the routed experts over PCIe)", + "[strata] done: 13 tokens in 1 s (36.1 tok/s) (stop, cancel=False), expert cache 59.3% hit (+11.7% of the routed experts over PCIe)" + ] + }, + { + "index": 1, + "arm": "B", + "rows": [ + { + "label": "solo", + "wall_seconds": 9.237353148986585, + "ttft_seconds": 0.9220882169902325, + "usage": { + "prompt_tokens": 56, + "completion_tokens": 512, + "total_tokens": 568, + "prompt_tokens_details": { + "cached_tokens": 0 + } + }, + "timings": { + "cache_n": 0, + "prompt_n": 56, + "prompt_ms": 893.8, + "prompt_per_token_ms": 15.961, + "prompt_per_second": 62.7, + "predicted_n": 512, + "predicted_ms": 8339.1, + "predicted_per_token_ms": 16.287, + "predicted_per_second": 61.4, + "draft_n": 331, + "draft_n_accepted": 197 + }, + "finish_reason": "length", + "stream_complete": true + }, + { + "label": "parallel-1", + "wall_seconds": 13.089323255000636, + "ttft_seconds": 0.8532683800149243, + "usage": { + "prompt_tokens": 56, + "completion_tokens": 512, + "total_tokens": 568, + "prompt_tokens_details": { + "cached_tokens": 0 + } + }, + "timings": { + "cache_n": 0, + "prompt_n": 56, + "prompt_ms": 827.5, + "prompt_per_token_ms": 14.777, + "prompt_per_second": 67.7, + "predicted_n": 512, + "predicted_ms": 12161.8, + "predicted_per_token_ms": 23.754, + "predicted_per_second": 42.1, + "draft_n": 0, + "draft_n_accepted": 0 + }, + "finish_reason": "length", + "stream_complete": true + }, + { + "label": "parallel-0", + "wall_seconds": 13.11547317300574, + "ttft_seconds": 1.713472144008847, + "usage": { + "prompt_tokens": 61, + "completion_tokens": 512, + "total_tokens": 573, + "prompt_tokens_details": { + "cached_tokens": 0 + } + }, + "timings": { + "cache_n": 0, + "prompt_n": 61, + "prompt_ms": 726.0, + "prompt_per_token_ms": 11.902, + "prompt_per_second": 84.0, + "predicted_n": 512, + "predicted_ms": 11341.3, + "predicted_per_token_ms": 22.151, + "predicted_per_second": 45.1, + "draft_n": 0, + "draft_n_accepted": 0 + }, + "finish_reason": "length", + "stream_complete": true + }, + { + "label": "fresh-context-1", + "wall_seconds": 13.36860799099668, + "ttft_seconds": 6.594814779004082, + "usage": { + "prompt_tokens": 7416, + "completion_tokens": 4, + "total_tokens": 7420, + "prompt_tokens_details": { + "cached_tokens": 0 + } + }, + "timings": { + "cache_n": 0, + "prompt_n": 7416, + "prompt_ms": 6554.3, + "prompt_per_token_ms": 0.884, + "prompt_per_second": 1131.5, + "predicted_n": 4, + "predicted_ms": 6665.6, + "predicted_per_token_ms": 1666.4, + "predicted_per_second": 0.6, + "draft_n": 0, + "draft_n_accepted": 0 + }, + "finish_reason": "stop", + "stream_complete": true + }, + { + "label": "fresh-context-0", + "wall_seconds": 13.42539237398887, + "ttft_seconds": 13.200212712981738, + "usage": { + "prompt_tokens": 7416, + "completion_tokens": 4, + "total_tokens": 7420, + "prompt_tokens_details": { + "cached_tokens": 0 + } + }, + "timings": { + "cache_n": 0, + "prompt_n": 7416, + "prompt_ms": 6386.1, + "prompt_per_token_ms": 0.861, + "prompt_per_second": 1161.3, + "predicted_n": 4, + "predicted_ms": 140.3, + "predicted_per_token_ms": 35.075, + "predicted_per_second": 28.5, + "draft_n": 0, + "draft_n_accepted": 0 + }, + "finish_reason": "stop", + "stream_complete": true + }, + { + "label": "cached-context-1", + "wall_seconds": 11.399846227985108, + "ttft_seconds": 0.7693735799985006, + "usage": { + "prompt_tokens": 7466, + "completion_tokens": 512, + "total_tokens": 7978, + "prompt_tokens_details": { + "cached_tokens": 7419 + } + }, + "timings": { + "cache_n": 7419, + "prompt_n": 47, + "prompt_ms": 744.2, + "prompt_per_token_ms": 15.834, + "prompt_per_second": 63.2, + "predicted_n": 512, + "predicted_ms": 10523.3, + "predicted_per_token_ms": 20.553, + "predicted_per_second": 48.7, + "draft_n": 0, + "draft_n_accepted": 0 + }, + "finish_reason": "length", + "stream_complete": true + }, + { + "label": "cached-context-0", + "wall_seconds": 11.428416704002302, + "ttft_seconds": 1.6926513290090952, + "usage": { + "prompt_tokens": 7466, + "completion_tokens": 512, + "total_tokens": 7978, + "prompt_tokens_details": { + "cached_tokens": 7419 + } + }, + "timings": { + "cache_n": 7419, + "prompt_n": 47, + "prompt_ms": 719.3, + "prompt_per_token_ms": 15.304, + "prompt_per_second": 65.3, + "predicted_n": 512, + "predicted_ms": 9654.2, + "predicted_per_token_ms": 18.856, + "predicted_per_second": 53.0, + "draft_n": 0, + "draft_n_accepted": 0 + }, + "finish_reason": "length", + "stream_complete": true + }, + { + "label": "long-context", + "wall_seconds": 17.187609168002382, + "ttft_seconds": 16.945197708992055, + "usage": { + "prompt_tokens": 30041, + "completion_tokens": 8, + "total_tokens": 30049, + "prompt_tokens_details": { + "cached_tokens": 0 + } + }, + "timings": { + "cache_n": 0, + "prompt_n": 30041, + "prompt_ms": 16908.4, + "prompt_per_token_ms": 0.563, + "prompt_per_second": 1776.7, + "predicted_n": 8, + "predicted_ms": 262.1, + "predicted_per_token_ms": 32.763, + "predicted_per_second": 30.5, + "draft_n": 7, + "draft_n_accepted": 6 + }, + "finish_reason": "stop", + "stream_complete": true + }, + { + "label": "json", + "wall_seconds": 1.0632909449923318, + "ttft_seconds": 0.7260418189980555, + "usage": { + "prompt_tokens": 37, + "completion_tokens": 13, + "total_tokens": 50, + "prompt_tokens_details": { + "cached_tokens": 0 + } + }, + "timings": { + "cache_n": 0, + "prompt_n": 37, + "prompt_ms": 701.7, + "prompt_per_token_ms": 18.965, + "prompt_per_second": 52.7, + "predicted_n": 13, + "predicted_ms": 358.0, + "predicted_per_token_ms": 27.538, + "predicted_per_second": 36.3, + "draft_n": 10, + "draft_n_accepted": 10 + }, + "finish_reason": "stop", + "stream_complete": true + } + ], + "groups": [ + { + "label": "parallel", + "wall_seconds": 13.115984290023334, + "output_tokens": 1024 + }, + { + "label": "fresh-context", + "wall_seconds": 13.425892781000584, + "output_tokens": 8 + }, + { + "label": "cached-context", + "wall_seconds": 11.428844395995839, + "output_tokens": 1024 + } + ], + "complete": true, + "load_seconds": 71.02659965198836, + "effective_switches": { + "STRATA_CKPT_POOL": "0", + "STRATA_CKPT_POOL_READY": "0", + "STRATA_SLOT_CKPT_MOVE": "0", + "STRATA_SLOT_COPY_DIRECT": "0", + "STRATA_SLOT_COPY_BATCHSYNC": "0", + "STRATA_BATCH_GDN_GROUPS": "0", + "STRATA_BATCH_ATTN_ROWS": "0", + "STRATA_BATCH_SELF_COMMIT": "0", + "STRATA_QSA_SLOTS": "0", + "STRATA_GDN_TC": "0", + "STRATA_GDN_CONVL2": "0" + }, + "gpu_memory": "0, 10981\n1, 15576", + "runtime_metadata": [ + "strata generate: --batch 2: the slot sessions take 0.73 GiB of VRAM on CUDA0 that the expert cache would otherwise hold", + "strata generate: expert cache auto: 9.16 GiB free, 1024 MiB reserved (+0 MiB for the draft head, +256 MiB for what is allocated after the cache) -> 3647 slots", + "strata generate: expert cache 5655 slots, 7.91 GiB of VRAM; policy is", + "strata generate: layer split: CUDA1 runs layers 16-47, expert cache 4917 slots (8.55 GiB), 4917 of its 16384 profiled pairs; slot 0 verified", + "strata generate: resident RAM mode: 30.76 GiB of experts in RAM (page-locked), 5655 in the GPU cache; adaptive swaps exchange them with the GPU cache (no file reads)", + "strata serve: decode expert cache hit rate: 92.8% (283548 hits / 305416 lookups); 4664 more read by the GPU over PCIe or from another GPU (1.5% of all 310080 routed)", + "strata serve: decode expert cache hit rate: 81.2% (368 hits / 453 lookups); 27 more read by the GPU over PCIe or from another GPU (5.6% of all 480 routed)", + "strata serve: decode expert cache hit rate: 83.7% (384 hits / 459 lookups); 21 more read by the GPU over PCIe or from another GPU (4.4% of all 480 routed)", + "strata serve: decode expert cache hit rate: 87.3% (407 hits / 466 lookups); 14 more read by the GPU over PCIe or from another GPU (2.9% of all 480 routed)", + "strata prefill: layer-major prefill is on for this layer split (each layer's experts are read once per super-chunk of up to 32768 tokens, not once per chunk; STRATA_PREFILL_LAYER_MAJOR=0 or STRATA_DEFAULTS=026 turns it off)", + "strata serve: decode expert cache hit rate: 77.5% (348 hits / 449 lookups); 31 more read by the GPU over PCIe or from another GPU (6.5% of all 480 routed)", + "strata serve: decode expert cache hit rate: 57.8% (240 hits / 415 lookups); 65 more read by the GPU over PCIe or from another GPU (13.5% of all 480 routed)", + "strata serve: decode expert cache hit rate: 78.4% (355 hits / 453 lookups); 27 more read by the GPU over PCIe or from another GPU (5.6% of all 480 routed)", + "strata serve: decode expert cache hit rate: 85.9% (396 hits / 461 lookups); 19 more read by the GPU over PCIe or from another GPU (4.0% of all 480 routed)", + "strata serve: decode expert cache hit rate: 64.9% (276 hits / 425 lookups); 55 more read by the GPU over PCIe or from another GPU (11.5% of all 480 routed)", + "strata serve: decode expert cache hit rate: 88.1% (413 hits / 469 lookups); 11 more read by the GPU over PCIe or from another GPU (2.3% of all 480 routed)", + "strata prefill: layer-major off for this prompt: no VRAM for a super-chunk (891 MiB free)", + "strata serve: decode expert cache hit rate: 64.3% (3068 hits / 4769 lookups); 511 more read by the GPU over PCIe or from another GPU (9.7% of all 5280 routed)", + "strata serve: decode expert cache hit rate: 59.1% (3511 hits / 5942 lookups); 778 more read by the GPU over PCIe or from another GPU (11.6% of all 6720 routed)", + "[strata] filling the GPU's expert cache (5655 experts, 7.91 GiB of VRAM) ...", + "[strata] done: 512 tokens in 9 s (61.4 tok/s) (length, cancel=False), expert cache 92.8% hit (+1.5% of the routed experts over PCIe)", + "[strata] done: 512 tokens in 13 s (42.1 tok/s) (length, cancel=False), expert cache 83.7% hit (+4.4% of the routed experts over PCIe)", + "[strata] done: 512 tokens in 13 s (45.1 tok/s) (length, cancel=False), expert cache 87.3% hit (+2.9% of the routed experts over PCIe)", + "[strata] done: 4 tokens in 13 s (0.6 tok/s) (stop, cancel=False), expert cache 57.8% hit (+13.5% of the routed experts over PCIe)", + "[strata] done: 4 tokens in 13 s (28.5 tok/s) (stop, cancel=False), expert cache 78.4% hit (+5.6% of the routed experts over PCIe)", + "[strata] done: 512 tokens in 11 s (48.7 tok/s) (length, cancel=False), expert cache 64.9% hit (+11.5% of the routed experts over PCIe)", + "[strata] done: 512 tokens in 11 s (53.0 tok/s) (length, cancel=False), expert cache 88.1% hit (+2.3% of the routed experts over PCIe)", + "[strata] done: 8 tokens in 17 s (30.5 tok/s) (stop, cancel=False), expert cache 64.3% hit (+9.7% of the routed experts over PCIe)", + "[strata] done: 13 tokens in 1 s (36.3 tok/s) (stop, cancel=False), expert cache 59.1% hit (+11.6% of the routed experts over PCIe)" + ] + }, + { + "index": 2, + "arm": "B", + "rows": [ + { + "label": "solo", + "wall_seconds": 9.216261494002538, + "ttft_seconds": 0.9151602420024574, + "usage": { + "prompt_tokens": 56, + "completion_tokens": 512, + "total_tokens": 568, + "prompt_tokens_details": { + "cached_tokens": 0 + } + }, + "timings": { + "cache_n": 0, + "prompt_n": 56, + "prompt_ms": 887.8, + "prompt_per_token_ms": 15.854, + "prompt_per_second": 63.1, + "predicted_n": 512, + "predicted_ms": 8324.9, + "predicted_per_token_ms": 16.26, + "predicted_per_second": 61.5, + "draft_n": 331, + "draft_n_accepted": 197 + }, + "finish_reason": "length", + "stream_complete": true + }, + { + "label": "parallel-1", + "wall_seconds": 13.080044282978633, + "ttft_seconds": 0.8545409599901177, + "usage": { + "prompt_tokens": 56, + "completion_tokens": 512, + "total_tokens": 568, + "prompt_tokens_details": { + "cached_tokens": 0 + } + }, + "timings": { + "cache_n": 0, + "prompt_n": 56, + "prompt_ms": 828.9, + "prompt_per_token_ms": 14.802, + "prompt_per_second": 67.6, + "predicted_n": 512, + "predicted_ms": 12134.1, + "predicted_per_token_ms": 23.699, + "predicted_per_second": 42.2, + "draft_n": 0, + "draft_n_accepted": 0 + }, + "finish_reason": "length", + "stream_complete": true + }, + { + "label": "parallel-0", + "wall_seconds": 13.106248441996286, + "ttft_seconds": 1.7595195140165742, + "usage": { + "prompt_tokens": 61, + "completion_tokens": 512, + "total_tokens": 573, + "prompt_tokens_details": { + "cached_tokens": 0 + } + }, + "timings": { + "cache_n": 0, + "prompt_n": 61, + "prompt_ms": 714.9, + "prompt_per_token_ms": 11.72, + "prompt_per_second": 85.3, + "predicted_n": 512, + "predicted_ms": 11286.8, + "predicted_per_token_ms": 22.045, + "predicted_per_second": 45.4, + "draft_n": 0, + "draft_n_accepted": 0 + }, + "finish_reason": "length", + "stream_complete": true + }, + { + "label": "fresh-context-1", + "wall_seconds": 13.37797291300376, + "ttft_seconds": 6.596770232979907, + "usage": { + "prompt_tokens": 7416, + "completion_tokens": 4, + "total_tokens": 7420, + "prompt_tokens_details": { + "cached_tokens": 0 + } + }, + "timings": { + "cache_n": 0, + "prompt_n": 7416, + "prompt_ms": 6555.9, + "prompt_per_token_ms": 0.884, + "prompt_per_second": 1131.2, + "predicted_n": 4, + "predicted_ms": 6673.8, + "predicted_per_token_ms": 1668.45, + "predicted_per_second": 0.6, + "draft_n": 0, + "draft_n_accepted": 0 + }, + "finish_reason": "stop", + "stream_complete": true + }, + { + "label": "fresh-context-0", + "wall_seconds": 13.433688021992566, + "ttft_seconds": 13.211203081998974, + "usage": { + "prompt_tokens": 7416, + "completion_tokens": 4, + "total_tokens": 7420, + "prompt_tokens_details": { + "cached_tokens": 0 + } + }, + "timings": { + "cache_n": 0, + "prompt_n": 7416, + "prompt_ms": 6395.6, + "prompt_per_token_ms": 0.862, + "prompt_per_second": 1159.5, + "predicted_n": 4, + "predicted_ms": 138.8, + "predicted_per_token_ms": 34.7, + "predicted_per_second": 28.8, + "draft_n": 0, + "draft_n_accepted": 0 + }, + "finish_reason": "stop", + "stream_complete": true + }, + { + "label": "cached-context-0", + "wall_seconds": 11.423244783014525, + "ttft_seconds": 0.7642158830130938, + "usage": { + "prompt_tokens": 7466, + "completion_tokens": 512, + "total_tokens": 7978, + "prompt_tokens_details": { + "cached_tokens": 7419 + } + }, + "timings": { + "cache_n": 7419, + "prompt_n": 47, + "prompt_ms": 739.2, + "prompt_per_token_ms": 15.728, + "prompt_per_second": 63.6, + "predicted_n": 512, + "predicted_ms": 10548.5, + "predicted_per_token_ms": 20.603, + "predicted_per_second": 48.5, + "draft_n": 0, + "draft_n_accepted": 0 + }, + "finish_reason": "length", + "stream_complete": true + }, + { + "label": "cached-context-1", + "wall_seconds": 11.44970241797273, + "ttft_seconds": 1.6927686959970742, + "usage": { + "prompt_tokens": 7466, + "completion_tokens": 512, + "total_tokens": 7978, + "prompt_tokens_details": { + "cached_tokens": 7419 + } + }, + "timings": { + "cache_n": 7419, + "prompt_n": 47, + "prompt_ms": 721.3, + "prompt_per_token_ms": 15.347, + "prompt_per_second": 65.2, + "predicted_n": 512, + "predicted_ms": 9676.3, + "predicted_per_token_ms": 18.899, + "predicted_per_second": 52.9, + "draft_n": 0, + "draft_n_accepted": 0 + }, + "finish_reason": "length", + "stream_complete": true + }, + { + "label": "long-context", + "wall_seconds": 17.26003918101196, + "ttft_seconds": 17.008615505008493, + "usage": { + "prompt_tokens": 30041, + "completion_tokens": 8, + "total_tokens": 30049, + "prompt_tokens_details": { + "cached_tokens": 0 + } + }, + "timings": { + "cache_n": 0, + "prompt_n": 30041, + "prompt_ms": 16971.8, + "prompt_per_token_ms": 0.565, + "prompt_per_second": 1770.1, + "predicted_n": 8, + "predicted_ms": 270.6, + "predicted_per_token_ms": 33.825, + "predicted_per_second": 29.6, + "draft_n": 7, + "draft_n_accepted": 6 + }, + "finish_reason": "stop", + "stream_complete": true + }, + { + "label": "json", + "wall_seconds": 1.0738682509982027, + "ttft_seconds": 0.7170836869918276, + "usage": { + "prompt_tokens": 37, + "completion_tokens": 13, + "total_tokens": 50, + "prompt_tokens_details": { + "cached_tokens": 0 + } + }, + "timings": { + "cache_n": 0, + "prompt_n": 37, + "prompt_ms": 692.8, + "prompt_per_token_ms": 18.724, + "prompt_per_second": 53.4, + "predicted_n": 13, + "predicted_ms": 377.7, + "predicted_per_token_ms": 29.054, + "predicted_per_second": 34.4, + "draft_n": 10, + "draft_n_accepted": 10 + }, + "finish_reason": "stop", + "stream_complete": true + } + ], + "groups": [ + { + "label": "parallel", + "wall_seconds": 13.106773856998188, + "output_tokens": 1024 + }, + { + "label": "fresh-context", + "wall_seconds": 13.434169144020416, + "output_tokens": 8 + }, + { + "label": "cached-context", + "wall_seconds": 11.449975740019, + "output_tokens": 1024 + } + ], + "complete": true, + "load_seconds": 71.02508555498207, + "effective_switches": { + "STRATA_CKPT_POOL": "0", + "STRATA_CKPT_POOL_READY": "0", + "STRATA_SLOT_CKPT_MOVE": "0", + "STRATA_SLOT_COPY_DIRECT": "0", + "STRATA_SLOT_COPY_BATCHSYNC": "0", + "STRATA_BATCH_GDN_GROUPS": "0", + "STRATA_BATCH_ATTN_ROWS": "0", + "STRATA_BATCH_SELF_COMMIT": "0", + "STRATA_QSA_SLOTS": "0", + "STRATA_GDN_TC": "0", + "STRATA_GDN_CONVL2": "0" + }, + "gpu_memory": "0, 10981\n1, 15578", + "runtime_metadata": [ + "strata generate: --batch 2: the slot sessions take 0.73 GiB of VRAM on CUDA0 that the expert cache would otherwise hold", + "strata generate: expert cache auto: 9.16 GiB free, 1024 MiB reserved (+0 MiB for the draft head, +256 MiB for what is allocated after the cache) -> 3647 slots", + "strata generate: expert cache 5655 slots, 7.91 GiB of VRAM; policy is", + "strata generate: layer split: CUDA1 runs layers 16-47, expert cache 4917 slots (8.55 GiB), 4917 of its 16384 profiled pairs; slot 0 verified", + "strata generate: resident RAM mode: 30.76 GiB of experts in RAM (page-locked), 5655 in the GPU cache; adaptive swaps exchange them with the GPU cache (no file reads)", + "strata serve: decode expert cache hit rate: 92.8% (283548 hits / 305416 lookups); 4664 more read by the GPU over PCIe or from another GPU (1.5% of all 310080 routed)", + "strata serve: decode expert cache hit rate: 81.2% (368 hits / 453 lookups); 27 more read by the GPU over PCIe or from another GPU (5.6% of all 480 routed)", + "strata serve: decode expert cache hit rate: 83.7% (384 hits / 459 lookups); 21 more read by the GPU over PCIe or from another GPU (4.4% of all 480 routed)", + "strata serve: decode expert cache hit rate: 87.3% (407 hits / 466 lookups); 14 more read by the GPU over PCIe or from another GPU (2.9% of all 480 routed)", + "strata prefill: layer-major prefill is on for this layer split (each layer's experts are read once per super-chunk of up to 32768 tokens, not once per chunk; STRATA_PREFILL_LAYER_MAJOR=0 or STRATA_DEFAULTS=026 turns it off)", + "strata serve: decode expert cache hit rate: 77.5% (348 hits / 449 lookups); 31 more read by the GPU over PCIe or from another GPU (6.5% of all 480 routed)", + "strata serve: decode expert cache hit rate: 57.8% (240 hits / 415 lookups); 65 more read by the GPU over PCIe or from another GPU (13.5% of all 480 routed)", + "strata serve: decode expert cache hit rate: 78.4% (355 hits / 453 lookups); 27 more read by the GPU over PCIe or from another GPU (5.6% of all 480 routed)", + "strata serve: decode expert cache hit rate: 86.0% (398 hits / 463 lookups); 17 more read by the GPU over PCIe or from another GPU (3.5% of all 480 routed)", + "strata serve: decode expert cache hit rate: 63.9% (271 hits / 424 lookups); 56 more read by the GPU over PCIe or from another GPU (11.7% of all 480 routed)", + "strata serve: decode expert cache hit rate: 88.1% (413 hits / 469 lookups); 11 more read by the GPU over PCIe or from another GPU (2.3% of all 480 routed)", + "strata prefill: layer-major off for this prompt: no VRAM for a super-chunk (891 MiB free)", + "strata serve: decode expert cache hit rate: 64.4% (3074 hits / 4770 lookups); 510 more read by the GPU over PCIe or from another GPU (9.7% of all 5280 routed)", + "strata serve: decode expert cache hit rate: 58.8% (3490 hits / 5931 lookups); 789 more read by the GPU over PCIe or from another GPU (11.7% of all 6720 routed)", + "[strata] filling the GPU's expert cache (5655 experts, 7.91 GiB of VRAM) ...", + "[strata] done: 512 tokens in 9 s (61.5 tok/s) (length, cancel=False), expert cache 92.8% hit (+1.5% of the routed experts over PCIe)", + "[strata] done: 512 tokens in 13 s (42.2 tok/s) (length, cancel=False), expert cache 83.7% hit (+4.4% of the routed experts over PCIe)", + "[strata] done: 512 tokens in 13 s (45.4 tok/s) (length, cancel=False), expert cache 87.3% hit (+2.9% of the routed experts over PCIe)", + "[strata] done: 4 tokens in 13 s (0.6 tok/s) (stop, cancel=False), expert cache 57.8% hit (+13.5% of the routed experts over PCIe)", + "[strata] done: 4 tokens in 13 s (28.8 tok/s) (stop, cancel=False), expert cache 78.4% hit (+5.6% of the routed experts over PCIe)", + "[strata] done: 512 tokens in 11 s (48.5 tok/s) (length, cancel=False), expert cache 63.9% hit (+11.7% of the routed experts over PCIe)", + "[strata] done: 512 tokens in 11 s (52.9 tok/s) (length, cancel=False), expert cache 88.1% hit (+2.3% of the routed experts over PCIe)", + "[strata] done: 8 tokens in 17 s (29.6 tok/s) (stop, cancel=False), expert cache 64.4% hit (+9.7% of the routed experts over PCIe)", + "[strata] done: 13 tokens in 1 s (34.4 tok/s) (stop, cancel=False), expert cache 58.8% hit (+11.7% of the routed experts over PCIe)" + ] + }, + { + "index": 3, + "arm": "A", + "rows": [], + "groups": [], + "complete": false + } + ], + "complete": false, + "started_at": 1793530352.8345401, + "elapsed_seconds": 432.9896396350232 +} diff --git a/docs/maintenance/strata-029-linux-ab-2026-11-01/evidence/summary.json b/docs/maintenance/strata-029-linux-ab-2026-11-01/evidence/summary.json new file mode 100644 index 0000000..9d131ea --- /dev/null +++ b/docs/maintenance/strata-029-linux-ab-2026-11-01/evidence/summary.json @@ -0,0 +1,116 @@ +{ + "metrics": [ + { + "block": 0, + "arm": "A", + "load_seconds": 71.04009791399585, + "solo_decode_tps": 61.5, + "parallel_seconds": 12.800486714986619, + "parallel_output_tps": 79.9969581469989, + "fresh_context_seconds": 13.1723086850252, + "cached_context_seconds": 11.159832175006159, + "long_prefill_tps": 1779.6, + "long_prompt_tokens": 30041, + "long_seconds": 17.166482217988232, + "gpu_memory": "0, 10981\n1, 15572" + }, + { + "block": 1, + "arm": "B", + "load_seconds": 71.02659965198836, + "solo_decode_tps": 61.4, + "parallel_seconds": 13.115984290023334, + "parallel_output_tps": 78.07267661786581, + "fresh_context_seconds": 13.425892781000584, + "cached_context_seconds": 11.428844395995839, + "long_prefill_tps": 1776.7, + "long_prompt_tokens": 30041, + "long_seconds": 17.187609168002382, + "gpu_memory": "0, 10981\n1, 15576" + }, + { + "block": 2, + "arm": "B", + "load_seconds": 71.02508555498207, + "solo_decode_tps": 61.5, + "parallel_seconds": 13.106773856998188, + "parallel_output_tps": 78.12754009280847, + "fresh_context_seconds": 13.434169144020416, + "cached_context_seconds": 11.449975740019, + "long_prefill_tps": 1770.1, + "long_prompt_tokens": 30041, + "long_seconds": 17.26003918101196, + "gpu_memory": "0, 10981\n1, 15578" + } + ], + "comparison": { + "solo_decode_tps": { + "A": 61.5, + "B_values": [ + 61.4, + 61.5 + ], + "B_median": 61.45, + "B_relative_percent": -0.08130081300812275 + }, + "parallel_seconds": { + "A": 12.800486714986619, + "B_values": [ + 13.115984290023334, + 13.106773856998188 + ], + "B_median": 13.111379073510761, + "B_relative_percent": 2.4287541985427374 + }, + "parallel_output_tps": { + "A": 79.9969581469989, + "B_values": [ + 78.07267661786581, + 78.12754009280847 + ], + "B_median": 78.10010835533714, + "B_relative_percent": -2.3711523982901883 + }, + "fresh_context_seconds": { + "A": 13.1723086850252, + "B_values": [ + 13.425892781000584, + 13.434169144020416 + ], + "B_median": 13.4300309625105, + "B_relative_percent": 1.9565459908959415 + }, + "cached_context_seconds": { + "A": 11.159832175006159, + "B_values": [ + 11.428844395995839, + 11.449975740019 + ], + "B_median": 11.439410068007419, + "B_relative_percent": 2.5052159263416973 + }, + "long_prefill_tps": { + "A": 1779.6, + "B_values": [ + 1776.7, + 1770.1 + ], + "B_median": 1773.4, + "B_relative_percent": -0.3483928972802808 + }, + "long_seconds": { + "A": 17.166482217988232, + "B_values": [ + 17.187609168002382, + 17.26003918101196 + ], + "B_median": 17.223824174507172, + "B_relative_percent": 0.33403440373387383 + } + }, + "completed_blocks": 3, + "completed_requests": 27, + "complete_abba": false, + "restored": true, + "total_window_seconds": 663.3552711009979 +} diff --git a/docs/maintenance/strata-029-linux-ab-2026-11-01/experiment.py b/docs/maintenance/strata-029-linux-ab-2026-11-01/experiment.py new file mode 100644 index 0000000..4411372 --- /dev/null +++ b/docs/maintenance/strata-029-linux-ab-2026-11-01/experiment.py @@ -0,0 +1,301 @@ +#!/usr/bin/env python3 +"""Athena host/controller and isolated-container worker for the approved short A/B. + +No production mutation, admin login, deployment or old-version execution. Host +run requires the normal authenticated GUI drain first. Only the owning test +container may be stopped; the GUI restarts the unchanged production endpoint. +""" +import argparse +import concurrent.futures +import copy +import hashlib +import json +import os +from pathlib import Path +import secrets +import signal +import subprocess +import sys +import threading +import time +import urllib.request +from typing import Any + +COMMIT='c62d5e3a15b40ea51c96aae9e8d36928965f53ab' +STATE=Path('/opt/athena-deck-dev/runtime/state') +STAGE=STATE/'strata-linux-ab-20261101' +NAME='athena-strata-029-linux-ab' +SWITCHES={'STRATA_CKPT_POOL':'1','STRATA_CKPT_POOL_READY':'4','STRATA_SLOT_CKPT_MOVE':'1', + 'STRATA_SLOT_COPY_DIRECT':'1','STRATA_SLOT_COPY_BATCHSYNC':'1','STRATA_BATCH_GDN_GROUPS':'1', + 'STRATA_BATCH_ATTN_ROWS':'1','STRATA_BATCH_SELF_COMMIT':'1','STRATA_QSA_SLOTS':'1', + 'STRATA_GDN_TC':'1','STRATA_GDN_CONVL2':'2'} +CPUS=[0,1,2,3,6,7,8,9] +SETTINGS=('profiles.json','endpoint.json','audio-policy.json','cpu-partition.json','reasoning-budget.json') + + +def hashes(): + out={} + for name in SETTINGS: + p=STATE/name + if p.is_file(): + with p.open('rb') as f:out[name]=hashlib.file_digest(f,'sha256').hexdigest() + return out + + +def managed_status(key): + q=urllib.request.Request('http://127.0.0.1:8108/api/v1/status',headers={'Authorization':'Bearer '+key}) + return json.load(urllib.request.urlopen(q,timeout=8))['endpoint'] + + +def prepare(): + assert not STAGE.exists(),'Existing experiment: inspect instead of duplicating' + runtime=STATE/'strata-runtime' + assert json.loads((runtime/'ready.json').read_text())['commit']==COMMIT + manifest=json.loads((STATE.parent/'installation.json').read_text()) + assert manifest['name']=='athena-deck-dev' + info=json.loads(subprocess.check_output(['docker','inspect',manifest['name']],text=True))[0] + assert info['State']['Running'] + original=json.loads((STATE/'strata-worker/worker.json').read_text()) + allowed=('exe','args','cwd','tokenizer','model_name','gpu','gpu_order','layer_split','parallel','reasoning_loop_recovery','vision','env') + template={k:original[k] for k in allowed if k in original} + assert template['parallel']==2 and template['gpu']==[0,1] and template['layer_split']=='16' + assert template['args'][template['args'].index('--batch-groups')+1]=='auto' + assert '--mtp' in template['args'] and '--batch-mtp' not in template['args'] + assert not set(SWITCHES).intersection(template.get('env',{})),'Explicit live overrides: not the proposed default A' + mounts=[manifest['strata_storage'],*manifest.get('strata_storage_mounts',[])] + for raw in mounts: + p=Path(raw) + assert p.is_absolute() and p.is_dir() and 'vpn' not in p.parts and 'vpn.auth' not in p.parts + assert not str(p).startswith('/mnt/nvme-storage/appdata/OpenVPN-KIT/') + STAGE.mkdir(mode=0o755) + (STAGE/'output').mkdir(mode=0o700) + (STAGE/'template.json').write_text(json.dumps(template,indent=2)+'\n') + before=dict(commit=COMMIT,image=info['Config']['Image'],image_id=info['Image'],started=info['State']['StartedAt'], + settings=hashes(),worker=template,mounts=mounts,endpoint_autostart=json.loads((STATE/'endpoint.json').read_text())['autostart'], + model_test_budget_seconds=900,isolated_worker_budget_seconds=720,order=['A','B','B','A']) + (STAGE/'before.json').write_text(json.dumps(before,indent=2)+'\n') + subprocess.run(['chown','-R','65534:65534',STAGE],check=True) + print(json.dumps({'prepared':True,'stage':str(STAGE),'order':before['order'],'configuration_count':2,'production_changed':False}),flush=True) + + +def descendants(pid): + result=[pid] + for parent in result: + try:threads=list((Path('/proc')/str(parent)/'task').iterdir()) + except FileNotFoundError:continue + for thread in threads: + try:children=(thread/'children').read_text().split() + except FileNotFoundError:continue + result.extend(int(p) for p in children if int(p) not in result) + return result + + +def stop_owned(image_id): + """A disconnected docker client does not imply its container stopped.""" + checked=subprocess.run(['docker','inspect',NAME],capture_output=True,text=True) + if checked.returncode:return False + instance=json.loads(checked.stdout)[0] + if instance['Image']!=image_id or not any(m['Source']==str(STAGE/'output') and m['RW'] for m in instance['Mounts']): + raise RuntimeError('Refusing cleanup of an unverified container') + if instance['State']['Running']: + subprocess.run(['docker','stop','--timeout','10',NAME],check=True) + return True + return False + + +def run_host(key): + before=json.loads((STAGE/'before.json').read_text()) + assert all(hashes()[k]==v for k,v in before['settings'].items() if k!='endpoint.json') + endpoint=managed_status(key) + assert endpoint['state']=='stopped' and endpoint['active_requests']==0 + assert not (STATE/'strata-worker/worker.json').exists() + assert not subprocess.check_output(['nvidia-smi','--query-compute-apps=pid','--format=csv,noheader,nounits'],text=True).strip() + info=json.loads(subprocess.check_output(['docker','inspect','athena-deck-dev'],text=True))[0] + assert info['Image']==before['image_id'] and info['State']['StartedAt']==before['started'] + cmd=['docker','run','--rm','--name',NAME,'--network','none','--gpus','all','--read-only', + '--user','65534:65534','--cap-drop','ALL','--security-opt','no-new-privileges', + '--cpus','12','--memory','59g','--memory-swap','59g','--pids-limit','512', + '--tmpfs','/scratch:rw,noexec,nosuid,size=64m,mode=1777','-e','TMPDIR=/scratch', + '-e','PYTHONDONTWRITEBYTECODE=1','-e','NVIDIA_DRIVER_CAPABILITIES=compute,utility', + '--entrypoint','python3','-v',str(STATE/'strata-runtime')+':/var/lib/deck/strata-runtime:ro', + '-v',str(STAGE)+':/test:ro','-v',str(STAGE/'output')+':/experiment', + '-v',str(Path(__file__).resolve())+':/experiment.py:ro'] + for p in before['mounts']:cmd+=['-v',p+':'+p+':ro'] + cmd += [before['image_id'],'-u','/experiment.py','worker','--go'] + began=time.monotonic();failure=None + process=subprocess.Popen(cmd) + try: + while process.poll() is None: + time.sleep(3) + if process.poll() is not None:break + item=json.loads(subprocess.check_output(['docker','inspect',NAME],text=True))[0] + assert any(m['Source']==str(STAGE/'output') and m['RW'] for m in item['Mounts']) + pids=set(descendants(item['State']['Pid'])) + raw=subprocess.check_output(['nvidia-smi','--query-compute-apps=pid','--format=csv,noheader,nounits'],text=True,timeout=8) + if {int(x) for x in raw.split()}-pids:raise RuntimeError('Foreign GPU work: stop owned test only') + state=managed_status(key) + if state['state']!='stopped' or state['active_requests']!=0 or (STATE/'strata-worker/worker.json').exists(): + raise RuntimeError('Production is no longer drained: stop owned test only') + mem={x.split(':')[0]:int(x.split()[1]) for x in Path('/proc/meminfo').read_text().splitlines()} + if mem['MemAvailable']<2*1024**2:raise RuntimeError('Host available memory below 2 GiB') + if time.monotonic()-began>720:raise TimeoutError('720-second isolated budget reached; restore production now') + except BaseException as error: + failure=type(error).__name__+': '+str(error) + stop_owned(before['image_id']) + process.wait(timeout=30) + finally: + # Also clean up when docker exits with SIGPIPE after the SSH/tool pipe closes. + owned_stopped=stop_owned(before['image_id']) + summary={'isolated_seconds':time.monotonic()-began,'exit_code':process.poll(),'failure':failure, + 'owned_cleanup_performed':owned_stopped, + 'protected_settings_unchanged':all(hashes()[k]==v for k,v in before['settings'].items() if k!='endpoint.json'), + 'production_restart_required_via_gui':True} + (STAGE/'host-result.json').write_text(json.dumps(summary,indent=2)+'\n') + print(json.dumps(summary),flush=True) + if failure or process.returncode:raise RuntimeError('A/B incomplete; restore endpoint, inspect recorded results') + + +def config(template, arm, directory, token) -> dict[str, Any]: + cfg=copy.deepcopy(template) + cfg.update(host='127.0.0.1',port=19082,api_key=token,model_name='synthetic-linux-ab', + open_browser=False,vram_elastic=False,log=str(directory/'engine.log')) + for name in SWITCHES:cfg.setdefault('env',{}).pop(name,None) + if arm=='B':cfg['env'].update({name:'0' for name in SWITCHES}) + return cfg + + +def worker(): + root=Path('/experiment');template=json.loads(Path('/test/template.json').read_text()) + runtime=Path('/var/lib/deck/strata-runtime');source=runtime/'source' + assert json.loads((runtime/'ready.json').read_text())['commit']==COMMIT + result: dict[str, Any]={'commit':COMMIT,'order':['A','B','B','A'],'blocks':[],'complete':False,'started_at':time.time()} + began=time.monotonic();deadline=began+700 + def save(): + result['elapsed_seconds']=time.monotonic()-began + (root/'results.json').write_text(json.dumps(result,indent=2)+'\n') + for index,arm in enumerate(result['order']): + directory=root/f'{index}-{arm}';directory.mkdir() + token=secrets.token_urlsafe(24);cfg=config(template,arm,directory,token) + path=directory/'config.json';path.write_text(json.dumps(cfg));path.chmod(0o600) + env=dict(os.environ,LD_LIBRARY_PATH=str(runtime/'cuda/lib64')+':'+str(runtime/'cuda/lib')+':'+os.environ.get('LD_LIBRARY_PATH',''), + PYTHONDONTWRITEBYTECODE='1') + for name in SWITCHES:env.pop(name,None) + log=(directory/'server.log').open('w') + process=None;block: dict[str, Any]={'index':index,'arm':arm,'rows':[],'groups':[],'complete':False} + result['blocks'].append(block);save() + try: + print(f'Block {index+1}/4: {arm}, loading unchanged two-GPU profile',flush=True) + loading=time.monotonic() + process=subprocess.Popen(['taskset','-c',','.join(map(str,CPUS)),str(source/'.venv/bin/python'), + str(source/'serve/server.py'),'--engine','strata','--config',str(path), + '--host','127.0.0.1','--port','19082','--fit-max-tokens'], + cwd=source,env=env,stdout=log,stderr=subprocess.STDOUT,start_new_session=True) + def http(route,body=None): + req=urllib.request.Request('http://127.0.0.1:19082'+route, + data=json.dumps(body).encode() if body is not None else None, + headers={'Authorization':'Bearer '+token,'Content-Type':'application/json'}) + return urllib.request.urlopen(req,timeout=120 if body is not None else 3) + while time.monotonic()-loading<120 and time.monotonic() dict[str, Any]: + if time.monotonic()>=deadline:raise TimeoutError('Worker budget expired') + if barrier:barrier.wait(timeout=10) + start=time.monotonic();first=None;text='';usage={};timings={};done=False;finish=None + body=dict(model=cfg['model_name'],messages=messages,max_tokens=maximum,temperature=0,seed=42, + reasoning_effort='none',strata_tune={'aux_cpus':1},stream=True,stream_options={'include_usage':True}) + with http('/v1/chat/completions',body) as response: + for line in response: + if time.monotonic()>=deadline:raise TimeoutError('Worker budget expired') + if not line.startswith(b'data:'):continue + raw=line[5:].strip() + if raw==b'[DONE]':done=True;break + item=json.loads(raw) + if 'error' in item:raise RuntimeError(str(item['error'])) + usage=item.get('usage') or usage;timings=item.get('timings') or item.get('backend_timings') or timings + for choice in item.get('choices',[]): + content=choice.get('delta',{}).get('content') or '' + if content and first is None:first=time.monotonic()-start + text+=content;finish=choice.get('finish_reason') or finish + assert done and usage.get('completion_tokens',0)>0 + row: dict[str, Any]=dict(label=label,wall_seconds=time.monotonic()-start,ttft_seconds=first,usage=usage, + timings=timings,text=text,finish_reason=finish,stream_complete=done) + block['rows'].append(row);return row + def pair(label,messages,maximum) -> list[dict[str, Any]]: + barrier=threading.Barrier(2);start=time.monotonic() + with concurrent.futures.ThreadPoolExecutor(max_workers=2) as pool: + futures=[pool.submit(request,label+'-'+str(i),m,maximum,barrier) for i,m in enumerate(messages)] + rows=[f.result() for f in futures] + wall=time.monotonic()-start + block['groups'].append(dict(label=label,wall_seconds=wall,output_tokens=sum(r['usage']['completion_tokens'] for r in rows))) + return rows + short=[[{'role':'system','content':f'Kurzmessung 0, Gespräch {i}. Schreibe auf Deutsch.'}, + {'role':'user','content':'Schreibe einen ausführlichen Fachtext mit mindestens 1200 Wörtern über '+('Home Assistant.' if i else 'Datensicherung.')} ] for i in range(2)] + solo=request('solo',short[0]);assert solo['usage']['completion_tokens']==512 + short[0][0]['content']+=' Parallele Messung.' + rows=pair('parallel',short,512);assert all(r['usage']['completion_tokens']==512 for r in rows) + contexts=[] + for i in range(2): + marker=('ORION_AB','VEGA_AB')[i] + facts='\n'.join(f'Datensatz {n:05d}: Bereich Lager, Farbe blau, geprüft und freigegeben.' for n in range(320)) + contexts.append([{'role':'system','content':'Lies nur das eigene Dokument. Antworte kurz und exakt.'}, + {'role':'user','content':f'Dokument {i}:\n{facts}\nGeheime Kennung: {marker}\nNenne ausschließlich die geheime Kennung.'}]) + cold=pair('fresh-context',contexts,128) + for i,row in enumerate(cold):assert ('ORION_AB','VEGA_AB')[i] in row['text'] and ('VEGA_AB','ORION_AB')[i] not in row['text'] + following=[m+[{'role':'assistant','content':r['text']},{'role':'user','content':'Beginne mit der geheimen Kennung meines Dokuments und schreibe dann einen Fachtext mit mindestens 1200 Wörtern über Datensicherung.'}] for m,r in zip(contexts,cold)] + cached=pair('cached-context',following,512) + assert all(r['usage']['completion_tokens']==512 and r['usage'].get('prompt_tokens_details',{}).get('cached_tokens',0)>0 for r in cached) + text='\n'.join(f'Archivzeile {n:05d}: Standort West, Kategorie Ersatzteile, Freigabe dokumentiert.' for n in range(1200)) + long=request('long-context',[{'role':'user','content':'Merke am Anfang: ALPHA_AB.\n'+text+'\nMerke am Ende: OMEGA_AB.\nNenne ausschließlich die beiden Merkwörter.'}],128) + assert all(x in long['text'] for x in ('ALPHA_AB','OMEGA_AB')) + exact=request('json',[{'role':'user','content':'Antworte ausschließlich als JSON mit exakt diesen Werten: {"ok":true,"marker":"AB029"}'}],128) + assert json.loads(exact['text'])=={'ok':True,'marker':'AB029'} + block['complete']=True + print(json.dumps({'block':index,'arm':arm,'load_seconds':block['load_seconds'],'rows':len(block['rows']), + 'solo_decode_tps':solo['timings'].get('predicted_per_second'),'groups':block['groups']}),flush=True) + except BaseException as error: + block['error']=type(error).__name__+': '+str(error);raise + finally: + if process and process.poll() is None: + os.killpg(process.pid,signal.SIGTERM) + try:process.wait(timeout=15) + except subprocess.TimeoutExpired:os.killpg(process.pid,signal.SIGKILL);process.wait() + log.close();path.unlink(missing_ok=True) + metadata=[] + for name in ('engine.log','server.log'): + p=directory/name + if p.is_file(): + metadata.extend(line for line in p.read_text(errors='replace').splitlines() + if any(term in line for term in ('resident RAM mode:','expert cache','layer-major','GDN','Gated DeltaNet','batch_groups='))) + block['runtime_metadata']=metadata[:50];save() + result['complete']=all(b['complete'] for b in result['blocks']) and len(result['blocks'])==4 + save();print(json.dumps({'complete':result['complete'],'elapsed_seconds':result['elapsed_seconds']}),flush=True) + + +if __name__=='__main__': + parser=argparse.ArgumentParser();parser.add_argument('operation',choices=['plan','prepare','run','worker'],default='plan',nargs='?');parser.add_argument('--go',action='store_true');args=parser.parse_args() + if args.operation=='plan':print(json.dumps({'configurations':{'A':'new Linux defaults, unset','B':{k:'0' for k in SWITCHES}},'order':['A','B','B','A'],'isolated_budget_seconds':720,'total_model_budget_seconds':900}));raise SystemExit(0) + if not args.go:parser.error('Explicit Michael Go required') + if args.operation=='prepare':prepare() + elif args.operation=='run':run_host(json.load(sys.stdin)['key']) + else:worker() diff --git a/docs/maintenance/strata-029-linux-ab-2026-11-01/restore.py b/docs/maintenance/strata-029-linux-ab-2026-11-01/restore.py new file mode 100644 index 0000000..00446ab --- /dev/null +++ b/docs/maintenance/strata-029-linux-ab-2026-11-01/restore.py @@ -0,0 +1,49 @@ +#!/usr/bin/env python3 +"""Athena host: one authorized restoration probe and read-back verification.""" +import argparse +import json +from pathlib import Path +import subprocess +import sys +import time +import urllib.request +import experiment + + +def main(): + key=json.load(sys.stdin)['key'] + before=json.loads((experiment.STAGE/'before.json').read_text()) + request=urllib.request.Request('http://127.0.0.1:8120/v1/chat/completions', + data=json.dumps(dict(model=before['worker']['model_name'],messages=[{'role':'user','content':'Antworte ausschließlich mit ATHENA_AB_RESTORED'}], + max_tokens=32,temperature=0,reasoning_effort='none',stream=False)).encode(), + headers={'Authorization':'Bearer '+key,'Content-Type':'application/json'}) + started=time.monotonic() + with urllib.request.urlopen(request,timeout=180) as response:answer=json.load(response) + assert 'ATHENA_AB_RESTORED' in answer['choices'][0]['message']['content'] + worker=json.loads((experiment.STATE/'strata-worker/worker.json').read_text()) + assert all(worker.get(k)==v for k,v in before['worker'].items()),'Original worker configuration differs' + assert experiment.hashes()==before['settings'],'User settings changed; never overwrite them' + endpoint=experiment.managed_status(key) + assert endpoint['state']=='running' and all(endpoint['counts'][k]['loaded'] for k in ('llm','tts','stt')) + container=json.loads(subprocess.check_output(['docker','inspect','athena-deck-dev'],text=True))[0] + assert container['Image']==before['image_id'] and container['State']['StartedAt']==before['started'] + assert container['State']['Health']['Status']=='healthy' + check=subprocess.run(['docker','inspect',experiment.NAME],capture_output=True,text=True) + assert check.returncode!=0,'Owned test container remains' + result=json.loads((experiment.STAGE/'output/results.json').read_text()) + evidence=dict(restored=True,checked_at=time.time(),restoration_seconds=time.monotonic()-started, + total_window_seconds=time.time()-result['started_at'],complete_abba=result['complete'], + completed_blocks=[{'index':b['index'],'arm':b['arm'],'requests':len(b['rows'])} for b in result['blocks'] if b['complete']], + settings_unchanged=True,worker_configuration_unchanged=True,production_container_unchanged=True, + qwen_tts_stt_loaded=True,container_health='healthy',test_container_removed=True, + original_defaults_active=True,marker_found=True,restore_usage=answer.get('usage'), + interruption='Foreground tool timed out at 420 s; host docker client exited with SIGPIPE (-13). Partial repetition stopped; no new test series.') + p=experiment.STAGE/'restoration.json';p.write_text(json.dumps(evidence,indent=2)+'\n') + assert json.loads(p.read_text())==evidence + print(json.dumps(evidence,indent=2)) + + +if __name__=='__main__': + parser=argparse.ArgumentParser();parser.add_argument('--go',action='store_true') + if not parser.parse_args().go:parser.error('Explicit Michael Go required') + main() diff --git a/docs/maintenance/strata-029-linux-ab-2026-11-01/test_experiment.py b/docs/maintenance/strata-029-linux-ab-2026-11-01/test_experiment.py new file mode 100644 index 0000000..2773970 --- /dev/null +++ b/docs/maintenance/strata-029-linux-ab-2026-11-01/test_experiment.py @@ -0,0 +1,65 @@ +"""NAS-only offline checks; never connects to Athena or starts a model.""" +import copy +import importlib.util +from pathlib import Path +import subprocess +import sys +import unittest +from unittest.mock import patch + +PATH=Path(__file__).with_name('experiment.py') +spec=importlib.util.spec_from_file_location('linux_ab_experiment',PATH) +assert spec is not None and spec.loader is not None +module=importlib.util.module_from_spec(spec);spec.loader.exec_module(module) + + +class ConfigTests(unittest.TestCase): + def setUp(self): + self.template={'args':['--batch-groups','auto','--mtp','/models/mtp'],'parallel':2, + 'gpu':[0,1],'layer_split':'16','env':{'STRATA_ROUTE_PRIOR':'0'}, + 'vision':{'gpu':False,'threads':4}} + + def test_defaults_unset_and_input_preserved(self): + original=copy.deepcopy(self.template) + result=module.config(self.template,'A',Path('/experiment/A'),'synthetic-token') + self.assertFalse(set(module.SWITCHES)&set(result['env'])) + self.assertEqual(self.template,original) + + def test_only_eleven_engine_switches_differ(self): + a=module.config(self.template,'A',Path('/experiment/shared'),'same-token') + b=module.config(self.template,'B',Path('/experiment/shared'),'same-token') + self.assertEqual(len(module.SWITCHES),11) + self.assertEqual(b['env'],{**a['env'],**{k:'0' for k in module.SWITCHES}}) + a.pop('env');b.pop('env');self.assertEqual(a,b) + + def test_default_plan_without_credentials(self): + result=subprocess.run([sys.executable,str(PATH)],capture_output=True,text=True) + self.assertEqual(result.returncode,0,result.stderr) + self.assertIn('"A", "B", "B", "A"',result.stdout) + + def test_no_go_refuses_before_host_or_credentials(self): + for operation in ('prepare','run','worker'): + result=subprocess.run([sys.executable,str(PATH),operation],input='',capture_output=True,text=True) + self.assertEqual(result.returncode,2) + self.assertIn('Explicit Michael Go required',result.stderr) + + def test_cleanup_stops_verified_container_after_client_exit(self): + import json + instance={'Image':'test-image','Mounts':[{'Source':str(module.STAGE/'output'),'RW':True}], + 'State':{'Running':True}} + inspected=subprocess.CompletedProcess([],0,json.dumps([instance]),'') + stopped=subprocess.CompletedProcess([],0,'','') + with patch.object(module.subprocess,'run',side_effect=[inspected,stopped]) as run: + self.assertTrue(module.stop_owned('test-image')) + self.assertEqual(run.call_args_list[1].args[0],['docker','stop','--timeout','10',module.NAME]) + + def test_cleanup_refuses_other_image(self): + import json + inspected=subprocess.CompletedProcess([],0,json.dumps([{'Image':'foreign','Mounts':[], + 'State':{'Running':True}}]),'') + with patch.object(module.subprocess,'run',return_value=inspected) as run: + with self.assertRaisesRegex(RuntimeError,'unverified container'):module.stop_owned('test-image') + self.assertEqual(run.call_count,1) + + +if __name__=='__main__':unittest.main() diff --git a/docs/maintenance/strata-029-staged-2026-11-01/README.md b/docs/maintenance/strata-029-staged-2026-11-01/README.md new file mode 100644 index 0000000..3b5d5fc --- /dev/null +++ b/docs/maintenance/strata-029-staged-2026-11-01/README.md @@ -0,0 +1,172 @@ +# Strata v0.2.9 / Engine 0.1.55: Build, Aktivierung und Kurzabnahme + +## Auftrag und Freigabegrenze + +Michael beauftragte zunächst ausschließlich den Build und erteilte anschließend +ein neues Go für vollständigen Austausch und kurze Modelltests. Die zunächst +fehlende reguläre Verwaltungssitzung wurde durch Michaels Anmeldung hergestellt; +kein Kennwort oder Administratortoken wurde aus Dateien gewonnen. Vor dem +normalen GUI-Stopp waren HTTP- und Scheduler-Anfragen einschließlich Warteschlange +null, kein Umschalten aktiv und keine abgefragten Arbeitsjobs liefen. Nach dem +Stopp wurden gestoppter Worker und weiterhin leere Zähler erneut gelesen; +der fehlgeschlagene Browser-Fetch wurde nicht blind als Stoppfehler wiederholt. + +**Abgeschlossen: 0.1.55 aktiv, alte aktive Buildinstallation entfernt, +13 Modellprüfungen in 140,09 Sekunden bestanden. Qwen/TTS/STT geladen, +Deck und Backend gesund. Keine weiteren Modelltests oder Neustarts freigegeben.** + +## Quellen und erhaltener Betrieb + +- Offizielles Release: . +- Annotiertes Tag-Objekt: `d94bac6aa33065f5e6a65cca111846627599e318`. +- Aufgelöster Quellcommit: `c62d5e3a15b40ea51c96aae9e8d36928965f53ab`. +- Erwartete native Engine-Version: `0.1.55`. +- Live am 1. November 2026 vor dem Build gelesen: weiterhin Engine `0.1.52`, + Quellcommit `5e8a4cca7d690ac60ca37eb09e7d0e010099ad6d`, CUDA 13.0, + Architekturen `86;120`. +- Tatsächliches Deck-Image vor dem Austausch: + `athena-deck-standalone:kikiri-anna-20261028`. Für den isolierten + Compilertransport wurde nur seine geprüfte Image-ID verwendet; bei der + späteren Aktivierung blieb diese Appbasis unter der neuen Rezeptschicht erhalten. + Keine Anna-/Kikiri-/TTS-Änderung ist Bestandteil dieses Auftrags. +- Bis zum neuen Go blieben produktive Runtime und `strata_sources.json` auf dem + alten Pin; jetzt stimmen native Runtime, kanonische Quelle, Image und das + aktualisierte Rezept mit `0.1.55` überein. Modellgewichte, Profile, + API-Identitäten, CPU-/Audio-Einstellungen und privates CUDA bleiben erhalten. + +## Aufbau und Ausführungsumgebungen + +Die Skripte `prepare.py` und `verify.py` laufen auf dem **Athena-Host** mit dem +vorhandenen Python. `build.py` läuft als UID/GID 65534 in einem kurzlebigen, +isolierten Compilercontainer; dieser ist nur der heutige Transport, kein neuer +Produktdienst und keine native Runtime-Voraussetzung. + +- Host-Skripte: `/opt/athena-deck-dev/strata-029-preparation-20261101/`. +- Kandidat: `/opt/athena-deck-dev/runtime/state/strata-candidate-v0.2.9/`. +- Quellen, Venv und Binaries unter `runtime/source/` innerhalb des Kandidaten. +- Eigenständige CMake-Bäume für Qwen, DeepSeek und CPU-Vision. +- Qwen und DeepSeek für **SM86 und SM120**, CPU-Vision ohne GPU. +- Vorhandenes privates CUDA-13.0-Toolkit ausschließlich read-only eingebunden. +- Keine GPU-Geräte, Modellablage, App-Zustandsablage oder Zugangsdaten im Builder. +- Ressourcen: 2 CPU-Quota, niedrige CPU-Priorität, 3 GiB RAM, maximal 4 GiB + RAM+Swap; CMake/Ninja-Pools begrenzen Compile und Link jeweils auf einen Job. +- Start nur mit mindestens 6 GiB verfügbarem Host-RAM und 20 GiB freiem Platz. + Bei weniger als 1,5 GiB verfügbarem Host-RAM stoppt der Wächter ausschließlich + den eigenen Builder. Kein Produktionsworker wird angehalten oder entladen. + +Der Build verwendet den bestehenden nativen Installer mit einem **nur im +Kandidaten** angepassten Quellenmanifest. Python- und Buildabhängigkeiten sowie +llama.cpp stammen aus dem festen upstream Quellstand. Quellen bleiben getrackt +unverändert; kein Vendor-Patch und kein Austausch des laufenden Dienstes. + +## Unabhängige Buildprüfung ohne Inferenz + +Nach erfolgreichem Compilerlauf prüft `verify.py` separat: + +- Git-Commit und unveränderte getrackte Quellen; +- Versionen von Qwen und DeepSeek, Artefakt-SHA256, beide CUDA-CMake-Caches; +- tatsächliche Ninja-Pools für alle drei Buildbäume; +- Server-`--help`, Pipeline-CLI und auflösbare Bibliotheken in einer read-only, + netzwerk- und GPU-losen Umgebung als tatsächliche unprivilegierte UID; +- direkte Fatbinary-Architekturen nur, falls `cuobjdump` vorhanden ist; + CMake/BUILD-Metadaten ersetzen keinen solchen direkten Binärnachweis; +- unveränderte produktive Runtime, Rezeptdatei und Containeridentität/Startzeit. + Zwischenzeitliche Nutzeränderungen an Einstellungen werden separat gemeldet, + niemals aus dem Snapshot zurückkopiert. + +Private Host-Nachweise im Kandidaten: +`production-before.json`, `runtime/candidate-status.json`, +`runtime/candidate-build.log` und nach erfolgreicher Prüfung `verification.json`. +Keine Modellausgaben oder Zugangsdaten gehören in diese Build-Nachweise. + +Tatsächliches Prüfergebnis: Qwen und DeepSeek melden `0.1.55`, CPU-Vision und +`libstrata_kq.so` sind neu gebaut. SHA256, Quellsauberkeit, beide CUDA-Caches, +Ninja-Pools, Server-/Engine-Hilfe und Loaderauflösung bestanden. `cuobjdump` +fehlt; die Architekturen sind über Buildmetadaten, nicht durch direkte +Fatbinary-Inspektion nachgewiesen. Produktion gesund, Containeridentität und +Startzeit unverändert; keine der erfassten produktiven Dateien geändert. +Der maschinenlesbare Prüfnachweis liegt auf Athena unter dem oben genannten +Kandidatenpfad als `verification.json`. Seine zusätzliche Übernahme in diesen +Checkout wurde wegen einer nicht erteilten Werkzeugfreigabe nicht ausgeführt; +der erfolgreiche Host-Prüfnachweis ist davon unberührt. + +Die erste unabhängige Prüfung enthielt einen Fehler im Prüfer: `--batch-mtp` +wurde in der HTTP-Server-Hilfe erwartet. Deck legt diesen Schalter in die +Enginekonfiguration; die Engine-Hilfe bestätigt ihn. Der Prüfer wurde an dieser +Parsergrenze korrigiert und danach vollständig erfolgreich ausgeführt. Keine +upstream Quelle oder produktive Datei wurde dafür geändert. + +## Durchgeführter vollständiger Austausch und kurze Abnahme + +Vor Austausch den dann aktuellen App-/Runtime-/Profilstand erneut prüfen und +aktive sowie wartende Arbeit regulär auslaufen lassen. Der aktuelle App-/TTS- +Stand muss erhalten bleiben; keine alte vorbereitete App-Schicht blind aktivieren. +Den alten Strata-Quell-/Venv-/Engine-/Bibliotheksstand vollständig durch den neuen +Stand ersetzen und native Rezept-/Restore-Pins konsistent aktualisieren. +Vorhandene Gewichte, PLE, MTP, Projektoren, Expertenpakete, private Toolkitdateien +und Nutzereinstellungen sind keine zu löschenden alten Build-Artefakte. +Keine neue zweite Altbuild-Installation als ungefragte Rückfallsicherung anlegen. + +**Modelltestbudget: maximal 15 Minuten, ein Kandidat mit bewährtem Profil.** +Keine A/B-Variantenmatrix, keine alten Engine-Läufe, kein 30-Minuten-Soak, +keine vollständige 20-Aufgaben-/Mehrseed-Qualitätssuite und kein DeepSeek- +Modellwechsel. Vorgesehen sind Einzelanfrage, zwei parallele vollständige +Streams mit getrennten Markern, ein gecachter Folgeturn, ein längerer +synthetischer Kontext und wenige JSON-/Code-/Tool-Prüfungen. Alte Messwerte +nur als historische Orientierung, nicht als kontrollierten Versionsvergleich +verwenden. Bei Fehler oder überschrittenem Budget abbrechen und Befund melden, +nicht eigenmächtig weitere Kombinationen oder lange Tests anschließen. + +Eine solche Kurzabnahme belegt weder zwei gleichzeitig volle 262144-Token-Slots +noch Langzeitstabilität, umfassende Qualitätsgleichheit oder getestete DeepSeek- +und Bildinferenz. Diese Grenzen ausdrücklich mit dem Ergebnis berichten. + +### Tatsächliche Messungen und Funktionsprüfungen + +Die Produktionsinstallation verwendet jetzt +`athena-deck-standalone:strata-0.1.55-20261101`, abgeleitet ausschließlich vom +tatsächlichen bisherigen App-/Kikiri-Image. Die alte aktive Quelle samt Venv, +CMake-Bäumen und Binaries wurde vollständig entfernt; kein zweiter alter Build +wurde angelegt. Gelernte Expertenplatzierung und alle Modellassets blieben erhalten. +Alle erfassten Profil-/Endpunkt-/Audio-/CPU-/Reasoning-Hashes sowie die geschützten +Workerfelder stimmen mit dem Zustand unmittelbar vor dem regulären Drain überein. + +| Lastfall | Tatsächlicher Befund | +|---|---| +| Einzelanfrage, 512 Ausgabetokens | 64,8 Backend-Decode-Token/s; erste Anfrage einschließlich Start-/Ladeanteil 67,749 s | +| Zwei gleichzeitige Anfragen mit je 512 Ausgabetokens | 12,3075 s gemeinsame Gesamtzeit, 83,20 Ausgabe-Token/s Ende-zu-Ende | +| Zwei frische getrennte Dokumente mit je 7420 Eingabetokens | 13,5068 s gemeinsame Gesamtzeit; jeweils nur eigene Suchmarke, keine Vermischung | +| Gecachte Folgeturns derselben Dokumente | 1,5775 s gemeinsame Gesamtzeit; jeweils 7427 Cache-Tokens wiederverwendet | +| Frisches langes Dokument, 60047 Eingabetokens | 31,7225 s Gesamtzeit, 1923,3 Prefill-Token/s; beide Suchmarken gefunden | +| JSON | Inhalt exakt geparst und geprüft | +| Generierter Python-Code | Feste Randfalltests in kurzlebigem Container ohne Netzwerk, GPUs oder Host-Mounts bestanden, einschließlich Listen-/Tupel-Rückgabetyp | +| Mock-Tool-Aufruf und Mock-Ergebnis | Richtiger Werkzeugname und exakte Argumente, Ergebnis korrekt verarbeitet; keine echte Infrastrukturaktion | +| Tool-Beispiel im Codeblock | Als Text ausgegeben, kein Tool-Aufruf erzeugt | + +Insgesamt **13 tatsächliche Requests/Prüfungen in 140,0939 Sekunden**, innerhalb +des 900-Sekunden-Limits; keine weitere Matrix oder Inferenz angeschlossen. +Zusätzlich `python3 -m unittest -q test_strata test_profile_presets +test_profile_identity`: **33 Tests bestanden**. Keine Altversionsinferenz. +Die Kurzwerte sind Einzelmessungen, kein kontrollierter Nachweis eines +Geschwindigkeitsgewinns gegenüber historischen Ergebnissen. Backend-Decodierung +und gemeinsame Ende-zu-Ende-Raten bleiben getrennt. + +Die vollständigen synthetischen Antworten, Usage, Timings und Sandboxbefunde +liegen privat auf Athena im Kandidatenverzeichnis unter `short-acceptance.json`; +die Aktivierung unter `activation.json`, der Betriebsnachweis unter +`final-acceptance.json`. [Bereinigter finaler Betriebsnachweis](evidence/final-acceptance.json). +`activate.py`, `short_acceptance.py` und `finalize.py` laufen auf dem Athena-Host; +der vorhandene profilbezogene NAS-Transport übergibt die verwaltete API-Identität +ausschließlich per SSH-stdin im Speicher. Die Kurzabnahme wurde zusätzlich durch +einen übergeordneten Prozess mit 900-Sekunden-Limit begrenzt. + +## Native Installation und Restore + +Der Kandidat enthält native Binaries und den separaten nativen Installer; +Container liefern keine versteckte Runtime-Voraussetzung. Bei der erfolgten +Aktivierung wurden Quell-/Enginepin und Modell-/Visionmarker konsistent aktualisiert; +Pythonabhängigkeiten, CUDA-Lockdatei, +Dienstbenutzer, Dateirechte, Pfade und erhaltene Modellassets bleiben in den +bestehenden nativen Rezepten festgehalten. Der produktive Restore-Pin folgt der aktiven Version. +Eine frische Debian-Vollinstallation samt verschlüsseltem +Ende-zu-Ende-Restore bleibt eine gesonderte offene Abnahme. diff --git a/docs/maintenance/strata-029-staged-2026-11-01/activate.py b/docs/maintenance/strata-029-staged-2026-11-01/activate.py new file mode 100644 index 0000000..c8fd668 --- /dev/null +++ b/docs/maintenance/strata-029-staged-2026-11-01/activate.py @@ -0,0 +1,184 @@ +#!/usr/bin/env python3 +"""Athena host: approved recipe-only image preparation and complete runtime exchange. + +Uses the normal GUI drain; no administrative login or credentials are created. +No model inference, model downloads or unrelated service changes occur here. +""" +import argparse +import hashlib +import importlib.util +import json +import os +from pathlib import Path +import shutil +import subprocess +import sys +import time +import urllib.request + +COMMIT = 'c62d5e3a15b40ea51c96aae9e8d36928965f53ab' +OLD = '5e8a4cca7d690ac60ca37eb09e7d0e010099ad6d' +BASE = Path('/opt/athena-deck-dev/runtime') +STATE = BASE / 'state' +STAGE = STATE / 'strata-candidate-v0.2.9' +RUNTIME = STATE / 'strata-runtime' +CANONICAL = Path('/opt/athena-deck-dev/source/strata_sources.json') +RECORD = STAGE / 'activation.json' +SETTINGS = ('profiles.json', 'endpoint.json', 'audio-policy.json', 'cpu-partition.json', 'reasoning-budget.json') + + +def digest(path): + with Path(path).open('rb') as handle: + return hashlib.file_digest(handle, 'sha256').hexdigest() + + +def settings(): + return {name: digest(STATE / name) for name in SETTINGS if (STATE / name).is_file()} + + +def installed(): + manifest = json.loads((BASE / 'installation.json').read_text()) + assert manifest['name'] == 'athena-deck-dev' and manifest['base'] == str(BASE) + info = json.loads(subprocess.check_output(['docker', 'inspect', manifest['name']], text=True))[0] + assert info['State']['Running'] + return manifest, info + + +def save(record, phase): + record.update(phase=phase, updated_at=time.time()) + RECORD.write_text(json.dumps(record, indent=2) + '\n') + RECORD.chmod(0o600) + assert json.loads(RECORD.read_text()) == record + print(json.dumps({'phase': phase, 'release': 'v0.2.9'}), flush=True) + + +def prepare(): + assert not RECORD.exists(), 'Existing activation: inspect instead of repeating' + verified = json.loads((STAGE / 'verification.json').read_text()) + assert verified['build_verified'] and verified['commit'] == COMMIT and not verified['activated'] + assert json.loads((RUNTIME / 'ready.json').read_text())['commit'] == OLD + manifest, info = installed() + original = json.loads(CANONICAL.read_text()) + assert original['code'] == OLD and original['version'] == '0.1.52' + context = STAGE / 'image-recipe' + context.mkdir(mode=0o700, exist_ok=True) + recipe = {**original, 'code': COMMIT, 'version': '0.1.55'} + (context / 'strata_sources.json').write_text(json.dumps(recipe, indent=2) + '\n') + (context / 'Dockerfile').write_text('FROM ' + info['Config']['Image'] + '\nUSER root\nCOPY --chmod=0644 strata_sources.json /app/strata_sources.json\nUSER 65534:65534\n') + (context / '.dockerignore').write_text('*\n!Dockerfile\n!strata_sources.json\n') + image = 'athena-deck-standalone:strata-0.1.55-20261101' + subprocess.run(['docker', 'build', '--network', 'none', '--pull=false', '-t', image, context], check=True) + image_id = subprocess.check_output(['docker', 'image', 'inspect', '--format', '{{.Id}}', image], text=True).strip() + probe = 'import json;d=json.load(open("/app/strata_sources.json"));print(json.dumps(d))' + actual = json.loads(subprocess.check_output(['docker', 'run', '--rm', '--network', 'none', + '--cpus', '0.25', '--memory', '128m', '--memory-swap', '128m', '--entrypoint', 'python3', + '-e', 'NVIDIA_VISIBLE_DEVICES=void', image_id, '-c', probe], text=True)) + assert actual == recipe + _, after = installed() + assert after['Image'] == info['Image'] and after['State']['StartedAt'] == info['State']['StartedAt'] + worker = json.loads((STATE / 'strata-worker/worker.json').read_text()) + record = dict(release='v0.2.9', version='0.1.55', commit=COMMIT, previous_commit=OLD, + image_before=info['Config']['Image'], image_id_before=info['Image'], + image=image, image_id=image_id, settings_before=settings(), + canonical_hash_before=digest(CANONICAL), endpoint_autostart_before=json.loads((STATE/'endpoint.json').read_text())['autostart'], + worker_before={k: worker.get(k) for k in ('model_name','gpu','gpu_order','layer_split','parallel','args')}, + runtime_updated=False, image_activated=False, old_source_removed=False, + inference_performed=False, native_restore_limit='No fresh-Debian end-to-end restore acceptance') + save(record, 'prepared; normal authenticated GUI drain required') + + +def status(key): + request = urllib.request.Request('http://127.0.0.1:8108/api/v1/status', headers={'Authorization': 'Bearer '+key}) + return json.load(urllib.request.urlopen(request, timeout=10))['endpoint'] + + +def assert_drained(key): + endpoint = status(key) + assert endpoint['state'] == 'stopped' and type(endpoint.get('active_requests')) is int and endpoint['active_requests'] == 0 + assert not (STATE/'strata-worker/worker.json').exists(), 'Worker still present' + assert not subprocess.check_output(['nvidia-smi','--query-compute-apps=pid','--format=csv,noheader,nounits'], text=True).strip(), 'GPU work still present' + + +def apply(key): + record = json.loads(RECORD.read_text()) + assert record['phase'] == 'prepared; normal authenticated GUI drain required' + manifest, info = installed() + assert info['Image'] == record['image_id_before'] + assert digest(CANONICAL) == record['canonical_hash_before'] + assert_drained(key) + current = settings() + assert all(current[k] == v for k,v in record['settings_before'].items() if k != 'endpoint.json') + source = RUNTIME/'source' + candidate = STAGE/'runtime' + git = ['git','-c','safe.directory='+str(source),'-C',str(source)] + assert subprocess.check_output(git+['rev-parse','HEAD'],text=True).strip() == OLD + assert not subprocess.check_output(git+['status','--porcelain','--untracked-files=no'],text=True).strip() + verified = json.loads((STAGE/'verification.json').read_text()) + for name, expected in verified['artifacts'].items(): + assert digest(candidate/'source/engine'/name) == expected + learned = source/'data/expert-profile.bin' + if learned.is_file(): + target = candidate/'source/data/expert-profile.bin' + target.parent.mkdir(parents=True,exist_ok=True) + shutil.copy2(learned,target) + retired = RUNTIME/'source-replaced-029' + assert not retired.exists() + save(record,'drained; approved complete native source exchange') + source.rename(retired) + try: + (candidate/'source').rename(source) + except BaseException: + retired.rename(source) + raise + for name in ('ready.json','compile-pools.cmake','deepseek-build.json'): + shutil.copy2(candidate/name,RUNTIME/name) + os.chown(RUNTIME/name,65534,65534) + vision = RUNTIME/'vision-ready.json' + if vision.is_file(): + value=json.loads(vision.read_text());value['code']=COMMIT + vision.write_text(json.dumps(value,indent=2));os.chown(vision,65534,65534) + for name,expected in verified['artifacts'].items(): + assert digest(source/'engine'/name)==expected + record['runtime_updated']=True + save(record,'new native runtime verified; replacing recipe image') + recipe = json.loads((STAGE/'image-recipe/strata_sources.json').read_text()) + storage = Path(manifest['strata_storage']) + assert storage.is_absolute() and 'vpn' not in storage.parts and 'vpn.auth' not in storage.parts + for quant, entry in recipe['models'].items(): + marker=storage/'models'/quant/'prepared.json' + if not marker.is_file():continue + value=json.loads(marker.read_text()) + assert value['sha256']==entry['sha256'] + assert (storage/value['native']).stat().st_size==entry['size'] + assert (storage/value['ple']).stat().st_size==recipe['ple']['size'] + assert (storage/value['pack']/'experts.bin').is_file() + value['commit']=COMMIT;marker.write_text(json.dumps(value));os.chown(marker,65534,65534) + # Only the original autostart flag is restored; no saved user settings are copied back. + endpoint=STATE/'endpoint.json';value=json.loads(endpoint.read_text()) + value['autostart']=record['endpoint_autostart_before'];endpoint.write_text(json.dumps(value));os.chown(endpoint,65534,65534) + spec=importlib.util.spec_from_file_location('deck_install','/opt/athena-deck-dev/source/deploy/install.py') + assert spec is not None and spec.loader is not None + installer=importlib.util.module_from_spec(spec);spec.loader.exec_module(installer) + assert installer.owned(manifest['name'],BASE)['State']['Running'] + subprocess.run(['docker','stop','--time','45',manifest['name']],check=True) + subprocess.run(['docker','rm',manifest['name']],check=True) + manifest['image']=record['image'];manifest.pop('previous_image',None) + installer.launch(manifest);installer.ready(manifest);installer.write_manifest(BASE,manifest) + shutil.copy2(STAGE/'image-recipe/strata_sources.json',CANONICAL) + record['image_activated']=True + record['settings_after']=settings();record['settings_unchanged']=record['settings_after']==record['settings_before'] + assert record['settings_unchanged'], 'Settings changed: inspect, never overwrite user work' + # Complete removal is explicitly requested; retain no second old source/venv/binary installation. + assert retired.parent==RUNTIME and not retired.is_symlink() + shutil.rmtree(retired) + record['old_source_removed']=not retired.exists() + (STAGE/'candidate.json').write_text(json.dumps(dict(release='v0.2.9',commit=COMMIT,activated=True,location=str(RUNTIME)),indent=2)+'\n') + save(record,'activated; old source removed; original profile needs short model acceptance') + print(json.dumps({'activated':True,'old_source_removed':record['old_source_removed'],'settings_unchanged':record['settings_unchanged'],'image':record['image']}),flush=True) + + +if __name__=='__main__': + parser=argparse.ArgumentParser();parser.add_argument('operation',choices=['prepare','apply']);parser.add_argument('--go',action='store_true');options=parser.parse_args() + if not options.go:parser.error('Explicit Michael Go required') + if options.operation=='prepare':prepare() + else:apply(json.load(sys.stdin)['key']) diff --git a/docs/maintenance/strata-029-staged-2026-11-01/build.py b/docs/maintenance/strata-029-staged-2026-11-01/build.py new file mode 100644 index 0000000..185b88f --- /dev/null +++ b/docs/maintenance/strata-029-staged-2026-11-01/build.py @@ -0,0 +1,108 @@ +#!/usr/bin/env python3 +"""Unprivileged native candidate build; no model loading or production writes.""" +import hashlib +import json +import os +from pathlib import Path +import shutil +import subprocess +import time + +COMMIT = 'c62d5e3a15b40ea51c96aae9e8d36928965f53ab' +VERSION = '0.1.55' +ROOT = Path('/var/lib/deck/strata-runtime') +RECIPE = Path('/build') +SOURCE = ROOT / 'source' +STATUS = ROOT / 'candidate-status.json' +LOG = ROOT / 'candidate-build.log' +STARTED = time.time() + + +def status(state, phase, **extra): + value = dict(state=state, phase=phase, release='v0.2.9', commit=COMMIT, + activated=False, inference_performed=False, started=STARTED, + updated=time.time(), **extra) + temporary = STATUS.with_suffix('.tmp') + temporary.write_text(json.dumps(value, indent=2) + '\n') + temporary.replace(STATUS) + + +def run(phase, command, env, cwd=None): + status('building', phase) + print(phase, flush=True) + with LOG.open('a') as output: + subprocess.run(list(map(str, command)), env=env, cwd=cwd, + stdout=output, stderr=subprocess.STDOUT, check=True) + + +def main(): + (ROOT / 'home').mkdir(exist_ok=True) + cuda = ROOT / 'cuda' + env = dict(os.environ, CMAKE_TOOLCHAIN_FILE=str(ROOT / 'compile-pools.cmake'), + LD_LIBRARY_PATH=str(cuda / 'lib64') + ':' + str(cuda / 'lib') + ':' + + os.environ.get('LD_LIBRARY_PATH', ''), OPENBLAS_NUM_THREADS='1', + OMP_NUM_THREADS='1', CMAKE_BUILD_PARALLEL_LEVEL='1') + run('Qwen native engine: CUDA 13, SM86 and SM120', + ['python3', RECIPE / 'deploy/install_strata.py', '--destination', ROOT, + '--nvcc', cuda / 'bin/nvcc', '--architectures', '86;120'], env) + python = SOURCE / '.venv/bin/python' + env['PATH'] = str(python.parent) + ':' + str(cuda / 'bin') + ':' + env['PATH'] + tools = subprocess.check_output( + [python, '-c', 'import json,setup;print(json.dumps(list(map(str,setup.ensure_build_tools()))))'], + cwd=SOURCE, env=env, text=True).strip().splitlines()[-1] + cmake, ninja = json.loads(tools) + run('CPU vision configure', + [cmake, '-S', SOURCE / 'tools/vision', '-B', SOURCE / 'build-vision-cpu', + '-G', 'Ninja', '-DCMAKE_MAKE_PROGRAM=' + ninja, '-DCMAKE_BUILD_TYPE=Release', + '-DLLAMA_DIR=' + str(SOURCE / 'third_party/llama.cpp'), + '-DSTRATA_VISION_CUDA=OFF', '-DSTRATA_PORTABLE=ON'], env) + run('CPU vision compile', + [cmake, '--build', SOURCE / 'build-vision-cpu', '--target', 'strata-vision', '-j', '1'], env) + shutil.copy2(SOURCE / 'build-vision-cpu/bin/strata-vision', SOURCE / 'engine/strata-vision') + # DeepSeek has different ggml CPU flags and must use its own CMake tree. + script = '''import os,setup +from pathlib import Path +nvcc=str(Path(os.environ['STRATA_CANDIDATE_ROOT'])/'cuda/bin/nvcc') +defs=['-DSTRATA_ENABLE_CUDA=ON','-DSTRATA_BUILD_TESTS=OFF','-DSTRATA_BUILD_DSV41=ON', + '-DSTRATA_Q6K_EXPERTS=ON','-DSTRATA_MMQ_KQUANTS=ON','-DCMAKE_CUDA_ARCHITECTURES=86;120', + '-DCMAKE_CUDA_COMPILER='+nvcc,*setup.toolkit_root_defs(nvcc), + '-DSTRATA_GGML_DIR='+str(setup.ROOT/'third_party/llama.cpp'), + *setup.host_compiler_defs(True),*setup.engine_defs([86,120],13)] +setup.cmake_build(setup.ROOT,setup.ROOT/'build-dsv41','strata-dsv41',defs,None,'build-dsv41.bat') +''' + env['STRATA_CANDIDATE_ROOT'] = str(ROOT) + run('DeepSeek native engine: separate tree, SM86 and SM120', + [python, '-c', script], env, cwd=SOURCE) + shutil.copy2(SOURCE / 'build-dsv41/strata-dsv41', SOURCE / 'engine/strata-dsv41') + versions = {} + for name in ('strata', 'strata-dsv41'): + value = subprocess.check_output([SOURCE / 'engine' / name, '--version'], + env=env, text=True, stderr=subprocess.STDOUT).strip() + if VERSION not in value: + raise RuntimeError('Unexpected binary version: ' + name) + versions[name] = value + build = json.loads((SOURCE / 'engine/BUILD.json').read_text()) + assert set(map(int, build['archs'])) == {86, 120} + assert subprocess.check_output(['git', '-C', SOURCE, 'rev-parse', 'HEAD'], text=True).strip() == COMMIT + assert not subprocess.check_output( + ['git', '-C', SOURCE, 'status', '--porcelain', '--untracked-files=no'], text=True).strip() + hashes = {} + for path in (SOURCE / 'engine').iterdir(): + if path.is_file(): + with path.open('rb') as artifact: + hashes[path.name] = hashlib.file_digest(artifact, 'sha256').hexdigest() + (ROOT / 'deepseek-build.json').write_text(json.dumps(dict( + commit=COMMIT, version=versions['strata-dsv41'], architectures=[86, 120], + source='official-native-build', executable='source/engine/strata-dsv41'), indent=2) + '\n') + status('built', 'Awaiting Michael Go; production untouched', versions=versions, + architectures=[86, 120], cuda='13.0', cpu_vision_built=True, + deepseek_built=True, hashes=hashes, finished=time.time()) + print('Built and version-checked. No activation; no inference.', flush=True) + + +if __name__ == '__main__': + try: + main() + except BaseException as error: + status('failed', 'Build requires inspection', error=type(error).__name__ + ': ' + str(error)) + raise diff --git a/docs/maintenance/strata-029-staged-2026-11-01/evidence/final-acceptance.json b/docs/maintenance/strata-029-staged-2026-11-01/evidence/final-acceptance.json new file mode 100644 index 0000000..37407f7 --- /dev/null +++ b/docs/maintenance/strata-029-staged-2026-11-01/evidence/final-acceptance.json @@ -0,0 +1,34 @@ +{ + "release": "v0.2.9", + "commit": "c62d5e3a15b40ea51c96aae9e8d36928965f53ab", + "version": "0.1.55", + "checked_at": 1793525252.10756, + "activated": true, + "old_active_source_removed": true, + "candidate_source_promoted": true, + "source_clean": true, + "protected_settings_unchanged": true, + "worker_configuration_unchanged": true, + "container_health": "healthy", + "worker_health": {"status": "ok", "loaded": true}, + "versions": {"strata": "strata 0.1.55", "strata-dsv41": "strata-dsv41 0.1.55 build c62d5e3a1"}, + "loaded": {"llm": true, "tts": true, "stt": true}, + "endpoint_state": "running", + "model": "flash-next-strata-iq3-dual", + "gpu": [0, 1], + "layer_split": "16", + "slots": 2, + "batch_groups": "auto", + "batch_mtp": false, + "solo_mtp": true, + "app_recipe_matches_canonical": true, + "acceptance_passed": true, + "acceptance_checks": 13, + "acceptance_seconds": 140.09385754700634, + "limits": [ + "Single short run, no controlled old/new benchmark", + "No long soak or two full context slots", + "DeepSeek and vision built/version checked, not model-tested", + "No fresh Debian full encrypted restore test" + ] +} diff --git a/docs/maintenance/strata-029-staged-2026-11-01/finalize.py b/docs/maintenance/strata-029-staged-2026-11-01/finalize.py new file mode 100644 index 0000000..4647deb --- /dev/null +++ b/docs/maintenance/strata-029-staged-2026-11-01/finalize.py @@ -0,0 +1,63 @@ +#!/usr/bin/env python3 +"""Athena host: read-only final operating checks; save metadata evidence only.""" +import argparse +import json +from pathlib import Path +import subprocess +import sys +import time +import urllib.request +import activate + + +def main(): + key=json.load(sys.stdin)['key'] + record=json.loads(activate.RECORD.read_text()) + result=json.loads((activate.STAGE/'short-acceptance.json').read_text()) + assert result['passed'] and result['elapsed_seconds']<900 + assert len(result['checks'])==13 + manifest,info=activate.installed() + assert info['Image']==record['image_id'] + source=activate.RUNTIME/'source' + git=['git','-c','safe.directory='+str(source),'-C',str(source)] + assert subprocess.check_output(git+['rev-parse','HEAD'],text=True).strip()==activate.COMMIT + assert not subprocess.check_output(git+['status','--porcelain','--untracked-files=no'],text=True).strip() + assert activate.settings()==record['settings_before'] + worker=json.loads((activate.STATE/'strata-worker/worker.json').read_text()) + assert all(worker.get(k)==v for k,v in record['worker_before'].items()) + request=urllib.request.Request('http://127.0.0.1:8108/api/v1/status',headers={'Authorization':'Bearer '+key}) + endpoint=json.load(urllib.request.urlopen(request,timeout=10))['endpoint'] + assert endpoint['state']=='running' and all(endpoint['counts'][kind]['loaded'] for kind in ('llm','tts','stt')) + probe='import json,sys,urllib.request,subprocess,os;w=json.load(sys.stdin);env=dict(os.environ,LD_LIBRARY_PATH="/var/lib/deck/strata-runtime/cuda/lib64:/var/lib/deck/strata-runtime/cuda/lib");r=urllib.request.Request("http://127.0.0.1:"+str(w["port"])+"/health",headers={"Authorization":"Bearer "+w["api_key"]});h=json.load(urllib.request.urlopen(r,timeout=10));p="/var/lib/deck/strata-runtime/source/engine/";print(json.dumps({"health":{"status":h.get("status"),"loaded":h.get("loaded")},"versions":{n:subprocess.check_output([p+n,"--version"],env=env,text=True,stderr=subprocess.STDOUT).strip() for n in ("strata","strata-dsv41")},"app_recipe":json.load(open("/app/strata_sources.json"))}))' + checked=json.loads(subprocess.check_output(['docker','exec','-i',manifest['name'],'python3','-c',probe],input=json.dumps(worker),text=True)) + assert checked['health']=={'status':'ok','loaded':True} + assert all('0.1.55' in x for x in checked['versions'].values()) + assert checked['app_recipe']==json.loads(activate.CANONICAL.read_text()) + assert checked['app_recipe']['code']==activate.COMMIT + assert not (activate.RUNTIME/'source-replaced-029').exists() + assert not (activate.STAGE/'runtime/source').exists() + health=json.loads(subprocess.check_output(['docker','inspect',manifest['name']],text=True))[0]['State'].get('Health',{}).get('Status') + assert health=='healthy' + counts={k:endpoint['counts'][k]['loaded'] for k in ('llm','tts','stt')} + evidence=dict(release='v0.2.9',commit=activate.COMMIT,version='0.1.55',checked_at=time.time(), + activated=True,old_active_source_removed=True,candidate_source_promoted=True, + source_clean=True,protected_settings_unchanged=True,worker_configuration_unchanged=True, + container_health=health,worker_health=checked['health'],versions=checked['versions'], + loaded=counts,endpoint_state=endpoint['state'],model=worker['model_name'], + gpu=worker['gpu'],layer_split=worker['layer_split'],slots=worker['parallel'], + batch_groups='auto',batch_mtp=False,solo_mtp=True,app_recipe_matches_canonical=True, + acceptance_passed=True,acceptance_checks=len(result['checks']),acceptance_seconds=result['elapsed_seconds'], + limits=['Single short run, no controlled old/new benchmark','No long soak or two full context slots','DeepSeek and vision built/version checked, not model-tested','No fresh Debian full encrypted restore test']) + target=activate.STAGE/'final-acceptance.json';target.write_text(json.dumps(evidence,indent=2)+'\n') + assert json.loads(target.read_text())==evidence + record.update(inference_performed=True,acceptance_passed=True,settings_after=activate.settings(),settings_unchanged=True) + activate.save(record,'complete; 0.1.55 active; old active build removed; original Qwen and audio loaded; short acceptance passed') + print(json.dumps(evidence,indent=2)) + print('MEASUREMENTS',json.dumps([dict(label=r['label'],wall_seconds=r['wall_seconds'],ttft_seconds=r['ttft_seconds'],usage=r['usage'],timings=r['timings']) for r in result['checks']],ensure_ascii=False)) + print('PARALLEL_GROUPS',json.dumps(result['groups'])) + + +if __name__=='__main__': + parser=argparse.ArgumentParser();parser.add_argument('--go',action='store_true') + if not parser.parse_args().go:parser.error('Explicit Michael Go required') + main() diff --git a/docs/maintenance/strata-029-staged-2026-11-01/prepare.py b/docs/maintenance/strata-029-staged-2026-11-01/prepare.py new file mode 100644 index 0000000..23ff217 --- /dev/null +++ b/docs/maintenance/strata-029-staged-2026-11-01/prepare.py @@ -0,0 +1,140 @@ +#!/usr/bin/env python3 +"""Athena host: stage/build Strata 0.2.9 only; no activation or inference.""" +import argparse +import hashlib +import json +from pathlib import Path +import shutil +import subprocess +import time + +COMMIT = 'c62d5e3a15b40ea51c96aae9e8d36928965f53ab' +BASE = Path('/opt/athena-deck-dev/runtime') +PRODUCTION = BASE / 'state/strata-runtime' +STAGE = BASE / 'state/strata-candidate-v0.2.9' +RUNTIME = STAGE / 'runtime' +NAME = 'athena-strata-build-029' + + +def mem_available_mib(): + return int(next(line.split()[1] for line in Path('/proc/meminfo').read_text().splitlines() + if line.startswith('MemAvailable:'))) / 1024 + + +def production_snapshot(): + paths = [PRODUCTION / 'source/engine' / name for name in + ('strata', 'strata-dsv41', 'strata-vision', 'BUILD.json')] + paths += [PRODUCTION / 'source/serve/server.py', PRODUCTION / 'ready.json', + Path('/opt/athena-deck-dev/source/strata_sources.json')] + paths += [BASE / 'state' / name for name in + ('profiles.json', 'endpoint.json', 'audio-policy.json', + 'cpu-partition.json', 'reasoning-budget.json')] + hashes = {} + for path in paths: + if path.is_file(): + with path.open('rb') as source: + hashes[str(path)] = hashlib.file_digest(source, 'sha256').hexdigest() + info = json.loads(subprocess.check_output(['docker', 'inspect', 'athena-deck-dev'], text=True))[0] + assert info['State']['Running'] + return dict(created=time.time(), production_hashes=hashes, + production_image=info['Config']['Image'], production_image_id=info['Image'], + production_container='athena-deck-dev', production_started=info['State']['StartedAt'], + production_health=info['State'].get('Health', {}).get('Status'), + mem_available_mib=mem_available_mib(), activated=False, inference_performed=False) + + +def prepare(): + if mem_available_mib() < 6144: + raise RuntimeError('Less than 6 GiB available; production untouched, no build started') + if shutil.disk_usage(BASE / 'state').free < 20 * 1024 ** 3: + raise RuntimeError('Less than 20 GiB free; no build started') + if STAGE.exists(): + raise RuntimeError('Candidate path already exists; inspect before any retry') + assert (PRODUCTION / 'cuda/bin/nvcc').is_file() + snapshot = production_snapshot() + RUNTIME.mkdir(parents=True) + (STAGE / 'candidate.json').write_text(json.dumps(dict( + release='v0.2.9', version='0.1.55', commit=COMMIT, + activated=False, purpose='build-only-awaiting-Michael-Go'), indent=2) + '\n') + (STAGE / 'production-before.json').write_text(json.dumps(snapshot, indent=2) + '\n') + source = RUNTIME / 'source' + subprocess.run(['git', 'init', '-q', source], check=True) + subprocess.run(['git', '-C', source, 'fetch', '--depth', '1', + 'https://github.com/Niko1221/Strata.git', COMMIT], check=True) + subprocess.run(['git', '-C', source, 'checkout', '-q', '--detach', 'FETCH_HEAD'], check=True) + assert subprocess.check_output(['git', '-C', source, 'rev-parse', 'HEAD'], text=True).strip() == COMMIT + recipe = STAGE / 'recipe' + (recipe / 'deploy').mkdir(parents=True) + for name in ('install_strata.py', 'strata_toolkit.py', 'strata-cuda13.lock.json'): + shutil.copy2(Path('/opt/athena-deck-dev/source/deploy') / name, recipe / 'deploy' / name) + sources = json.loads(Path('/opt/athena-deck-dev/source/strata_sources.json').read_text()) + sources.update(code=COMMIT, version='0.1.55') + (recipe / 'strata_sources.json').write_text(json.dumps(sources, indent=2) + '\n') + shutil.copy2(Path(__file__).with_name('build.py'), recipe / 'build.py') + (RUNTIME / 'compile-pools.cmake').write_text( + 'set(CMAKE_JOB_POOLS "strata_compile=1;strata_link=1" CACHE STRING "Background limits")\n' + 'set(CMAKE_JOB_POOL_COMPILE strata_compile CACHE STRING "Compile pool")\n' + 'set(CMAKE_JOB_POOL_LINK strata_link CACHE STRING "Link pool")\n') + subprocess.run(['chown', '-R', '65534:65534', STAGE], check=True) + print(json.dumps(dict(prepared=True, stage=str(STAGE), release='v0.2.9', commit=COMMIT, + production_image=snapshot['production_image'], activated=False, + inference_performed=False)), flush=True) + + +def start(): + marker = json.loads((STAGE / 'candidate.json').read_text()) + assert marker['commit'] == COMMIT and marker['activated'] is False + status = RUNTIME / 'candidate-status.json' + if status.exists(): + raise RuntimeError('Candidate build already attempted; inspect status instead of duplicating it') + if mem_available_mib() < 6144: + raise RuntimeError('Less than 6 GiB available; build not started') + before = json.loads((STAGE / 'production-before.json').read_text()) + command = ['docker', 'run', '--rm', '--name', NAME, '--cpus', '2', '--cpu-shares', '2', + '--memory', '3g', '--memory-swap', '4g', '--pids-limit', '384', + '--cap-drop', 'ALL', '--security-opt', 'no-new-privileges', '--user', '65534:65534', + '--entrypoint', 'nice', '-e', 'HOME=/var/lib/deck/strata-runtime/home', + '-e', 'NVIDIA_VISIBLE_DEVICES=void', '-e', 'CUDA_VISIBLE_DEVICES=', + '-e', 'OPENBLAS_NUM_THREADS=1', '-e', 'OMP_NUM_THREADS=1', + '-v', str(RUNTIME) + ':/var/lib/deck/strata-runtime', + '-v', str(PRODUCTION / 'cuda') + ':/var/lib/deck/strata-runtime/cuda:ro', + '-v', str(STAGE / 'recipe') + ':/build:ro', before['production_image_id'], + '-n', '19', 'python3', '/build/build.py'] + process = subprocess.Popen(command) + inspected = False + try: + while process.poll() is None: + time.sleep(10) + if process.poll() is not None: + break + if not inspected: + info = json.loads(subprocess.check_output(['docker', 'inspect', NAME], text=True))[0] + assert not info['HostConfig'].get('DeviceRequests') + assert len(info['Mounts']) == 3 + assert sum(bool(mount['RW']) for mount in info['Mounts']) == 1 + assert info['HostConfig']['NanoCpus'] == 2_000_000_000 + assert info['HostConfig']['Memory'] == 3 * 1024 ** 3 + print('Isolation checked: 2 CPU quota, 3 GiB RAM, 1 compile job, no GPUs/models/secrets.', flush=True) + inspected = True + if mem_available_mib() < 1536: + raise RuntimeError('Host headroom below 1.5 GiB; stopping owned builder only') + except BaseException: + subprocess.run(['docker', 'stop', '--time', '20', NAME], check=False) + process.wait(timeout=45) + raise + if process.returncode: + raise RuntimeError('Owned build exited with code ' + str(process.returncode)) + built = json.loads(status.read_text()) + assert built['state'] == 'built' and built['activated'] is False + print(json.dumps(dict(build_completed=True, stage=str(STAGE), activated=False, + inference_performed=False)), flush=True) + + +if __name__ == '__main__': + parser = argparse.ArgumentParser() + parser.add_argument('action', choices=['prepare', 'start']) + options = parser.parse_args() + if options.action == 'prepare': + prepare() + else: + start() diff --git a/docs/maintenance/strata-029-staged-2026-11-01/short_acceptance.py b/docs/maintenance/strata-029-staged-2026-11-01/short_acceptance.py new file mode 100644 index 0000000..29afdaf --- /dev/null +++ b/docs/maintenance/strata-029-staged-2026-11-01/short_acceptance.py @@ -0,0 +1,166 @@ +#!/usr/bin/env python3 +"""Athena host: one approved candidate, short synthetic API acceptance only. + +Existing managed API identity is received on stdin and never logged. No service +stop, model switch, tuning sweep or audio/image generation is implemented. +""" +import argparse +import ast +import concurrent.futures +import json +from pathlib import Path +import re +import subprocess +import sys +import threading +import time +import urllib.request +from typing import Any + +STAGE=Path('/opt/athena-deck-dev/runtime/state/strata-candidate-v0.2.9') +STATE=STAGE.parent +COMMIT='c62d5e3a15b40ea51c96aae9e8d36928965f53ab' +RESULT=STAGE/'short-acceptance.json' +TOOL={'type':'function','function':{'name':'lookup_order','description':'Synthetic test order lookup; no real system.', + 'parameters':{'type':'object','properties':{'order_id':{'type':'string'}},'required':['order_id'],'additionalProperties':False}}} + + +def main(): + key=json.load(sys.stdin)['key'] + record=json.loads((STAGE/'activation.json').read_text()) + assert record['image_activated'] and record['old_source_removed'] + assert json.loads((STATE/'strata-runtime/ready.json').read_text())['commit']==COMMIT + model=record['worker_before']['model_name'] + start=time.monotonic(); deadline=start+900 + result: dict[str, Any]={'version':'0.1.55','commit':COMMIT,'started_at':time.time(),'budget_seconds':900, + 'single_candidate':True,'historical_comparison_not_controlled':True,'checks':[],'groups':[],'passed':False} + + def save(): + result['elapsed_seconds']=time.monotonic()-start + RESULT.write_text(json.dumps(result,indent=2)+'\n') + assert json.loads(RESULT.read_text())==result + + def request(label,messages,maximum=128,barrier=None,**extra) -> dict[str, Any]: + if barrier:barrier.wait(timeout=10) + if time.monotonic()>=deadline:raise TimeoutError('Short acceptance budget expired') + body=dict(model=model,messages=messages,max_tokens=maximum,temperature=0,seed=42, + reasoning_effort='none',stream=True,stream_options={'include_usage':True},**extra) + req=urllib.request.Request('http://127.0.0.1:8120/v1/chat/completions',data=json.dumps(body).encode(), + headers={'Authorization':'Bearer '+key,'Content-Type':'application/json'}) + began=time.monotonic(); first=None;content='';done=False;usage={};timings={};calls={};finish=None + with urllib.request.urlopen(req,timeout=min(240,max(1,deadline-began))) as response: + for line in response: + if time.monotonic()>=deadline:raise TimeoutError('Short acceptance budget expired') + if not line.startswith(b'data:'):continue + raw=line[5:].strip() + if raw==b'[DONE]':done=True;break + item=json.loads(raw) + if 'error' in item:raise RuntimeError(str(item['error'])) + usage=item.get('usage') or usage + timings=item.get('timings') or item.get('backend_timings') or timings + for choice in item.get('choices',[]): + delta=choice.get('delta',{}) + if (delta.get('content') or delta.get('tool_calls')) and first is None:first=time.monotonic()-began + content+=delta.get('content') or '' + finish=choice.get('finish_reason') or finish + for call in delta.get('tool_calls',[]): + target=calls.setdefault(call.get('index',0),{'id':'','type':'function','function':{'name':'','arguments':''}}) + target['id']=call.get('id') or target['id'] + for field in ('name','arguments'):target['function'][field]+=call.get('function',{}).get(field) or '' + assert done and usage.get('completion_tokens',0)>0, label+': incomplete stream/usage' + row: dict[str, Any]=dict(label=label,stream_complete=done,ttft_seconds=first,wall_seconds=time.monotonic()-began, + usage=usage,timings=timings,finish_reason=finish,content=content,tool_calls=list(calls.values())) + return row + + def add(row): + result['checks'].append(row);save() + print(json.dumps({k:row[k] for k in ('label','wall_seconds','usage','finish_reason')}),flush=True) + + def pair(label,messages,maximum) -> list[dict[str, Any]]: + barrier=threading.Barrier(2);began=time.monotonic() + with concurrent.futures.ThreadPoolExecutor(max_workers=2) as pool: + futures=[pool.submit(request,label+'-'+str(i),m,maximum,barrier) for i,m in enumerate(messages)] + rows=[f.result() for f in futures] + wall=time.monotonic()-began + result['groups'].append(dict(label=label,wall_seconds=wall,output_tokens=sum(r['usage']['completion_tokens'] for r in rows), + end_to_end_output_tokens_per_second=sum(r['usage']['completion_tokens'] for r in rows)/wall)) + for row in rows:add(row) + return rows + + try: + short=[[{'role':'system','content':f'Kurzmessung 0, Gespräch {i}. Schreibe auf Deutsch.'}, + {'role':'user','content':'Schreibe einen ausführlichen Fachtext mit mindestens 1200 Wörtern über '+ + ('Home Assistant.' if i else 'Datensicherung.')} ] for i in range(2)] + add(request('solo-512',short[0],512)) + short[0][0]['content']+=' Parallele Messung.' + pair('parallel-512',short,512) + contexts=[] + for i in range(2): + marker=('ORION_029_A','VEGA_029_B')[i] + facts='\n'.join(f'Datensatz {n:05d}: Bereich Lager, Farbe blau, geprüft und freigegeben.' for n in range(320)) + contexts.append([{'role':'system','content':'Lies nur das eigene Dokument. Antworte kurz und exakt.'}, + {'role':'user','content':f'Dokument {i}:\n{facts}\nGeheime Kennung: {marker}\nNenne ausschließlich die geheime Kennung.'}]) + cold=pair('fresh-context-pair',contexts,128) + for i,row in enumerate(cold): + own=('ORION_029_A','VEGA_029_B')[i];other=('VEGA_029_B','ORION_029_A')[i] + assert own in row['content'] and other not in row['content'],'Conversation separation failed' + following=[messages+[{'role':'assistant','content':row['content']}, + {'role':'user','content':'Welche geheime Kennung stand in meinem Dokument? Nur die Kennung.'}] + for messages,row in zip(contexts,cold)] + cached=pair('cached-context-pair',following,128) + for i,row in enumerate(cached):assert ('ORION_029_A','VEGA_029_B')[i] in row['content'] + text='\n'.join(f'Archivzeile {n:05d}: Standort West, Kategorie Ersatzteile, Freigabe dokumentiert.' for n in range(2400)) + long=request('long-context-retrieval',[{'role':'user','content': + 'Merke am Anfang: ALPHA_029.\n'+text+'\nMerke am Ende: OMEGA_029.\nNenne ausschließlich die beiden Merkwörter.'}],128) + assert all(m in long['content'] for m in ('ALPHA_029','OMEGA_029')) + add(long) + row=request('json',[{'role':'user','content':'Antworte ausschließlich als JSON mit exakt diesen Werten: {"ok":true,"marker":"ATHENA029"}'}],128) + assert json.loads(row['content'])=={'ok':True,'marker':'ATHENA029'} + add(row) + row=request('code',[{'role':'user','content': + 'Schreibe ausschließlich Python-Code für merge_intervals(intervals), ohne Imports. Eingabe: Liste von Listen oder Tupeln mit Zahlenpaaren. ' + 'Sortiere nach Anfang und verschmelze überlappende oder berührende Intervalle. Ausgabe immer Liste von Tupeln, auch bei einzelnen unverschmolzenen Listenintervallen. Leere Eingabe ergibt [].'}],768) + assert row['finish_reason']!='length' + code=re.sub(r'^```(?:python)?\s*|\s*```$','',row['content'].strip()) + tree=ast.parse(code) + assert not any(isinstance(n,(ast.Import,ast.ImportFrom)) or isinstance(n,ast.Attribute) and n.attr.startswith('__') for n in ast.walk(tree)) + tests='\nassert merge_intervals([])==[]\nassert merge_intervals([[3,4],[1,2]])==[(1,2),(3,4)]\nassert merge_intervals([[1,3],(2,6),(8,10),(10,12)])==[(1,6),(8,12)]\nprint("CODE_TESTS_OK")\n' + receipt=subprocess.run(['docker','run','--rm','-i','--network','none','--read-only','--user','65534:65534', + '--cap-drop','ALL','--security-opt','no-new-privileges','--cpus','0.5','--memory','128m','--memory-swap','128m', + '--pids-limit','32','--entrypoint','python3','-e','NVIDIA_VISIBLE_DEVICES=void',record['image_id'],'-'], + input=code+tests,text=True,capture_output=True,timeout=20) + row['code_tests']={'passed':receipt.returncode==0 and 'CODE_TESTS_OK' in receipt.stdout,'returncode':receipt.returncode} + add(row);assert row['code_tests']['passed'],'Generated code failed fixed tests' + messages=[{'role':'user','content':'Rufe lookup_order für die Bestellung TEST-029 auf. Erfinde kein Ergebnis.'}] + row=request('mock-tool-call',messages,256,tools=[TOOL],tool_choice='auto') + assert len(row['tool_calls'])==1 + call=row['tool_calls'][0] + assert call['function']['name']=='lookup_order' and json.loads(call['function']['arguments'])=={'order_id':'TEST-029'} + add(row) + follow=messages+[{'role':'assistant','content':None,'tool_calls':row['tool_calls']}, + {'role':'tool','tool_call_id':call['id'],'content':'{"status":"bereit","marker":"MOCK029"}'}] + row=request('mock-tool-result',follow,128,tools=[TOOL],tool_choice='auto') + assert not row['tool_calls'] and 'bereit' in row['content'].lower() + add(row) + example='```xml\n\n{"name":"lookup_order","arguments":{"order_id":"TEST-029"}}\n\n```' + row=request('fenced-tool-not-executed',[{'role':'user','content':'Reproduziere ausschließlich den folgenden Dokumentations-Codeblock als Text. Rufe kein Werkzeug auf:\n'+example}],256,tools=[TOOL],tool_choice='auto') + assert not row['tool_calls'] and '```' in row['content'] and '' in row['content'] + add(row) + worker=json.loads((STATE/'strata-worker/worker.json').read_text()) + result['worker_arguments_unchanged']=all(worker.get(k)==v for k,v in record['worker_before'].items()) + assert result['worker_arguments_unchanged'] + assert '--batch-mtp' not in worker['args'] and '--mtp' in worker['args'] + assert worker['args'][worker['args'].index('--batch-groups')+1]=='auto' + result['passed']=True + except BaseException as error: + result['error']=type(error).__name__+': '+str(error) + raise + finally: + save() + print(json.dumps({'passed':result['passed'],'checks':len(result['checks']),'elapsed_seconds':result['elapsed_seconds'],'error':result.get('error')}),flush=True) + + +if __name__=='__main__': + parser=argparse.ArgumentParser();parser.add_argument('--go',action='store_true') + if not parser.parse_args().go:parser.error('Explicit Michael Go required before inference') + main() diff --git a/docs/maintenance/strata-029-staged-2026-11-01/verify.py b/docs/maintenance/strata-029-staged-2026-11-01/verify.py new file mode 100644 index 0000000..5a87577 --- /dev/null +++ b/docs/maintenance/strata-029-staged-2026-11-01/verify.py @@ -0,0 +1,106 @@ +#!/usr/bin/env python3 +"""Athena host: independent candidate verification, never model inference.""" +import hashlib +import json +from pathlib import Path +import re +import subprocess +import time + +COMMIT = 'c62d5e3a15b40ea51c96aae9e8d36928965f53ab' +STAGE = Path('/opt/athena-deck-dev/runtime/state/strata-candidate-v0.2.9') +PRODUCTION = Path('/opt/athena-deck-dev/runtime/state/strata-runtime') +RUNTIME = STAGE / 'runtime' + + +def main(): + built = json.loads((RUNTIME / 'candidate-status.json').read_text()) + assert built['state'] == 'built' and built['commit'] == COMMIT + assert built['activated'] is False and built['inference_performed'] is False + source = RUNTIME / 'source' + git = ['git', '-c', 'safe.directory=' + str(source), '-C', str(source)] + assert subprocess.check_output(git + ['rev-parse', 'HEAD'], text=True).strip() == COMMIT + assert not subprocess.check_output(git + ['status', '--porcelain', '--untracked-files=no'], text=True).strip() + hashes = {} + for name in built['hashes']: + with (source / 'engine' / name).open('rb') as artifact: + hashes[name] = hashlib.file_digest(artifact, 'sha256').hexdigest() + assert hashes == built['hashes'] + architectures = {} + pools = {} + for tree in ('build', 'build-dsv41'): + cache = (source / tree / 'CMakeCache.txt').read_text() + value = re.search(r'^CMAKE_CUDA_ARCHITECTURES:(?:STRING|UNINITIALIZED)=(.+)$', cache, re.M) + assert value and set(value.group(1).split(';')) == {'86', '120'} + architectures[tree] = value.group(1) + for tree in ('build', 'build-dsv41', 'build-vision-cpu'): + text = (source / tree / 'build.ninja').read_text() + assert 'pool = strata_compile' in text and 'pool = strata_link' in text + pools[tree] = 'single compile and link pools present' + before = json.loads((STAGE / 'production-before.json').read_text()) + # The load-check container has no GPU, network, models or production settings. + script = '''import json,os,pathlib,re,subprocess +p=pathlib.Path('/var/lib/deck/strata-runtime/source') +env=dict(os.environ,LD_LIBRARY_PATH='/var/lib/deck/strata-runtime/cuda/lib64:/var/lib/deck/strata-runtime/cuda/lib') +versions={name:subprocess.check_output([p/'engine'/name,'--version'],env=env,text=True,stderr=subprocess.STDOUT).strip() for name in ('strata','strata-dsv41')} +help_text=subprocess.check_output([p/'.venv/bin/python',p/'serve/server.py','--help'],env=env,text=True,stderr=subprocess.STDOUT) +assert '--batch-groups' in help_text +# Deck stores batch-MTP in the engine config, not the HTTP server's CLI. +engine_help=subprocess.check_output([p/'engine/strata','--help'],env=env,text=True,stderr=subprocess.STDOUT) +assert '--batch-groups' in engine_help and '--batch-mtp' in engine_help +linkage={} +for name in ('strata','strata-dsv41','strata-vision'): + text=subprocess.check_output(['ldd',p/'engine'/name],env=env,text=True,stderr=subprocess.STDOUT) + if 'not found' in text:raise RuntimeError('Missing linkage: '+name) + linkage[name]='resolved' +cu=pathlib.Path('/var/lib/deck/strata-runtime/cuda/bin/cuobjdump') +fatbins={} +if cu.exists(): + for name in ('strata','strata-dsv41'): + text=subprocess.check_output([cu,'--list-elf',p/'engine'/name],env=env,text=True,stderr=subprocess.STDOUT) + fatbins[name]=sorted(set(re.findall(r'sm_(86|120)',text))) +print(json.dumps(dict(versions=versions,server_help=True,pipeline_cli_present=True,linkage=linkage,fatbin_architectures=fatbins))) +''' + result = json.loads(subprocess.check_output([ + 'docker', 'run', '--rm', '--network', 'none', '--cpus', '0.5', + '--memory', '512m', '--memory-swap', '512m', '--read-only', '--pids-limit', '128', + '--cap-drop', 'ALL', '--security-opt', 'no-new-privileges', '--user', '65534:65534', + '--entrypoint', 'python3', '-e', 'PYTHONDONTWRITEBYTECODE=1', + '-e', 'NVIDIA_VISIBLE_DEVICES=void', '-e', 'CUDA_VISIBLE_DEVICES=', + '-v', str(RUNTIME) + ':/var/lib/deck/strata-runtime:ro', + '-v', str(PRODUCTION / 'cuda') + ':/var/lib/deck/strata-runtime/cuda:ro', + before['production_image_id'], '-c', script], text=True, timeout=180)) + assert all('0.1.55' in value for value in result['versions'].values()) + if result['fatbin_architectures']: + assert all(set(values) == {'86', '120'} for values in result['fatbin_architectures'].values()) + changed = [] + for name, expected in before['production_hashes'].items(): + path = Path(name) + if not path.is_file(): + changed.append(name) + continue + with path.open('rb') as handle: + if hashlib.file_digest(handle, 'sha256').hexdigest() != expected: + changed.append(name) + after = json.loads(subprocess.check_output(['docker', 'inspect', 'athena-deck-dev'], text=True))[0] + unchanged = (before['production_started'] == after['State']['StartedAt'] and + before['production_image_id'] == after['Image']) + production_ready = json.loads((PRODUCTION / 'ready.json').read_text()) + immutable_changed = [p for p in changed if '/strata-runtime/' in p or p.endswith('/strata_sources.json')] + assert not immutable_changed, immutable_changed + assert unchanged, 'Production container identity/start changed during isolated build' + record = dict(release='v0.2.9', version='0.1.55', commit=COMMIT, verified_at=time.time(), + activated=False, inference_performed=False, build_verified=True, + versions=result['versions'], architectures=architectures, compile_pools=pools, + artifacts=hashes, loader_checks=result, production_changed_paths=changed, + production_container_unchanged=unchanged, production_ready=production_ready, + production_health=after['State'].get('Health', {}).get('Status'), + acceptance_limit='Build/load verification only; no GPU/model inference or production activation') + target = STAGE / 'verification.json' + target.write_text(json.dumps(record, indent=2) + '\n') + assert json.loads(target.read_text()) == record + print(json.dumps(record, indent=2)) + + +if __name__ == '__main__': + main() diff --git a/endpoint.py b/endpoint.py index 6b4be32..e571046 100644 --- a/endpoint.py +++ b/endpoint.py @@ -313,7 +313,7 @@ class Endpoint: row=dict(id='athena-image' if kind=='image' else p.get('api_id',p['name']),name=p['name'],display_name=p['name'],object='model',created=int(p['updated_at']),owned_by='athena-deck') if kind=='chat': params=p.get('parameters',{}) - row.update(context_window=int(params.get('context',8192)),parallel_slots=int(params.get('slots',1)),context_scope='per_slot' if params.get('chat_runtime')=='strata' else 'shared',status={'configuration_only':True}) + row.update(context_window=int(params.get('context',8192)),parallel_slots=int(params.get('slots',1)),context_scope='per_slot' if params.get('chat_runtime') in ('strata','basalt') else 'shared',status={'configuration_only':True}) data.append(row) return dict(object='list',data=data) def model_properties(self,name): @@ -325,7 +325,7 @@ class Endpoint: known_template=bool(re.search(r'qwen|gemma',identity)) return dict(model=p['name'],n_ctx=int(params.get('context',8192)), default_generation_settings=dict(n_ctx=int(params.get('context',8192)),params={}), - total_slots=int(params.get('slots',1)),context_scope='per_slot' if params.get('chat_runtime')=='strata' else 'shared', + total_slots=int(params.get('slots',1)),context_scope='per_slot' if params.get('chat_runtime') in ('strata','basalt') else 'shared', modalities=dict(vision=bool(params.get('vision_projector'))), chat_template_caps=dict(supports_tool_calls=known_template, supports_typed_content=True, @@ -584,7 +584,7 @@ class APIHandler(BaseHTTPRequestHandler): if ep.scheduler.gpu_mode=='voice':raise APIError('Ein aktives Stimmwerkzeug-Profil wählen.',404,'model_not_found') profile=ep.find_profile(data.get('model'),'audio');backend=ep.tts profile_seconds=time.monotonic()-started - try:job=backend.start(profile['id'],data.get('input'),speaker=data.get('voice','Ryan'),language=data.get('language','German'),speed=data.get('speed'),wait=True,**({'streaming':True} if streaming else {})) + try:job=backend.start(profile['id'],data.get('input'),speaker=data.get('voice',profile.get('parameters',{}).get('tts_voice','Ryan')),language=data.get('language','German'),speed=data.get('speed'),wait=True,**({'streaming':True} if streaming else {})) except InferenceError as exc:raise APIError(str(exc),503,'tts_resources_unavailable') from None except ValueError as exc:raise APIError(str(exc)) from None logging.getLogger('athena.tts').warning('TTS request admitted job=%s wait_seconds=%.3f profile_seconds=%.3f',job['id'],time.monotonic()-started,profile_seconds) diff --git a/execution_setup.py b/execution_setup.py index f8a0255..010fbb9 100644 --- a/execution_setup.py +++ b/execution_setup.py @@ -117,6 +117,18 @@ def _assess_candidates(model, installed, profile=None): result=_assess(model,installed,profile) result['candidates']=[] if result['state']=='component':return result + if model.get('kind')=='chat' and model.get('file','').lower().endswith('.basalt'): + from basalt_runtime import RECIPE + source=model.get('download_source') or model;pin=RECIPE['model'] + if any(source.get(k)!=pin[k] for k in ('repo','revision','file')) or any(k in model and model[k]!=pin[k] for k in ('sha256','size')): + result.update(message='Basalt ist angebunden, aber dieses Paket ist nicht das geprüfte feste IQ3_XXS-Rezept. Kein automatischer Start mit llama.cpp.',candidate_message='Unter Basalt das geprüfte vollständige Paket einrichten.') + return result + ready=bool(installed.get('basalt')) + result.update(family='Flash-Next GSQ-RCO IQ3_XXS',evidence='Fest gepinntes Basalt-Modellpaket; vollständige Größe und SHA-256 beim Download',runtime='Basalt',route='#basalt-runtime',installed=ready,state='setup' if ready else 'runtime_missing',label='Basalt · Text',components=[],message='Eine SM120-GPU und RAM-Experten, bis zwei vollständige Kontext-Slots. Tokenizer und MTP sind im Paket enthalten; keine separaten GGUF-Shards oder Projektor-Zuordnungen. TTS/Vision werden nicht umgestellt.') + result['candidates']=[dict(id='basalt',label='Basalt',installed=ready,route='#basalt-runtime',installation_available=True,evidence=result['evidence'])] + result.update(label='Basalt · Text und optional Vision',message='Text auf einer SM120-GPU mit RAM-Experten und bis zwei vollständigen Kontext-Slots. Optionaler Vision-Sidecar auf separater SM86/SM120-GPU (RTX 3060), mit festem BF16-Projektor. Tokenizer, MTP und identischer Projektor im Paket; keine GGUF-Shards. TTS wird nicht verändert.') + if profile:result.update(state='ready' if profile.get('runnable') else 'profile_incomplete',blockers=profile.get('blockers',[])) + return result kind=model.get('kind');repo=model.get('repo','').lower();name=model.get('file','').lower() meta=model.get('runtime_metadata') or {};family=str(meta.get('architecture') or '').lower() def add(id,label,key,route,reason,maintained=True): diff --git a/inference.py b/inference.py index d03e1bc..02580dc 100644 --- a/inference.py +++ b/inference.py @@ -23,8 +23,9 @@ class Scheduler: """FIFO admission; same-profile requests share configured slots, switches drain.""" def __init__(self, worker): self.worker=worker;self.evict_voice=lambda:None;self.evict_tts=lambda:None;self.cv=threading.Condition();self.queue=[];self.tts_queue=[];self.key=None;self.active=0;self.tts_active=0;self.transition=False;self.gpu_mode="llm" + self.stt_queue=[];self.stt_active=0;self.evict_stt=lambda:False def status(self): - with self.cv:return dict(active_requests=self.active+self.tts_active,waiting_requests=len(self.queue)+len(self.tts_queue),tts_waiting_requests=len(self.tts_queue),switching=self.transition) + with self.cv:return dict(active_requests=self.active+self.tts_active+self.stt_active,waiting_requests=len(self.queue)+len(self.tts_queue)+len(self.stt_queue),tts_waiting_requests=len(self.tts_queue),stt_waiting_requests=len(self.stt_queue),switching=self.transition) @contextlib.contextmanager def lease(self, key, slots=1, prepare=None, timeout=600, allowed=lambda:True, modes=("llm",)): ticket=object();deadline=time.monotonic()+timeout;claimed=False @@ -35,7 +36,7 @@ class Scheduler: while True: if self.gpu_mode not in modes:raise InferenceError("Andere Betriebsart aktiv oder Moduswechsel läuft; GPU-Auftrag ist gesperrt.") if not allowed():raise InferenceError('Endpunkt wird gestoppt oder Profil ist nicht mehr aktiviert.') - if self.queue[0] is ticket and not self.transition and (not self.active or (self.key==key and self.active=deadline:raise InferenceError('Sprachausgabe wartet auf belegte Ressourcen. Bitte erneut versuchen.') self.cv.wait(min(1,max(.01,deadline-time.monotonic()))) @@ -92,11 +96,28 @@ class Scheduler: def release(): with self.cv:self.tts_active-=1;self.cv.notify_all() return release + def stt_reservation(self,wait=False,allowed=lambda:True): + deadline=time.monotonic()+(600 if wait else 0);ticket=object() + with self.cv: + if len(self.stt_queue)>=16:raise InferenceError('STT-Warteschlange voll.') + self.stt_queue.append(ticket) + try: + while True: + if self.gpu_mode!='llm':raise InferenceError('Andere Betriebsart aktiv; GPU-Spracherkennung ist gesperrt.') + if not allowed():raise InferenceError('GPU-Spracherkennung wurde abgebrochen.') + if self.stt_queue[0] is ticket and not self.stt_active and not self.tts_active and not self.transition and not self.queue and not self.tts_queue and (not self.active or self.key and self.key[0]=='chat'): + self.stt_active=1;break + if time.monotonic()>=deadline:raise InferenceError('GPU-Spracherkennung wartet auf belegte Ressourcen.') + self.cv.wait(min(1,max(.01,deadline-time.monotonic()))) + finally:self.stt_queue.remove(ticket);self.cv.notify_all() + def release(): + with self.cv:self.stt_active-=1;self.cv.notify_all() + return release def unload_idle(self): with self.cv: - if self.active or self.tts_active:return False + if self.active or self.tts_active or self.stt_active or self.queue or self.tts_queue or self.stt_queue:return False self.transition=True - try:self.worker.stop();self.evict_tts();self.evict_voice();self.key=None + try:self.worker.stop();self.evict_tts();self.evict_stt();self.evict_voice();self.key=None finally:self.transition=False;self.cv.notify_all() return True diff --git a/profiles-ui.js b/profiles-ui.js index 255e8bf..6c0c72e 100644 --- a/profiles-ui.js +++ b/profiles-ui.js @@ -6,14 +6,14 @@ window.ProfilesUI=(()=>{ function bind(kind,modelId){ const root=document.querySelector('#live-profiles'),el=id=>root.querySelector('#'+id);let rows=[],models=[],schema={},enabled=[],gpus=[],projectors=[],entries=[],panelSequence=0; const message=t=>{if(root.isConnected)el('profile-message').textContent=t;}; - async function load(){try{const [p,c,h,ep]=await Promise.all([api('profiles'),api('catalog'),['chat','video'].includes(kind)?api('hardware').catch(()=>({gpus:[]})):Promise.resolve({gpus:[]}),api('endpoint')]);entries=c.entries;projectors=c.entries.filter(x=>x.role==='vision_projector'&&x.file.endsWith('.gguf'));enabled=ep.profiles.filter(x=>x.enabled).map(x=>x.id);gpus=h.gpus||[];if(!root.isConnected)return;rows=p.profiles.filter(x=>x.kind===kind);models=c.entries.filter(x=>x.kind===kind&&x.profile_eligible===true);schema=p.schemas[kind];el('profile-new').disabled=!models.length; + async function load(){try{const [p,c,h,ep]=await Promise.all([api('profiles'),api('catalog'),['chat','video','stt'].includes(kind)?api('hardware').catch(()=>({gpus:[]})):Promise.resolve({gpus:[]}),api('endpoint')]);entries=c.entries;projectors=c.entries.filter(x=>x.role==='vision_projector'&&x.file.endsWith('.gguf'));enabled=ep.profiles.filter(x=>x.enabled).map(x=>x.id);gpus=h.gpus||[];if(!root.isConnected)return;rows=p.profiles.filter(x=>x.kind===kind);models=c.entries.filter(x=>x.kind===kind&&x.profile_eligible===true);schema=p.schemas[kind];el('profile-new').disabled=!models.length; if(kind==='chat'){ const policy=p.reasoning_budget;el('global-reasoning').innerHTML=`

Globaler Denkaufwand · alle Chatprofile

${['low','medium','high'].map((level,i)=>``).join('')}

Gilt zentral für alle bestehenden und zukünftigen Chatprofile, auch nach Werkzeugaufrufen. Leer oder ausgeschaltet: keine zusätzliche Grenze. Off bleibt ohne Denken. Kleinere Client-Ausgabelimits gelten weiterhin; Platz für die Endantwort wird reserviert. Neue Anfragen übernehmen Änderungen ohne Modellneustart.

`; const f=el('global-reasoning-form');const toggle=()=>{for(const level of ['low','medium','high'])f.elements[level].disabled=!f.elements.enabled.checked;};f.elements.enabled.onchange=toggle;toggle(); f.onsubmit=async event=>{event.preventDefault();const b=f.querySelector('button'),note=f.querySelector('[data-status]');b.disabled=true;try{const limits=Object.fromEntries(['low','medium','high'].map(level=>{const raw=f.elements[level].value.trim();return [level,raw===''?null:Number(raw)];}));await api('reasoning-budget',{enabled:f.elements.enabled.checked,limits});note.textContent='Global gespeichert. Gilt für alle Chatprofile und neue Anfragen.';}catch(error){note.textContent=error.message;}finally{b.disabled=false;}}; } const openRows=new Set([...root.querySelectorAll('.detail-row[open]')].map(x=>x.dataset.rowId)); - el('profile-list').innerHTML=rows.map(p=>`
${e(p.name)}API-ID: ${e(p.api_id||p.name)}${e(p.model?.file||'Modelldatei nicht verfügbar')}${p.parameters.context?`${e(p.parameters.context)} Token ${p.parameters.chat_runtime==='strata'?'je Slot':'gesamt'} · ${e(p.parameters.slots||1)} Slots`:e(p.execution?.runtime||'Laufzeit prüfen')}${enabled.includes(p.id)?'API: freigegeben':'API: nicht freigegeben'}${p.runnable?'Bereit · lädt bei Anfrage':'Einrichtung fehlt'}

${Object.entries(p.parameters).filter(([k])=>k!=='reasoning_budget').map(([k,v])=>`${e(labels[k]||k)}: ${e(['video_device','text_encoder_device'].includes(k)?({auto:'Automatisch · RTX 5080 bevorzugt',same:'Wie Videopipeline'}[v]||gpus.find(g=>g.uuid===v)?.name||v):k==='gpu_reserve_mode'?({auto:'Automatisch',manual:'Manuell',none:'Keine zusätzliche Reserve'}[v]||v):k==='gpu_reserve_mib'?(Object.entries(v).map(([id,n])=>`${gpus.find(g=>g.uuid===id)?.name||id}: ${n} MiB`).join(', ')||'gemäß Reservemodus'):k==='gpu_devices'?(v.length?v.map((id,i)=>`CUDA${i}: ${gpus.find(g=>g.uuid===id)?.name||id}`).join(', '):'Automatisch'):Array.isArray(v)?(v.join(', ')||'Automatisch'):v)}`).join(' · ')}

${kind==='image'?`

Prompt-Aufwerter: Text-zu-Bild ${p.prompt_enhancer?.t2i?'an':'aus'} · Bildbearbeitung ${p.prompt_enhancer?.i2i?'an':'aus'} · Gerät ${e(p.prompt_enhancer?.device||'auto')}

`:''}${CatalogUI.executionHTML(p.execution)}
${p.runnable?(kind==='video'?'Laufzeit bereit · Video-Modus in Steuerung aktivieren':'Laufzeit bereit · lädt bei Anfrage'):'Was fehlt zur Ausführung?'}${p.blockers.map(t=>`

${e(t)}

`).join('')}
${kind==='image'?``:''}
`).join('')||`

Noch keine Profile

${models.length?'Wähle eine heruntergeladene Modelldatei und lege dein erstes Profil an.':'Lade zuerst eine Gewichtsdatei unter Entdecken herunter.'}

`; + el('profile-list').innerHTML=rows.map(p=>`
${e(p.name)}API-ID: ${e(p.api_id||p.name)}${e(p.model?.file||'Modelldatei nicht verfügbar')}${p.parameters.context?`${e(p.parameters.context)} Token ${['strata','basalt'].includes(p.parameters.chat_runtime)?'je Slot':'gesamt'} · ${e(p.parameters.slots||1)} Slots`:e(p.execution?.runtime||'Laufzeit prüfen')}${enabled.includes(p.id)?'API: freigegeben':'API: nicht freigegeben'}${p.runnable?'Bereit · lädt bei Anfrage':'Einrichtung fehlt'}

${Object.entries(p.parameters).filter(([k])=>k!=='reasoning_budget').map(([k,v])=>`${e(labels[k]||k)}: ${e(['video_device','text_encoder_device','stt_device'].includes(k)?({auto:'Automatisch · RTX 5080 bevorzugt',same:'Wie Videopipeline'}[v]||gpus.find(g=>g.uuid===v)?.name||v):k==='gpu_reserve_mode'?({auto:'Automatisch',manual:'Manuell',none:'Keine zusätzliche Reserve'}[v]||v):k==='gpu_reserve_mib'?(Object.entries(v).map(([id,n])=>`${gpus.find(g=>g.uuid===id)?.name||id}: ${n} MiB`).join(', ')||'gemäß Reservemodus'):k==='gpu_devices'?(v.length?v.map((id,i)=>`CUDA${i}: ${gpus.find(g=>g.uuid===id)?.name||id}`).join(', '):'Automatisch'):Array.isArray(v)?(v.join(', ')||'Automatisch'):v)}`).join(' · ')}

${kind==='image'?`

Prompt-Aufwerter: Text-zu-Bild ${p.prompt_enhancer?.t2i?'an':'aus'} · Bildbearbeitung ${p.prompt_enhancer?.i2i?'an':'aus'} · Gerät ${e(p.prompt_enhancer?.device||'auto')}

`:''}${CatalogUI.executionHTML(p.execution)}
${p.runnable?(kind==='video'?'Laufzeit bereit · Video-Modus in Steuerung aktivieren':'Laufzeit bereit · lädt bei Anfrage'):'Was fehlt zur Ausführung?'}${p.blockers.map(t=>`

${e(t)}

`).join('')}
${kind==='image'?``:''}
`).join('')||`

Noch keine Profile

${models.length?'Wähle eine heruntergeladene Modelldatei und lege dein erstes Profil an.':'Lade zuerst eine Gewichtsdatei unter Entdecken herunter.'}

`; el('profile-list').insertAdjacentHTML('afterbegin',`

${kind==='image'?'Der feste API-Name athena-image verwendet das hier freigegebene Bildprofil und dessen Auflösung. Höchstens ein Bildprofil ist am API-Endpunkt freigegeben. Ein neuer Haken ersetzt die bisherige Auswahl.':['audio','stt'].includes(kind)?'Eingerichtete Sprachprofile können am API-Endpunkt freigegeben werden.':kind==='chat'?'Mehrere Sprachmodellprofile können gleichzeitig am API-Endpunkt freigegeben sein.':kind==='video'?'Genau ein Videoprofil kann am API-Endpunkt freigegeben sein. Ein neuer Haken ersetzt die bisherige Auswahl. Die Steuerung lädt dieses Profil beim Wechsel auf Video; API-Name: athena-video. Zum Ändern der Freigabe zuerst auf LLM wechseln.':kind==='voice'?'Genau ein Stimmprofil ist am Endpunkt aktiv. Aktivieren ersetzt die bisherige Auswahl; starten über Steuerung → Stimmwerkzeuge.':kind==='music'?'Gib ein eingerichtetes Musikprofil frei, um es in der Steuerung verwenden zu können.':kind==='voice'?'Eingerichtete VoxCPM2-Profile können Sprache erzeugen und am Sprach-API-Endpunkt freigegeben werden. Stimmklonen mit WAV-Referenz steht unter Testen.':'Für diesen Bereich ist noch keine ausführbare Laufzeit am Endpunkt angebunden.'} Freigegeben bedeutet nicht bereits in den GPU-Speicher geladen.

`); root.querySelectorAll('[data-publish]').forEach(b=>b.onchange=async()=>{const checked=b.checked;root.querySelectorAll('[data-publish]').forEach(x=>x.disabled=true);try{await api('endpoint/profile',{id:b.dataset.publish,enabled:checked});await load();message(kind==='video'?'Video-Freigabe gespeichert. Die Steuerung lädt dieses Profil beim Wechsel auf Video.':'Endpunkt-Freigabe gespeichert. Geladen wird erst bei einer API-Anfrage.');}catch(error){await load();message(error.message);}}); root.querySelectorAll('[data-delete]').forEach(b=>b.onclick=async()=>{const p=rows.find(p=>p.id===b.dataset.delete);if(!confirm(`Profil „${p.name}“ löschen? Modelldateien und Komponenten bleiben in der Bibliothek.`))return;b.disabled=true;try{await api('profiles/delete',{id:p.id,revision:p.revision});panelSequence++;el('profile-editor').replaceChildren();await load();message('Profil gelöscht. Modelldateien und Komponenten bleiben erhalten.');}catch(error){message(error.message);b.disabled=false;}}); @@ -157,7 +157,31 @@ window.ProfilesUI=(()=>{ note.textContent='Speichern startet kein Modell. Die Ausführung benötigt eine passende Laufzeit und gegebenenfalls zusätzliche Modelldateien. '; const scope=document.createElement('span');scope.dataset.contextScope='';note.append(scope); } - if(kind==='chat'){const f=el('profile-form');f.insertAdjacentHTML('afterbegin',`

Chat-Laufzeit

Strata verteilt Anfangslayer auf die erste GPU, restliche Layer und MTP auf die zweite. Für Athena: 3060 zuerst, 5080 danach; Layer-Schnitt 16. llama.cpp-Regler sind dabei deaktiviert.

Strata: KV int8, 32768 KV-Tokens in VRAM, Rest in RAM; MTP mit bis zu 4 Draft-Tokens. Vision mit passendem BF16-Projektor auf CPU verfügbar.

`);f.elements.chat_runtime.value=data.parameters.chat_runtime||'llama';f.elements.strata_experts.value=data.parameters.strata_experts||'resident';const mode=()=>{const on=f.elements.chat_runtime.value==='strata';f.dataset.runtime=on?'strata':'llama';f.querySelector('[data-context-scope]').textContent=on?'Bei Strata gilt das Kontextlimit pro Slot; zusätzliche Anfragen warten auf einen freien Slot.':'Das Kontextbudget gilt insgesamt für alle Slots.';f.elements.slots.max=on?'2':'16';f.elements.context.parentElement.firstChild.textContent=on?'Kontext pro Slot (Token)':'Gesamtes Kontextbudget (Token)';f.querySelector('[data-llama-gpu-note]').hidden=on;f.elements.gpu_reserve_mode.querySelector('option[value=auto]').textContent=on?'Automatisch · 768 MiB je GPU':'Automatisch · mindestens 512 MiB je GPU';for(const n of ['threads','batch','ubatch','mtp','mtp_tokens','mtp_min_p','load_mode','gpu_offload','split_mode','tensor_split','cache_type_k','cache_type_v','vision_device'])f.elements[n].disabled=on;f.querySelector('#strata-profile-fields').hidden=!on;f.querySelector('#projector-discovery').hidden=on;const reserveNone=f.elements.gpu_reserve_mode.querySelector('option[value=none]');reserveNone.disabled=on;if(on&&f.elements.gpu_reserve_mode.value==='none')f.elements.gpu_reserve_mode.value='auto';};f.elements.chat_runtime.onchange=mode;mode();} + if(kind==='chat'){ + const f=el('profile-form'); + f.insertAdjacentHTML('afterbegin',`

Chat-Laufzeit

Basalt: genau eine SM120-GPU (auf Athena RTX 5080), Experten im RAM, automatischer GPU-Cache, int8-KV und MTP aus dem Modellpaket. Ein oder zwei Slots mit jeweils bis 262144 Kontexttokens. Die RTX 3060 wird nicht verwendet. Zunächst nur Text: TTS und Vision-Projektor werden nicht umgestellt.

Benötigt das geprüfte vollständige .basalt-Paket. Basalt einrichten →

Strata verteilt Anfangslayer auf die erste GPU, restliche Layer und MTP auf die zweite. Für Athena: 3060 zuerst, 5080 danach; Layer-Schnitt 16. llama.cpp-Regler sind dabei deaktiviert.

Strata: KV int8, 32768 KV-Tokens in VRAM, Rest in RAM; MTP mit bis zu 4 Draft-Tokens. Vision mit passendem BF16-Projektor auf CPU verfügbar.

`); + const basaltModel=models.find(m=>m.id===data.model_id)?.file.endsWith('.basalt'); + f.querySelector('#basalt-profile-fields').innerHTML='

Basalt: Text-Engine auf genau einer SM120-GPU (RTX 5080), Experten im RAM, int8-KV und MTP aus dem Paket. Ein oder zwei Slots mit jeweils bis 262144 Kontexttokens. Optionaler Vision-Encoder auf einer separaten SM86/SM120-GPU, auf Athena RTX 3060. Dafür den geprüften BF16-Projektor und die separate Projektor-GPU auswählen; der identische Projektor ist im Basalt-Paket enthalten. Kein CPU-/Text-GPU-Fallback. TTS bleibt unverändert.

Basalt einrichten →'; + f.elements.chat_runtime.value=data.parameters.chat_runtime||(!p&&basaltModel?'basalt':'llama'); + f.elements.strata_experts.value=data.parameters.strata_experts||'resident'; + if(!p&&basaltModel&&!data.parameters.gpu_devices?.length){const gpu=gpus.find(g=>/RTX 5080/.test(g.name));if(gpu)f.elements.gpu_first.value=gpu.uuid;} + const mode=()=>{ + const runtime=f.elements.chat_runtime.value,on=runtime==='strata',basalt=runtime==='basalt',native=on||basalt; + f.dataset.runtime=runtime; + f.querySelector('[data-context-scope]').textContent=native?'Das Kontextlimit gilt pro Slot; zusätzliche Anfragen warten auf einen freien Slot.':'Das Kontextbudget gilt insgesamt für alle Slots.'; + f.elements.slots.max=native?'2':'16';f.elements.context.max=basalt?'262144':String(schema.context[1]); + f.elements.context.parentElement.firstChild.textContent=native?'Kontext pro Slot (Token)':'Gesamtes Kontextbudget (Token)'; + f.querySelector('[data-llama-gpu-note]').hidden=native; + f.elements.gpu_reserve_mode.querySelector('option[value=auto]').textContent=basalt?'Automatisch · 700 MiB':on?'Automatisch · 768 MiB je GPU':'Automatisch · mindestens 512 MiB je GPU'; + for(const n of ['threads','batch','ubatch','mtp','mtp_tokens','mtp_min_p','load_mode','gpu_offload','split_mode','tensor_split','cache_type_k','cache_type_v','vision_device'])f.elements[n].disabled=native; + f.elements.gpu_second.disabled=basalt;f.elements.vision_projector.disabled=false;f.elements.vision_device.disabled=on; + f.elements.strata_layer_split.disabled=!on;f.elements.strata_experts.disabled=!on; + f.querySelector('#strata-profile-fields').hidden=!on;f.querySelector('#basalt-profile-fields').hidden=!basalt;f.querySelector('#projector-discovery').hidden=native; + f.elements.reserve_first.min=basalt?'700':'0';if(basalt&&Number(f.elements.reserve_first.value)<700)f.elements.reserve_first.value=700; + const reserveNone=f.elements.gpu_reserve_mode.querySelector('option[value=none]');reserveNone.disabled=native;if(native&&f.elements.gpu_reserve_mode.value==='none')f.elements.gpu_reserve_mode.value='auto'; + }; + f.elements.chat_runtime.onchange=mode;mode(); + } if(kind==='chat'){ const f=el('profile-form'); f.querySelector('#strata-profile-fields').insertAdjacentHTML('beforeend','

Parallele Strata-Anfragen

Für Athena getestet: automatisch und Batch-MTP aus. Wirkt bei zwei Slots; Einzelanfragen behalten ihr Solo-MTP. Speichern lädt kein Modell neu – die Werte gelten beim nächsten Modellstart.

'); @@ -169,10 +193,45 @@ window.ProfilesUI=(()=>{ } if(kind==='chat'){bindProjectorDiscovery();const f=el('profile-form');const reserveFields=()=>{for(const n of ['reserve_first','reserve_second'])f.elements[n].disabled=f.elements.gpu_reserve_mode.value!=='manual';};f.elements.gpu_reserve_mode.onchange=reserveFields;reserveFields();} if(kind==='video')bindVideoDevices(data); + if(kind==='audio'){ + const form=el('profile-form'),section=document.createElement('section');section.className='card'; + section.innerHTML='

Qwen Base · vorhandene RTX-3060-Laufzeit

Anna ist die eigene Referenzstimme, nicht die eingebaute japanische Ono_Anna-Stimme. Vorhandene GPU-Laufzeit und 1,7B-Base-Gewichte werden verwendet.

'; + form.insertBefore(section,form.querySelector('.note'));form.elements.tts_voice.value=data.parameters.tts_voice??'Ryan'; + if(!['Anna','Ryan'].includes(form.elements.tts_voice.value)){const option=new Option(data.parameters.tts_voice,data.parameters.tts_voice,true,true);form.elements.tts_voice.add(option);} + const voiceMode=()=>{const model=models.find(m=>m.id===form.elements.model_id.value),supported=model?.repo==='Qwen/Qwen3-TTS-12Hz-1.7B-Base'&&model?.revision==='fd4b254389122332181a7c3db7f27e918eec64e3'&&model?.file==='model.safetensors';section.hidden=!supported;form.elements.tts_voice.disabled=!supported;}; + form.elements.model_id.addEventListener('change',voiceMode);voiceMode(); + } + if(kind==='stt'){ + const form=el('profile-form'),section=document.createElement('section');section.className='card'; + const selected=data.parameters.stt_device??'cpu',devices=[...gpus];if(selected!=='cpu'&&!devices.some(g=>g.uuid===selected))devices.push({uuid:selected,name:'Derzeit nicht verfügbar'}); + section.innerHTML=`

Spracherkennung · Ausführung

GPU-Ausführung nur für Qwen3-ASR 0.6B Q8. Explizite GPU-Zuordnung, kein stiller CPU-Fallback. Parakeet bleibt CPU. Speichern veröffentlicht und lädt kein Modell.

`; + form.insertBefore(section,form.querySelector('.note'));form.elements.stt_device.value=selected; + const mode=()=>{const model=models.find(m=>m.id===form.elements.model_id.value),supported=model?.repo==='ggml-org/Qwen3-ASR-0.6B-GGUF'&&model?.revision==='928ab958557df9aa2ef1c93e0e83c7ad0933fae2'&&model?.file==='Qwen3-ASR-0.6B-Q8_0.gguf';form.elements.stt_device.disabled=!supported;if(!supported)form.elements.stt_device.value='cpu';}; + form.elements.model_id.addEventListener('change',mode);mode(); + } const identityForm=el('profile-form');let automaticId=!data.id&&!data.api_id;identityForm.elements.api_id.oninput=()=>{automaticId=false;};identityForm.elements.name.oninput=()=>{if(automaticId)identityForm.elements.api_id.value=identityForm.elements.name.value.replace(/ß/g,'ss').normalize('NFKD').replace(/[\u0300-\u036f]/g,'').toLowerCase().replace(/[^a-z0-9]+/g,'-').replace(/^-+|-+$/g,'').slice(0,64).replace(/-+$/g,'')||'model';};identityForm.elements.name.oninput(); el('profile-close').onclick=()=>el('profile-editor').replaceChildren(); el('profile-form').onsubmit=async event=>{event.preventDefault();const form=event.target,values=new FormData(form),button=form.querySelector('button:not([type=button])');button.disabled=true; - try{const parameters=Object.fromEntries(Object.keys(schema).map(k=>[k,Number(form.elements[k].disabled?(data.parameters[k]??schema[k][2]):values.get(k))]));if(kind==='video'){parameters.video_device=values.get('video_device');parameters.text_encoder_device=values.get('text_encoder_device');}if(kind==='chat'){parameters.vision_projector=values.get('vision_projector')||null;parameters.vision_device=values.get('vision_device');parameters.mtp=values.has('mtp');parameters.cache_type_k=values.get('cache_type_k');parameters.cache_type_v=values.get('cache_type_v');parameters.load_mode=values.get('load_mode');parameters.gpu_offload=values.get('gpu_offload');if(values.get('gpu_second')&&!values.get('gpu_first'))throw Error('Bitte zuerst die erste GPU auswählen.');if((data.parameters.gpu_devices||[]).length>2)throw Error('Dieses Profil enthält mehr als zwei GPUs; der Editor unterstützt derzeit zwei.');parameters.gpu_devices=[values.get('gpu_first'),values.get('gpu_second')].filter(Boolean);parameters.gpu_reserve_mode=values.get('gpu_reserve_mode');parameters.gpu_reserve_mib=parameters.gpu_reserve_mode==='manual'?Object.fromEntries([['gpu_first','reserve_first'],['gpu_second','reserve_second']].filter(([g])=>values.get(g)).map(([g,r])=>[values.get(g),Number(values.get(r))])):{};parameters.split_mode=values.get('split_mode');const raw=String(values.get('tensor_split')).trim();parameters.tensor_split=raw?raw.split(',').map(x=>x.trim()?Number(x):NaN):[];parameters.chat_runtime=values.get('chat_runtime')||'llama';parameters.strata_layer_split=Number(values.get('strata_layer_split')||16);parameters.strata_experts=values.get('strata_experts')||'resident';parameters.strata_batch_groups=form.elements.strata_batch_groups.value;parameters.strata_batch_mtp=form.elements.strata_batch_mtp.checked;if(parameters.chat_runtime==='strata'){parameters.load_mode='none';parameters.gpu_offload='auto';parameters.split_mode='layer';parameters.tensor_split=[];parameters.mtp=false;parameters.vision_device='cpu';parameters.cache_type_k='q4_0';parameters.cache_type_v='q4_0';}}await api('profiles/save',{id:data.id,revision:data.revision,name:values.get('name'),api_id:values.get('api_id'),kind,model_id:values.get('model_id'),parameters});if(!root.isConnected)return;el('profile-editor').replaceChildren();await load();message('Profil auf Athena gespeichert. Kein Modell gestartet.');} + try{ + const parameters=Object.fromEntries(Object.keys(schema).map(k=>[k,Number(form.elements[k].disabled?(data.parameters[k]??schema[k][2]):values.get(k))])); + if(kind==='video'){parameters.video_device=values.get('video_device');parameters.text_encoder_device=values.get('text_encoder_device');} + if(kind==='audio'&&!form.elements.tts_voice.disabled)parameters.tts_voice=values.get('tts_voice'); + if(kind==='stt')parameters.stt_device=form.elements.stt_device.disabled?'cpu':values.get('stt_device'); + if(kind==='chat'){ + parameters.vision_projector=values.get('vision_projector')||null;parameters.vision_device=values.get('vision_device');parameters.mtp=values.has('mtp');parameters.cache_type_k=values.get('cache_type_k');parameters.cache_type_v=values.get('cache_type_v');parameters.load_mode=values.get('load_mode');parameters.gpu_offload=values.get('gpu_offload'); + if(values.get('gpu_second')&&!values.get('gpu_first'))throw Error('Bitte zuerst die erste GPU auswählen.'); + if((data.parameters.gpu_devices||[]).length>2)throw Error('Dieses Profil enthält mehr als zwei GPUs; der Editor unterstützt derzeit zwei.'); + parameters.gpu_devices=[values.get('gpu_first'),values.get('gpu_second')].filter(Boolean);parameters.gpu_reserve_mode=values.get('gpu_reserve_mode');parameters.gpu_reserve_mib=parameters.gpu_reserve_mode==='manual'?Object.fromEntries([['gpu_first','reserve_first'],['gpu_second','reserve_second']].filter(([g])=>values.get(g)).map(([g,r])=>[values.get(g),Number(values.get(r))])):{}; + parameters.split_mode=values.get('split_mode');const raw=String(values.get('tensor_split')).trim();parameters.tensor_split=raw?raw.split(',').map(x=>x.trim()?Number(x):NaN):[]; + parameters.chat_runtime=values.get('chat_runtime')||'llama';parameters.strata_layer_split=Number(form.elements.strata_layer_split.value||16);parameters.strata_experts=form.elements.strata_experts.value||'resident';parameters.strata_batch_groups=form.elements.strata_batch_groups.value;parameters.strata_batch_mtp=form.elements.strata_batch_mtp.checked; + if(['strata','basalt'].includes(parameters.chat_runtime)){ + parameters.load_mode='none';parameters.gpu_offload='auto';parameters.split_mode=parameters.chat_runtime==='strata'?'layer':'none';parameters.tensor_split=[];parameters.mtp=false;parameters.cache_type_k='q4_0';parameters.cache_type_v='q4_0'; + if(parameters.chat_runtime==='strata')parameters.vision_device='cpu'; + } + } + await api('profiles/save',{id:data.id,revision:data.revision,name:values.get('name'),api_id:values.get('api_id'),kind,model_id:values.get('model_id'),parameters}); + if(!root.isConnected)return;el('profile-editor').replaceChildren();await load();message('Profil auf Athena gespeichert. Kein Modell gestartet.'); + } catch(error){if(root.isConnected)el('profile-error').textContent=error.message;}finally{button.disabled=false;} }; el('profile-editor').scrollIntoView({behavior:'smooth',block:'start'}); diff --git a/profiles.py b/profiles.py index 1024224..c6a31ad 100644 --- a/profiles.py +++ b/profiles.py @@ -6,6 +6,7 @@ import threading import time import uuid from pathlib import Path +from typing import Any from catalog import file_role from api_compat import reasoning_policy,GLOBAL_REASONING_DEFAULT @@ -17,8 +18,25 @@ SCHEMAS={ 'video':{'width':(256,1920,768),'height':(256,1088,512),'frames':(1,241,33),'fps':(1,60,24),'steps':(1,100,20),'seed':(-1,2147483647,-1)} } VIDEO_DEVICE_DEFAULTS={'video_device':'auto','text_encoder_device':'same'} +STT_DEVICE_DEFAULTS={'stt_device':'cpu'} + +def stt_parameters(params,model): + params={**STT_DEVICE_DEFAULTS,**params} + device=params['stt_device'] + if not isinstance(device,str) or device!='cpu' and not re.fullmatch(r'GPU-[0-9a-fA-F]{8}(?:-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}',device):raise ValueError('STT-Gerät muss CPU oder eine explizite GPU-UUID sein.') + if device!='cpu': + from stt import supported + if not supported(model):raise ValueError('GPU-STT ist nur für das vorhandene Qwen3-ASR-0.6B-Q8-Modell angebunden.') + return params PROMPT_ENHANCER_REPOS={'t2i':'Qwen/Qwen-Image-2.1-PE-T2I','i2i':'Qwen/Qwen-Image-2.1-PE-I2I'} PROMPT_ENHANCER_DEFAULTS={'t2i':None,'i2i':None,'device':'auto'} + +def audio_voice_parameters(params,model): + from tts_runtime import REPO,REVISION,SPEAKERS + if 'tts_voice' in params and (not isinstance(params['tts_voice'],str) or params['tts_voice'] not in SPEAKERS or model.get('repo')!=REPO or model.get('revision')!=REVISION or model.get('file')!='model.safetensors'): + raise ValueError('Profilstimme nur für die vorhandene Qwen-Base-GPU-Laufzeit wählen.') + return params + def video_parameters(params): params={**VIDEO_DEVICE_DEFAULTS,**params} for key in VIDEO_DEVICE_DEFAULTS: @@ -38,7 +56,13 @@ def generation_parameters(params): def chat_parameters(params): params={**CHAT_GPU_DEFAULTS,**CHAT_SAMPLING,**params} params['reasoning_budget']=reasoning_policy(params['reasoning_budget']) - if params['chat_runtime'] not in ('llama','strata'):raise ValueError('Unbekannte Chat-Laufzeit.') + if params['chat_runtime'] not in ('llama','strata','basalt'):raise ValueError('Unbekannte Chat-Laufzeit.') + if params['chat_runtime']=='basalt': + if type(params.get('slots',1)) is not int or params.get('slots',1) not in (1,2) or type(params.get('context',8192)) is not int or not 512<=params.get('context',8192)<=262144:raise ValueError('Basalt: ein oder zwei Slots mit jeweils höchstens 262144 Kontexttokens.') + if not isinstance(params['gpu_devices'],list) or len(params['gpu_devices'])!=1:raise ValueError('Basalt benötigt genau eine explizite SM120-GPU.') + if params['vision_projector'] and (params['vision_device']=='cpu' or params['vision_device'] in params['gpu_devices']):raise ValueError('Basalt-Vision benötigt eine separate explizite GPU, nicht die Text-GPU.') + if params['split_mode']!='none' or params['tensor_split'] or params['load_mode']!='none' or params['gpu_offload']!='auto':raise ValueError('Basalt verwendet ein Modellpaket und eine GPU ohne llama.cpp-Split oder SSD-Lademodus.') + if params['gpu_reserve_mode']=='none' or params['gpu_reserve_mode']=='manual' and isinstance(params['gpu_reserve_mib'],dict) and any(type(v) is not int or v<700 for v in params['gpu_reserve_mib'].values()):raise ValueError('Basalt benötigt mindestens 700 MiB GPU-Reserve.') if type(params['strata_layer_split']) is not int or not 1<=params['strata_layer_split']<=47:raise ValueError('Strata-Layer-Schnitt: 1 bis 47.') if params['strata_experts'] not in ('resident','mmap'):raise ValueError('Strata-Experten: resident oder mmap.') if not isinstance(params['strata_batch_groups'],str) or params['strata_batch_groups'] not in ('auto','1','2'):raise ValueError('Strata-Batch-Gruppen: auto, 1 oder 2.') @@ -229,6 +253,7 @@ class Profiles: if p['kind']=='image':p['prompt_enhancer']={**PROMPT_ENHANCER_DEFAULTS,**p.get('prompt_enhancer',{})} from applio import applio_model if p['kind']=='video':p['parameters']={**VIDEO_DEVICE_DEFAULTS,**p['parameters']} + if p['kind']=='stt':p['parameters']={**STT_DEVICE_DEFAULTS,**p['parameters']} if p['kind']=='chat':p['parameters']={**CHAT_GPU_DEFAULTS,**CHAT_SAMPLING,**p['parameters']} try: p['model']=self.catalog.entry(p['model_id']) @@ -281,7 +306,7 @@ class Profiles: if any(k in MANUAL_ROLES for k in p.get('components',{})):p['blockers'].append('Manuelle Zusatzkomponenten sind ungeprüft und noch nicht an den Worker angebunden.') p['runnable']=not p['blockers'];p['state']='ready' if p['runnable'] else 'configured' return {'reasoning_budget':self.reasoning_budget(),'profiles':[p for p in rows if p['kind']!='video'],'schemas':{k:v for k,v in SCHEMAS.items() if k!='video'}} - def save(self,data): + def save(self,data)->dict[str,Any]: if set(data)-{'api_id'}!={'id','revision','name','kind','model_id','parameters'}:raise ValueError('Ungültige Profilfelder.') kind=data['kind'];name=data['name'];params=data['parameters'] if kind=='video':raise ValueError('Videoprofile werden nicht mehr in Deck verwaltet. Originale LTX-Oberfläche verwenden.') @@ -294,15 +319,24 @@ class Profiles: if params['chat_runtime']=='strata': from strata_runtime import model_quant model_quant(model) + if params['chat_runtime']=='basalt': + from basalt_runtime import validate_model + validate_model(model) + elif model['file'].endswith('.basalt'):raise ValueError('Ein .basalt-Modell benötigt die Basalt-Laufzeit.') if params['load_mode']=='mmap' and model.get('runtime_metadata',{}).get('architecture')!='qwen4exp':raise ValueError('SSD-Auslagerung ist derzeit nur für qwen4exp qualifiziert.') if params['vision_projector']: projector=self.catalog.entry(params['vision_projector']) if params['chat_runtime']=='strata': from strata_runtime import validate_projector validate_projector(projector) + if params['chat_runtime']=='basalt': + from basalt_runtime import validate_projector + validate_projector(projector) if projector.get('role')!='vision_projector' or not projector['file'].endswith('.gguf'):raise ValueError('Eine heruntergeladene mmproj-GGUF-Datei auswählen.') if kind=='video' and isinstance(params,dict):params=video_parameters(params) - if not isinstance(params,dict) or set(params)!=(set(SCHEMAS[kind]) | (set(CHAT_GPU_DEFAULTS) if kind=='chat' else set(VIDEO_DEVICE_DEFAULTS) if kind=='video' else set())):raise ValueError('Unvollständige oder unbekannte Profilparameter.') + if kind=='audio' and isinstance(params,dict):audio_voice_parameters(params,model) + if kind=='stt' and isinstance(params,dict):params=stt_parameters(params,model) + if not isinstance(params,dict) or set(params)!=(set(SCHEMAS[kind]) | (set(CHAT_GPU_DEFAULTS) if kind=='chat' else set(VIDEO_DEVICE_DEFAULTS) if kind=='video' else set(params)&{'tts_voice'} if kind=='audio' else set(STT_DEVICE_DEFAULTS) if kind=='stt' else set())):raise ValueError('Unvollständige oder unbekannte Profilparameter.') for key,(lo,hi,_) in SCHEMAS[kind].items(): value=params[key] floating=key in FLOAT_PARAMETERS diff --git a/server.py b/server.py index 9133420..fbc96a9 100644 --- a/server.py +++ b/server.py @@ -28,6 +28,8 @@ from docker_support import DockerSupport from inference import LlamaWorker,Scheduler,InferenceError from strata_runtime import StrataRuntime from strata_worker import StrataWorker,ChatWorkerRouter +from basalt_runtime import BasaltRuntime +from basalt_worker import BasaltWorker from endpoint import Endpoint from chat_test import ChatTests from auto_test import AutoTests @@ -139,7 +141,8 @@ class Server(ThreadingHTTPServer): self.server_close() raise RuntimeError('Serverzugang muss vor dem Start eingerichtet werden.') self.strata_runtime=StrataRuntime(self.catalog.root.parent/'strata-runtime',self.catalog) - self.worker=ChatWorkerRouter(LlamaWorker(self.catalog.root.parent/'llama-worker',self.catalog,self.runtime),StrataWorker(self.catalog.root.parent/'strata-worker',self.catalog,self.strata_runtime)) + self.basalt_runtime=BasaltRuntime(self.catalog.root.parent/'basalt-runtime',self.catalog) + self.worker=ChatWorkerRouter(LlamaWorker(self.catalog.root.parent/'llama-worker',self.catalog,self.runtime),StrataWorker(self.catalog.root.parent/'strata-worker',self.catalog,self.strata_runtime),BasaltWorker(self.catalog.root.parent/'basalt-worker',self.catalog,self.basalt_runtime)) self.scheduler=Scheduler(self.worker) self.runtime.deletion_guard=lambda:"Modellwechsel läuft" if self.scheduler.transition else None self.voxcpm_tests=VoxCPMTests(self.catalog.root.parent/'voice-tests',self.profiles,self.voxcpm_runtime) @@ -166,8 +169,11 @@ class Server(ThreadingHTTPServer): self.image_tests.acquire=self.scheduler.image_reservation self.prompt_enhancer.acquire=self.scheduler.image_reservation self.tts_tests.acquire=self.scheduler.tts_reservation + self.voxcpm_tests.shared_tts=self.tts_tests self.scheduler.evict_tts=self.tts_tests.unload_idle self.stt=STT(self.profiles,self.catalog,self.runtime) + self.stt.acquire=self.scheduler.stt_reservation + self.scheduler.evict_stt=self.stt.unload_gpu_idle self.profiles.stt_blockers=self.stt.blockers if self.stt.parakeet.status()['installed']: marker=self.stt.parakeet.root/'profile-created' @@ -183,6 +189,7 @@ class Server(ThreadingHTTPServer): self.endpoint=Endpoint(self.catalog.root.parent,self.profiles,self.worker,self.scheduler,self.image_tests,self.credentials,self.server_port) self.endpoint.embeddings=self.embeddings self.endpoint.tts=self.tts_tests + self.tts_tests.clone_owner_profile=lambda:next((p['id'] for p in self.endpoint.rows() if p['kind']=='audio' and p['enabled'] and not self.tts_tests.blockers(p)),None) self.endpoint.pocket=self.pocket self.endpoint.kikiri=self.kikiri self.endpoint.articulino=self.articulino @@ -333,6 +340,7 @@ class Server(ThreadingHTTPServer): threading.Thread(target=preload_music,daemon=True).start() def server_close(self): + if getattr(self,'basalt_runtime',None):self.basalt_runtime.stop() if getattr(self,'seedvc',None):self.seedvc.stop() if getattr(self,'humaneness',None):self.humaneness.stop() if getattr(self,'soulx_singer',None):self.soulx_singer.stop() @@ -377,7 +385,7 @@ class Handler(BaseHTTPRequestHandler): return secrets.compare_digest(actual,record['api_token_hash']) def token_route(self): - return (self.command == 'GET' and (self.path in ('/api/v1/status','/api/v1/hardware','/api/v1/separator-runtime','/api/v1/separator-tests','/api/v1/voice','/api/v1/voice/profiles','/api/v1/music-remix') or urlsplit(self.path).path in ('/api/v1/separator-tests/audio','/api/v1/voice/audio'))) or (self.command=='POST' and self.path in ('/api/v1/separator-jobs/start','/api/v1/separator-chat/start','/api/v1/separator-tests/cancel','/api/v1/voice/start','/api/v1/voice/cancel','/api/v1/music-remix/transcribe')) + return (self.command == 'GET' and (self.path in ('/api/v1/status','/api/v1/hardware','/api/v1/separator-runtime','/api/v1/separator-tests','/api/v1/voice','/api/v1/voice/profiles','/api/v1/music-remix') or urlsplit(self.path).path in ('/api/v1/separator-tests/audio','/api/v1/voice/audio'))) or (self.command=='POST' and self.path in ('/api/v1/separator-jobs/start','/api/v1/separator-chat/start','/api/v1/separator-tests/cancel','/api/v1/voice/start','/api/v1/voice/cancel','/api/v1/voice/select','/api/v1/music-remix/transcribe')) def session_token(self): try: @@ -489,7 +497,7 @@ class Handler(BaseHTTPRequestHandler): video_runtime = (self.server.video.original_runtime if self.server.video.runtime_kind() == 'original' else self.server.video.runtime) - return {'embeddings':chat,'stt':chat,'chat':chat, + return {'embeddings':chat,'stt':chat,'chat':chat,'basalt':self.server.basalt_runtime.status()['installed'], 'image':self.server.image_runtime.status().get('installed',False), 'seedvc':self.server.seedvc_runtime.status()['installed'],'humaneness':self.server.humaneness_runtime.status()['installed'],'kikiri':self.server.kikiri_runtime.status()['installed'],'articulino':self.server.articulino_runtime.status()['installed'],'qwen_native':self.server.qwen_native_runtime.status()['installed'],'pocket':self.server.pocket_runtime.status()['installed'],'audio':self.server.tts_runtime.status().get('installed',False),'parakeet':self.server.stt.parakeet.status()['installed'], 'video':video_runtime.status().get('installed',False), @@ -635,6 +643,8 @@ class Handler(BaseHTTPRequestHandler): with path.open('rb') as stream: while chunk:=stream.read(1024*1024):self.wfile.write(chunk) return + if self.path in ('/api/v1/basalt-runtime','/api/v1/basalt-runtime/log'): + return self.respond(self.server.basalt_runtime.log() if self.path.endswith('/log') else self.server.basalt_runtime.status()) if self.path in ('/api/v1/strata-runtime','/api/v1/strata-runtime/log'): return self.respond(self.server.strata_runtime.log() if self.path.endswith('/log') else self.server.strata_runtime.status()) if self.path.startswith('/api/v1/runtime'): @@ -765,6 +775,12 @@ class Handler(BaseHTTPRequestHandler): if self.read_json()!={'confirm':True}:raise ValueError('Die Docker-Erstinstallation muss ausdrücklich bestätigt werden.') return self.respond(self.server.docker.install()) except (OSError,ValueError) as exc:return self.respond({'error':str(exc) if isinstance(exc,ValueError) else 'Docker-Systemhelfer nicht erreichbar.'},400) + if self.path in ('/api/v1/basalt-runtime/install','/api/v1/basalt-runtime/cancel','/api/v1/basalt-runtime/model'): + try: + if self.read_json()!={}:raise ValueError('Keine zusätzlichen Basalt-Parameter erwartet.') + action=self.path.rsplit('/',1)[1] + return self.respond(self.server.basalt_runtime.download_model() if action=='model' else self.server.basalt_runtime.stop() if action=='cancel' else self.server.basalt_runtime.start()) + except (OSError,ValueError) as exc:return self.respond({'error':str(exc)},400) if self.path.startswith('/api/v1/strata-runtime/'): try: data=self.read_json();action=self.path.rsplit('/',1)[1] @@ -920,8 +936,13 @@ class Handler(BaseHTTPRequestHandler): if set(data)-{'profile_id','lyrics','style','seed','max_tokens','steps','duration_seconds','guidance','thinking','instrumental','bpm','language'} or not {'profile_id','lyrics','style'}<=set(data):raise ValueError('Ungültige Musikfelder.') return self.respond(self.server.music.start(**data)) except ValueError as exc:return self.respond({'error':str(exc)},400) - if self.path in ('/api/v1/voice/start','/api/v1/voice/cancel'): + if self.path in ('/api/v1/voice/start','/api/v1/voice/cancel','/api/v1/voice/select'): try: + if self.path.endswith('/select'): + data=self.read_json() + if set(data)!={'profile_id'}:raise ValueError('Nur Profil-ID erwartet.') + if self.api_token_authenticated() and not any(p['id']==data['profile_id'] and p['kind']=='voice' and p['enabled'] for p in self.server.endpoint.rows()):raise ValueError('Dieses Stimmprofil ist nicht aktiviert.') + return self.respond(self.server.voxcpm_tests.select_shared(data['profile_id'])) if self.path.endswith('/cancel'): if self.read_json():raise ValueError('Keine Abbruchparameter erwartet.') return self.respond(self.server.voxcpm_tests.stop()) diff --git a/strata-ui.js b/strata-ui.js index 88d0aeb..aa1b3e6 100644 --- a/strata-ui.js +++ b/strata-ui.js @@ -9,3 +9,18 @@ const StrataUI=(()=>{ }catch(e){if(root.isConnected)root.textContent=e.message;}finally{setTimeout(()=>{if(root.isConnected)refresh();},4000);}} return {render}; })(); + +const BasaltUI=(()=>{ + const esc=v=>String(v??'').replace(/[&<>"']/g,c=>({'&':'&','<':'<','>':'>','"':'"',"'":'''}[c])); + function render(){document.querySelector('#view').innerHTML='

Basalt

Flash-Next: Text-Engine auf RTX 5080 mit RAM-Experten. Optionaler separater Vision-Encoder auf RTX 3060; passender BF16-Projektor und GPU im Chatprofil. Strata bleibt als eigene Laufzeit verfügbar. TTS wird nicht verändert.

Chat-Profile öffnen →';refresh();} + async function api(path='',body){const r=await fetch('/api/v1/basalt-runtime'+path,body===undefined?{}:{method:'POST',headers:{'Content-Type':'application/json','X-Athena-Deck':'1'},body:JSON.stringify(body)});const d=await r.json();if(!r.ok)throw Error(d.error||'Basalt-Anfrage fehlgeschlagen');return d;} + async function refresh(){const root=document.querySelector('#basalt-state');if(!root)return;try{ + const [d,c]=await Promise.all([api(),fetch('/api/v1/catalog').then(r=>r.json())]);if(!root.isConnected)return; + const model=(c.entries||[]).find(m=>m.repo===d.model.repo&&m.revision===d.model.revision&&m.file===d.model.file&&m.sha256===d.model.sha256); + const downloading=(c.downloads||[]).some(j=>['queued','downloading'].includes(j.state)&&j.repo===d.model.repo&&j.file===d.model.file&&j.revision===d.model.revision); + root.innerHTML=`

Basalt ${esc(d.version)}

${d.installed?'Laufzeit installiert':'Einrichtung erforderlich'} · ${esc(d.revision.slice(0,12))}

${esc(d.job?.phase||'Kein Einrichtungsauftrag aktiv.')}

Ein oder zwei Slots, jeweils bis ${esc(d.context_per_slot)} Kontexttokens. Experten RAM-resident, int8-KV, automatischer GPU-Cache und MTP aus dem Modellpaket. Genau eine explizite SM120-GPU; kein zweiter öffentlicher API-Port.

${d.job?.state==='running'?'':''}

Geprüftes Modellpaket

${esc(d.model.file)} · ${(d.model.size/1024**3).toFixed(2)} GiB · ${model?'in der Bibliothek':downloading?'Download vorgemerkt oder aktiv':'noch nicht vorhanden'}

Originalquelle und Lizenz prüfen ↗ · feste Revision und vollständige SHA-256-Prüfung.

${model?'':''}

Installation und Download starten kein Modell und ändern weder vorhandene Profile noch deren API-Freigaben. Fortschritt und Download-Abbruch stehen unter Downloads. Aktivierung erst über ein neues Basalt-Chatprofil; nicht parallel zu Strata auf derselben GPU.

`; + for(const [id,path] of [['basalt-install','/install'],['basalt-cancel','/cancel'],['basalt-model','/model']])root.querySelector('#'+id)?.addEventListener('click',async event=>{event.target.disabled=true;try{await api(path,{});await refresh();}catch(e){document.querySelector('#basalt-message').textContent=e.message;event.target.disabled=false;}}); + root.querySelector('#basalt-profile')?.addEventListener('click',()=>Studio.openProfile('chat',model.id)); + }catch(e){if(root.isConnected)root.textContent=e.message;}finally{setTimeout(()=>{if(root.isConnected)refresh();},4000);}} + return {render}; +})(); diff --git a/strata_sources.json b/strata_sources.json index 53a0b65..6e79838 100644 --- a/strata_sources.json +++ b/strata_sources.json @@ -1,6 +1,6 @@ { - "code": "5e8a4cca7d690ac60ca37eb09e7d0e010099ad6d", - "version": "0.1.52", + "code": "c62d5e3a15b40ea51c96aae9e8d36928965f53ab", + "version": "0.1.55", "reasoning_loop_recovery": "stop", "repo": "ISTA-DASLab/Qwen3.8-Flash-Next-GSQ-RCO-GGUF", "revision": "ed59f92082b1e93c0e96d60a8b11aab089b52f09", diff --git a/strata_worker.py b/strata_worker.py index e854a60..3b3ead5 100644 --- a/strata_worker.py +++ b/strata_worker.py @@ -138,10 +138,15 @@ class StrataWorker: self.process=None;self.profile=None;self.port=None;self.key=None;self.devices=[];self.state='stopped';self.phase='Gestoppt';(self.root/'worker.json').unlink(missing_ok=True) class ChatWorkerRouter: """Keep the scheduler and public API shared; embeddings always use llama.cpp.""" - def __init__(self,llama,strata):self.llama=llama;self.strata=strata;self.active=llama;self.runtime=llama.runtime;self.catalog=llama.catalog;self.root=llama.root;self.lock=threading.RLock() + def __init__(self,llama,strata,basalt=None):self.llama=llama;self.strata=strata;self.basalt=basalt;self.active=llama;self.runtime=llama.runtime;self.catalog=llama.catalog;self.root=llama.root;self.lock=threading.RLock() def __getattr__(self,name):return getattr(self.active,name) def build(self):return self.llama.build() - def target(self,p):return self.strata if p['parameters'].get('chat_runtime','llama')=='strata' else self.llama + def target(self,p): + mode=p['parameters'].get('chat_runtime','llama') + if mode=='basalt': + if self.basalt is None:raise InferenceError('Basalt-Worker ist nicht eingerichtet.') + return self.basalt + return self.strata if mode=='strata' else self.llama def blockers(self,p):return self.target(p).blockers(p) def plan(self,p,cancel=lambda:False):return self.target(p).plan(p,cancel) def ensure(self,p,cancel=lambda:False): @@ -149,7 +154,9 @@ class ChatWorkerRouter: target=self.target(p) if target is not self.active:self.active.stop();self.active=target return target.ensure(p,cancel) - def prepare_request(self,body):return self.active.prepare_request(body) if self.active is self.strata else body - def status(self):return {**self.active.status(),'runtime':'strata' if self.active is self.strata else 'llama'} + def prepare_request(self,body):return self.active.prepare_request(body) if self.active is self.strata or self.basalt is not None and self.active is self.basalt else body + def status(self):return {**self.active.status(),'runtime':'basalt' if self.basalt is not None and self.active is self.basalt else 'strata' if self.active is self.strata else 'llama'} def stop(self): - with self.lock:self.llama.stop();self.strata.stop() + with self.lock: + self.llama.stop();self.strata.stop() + if self.basalt is not None:self.basalt.stop() diff --git a/stt.py b/stt.py index 2d7e899..ed5ffa6 100644 --- a/stt.py +++ b/stt.py @@ -1,9 +1,10 @@ -"""Owned CPU-only Qwen3-ASR worker. Audio and transcript live only in memory.""" -import io,json,os,secrets,signal,socket,subprocess,threading,time,uuid,wave,urllib.request +"""Owned Qwen3-ASR worker; CPU default, explicit guarded GPU opt-in.""" +import base64,io,json,os,secrets,signal,socket,subprocess,threading,time,uuid,wave,urllib.request from email import policy from email.parser import BytesParser from pathlib import Path -from image_test import cgroup_headroom +from typing import Any,Callable +from image_test import cgroup_headroom,probe from parakeet_runtime import ParakeetRuntime,supported as redux_supported REPO='ggml-org/Qwen3-ASR-0.6B-GGUF' REVISION='928ab958557df9aa2ef1c93e0e83c7ad0933fae2' @@ -13,6 +14,21 @@ PROJECTOR_REVISION='928ab958557df9aa2ef1c93e0e83c7ad0933fae2' PROJECTOR='mmproj-Qwen3-ASR-0.6B-Q8_0.gguf' MAX_AUDIO=8*1024*1024 +def qwen_asr_request(audio,language)->dict[str,Any]: + # This ASR model consumes audio, not an instruction to transcribe. The pinned + # generic /audio/transcriptions route injects text that Qwen may echo verbatim. + messages=[dict(role='system',content=''),dict(role='user',content=[dict(type='input_audio',input_audio=dict(data='data:audio/wav;base64,'+base64.b64encode(audio).decode(),format='wav'))])] + body=dict(model='deck-stt',messages=messages,temperature=0,max_tokens=2048,stream=False) + if language in ('de','en'): + messages.append(dict(role='assistant',content='language '+('German' if language=='de' else 'English')+'')) + body.update(continue_final_message=True,add_generation_prompt=False) + return body + +def asr_text(text): + if not isinstance(text,str):raise ValueError('Die Laufzeit hat kein Transkript geliefert.') + text=text.split('<|asr_text|>')[-1].split('')[-1].replace('<|endoftext|>','').replace('<|im_end|>','').strip() + return text + def supported(m):return m.get('repo')==REPO and m.get('revision')==REVISION and m.get('file')==MODEL def validate_wav(audio): @@ -85,6 +101,32 @@ class STT: def __init__(self,profiles,catalog,runtime): self.profiles=profiles;self.catalog=catalog;self.runtime=runtime;self.lock=threading.RLock();self.job=None;self.process=None;self.port=None;self.key=None;self.binary_path=None;self.cancel=threading.Event();self.policy='auto';self.warming=False;self.profile_id=None;self.session_model=None self.parakeet=ParakeetRuntime(self.catalog.root.parent/'parakeet-runtime') if self.catalog is not None else None + self.acquire:Callable[...,Callable[[],None]]|None=None;self.session_device='cpu' + @staticmethod + def device(p): + from profiles import stt_parameters + return stt_parameters(p.get('parameters',{}),p.get('model',{}))['stt_device'] + def reservation(self,device): + if device=='cpu':return lambda:None + if not callable(self.acquire):raise ValueError('GPU-STT-Scheduler ist nicht angebunden.') + return self.acquire(wait=True,allowed=lambda:not self.cancel.is_set()) + @staticmethod + def command(binary,model,projector,port,key,device='cpu'): + env=dict(os.environ,CUDA_VISIBLE_DEVICES='' if device=='cpu' else device,OMP_NUM_THREADS='2') + if projector is None: + if device!='cpu':raise ValueError('Parakeet ist ausschließlich für CPU vorgesehen.') + return [str(binary),'--model',str(model),'--host','127.0.0.1','--port',str(port),'--threads','2','--concurrency','1'],env + args=[str(binary),'--model',str(model),'--mmproj',str(projector),'--n-gpu-layers','0' if device=='cpu' else '999','--ctx-size','4096','--threads','2','--parallel','1','--host','127.0.0.1','--port',str(port),'--no-ui','--fit','off','--alias','deck-stt','--api-key',key] + args+=['--no-mmproj-offload'] if device=='cpu' else ['--device','CUDA0','--main-gpu','0','--split-mode','none'] + return args,env + def gpu_admission(self,model,projector,device): + # A transparent admission policy, not a measured VRAM minimum: file sizes, + # 1 GiB working buffers plus 512 MiB remaining reserve. Never evict peers. + card=next((g for g in probe() if g['uuid']==device),None) + if card is None:raise ValueError('Ausgewählte STT-GPU nicht verfügbar; kein CPU-Fallback.') + needed=(Path(model).stat().st_size+Path(projector).stat().st_size)/1024**2+1536 + free=card.get('free_mib') + if isinstance(free,bool) or not isinstance(free,(int,float)) or not free>=needed:raise ValueError(f'GPU-STT: mindestens {needed:.0f} MiB freier VRAM nach Zulassungsregel erforderlich; keine anderen Modelle werden entladen.') def build(self): state=self.runtime.status();ident=state.get('active') if not isinstance(ident,str) or len(ident)!=32 or any(c not in '0123456789abcdef' for c in ident):raise ValueError('Zuerst unter Laufzeiten → llama.cpp einen Build erstellen und aktivieren.') @@ -99,6 +141,12 @@ class STT: if redux_supported(p['model']):return [] if self.parakeet and self.parakeet.status()['installed'] else ['Parakeet-CPU-Laufzeit fehlt. Vorbereitungsrezept ausführen.'] if not supported(p['model']):return ['Diese STT-Variante ist noch nicht angebunden. Unterstützt wird Qwen3-ASR 0.6B Q8_0 aus dem geprüften Repository.'] errors=[] + try: + if self.device(p)!='cpu': + state=self.runtime.status();build=next((b for b in state.get('builds',[]) if b['id']==state.get('active')),None) + if not build or build.get('backend')!='CUDA':errors.append('GPU-STT benötigt einen vorhandenen aktiven CUDA-Build.') + if not callable(self.acquire):errors.append('GPU-STT-Scheduler fehlt.') + except ValueError as exc:errors.append(str(exc)) for f in [self.build,self.projector]: try:f() except ValueError as exc:errors.append(str(exc)) @@ -110,7 +158,7 @@ class STT: except ValueError:projector=False try:self.model_entry();model=True except ValueError:model=False - with self.lock:return dict(model=model,job=dict(self.job) if self.job else None,installed=installed,projector=projector,repo=REPO,revision=REVISION,loaded=bool(self.process and self.process.poll() is None),policy=self.policy,warming=self.warming,profile_id=self.profile_id,parakeet=self.parakeet.status() if self.parakeet else {'installed':False}) + with self.lock:return dict(model=model,job=dict(self.job) if self.job else None,installed=installed,projector=projector,repo=REPO,revision=REVISION,loaded=bool(self.process and self.process.poll() is None),policy=self.policy,warming=self.warming,profile_id=self.profile_id,parakeet=self.parakeet.status() if self.parakeet else {'installed':False},device=self.session_device if self.process and self.process.poll() is None else None) def model_entry(self): for x in self.catalog.status()['entries']: if supported(x):return self.catalog.entry(x['id']) @@ -143,9 +191,10 @@ class STT: required=(1 if redux_supported(p['model']) else 4)*1024**3 if headroom is not None and headroom')[-1].replace('<|endoftext|>','').strip() + text=asr_text(payload['choices'][0]['message'].get('content')) if projector is not None else asr_text(payload.get('text')) result=dict(state='complete',phase='Transkription fertig · '+('Modell entladen' if self.policy=='per_request' else 'Modell bleibt geladen'),text=text) except InterruptedError:result=dict(state='cancelled',phase='Transkription abgebrochen') except ValueError as exc:result=dict(state='failed',phase=str(exc)) + except Exception:pass finally: if result['state']!='complete' or self.policy=='per_request':self.unload_idle() + if release:release() with self.lock: if self.cancel.is_set():result=dict(state='cancelled',phase='Transkription abgebrochen') self.job.update(result) - def _ensure(self,binary,model,projector): + def _ensure(self,binary,model,projector,device='cpu'): process=None try: with self.lock: if self.cancel.is_set():raise InterruptedError() - process=self.process if self.process and self.process.poll() is None and self.binary_path==str(binary) and self.session_model==(str(model),str(projector)) else None + process=self.process if self.process and self.process.poll() is None and self.binary_path==str(binary) and self.session_model==(str(model),str(projector)) and self.session_device==device else None if process is None: self.unload_idle() key=secrets.token_hex(24) with socket.socket() as s:s.bind(('127.0.0.1',0));port=s.getsockname()[1] - env=dict(os.environ,CUDA_VISIBLE_DEVICES='',OMP_NUM_THREADS='2') - args=[str(binary),'--model',str(model),'--mmproj',str(projector),'--no-mmproj-offload','--n-gpu-layers','0','--ctx-size','4096','--threads','2','--parallel','1','--host','127.0.0.1','--port',str(port),'--no-ui','--fit','off','--alias','deck-stt','--api-key',key] - if projector is None:args=[str(binary),'--model',str(model),'--host','127.0.0.1','--port',str(port),'--threads','2','--concurrency','1'] + if device!='cpu':self.gpu_admission(model,projector,device) + args,env=self.command(binary,model,projector,port,key,device) with self.lock: if self.cancel.is_set():raise InterruptedError() - process=subprocess.Popen(args,env=env,stdout=subprocess.DEVNULL,stderr=subprocess.DEVNULL,start_new_session=True);self.process=process;self.port=port;self.key=key;self.binary_path=str(binary);self.session_model=(str(model),str(projector)) + process=subprocess.Popen(args,env=env,stdout=subprocess.DEVNULL,stderr=subprocess.DEVNULL,start_new_session=True);self.process=process;self.port=port;self.key=key;self.binary_path=str(binary);self.session_model=(str(model),str(projector));self.session_device=device deadline=time.monotonic()+90 while True: if self.cancel.wait(.3):raise InterruptedError() - if process.poll() is not None:raise ValueError('llama.cpp konnte das ASR-Modell nicht laden. Build-Unterstützung und freien RAM prüfen.') + if process.poll() is not None:raise ValueError('llama.cpp konnte das ASR-Modell nicht laden. Build-Unterstützung, RAM und bei GPU-Ausführung VRAM prüfen.') if time.monotonic()>deadline:raise ValueError('Zeitlimit beim Laden des ASR-Modells.') try: with urllib.request.urlopen(urllib.request.Request(f'http://127.0.0.1:{port}/health',headers={'Authorization':'Bearer '+key}),timeout=1) as response: @@ -242,27 +295,34 @@ class STT: def warm(self,profile_id): with self.lock: if self.job and self.job.get('state')=='running':return False - if self.process and self.process.poll() is None and self.profile_id==profile_id:return True if self.warming:return False p=next((p for p in self.profiles.status()['profiles'] if p['id']==profile_id and p['kind']=='stt' and p['runnable']),None) if not p:raise ValueError('Das ausgewählte STT-Profil ist nicht ausführbar.') + if self.process and self.process.poll() is None and self.profile_id==profile_id and self.session_device==self.device(p):return True self.warming=True;self.cancel.clear() try: headroom=cgroup_headroom() required=(1 if redux_supported(p['model']) else 4)*1024**3 if headroom is not None and headroom{ ['X-VC','Stimmwerkzeuge','xvc-runtime','/api/v1/xvc-runtime','Audio-zu-Audio-Stimmumwandlung; native Laufzeit mit Resemble Enhance und bisheriger Oberfläche.'], ['Applio / RVC','Stimmwerkzeuge','applio-runtime','/api/v1/applio-runtime','Unsere eigene Oberfläche für Stimmen umwandeln, Live und Training. Native Applio-3.6.5-Laufzeit; GPU wird durch Deck gesteuert.'], ['Strata','Chat & Sprachmodelle','strata-runtime','/api/v1/strata-runtime','Flash-Next mit Experten-Streaming. Native CUDA-13-Laufzeit, IQ2_XS/IQ3_XXS und gemeinsame Deck-API.'], + ['Basalt','Chat & Sprachmodelle','basalt-runtime','/api/v1/basalt-runtime','Flash-Next mit einer SM120-GPU, RAM-Experten und zwei vollständigen Kontext-Slots. Eigenes geprüftes .basalt-Paket; bestehende Deck-API, zunächst nur Text.'], ['Audio Separator','Audio-Trennung','separator-runtime','/api/v1/separator-runtime','Native CUDA-Laufzeit für BS-Roformer, MelBand und Demucs FT/6s. Vollständige Modellpakete mit überprüften Originalquellen und Prüfsummen.'] ]; const runtimeEscape=v=>String(v??'').replace(/[&<>"']/g,c=>({'&':'&','<':'<','>':'>','"':'"',"'":'''}[c])); diff --git a/test_audio_residency.py b/test_audio_residency.py index 4203706..d54ab30 100644 --- a/test_audio_residency.py +++ b/test_audio_residency.py @@ -45,7 +45,7 @@ class ResidencyTests(unittest.TestCase): def test_stt_reuses_cpu_server_until_stop(self): with tempfile.TemporaryDirectory() as d: script=Path(d)/'server.py' - script.write_text('#!'+sys.executable+'\nimport argparse,json\nfrom http.server import BaseHTTPRequestHandler,HTTPServer\np=argparse.ArgumentParser();p.add_argument("--port",type=int);a,_=p.parse_known_args()\nclass H(BaseHTTPRequestHandler):\n def log_message(self,*x):pass\n def do_GET(self):\n self.send_response(200);self.end_headers();self.wfile.write(b"ok")\n def do_POST(self):\n self.rfile.read(int(self.headers["Content-Length"]));b=json.dumps({"text":"synthetic transcript"}).encode();self.send_response(200);self.send_header("Content-Length",str(len(b)));self.end_headers();self.wfile.write(b)\nHTTPServer(("127.0.0.1",a.port),H).serve_forever()\n') + script.write_text('#!'+sys.executable+'\nimport argparse,json\nfrom http.server import BaseHTTPRequestHandler,HTTPServer\np=argparse.ArgumentParser();p.add_argument("--port",type=int);a,_=p.parse_known_args()\nclass H(BaseHTTPRequestHandler):\n def log_message(self,*x):pass\n def do_GET(self):\n self.send_response(200);self.end_headers();self.wfile.write(b"ok")\n def do_POST(self):\n self.rfile.read(int(self.headers["Content-Length"]));b=json.dumps({"text":"synthetic transcript","choices":[{"message":{"content":"synthetic transcript"}}]}).encode();self.send_response(200);self.send_header("Content-Length",str(len(b)));self.end_headers();self.wfile.write(b)\nHTTPServer(("127.0.0.1",a.port),H).serve_forever()\n') script.chmod(0o700) profile=dict(id='p',kind='stt',runnable=True,model_id='m',model={'repo':'synthetic/stt','file':'model.gguf'}) catalog=SimpleNamespace(root=Path(d),status=lambda:{'entries':[]}) diff --git a/test_backup.py b/test_backup.py index 9996027..45a2cd1 100644 --- a/test_backup.py +++ b/test_backup.py @@ -25,6 +25,40 @@ class CodecTests(unittest.TestCase): with self.assertRaises(ValueError):open_backup(raw,'sixteen character secret') class RestoreTests(unittest.TestCase): + def test_stt_gpu_profile_and_preset_survive_validation(self): + from stt import REPO,REVISION,MODEL + ident=hashlib.sha256((REPO+REVISION+MODEL).encode()).hexdigest();device='GPU-4834d9d7-5b61-3004-1fb3-4ae49d482d4b' + doc=self.server.backup.snapshot(include_history=False);doc['models']=[dict(id=ident,repo=REPO,revision=REVISION,file=MODEL,kind='stt',sha256='0'*64,size=100)] + doc['settings']['profiles.json']=[dict(id='b'*32,name='Qwen ASR GPU',revision=1,kind='stt',model_id=ident,parameters={'stt_device':device},presets=[dict(id='c'*32,name='GPU preset',created_at=1,model_id=ident,parameters={'stt_device':device})])] + validate(doc) + bad=copy.deepcopy(doc);bad['settings']['profiles.json'][0]['presets'][0]['parameters']['stt_device']='auto' + with self.assertRaises(ValueError):validate(bad) + doc['settings']['profiles.json'][0]['parameters']={};doc['settings']['profiles.json'][0]['presets'][0]['parameters']={};validate(doc) + def test_basalt_runtime_pin_export_restore_and_version_blocker(self): + from basalt_runtime import COMMIT + self.server.basalt_runtime.status=Mock(return_value=dict(installed=True,revision=COMMIT,job=None)) + doc=self.server.backup.snapshot(include_history=False);validate(doc) + self.assertIs(doc['runtimes']['basalt'],True);self.assertEqual(doc['runtime_versions']['basalt'],COMMIT) + self.assertFalse(self.server.backup.inspect(seal(doc,'backup secure password'),'backup secure password')['blockers']) + bad=copy.deepcopy(doc);bad['runtime_versions']['basalt']='0'*40 + self.assertTrue(any('Basalt' in message for message in self.server.backup.inspect(seal(bad,'backup secure password'),'backup secure password')['blockers'])) + self.server.basalt_runtime.status=Mock(return_value=dict(installed=False,revision=COMMIT,job=None));self.server.basalt_runtime.start=Mock();self.server.backup._wait=Mock() + self.server.backup.job=dict(state='running',items=[],completed=0,phase='Basalt-Test') + self.server.backup._runtimes(doc);self.server.basalt_runtime.start.assert_called_once();self.server.backup.job['state']='complete' + bad=copy.deepcopy(doc);bad['runtimes']['basalt']='true' + with self.assertRaises(ValueError):validate(bad) + def test_basalt_profile_and_preset_model_integrity_are_validated(self): + from basalt_runtime import RECIPE + from profiles import chat_parameters + model=RECIPE['model'];ident=hashlib.sha256((model['repo']+model['revision']+model['file']).encode()).hexdigest() + doc=self.server.backup.snapshot(include_history=False);doc['models']=[dict(model,id=ident,kind='chat')] + params=chat_parameters({**{k:v[2] for k,v in SCHEMAS['chat'].items()},'chat_runtime':'basalt','gpu_devices':['GPU-aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa'],'slots':2,'context':262144}) + doc['settings']['profiles.json']=[dict(id='b'*32,name='Basalt restore',revision=1,kind='chat',model_id=ident,parameters=params,presets=[dict(id='c'*32,name='Basalt preset',created_at=1,model_id=ident,parameters=copy.deepcopy(params))])] + validate(doc) + bad=copy.deepcopy(doc);bad['models'][0]['sha256']='0'*64 + with self.assertRaises(ValueError):validate(bad) + bad=copy.deepcopy(doc);bad['settings']['profiles.json'][0]['parameters']['chat_runtime']='llama';bad['models'][0]['sha256']='0'*64 + with self.assertRaises(ValueError):validate(bad) def setUp(self): self.env=patch.dict(os.environ,{'DECK_NETWORK_MODE':'disabled'});self.env.start();self.tmp=tempfile.TemporaryDirectory();self.root=Path(self.tmp.name) self.server=Server(0,state_dir=self.root);self.server.credentials.setup('test administrator password','test_api_token_12345678901234567890') diff --git a/test_basalt.py b/test_basalt.py new file mode 100644 index 0000000..d4df9db --- /dev/null +++ b/test_basalt.py @@ -0,0 +1,117 @@ +"""Offline Basalt integration checks. No models, GPU work or production access.""" +import copy +import json +import tempfile +import unittest +from pathlib import Path +from unittest.mock import ANY,Mock,patch + +from basalt_runtime import BasaltRuntime,RECIPE,COMMIT,validate_model +from basalt_worker import BasaltWorker +from inference import InferenceError,MemoryAdmissionError +from profiles import Profiles,chat_parameters,SCHEMAS +from strata_worker import ChatWorkerRouter + +GPU='GPU-aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa' +OTHER='GPU-bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb' + +class BasaltTests(unittest.TestCase): + def params(self,**changes):return chat_parameters({**{k:v[2] for k,v in SCHEMAS['chat'].items()},'chat_runtime':'basalt','gpu_devices':[GPU],**changes}) + def model(self):return dict(RECIPE['model'],id='a'*64,kind='chat',profile_eligible=True) + def test_model_identity_is_not_just_a_filename(self): + entry=self.model();validate_model(entry) + for changes in ({'repo':'wrong/model'},{'revision':'0'*40},{'file':'wrong.basalt'},{'sha256':'0'*64},{'size':1}): + with self.subTest(changes=changes),self.assertRaises(ValueError):validate_model({**entry,**changes}) + validate_model({**entry,'repo':'local/import','download_source':{k:entry[k] for k in ('repo','revision','file')}}) + def test_legacy_defaults_and_strict_basalt_limits(self): + self.assertEqual(chat_parameters({})['chat_runtime'],'llama') + self.assertEqual(self.params(context=262144,slots=2)['slots'],2) + for changes in ({'gpu_devices':[]},{'gpu_devices':[GPU,OTHER]},{'slots':3},{'slots':True},{'context':524288},{'vision_projector':'a'*64},{'gpu_reserve_mode':'none'},{'gpu_reserve_mode':'manual','gpu_reserve_mib':{GPU:512}},{'gpu_reserve_mode':'manual','gpu_reserve_mib':None},{'split_mode':'layer'},{'load_mode':'mmap'}): + with self.subTest(changes=changes),self.assertRaises(ValueError):self.params(**changes) + def test_profile_save_reload_and_preset_roundtrip(self): + with tempfile.TemporaryDirectory() as tmp: + catalog=Mock();catalog.entry.return_value=self.model();path=Path(tmp)/'profiles.json';store=Profiles(path,catalog) + params=self.params(context=262144,slots=2) + store.save(dict(id=None,revision=0,name='Basalt profile',api_id='basalt-test',kind='chat',model_id='a'*64,parameters=params)) + saved=json.loads(path.read_text())[0];self.assertEqual(saved['parameters'],params);self.assertEqual(saved['api_id'],'basalt-test') + store.preset(dict(id=saved['id'],revision=saved['revision'],action='save',name='Basalt defaults')) + saved=json.loads(path.read_text())[0];self.assertEqual(saved['presets'][0]['parameters'],params) + self.assertEqual(Profiles(path,catalog).status()['profiles'][0]['parameters'],params) + with self.assertRaises(ValueError):store.save(dict(id=None,revision=0,name='Wrong runtime',kind='chat',model_id='a'*64,parameters={**params,'chat_runtime':'llama'})) + def test_router_uses_basalt_and_leaves_embeddings_with_llama(self): + llama,strata,basalt=Mock(),Mock(),Mock();router=ChatWorkerRouter(llama,strata,basalt);p={'parameters':{'chat_runtime':'basalt'}} + router.ensure(p);llama.stop.assert_called_once();basalt.ensure.assert_called_once_with(p,ANY);strata.stop.assert_not_called() + self.assertIs(router.runtime,llama.runtime);self.assertIs(router.build(),llama.build.return_value) + basalt.status.return_value={'state':'ready'};self.assertEqual(router.status()['runtime'],'basalt') + router.ensure({'parameters':{'chat_runtime':'strata'}});basalt.stop.assert_called_once() + with self.assertRaises(InferenceError):ChatWorkerRouter(llama,strata).target(p) + def test_one_gpu_plan_does_not_claim_or_interrupt_the_3060(self): + with tempfile.TemporaryDirectory() as tmp: + runtime=Mock();runtime.status.return_value={'installed':True};worker=BasaltWorker(Path(tmp),Mock(),runtime) + gpus=[dict(uuid=GPU,total_mib=16384,free_mib=16000,processes=0),dict(uuid=OTHER,total_mib=12288,free_mib=100,processes=4)] + p=dict(parameters=self.params(context=262144,slots=2),model_id='a'*64) + with patch('basalt_worker.probe',return_value=gpus),patch('basalt_worker.compute_capabilities',return_value={GPU:'12.0',OTHER:'8.6'}): + plan=worker.plan(p);self.assertEqual(plan['gpus'],[GPU]);self.assertEqual(plan['total_context_capacity'],524288);self.assertEqual(plan['reserve_mib'],[700]) + gpus[0]['processes']=1 + with self.assertRaises(MemoryAdmissionError):worker.plan(p) + gpus[0].pop('processes') + with self.assertRaisesRegex(InferenceError,'unbekannt'):worker.plan(p) + with patch('basalt_worker.probe',return_value=gpus),patch('basalt_worker.compute_capabilities',return_value={GPU:'8.6'}): + with self.assertRaisesRegex(InferenceError,'SM120'):worker.plan(p) + def test_loopback_config_uses_full_per_slot_context_and_no_vision(self): + p=dict(parameters=self.params(context=262144,slots=2),api_id='basalt-test');config=BasaltWorker.configuration(p,Path('/owned/model.basalt'),12345,700) + self.assertEqual(config['server']['host'],'127.0.0.1');self.assertEqual(config['server']['gpu'],'0');self.assertIs(config['server']['slot-full-context'],True);self.assertEqual(config['server']['parallel'],2);self.assertEqual(config['server']['vision'],'off');self.assertEqual(config['engine']['max-context'],262144) + self.assertNotIn('api_key',json.dumps(config));self.assertEqual(BasaltWorker.server_command(Path('/venv/python'),Path('/source'),Path('/owned/worker.json'),'synthetic-test-key'),['/venv/python',str(Path(__file__).with_name('basalt_serve.py')),'--deck-source','/source','--engine-bin','/source/bin/basalt','--config','/owned/worker.json','--api-key','synthetic-test-key']) + def test_vision_uses_separate_gpu_and_confirms_modality(self): + from basalt_runtime import validate_projector + validate_projector(RECIPE['vision']) + with self.assertRaises(ValueError):validate_projector({**RECIPE['vision'],'sha256':'0'*64}) + params=self.params(context=262144,slots=2,vision_projector='a'*64,vision_device=OTHER) + for device in ('cpu',GPU): + with self.assertRaises(ValueError):self.params(vision_projector='a'*64,vision_device=device) + p=dict(api_id='basalt-vision',parameters=params) + with self.assertRaises(InferenceError):BasaltWorker.configuration(p,Path('/model.basalt'),12345,700) + config=BasaltWorker.configuration(p,Path('/model.basalt'),12345,700,0) + self.assertEqual(config['server']['vision'],'0');self.assertEqual(config['server']['gpu'],'0') + props=dict(is_sleeping=False,total_slots=2,default_generation_settings={'n_ctx':262144}) + with self.assertRaises(InferenceError):BasaltWorker.verify_properties(props,params) + BasaltWorker.verify_properties({**props,'modalities':{'vision':True}},params) + runtime=Mock();runtime.status.return_value={'installed':True,'vision':True};catalog=Mock();catalog.entry.return_value=RECIPE['vision'];worker=BasaltWorker('/unused',catalog,runtime) + devices=[dict(uuid=OTHER,total_mib=12288,free_mib=12000,processes=0),dict(uuid=GPU,total_mib=16384,free_mib=16000,processes=0)] + with patch('basalt_worker.probe',return_value=devices),patch('basalt_worker.compute_capabilities',return_value={GPU:'12.0',OTHER:'8.6'}): + plan=worker.plan({**p,'model_id':'b'*64});self.assertEqual(plan['gpus'],[GPU]);self.assertEqual(plan['vision_gpu'],OTHER);self.assertEqual(plan['vision_index'],0) + devices[0]['processes']=1 + with self.assertRaises(MemoryAdmissionError):worker.plan({**p,'model_id':'b'*64}) + def test_health_requires_loaded_model_and_actual_slot_context(self): + params=self.params(context=262144,slots=2);props=dict(is_sleeping=False,total_slots=2,default_generation_settings={'n_ctx':262144});BasaltWorker.verify_properties(props,params) + for changes in ({'is_sleeping':True},{'total_slots':1},{'default_generation_settings':{'n_ctx':131072}}): + with self.assertRaises(InferenceError):BasaltWorker.verify_properties({**props,**changes},params) + def test_request_translation_is_nondestructive(self): + body=dict(messages=[],repeat_penalty=1.1,cache_prompt=False,chat_template_kwargs={'enable_thinking':False});before=copy.deepcopy(body) + worker=BasaltWorker('/not-used',Mock(),Mock());translated=worker.prepare_request(body) + self.assertEqual(body,before);self.assertEqual(translated['repetition_penalty'],1.1);self.assertNotIn('cache_prompt',translated) + worker.profile={'api_id':'flash-next-basalt'};legacy={**body,'model':'flash-next-strata-iq3-dual'} + self.assertEqual(worker.prepare_request(legacy)['model'],'flash-next-basalt');self.assertEqual(legacy['model'],'flash-next-strata-iq3-dual') + def test_runtime_marker_and_missing_pack_fail_closed(self): + with tempfile.TemporaryDirectory() as tmp: + catalog=Mock(root=Path(tmp)/'models');runtime=BasaltRuntime(Path(tmp)/'runtime',catalog);self.assertFalse(runtime.status()['installed']) + with self.assertRaises(ValueError):runtime.prepared(self.model()) + root=runtime.root;(root/'venv/bin').mkdir(parents=True);(root/'venv/bin/python').touch();(root/'source/bin').mkdir(parents=True);(root/'source/bin/basalt').touch() + (root/'ready.json').write_text(json.dumps(dict(commit=COMMIT,version=RECIPE['version']))) + self.assertTrue(runtime.status()['installed']);(root/'ready.json').write_text(json.dumps(dict(commit='0'*40,version=RECIPE['version']))) + self.assertFalse(runtime.status()['installed']) + def test_pinned_model_download_checks_metadata_before_queueing(self): + with tempfile.TemporaryDirectory() as tmp: + catalog=Mock();runtime=BasaltRuntime(tmp,catalog);m=RECIPE['model'];catalog.files.return_value={'files':[dict(name=m['file'],size=m['size'],sha256=m['sha256'])]} + runtime.download_model();catalog.start.assert_called_once_with(m['repo'],m['file'],m['revision'],'chat') + catalog.start.reset_mock();catalog.files.return_value['files'][0]['sha256']='0'*64 + with self.assertRaises(ValueError):runtime.download_model() + catalog.start.assert_not_called() + def test_catalog_lists_basalt_files_with_integrity_metadata(self): + from catalog import Catalog,file_role + with tempfile.TemporaryDirectory() as tmp: + catalog=Catalog(Path(tmp));m=RECIPE['model'] + catalog._metadata=Mock(return_value=dict(sha=m['revision'],siblings=[dict(rfilename=m['file'],size=m['size'],lfs={'sha256':m['sha256']})])) + files=catalog.files(m['repo'],m['revision'])['files'];self.assertEqual(len(files),1);self.assertEqual(files[0]['sha256'],m['sha256']);self.assertEqual(file_role(m['file'])['role'],'model') + +if __name__=='__main__':unittest.main() diff --git a/test_basalt_telemetry.py b/test_basalt_telemetry.py new file mode 100644 index 0000000..5286cee --- /dev/null +++ b/test_basalt_telemetry.py @@ -0,0 +1,85 @@ +import collections,json,unittest +from types import SimpleNamespace +from unittest.mock import Mock +from basalt_telemetry import Counters,CountedHistory,snapshot +from basalt_serve import install +from dashboard_data import Dashboard + +class BasaltTelemetryTests(unittest.TestCase): + def service(self): + rows=[dict(id=0,n_ctx=262144,is_processing=True,state='decoding',prompt_tokens=100,reused=60,generated=12,ctx_used=112,tok_s=40,prefill_done=100,max_tokens=32,draft_len=2.5),dict(id=1,n_ctx=262144,is_processing=True,state='prefill',prompt_tokens=200,reused=None,generated=0,ctx_used=200,prefill_done=25,tok_s=0)] + svc=SimpleNamespace(engine=SimpleNamespace(gen=1,prefill_tok_s_mean=2200,slot_held=[[],[]]),deck_counters=Counters(),slot_table=lambda:(rows,[]),slot_stats=lambda:dict(total=2,active=2,queue_depth=1),loaded=lambda:True,live_reqs={},status={'slot':0,'windows':3,'window_tokens':7,'tail':'private answer'}) + svc.history=CountedHistory(collections.deque(maxlen=500),svc);return svc + def test_live_slots_and_rates_use_native_fields_without_private_payload(self): + svc=self.service();svc.metrics=Mock(side_effect=AssertionError('Private history must never be queried')) + result=snapshot(svc) + self.assertEqual(result['metrics']['predicted_tokens_seconds'],40) + self.assertEqual(result['metrics']['prompt_tokens_seconds'],2200) + self.assertEqual(result['slots'][0]['context_used'],112);self.assertEqual(result['slots'][0]['decoded_tokens'],12) + self.assertEqual(result['slots'][1]['prompt_processed'],25);self.assertIsNone(result['slots'][1]['prompt_cached']) + self.assertEqual(result['metrics']['requests_processing'],2);self.assertEqual(result['metrics']['requests_deferred'],1) + self.assertNotIn('private answer',json.dumps(result));svc.metrics.assert_not_called() + def test_completed_counters_do_not_depend_on_bounded_history_and_reset_with_engine(self): + svc=self.service();row=dict(slot=0,prompt_tokens=100,reused=60,output_tokens=7,prompt_ms=20,drafts_offered=4,drafts_accepted=2,prompt='private input') + for _ in range(510):svc.history.append(row) + _,m,last=svc.deck_counters.snapshot(1) + self.assertEqual(len(svc.history),500);self.assertEqual(m['tokens_predicted_total'],510*7) + self.assertEqual(m['prompt_tokens_total'],510*(100-60));self.assertEqual(m['prompt_tokens_cached_total'],510*60) + self.assertEqual(m['spec_decode_num_draft_tokens_total'],510*4);self.assertEqual(m['spec_decode_num_drafts_total'],510*3) + self.assertEqual(last[0]['decoded_tokens'],7);self.assertNotIn('private input',json.dumps(last)) + _,fresh,last=svc.deck_counters.snapshot(2);self.assertEqual(fresh['tokens_predicted_total'],0);self.assertFalse(last) + def test_idle_slot_preserves_context_and_last_counts_not_zero(self): + svc=self.service();svc.history.append(dict(slot=0,prompt_tokens=100,reused=60,output_tokens=7,prompt_ms=20)) + svc.engine.slot_held=[[0]*107,[]];svc.slot_table=lambda:([dict(id=0,n_ctx=262144,is_processing=False,state='idle',ctx_used=107)],[]) + row=snapshot(svc)['slots'][0];self.assertEqual(row['context_used'],107);self.assertEqual(row['prompt_tokens'],100);self.assertEqual(row['decoded_tokens'],7) + def test_unsupported_or_missing_values_stay_unknown(self): + svc=self.service();svc.engine.prefill_tok_s_mean=float('nan');result=snapshot(svc) + self.assertIsNone(result['metrics']['prompt_tokens_seconds']);self.assertNotIn('n_decode_total',result['metrics']) + self.assertIsNone(result['metrics']['spec_decode_num_draft_tokens_total']) + def test_new_http_route_preserves_existing_authorization_and_routes(self): + svc=self.service() + class Base: + def _authorized(self):return self.allowed + def _json(self,status,data):self.reply=(status,data) + def do_GET(self):self.original=True + service=SimpleNamespace(Service=type('OriginalService',(),{}));handler=SimpleNamespace(make_handler=lambda svc:Base) + install(service,handler);cls=handler.make_handler(svc) + req=cls();req.path='/telemetry';req.allowed=False;req.do_GET();self.assertFalse(hasattr(req,'reply')) + req.allowed=True;req.do_GET();self.assertEqual(req.reply[0],200);self.assertNotIn('history',req.reply[1]) + req.path='/props';req.do_GET();self.assertTrue(req.original) + def test_missing_mtp_does_not_turn_into_a_partial_lifetime_total(self): + counters=Counters();counters.record(dict(slot=0,prompt_tokens=5,reused=0,output_tokens=1,prompt_ms=1),1) + counters.record(dict(slot=0,prompt_tokens=5,reused=0,output_tokens=2,prompt_ms=1,drafts_offered=4,drafts_accepted=2),1,2,3) + _,metrics,_=counters.snapshot(1);self.assertIsNone(metrics['spec_decode_num_draft_tokens_total']);self.assertIsNone(metrics['spec_decode_num_drafts_total']) + def test_request_finishing_during_sample_is_not_double_counted(self): + svc=self.service();calls=[] + def table(): + calls.append(1) + if len(calls)==1:svc.history.append(dict(slot=0,prompt_tokens=10,reused=0,output_tokens=4,prompt_ms=1)) + return [dict(id=0,n_ctx=100,is_processing=False,state='idle',ctx_used=14)],[] + svc.slot_table=table;result=snapshot(svc) + self.assertEqual(result['metrics']['tokens_predicted_total'],4);self.assertEqual(len(calls),2) + def test_engine_restart_during_sample_keeps_new_epoch_counts(self): + svc=self.service();calls=[] + def table(): + calls.append(1) + if len(calls)==1: + svc.engine.gen=2;svc.history.append(dict(slot=0,prompt_tokens=10,reused=0,output_tokens=4,prompt_ms=1)) + return [dict(id=0,n_ctx=100,is_processing=False,state='idle',ctx_used=14)],[] + svc.slot_table=table;result=snapshot(svc) + self.assertTrue(result['available']);self.assertEqual(result['epoch'],2);self.assertEqual(result['metrics']['tokens_predicted_total'],4) + def test_numeric_boundary_and_slot_fields_do_not_leak_arbitrary_values(self): + from basalt_telemetry import number,public_slot + for value in (True,-1,float('nan'),float('inf'),10**10000):self.assertIsNone(number(value)) + row=public_slot(dict(id=0,processing=True,state='private state',prompt_tokens='private prompt',tail='private answer',context_used=12)) + assert row is not None + self.assertEqual(row['state'],'unknown');self.assertIsNone(row['prompt_tokens']);self.assertNotIn('private',json.dumps(row)) + def test_dashboard_and_pulse_receive_basalt_metrics_via_safe_endpoint(self): + payload=snapshot(self.service());dashboard=Dashboard.__new__(Dashboard);dashboard.server=SimpleNamespace(worker=SimpleNamespace(status=lambda:dict(runtime='basalt',state='ready'))) + responses={'/telemetry':json.dumps(payload).encode(),'/props':b'{"total_slots":2,"model_alias":"test"}'} + dashboard._read_worker=Mock(side_effect=lambda path:responses[path]) + result=dashboard.telemetry(True) + self.assertEqual(len(result['slots']),2);self.assertEqual(result['metrics']['requests_processing'],2) + self.assertNotIn('/metrics',[c.args[0] for c in dashboard._read_worker.call_args_list]) + speed=dashboard.speed_snapshot();self.assertEqual(speed['backend'],'basalt');self.assertEqual(speed['generation_tok_s'],40);self.assertEqual(speed['active_slots'],2) +if __name__=='__main__':unittest.main() diff --git a/test_dashboard_data.py b/test_dashboard_data.py index 5caa886..356987a 100644 --- a/test_dashboard_data.py +++ b/test_dashboard_data.py @@ -16,6 +16,13 @@ class DashboardDataTests(unittest.TestCase): self.assertEqual(rows[0]['context_used'],107) self.assertNotIn('prompt',rows[0]) + def test_basalt_dashboard_does_not_collect_json_request_history_or_invent_rates(self): + import json + dashboard=Dashboard.__new__(Dashboard);dashboard.server=SimpleNamespace(worker=SimpleNamespace(status=lambda:{'runtime':'basalt'})) + responses={'/slots':json.dumps([{'id':0,'n_ctx':262144,'prompt_tokens':100,'state':'prefill','is_processing':True}]).encode(),'/props':b'{"total_slots":2,"model_alias":"test"}'} + dashboard._read_worker=Mock(side_effect=lambda p:responses[p]);result=dashboard.telemetry(True) + self.assertEqual(result['backend'],'basalt');self.assertEqual(result['phase'],'reading');self.assertIsNone(result['metrics']['prompt_tokens_seconds']);self.assertNotIn('tokens_predicted_total',result['metrics']) + self.assertIsNone(result['slots'][0]['decoded_tokens']);self.assertNotIn('/metrics',[x.args[0] for x in dashboard._read_worker.call_args_list]) def test_strata_compat_counters_and_live_whitelist(self): self.assertEqual(metrics('strata:drafts_offered_total 100\nstrata:drafts_accepted_total 70'),dict(spec_decode_num_draft_tokens_total=100,spec_decode_num_accepted_tokens_total=70)) raw='strata:live_state{model_name="test",state="generating"} 1\nstrata:live_tok_s{model_name="test"} 72.5\nstrata:private_field 42\nstrata:live_prefill_tok_s_mean +Inf' diff --git a/test_endpoint.py b/test_endpoint.py index c74302e..d53428e 100644 --- a/test_endpoint.py +++ b/test_endpoint.py @@ -46,6 +46,12 @@ class UpstreamErrorTests(unittest.TestCase): self.assertNotIn('private request text',str(error)) class EndpointTests(unittest.TestCase): + def test_basalt_properties_advertise_per_slot_capacity_without_loading(self): + self.rows[0]['parameters'].update(chat_runtime='basalt',context=262144,slots=2) + self.enable('alpha');code,models=self.request('/v1/models') + self.assertEqual(code,200);model=next(m for m in models['data'] if m['id']=='alpha') + self.assertEqual(model['context_scope'],'per_slot');self.assertEqual(model['context_window'],262144);self.assertEqual(model['parallel_slots'],2) + props=self.ep.model_properties('alpha');self.assertEqual(props['context_scope'],'per_slot');self.assertEqual(props['total_slots'],2);self.assertEqual(props['n_ctx'],262144);self.assertEqual(self.worker.started,[]) def setUp(self): self.tmp=tempfile.TemporaryDirectory();self.worker=FakeWorker();self.worker.http=ThreadingHTTPServer(('127.0.0.1',0),Upstream);self.worker.http.worker=self.worker;threading.Thread(target=self.worker.http.serve_forever,daemon=True).start() self.rows=[dict(id=n,name=n,kind='chat',revision=1,updated_at=1,runnable=True,blockers=[],parameters=dict(slots=2,temperature=.2,top_p=.8,top_k=20)) for n in ('alpha','beta')] diff --git a/test_execution_setup.py b/test_execution_setup.py index 6b20481..82f54a1 100644 --- a/test_execution_setup.py +++ b/test_execution_setup.py @@ -3,6 +3,13 @@ from execution_setup import assess from profiles import QWEN_REPO,FLUX_REPO from tts_runtime import REPO,REVISION class ExecutionSetupTests(unittest.TestCase): + def test_basalt_pack_has_own_runtime_not_llama_or_components(self): + from basalt_runtime import RECIPE + model=dict(RECIPE['model'],kind='chat') + result=assess(model,{'basalt':True,'chat':False}) + self.assertEqual(result['runtime'],'Basalt');self.assertTrue(result['installed']);self.assertEqual(result['components'],[]);self.assertEqual(result['candidates'][0]['id'],'basalt') + self.assertEqual(assess(model,{})['state'],'runtime_missing') + self.assertEqual(assess(dict(model,sha256='0'*64),{'chat':True})['state'],'unsupported') def check(self,kind,repo,file,installed=None,**extra):return assess(dict(kind=kind,repo=repo,file=file,**extra),installed or {}) def test_omnivoice_uses_own_runtime_and_audio_tokenizer_is_component(self): result=self.check('voice','k2-fsa/OmniVoice','model.safetensors',{'omnivoice':True}) diff --git a/test_qwen_asr_protocol.py b/test_qwen_asr_protocol.py new file mode 100644 index 0000000..c2171a4 --- /dev/null +++ b/test_qwen_asr_protocol.py @@ -0,0 +1,16 @@ +import json,unittest +from stt import qwen_asr_request,asr_text +class QwenASRProtocolTests(unittest.TestCase): + def test_audio_only_not_generic_transcription_instruction(self): + body=qwen_asr_request(b'fixture','de') + self.assertNotIn('Transcribe audio',json.dumps(body));self.assertEqual(body['messages'][1]['content'][0]['type'],'input_audio') + self.assertEqual(body['messages'][-1]['content'],'language German');self.assertFalse(body['add_generation_prompt']);self.assertTrue(body['continue_final_message']) + def test_auto_language_and_english(self): + self.assertEqual(len(qwen_asr_request(b'fixture','auto')['messages']),2) + self.assertEqual(qwen_asr_request(b'fixture','en')['messages'][-1]['content'],'language English') + def test_canonical_asr_marker_and_legacy_marker(self): + self.assertEqual(asr_text('language German<|asr_text|>Das ist der Text.<|im_end|>'),'Das ist der Text.') + self.assertEqual(asr_text('GermanText<|endoftext|>'),'Text') + def test_literal_spoken_words_are_not_blacklisted(self): + self.assertEqual(asr_text('Transcribe audio to text'),'Transcribe audio to text') +if __name__=='__main__':unittest.main() diff --git a/test_qwen_shared.py b/test_qwen_shared.py new file mode 100644 index 0000000..4d507ab --- /dev/null +++ b/test_qwen_shared.py @@ -0,0 +1,150 @@ +"""CPU-only shared-worker regressions; no production models or voices.""" +import io,json,subprocess,sys,tempfile,threading,time,unittest,wave +from pathlib import Path +from types import SimpleNamespace +from unittest.mock import Mock,MagicMock,patch +from inference import Scheduler +from tts_runtime import REPO,REVISION +from tts_test import TTSTests +from voxcpm_test import VoxCPMTests + + +def reference(): + b=io.BytesIO() + with wave.open(b,'wb') as w:w.setnchannels(1);w.setsampwidth(2);w.setframerate(16000);w.writeframes(b'\0\0'*16000) + return b.getvalue() + + +def wait_for(getter): + end=time.monotonic()+5 + while time.monotonic(){ if(setup){el('tts-install').disabled=busy||rt.installed||rt.job?.state==='running';el('tts-install-cancel').disabled=rt.job?.state!=='running';el('tts-assign').disabled=busy||!rt.installed||!profiles.length;} else{el('tts-generate').disabled=busy||j?.state==='running'||!profiles.length||!rt.installed;el('tts-cancel').disabled=j?.state!=='running';if(j?.state==='complete'&&lastResult!==j.id){lastResult=j.id;el('tts-result').innerHTML=`

Ergebnis

WAV herunterladen

`;}} }catch(err){error(err.message);}finally{if(root.isConnected)setTimeout(refresh,2000);}} - async function load(){const p=await api('profiles');if(!root.isConnected)return;profiles=p.profiles.filter(p=>p.kind==='audio'&&(setup||p.runnable));el('tts-profile').innerHTML=profiles.map(p=>``).join('')||'';if(!setup){el('tts-profile').onchange=async()=>{const selectedModel=profiles.find(p=>p.id===el('tts-profile').value)?.model;backend=selectedModel?.repo==='local/kikiri-anna'?'kikiri':selectedModel?.repo==='eigenhand/Articulino-DE-EN-Realtime-Stream-TTS-ONNX'?'articulino':selectedModel?.repo==='kyutai/pocket-tts'?'pocket':selectedModel?.repo==='Serveurperso/Qwen3-TTS-GGUF'&&['qwen-talker-0.6b-base-Q8_0.gguf','qwen-talker-0.6b-base-Q4_K_M.gguf'].includes(selectedModel?.file)?'qwen-native':'tts';lastResult='';try{const s=await api(backend);if(!root.isConnected)return;el('tts-speaker').innerHTML=s.runtime.speakers.map(v=>``).join('');el('tts-language').innerHTML=s.runtime.languages.map(v=>``).join('');}catch(x){error(x.message);}};await el('tts-profile').onchange();}} + async function load(){const p=await api('profiles');if(!root.isConnected)return;profiles=p.profiles.filter(p=>p.kind==='audio'&&(setup||p.runnable));el('tts-profile').innerHTML=profiles.map(p=>``).join('')||'';if(!setup){el('tts-profile').onchange=async()=>{const selected=profiles.find(p=>p.id===el('tts-profile').value),selectedModel=selected?.model;backend=selectedModel?.repo==='local/kikiri-anna'?'kikiri':selectedModel?.repo==='eigenhand/Articulino-DE-EN-Realtime-Stream-TTS-ONNX'?'articulino':selectedModel?.repo==='kyutai/pocket-tts'?'pocket':selectedModel?.repo==='Serveurperso/Qwen3-TTS-GGUF'&&['qwen-talker-0.6b-base-Q8_0.gguf','qwen-talker-0.6b-base-Q4_K_M.gguf'].includes(selectedModel?.file)?'qwen-native':'tts';lastResult='';try{const s=await api(backend);if(!root.isConnected)return;el('tts-speaker').innerHTML=s.runtime.speakers.map(v=>``).join('');el('tts-language').innerHTML=s.runtime.languages.map(v=>``).join('');}catch(x){error(x.message);}};await el('tts-profile').onchange();}} async function action(path,data={}){busy=true;error('');try{await api((setup?'tts':backend)+'/'+path,data);if(path==='assign'){await load();error('Profil verbunden. Jetzt den Reiter Testen öffnen.');}}catch(err){error(err.message);}finally{busy=false;}} if(setup){el('tts-install').onclick=()=>action('install');el('tts-install-cancel').onclick=()=>action('install-cancel');el('tts-assign').onclick=()=>{const p=profiles.find(p=>p.id===el('tts-profile').value);if(p)action('assign',{id:p.id,revision:p.revision});};} else{el('tts-form').onsubmit=ev=>{ev.preventDefault();action('start',{profile_id:el('tts-profile').value,text:el('tts-text').value,speaker:el('tts-speaker').value,language:el('tts-language').value});};el('tts-cancel').onclick=()=>action('cancel');} diff --git a/tts_runtime.py b/tts_runtime.py index 1c047f3..2fabeb9 100644 --- a/tts_runtime.py +++ b/tts_runtime.py @@ -5,7 +5,7 @@ from image_runtime import ImageRuntime FAST_VERSION='0.3.0' REPO='Qwen/Qwen3-TTS-12Hz-1.7B-Base' REVISION='fd4b254389122332181a7c3db7f27e918eec64e3' -SPEAKERS=['Vivian','Serena','Uncle_Fu','Dylan','Eric','Ryan','Aiden','Ono_Anna','Sohee'] +SPEAKERS=['Vivian','Serena','Uncle_Fu','Dylan','Eric','Ryan','Aiden','Ono_Anna','Sohee','Anna'] LANGUAGES=['Auto','German','English','Chinese','Japanese','Korean','French','Russian','Portuguese','Spanish','Italian'] class TTSRuntime(ImageRuntime): def __init__(self,root): @@ -29,6 +29,10 @@ class TTSRuntime(ImageRuntime): ident=json.loads(marker.read_text()).get('id','') if len(ident)==32 and all(c in '0123456789abcdef' for c in ident):return self.root/ident/'python/bin/python',self.root/ident/'model' return self.root/'missing/python',self.root/'missing/model' + def anna_reference(self): + folder=self.root.parent/'speech-voices';voice=folder/'Anna';path=voice/'reference.wav' + if voice.is_symlink() or path.is_symlink() or not path.resolve().is_relative_to(folder.resolve()) or not path.is_file():raise ValueError('Gespeicherte Anna-Referenz unter speech-voices/Anna/reference.wav fehlt oder ist unzulässig.') + return path def status(self): with self.lock: python,model=self.paths() diff --git a/tts_test.py b/tts_test.py index 43e34a0..95dfbc5 100644 --- a/tts_test.py +++ b/tts_test.py @@ -6,7 +6,9 @@ from image_test import probe,cgroup_headroom WORKER=Path(__file__).with_name('tts_worker.py') class TTSTests: def __init__(self,root,profiles,runtime): - self.root=Path(root);self.profiles=profiles;self.runtime=runtime;self.lock=threading.RLock();self.job=None;self.process=None;self.gpu_uuid=None;self.profile_id=None;self.cancel=threading.Event();self.acquire=lambda wait=False:lambda:None;self.policy='auto';self.warming=False + self.root=Path(root);self.profiles=profiles;self.runtime=runtime;self.lock=threading.RLock();self.job=None;self.process=None;self.gpu_uuid=None;self.profile_id=None;self.cancel=threading.Event();self.acquire=lambda wait=False,**kwargs:lambda:None;self.policy='auto';self.warming=False + self.clone_owner_profile=lambda:None + self.shared_clone_resident=False def status(self): with self.lock:return dict(job=dict(self.job) if self.job else None,runtime=self.runtime.status(),loaded=bool(self.process and self.process.poll() is None),gpu_uuid=self.gpu_uuid,profile_id=self.profile_id,warming=self.warming,policy=self.policy) def job_status(self,ident): @@ -17,16 +19,20 @@ class TTSTests: return json.loads(path.read_text()) if path.is_file() else None def blockers(self,p): if p['model']['repo']!=REPO or p['model']['file']!='model.safetensors' or p['model'].get('revision')!=REVISION:return ['Für diese TTS-Variante fehlt die Anbindung in Deck. Unter TTS → Einrichten kannst du ausdrücklich auf die unterstützte Base-Variante mit Preset-Stimmen wechseln. Die ursprüngliche Datei bleibt erhalten.'] - return [] if self.runtime.status()['installed'] else ['TTS-Laufzeit unter TTS → Einrichten installieren.'] + errors=[] if self.runtime.status()['installed'] else ['TTS-Laufzeit unter TTS → Einrichten installieren.'] + if p.get('parameters',{}).get('tts_voice')=='Anna': + try:self.runtime.anna_reference() + except ValueError as exc:errors.append(str(exc)) + return errors def assign(self,ident,revision): if not self.runtime.status()['installed']:raise ValueError('Zuerst TTS einrichten.') entry_id=self.runtime.ensure_library() p=next((p for p in self.profiles.status()['profiles'] if p['id']==ident),None) if not p or p['kind']!='audio':raise ValueError('TTS-Profil nicht gefunden.') return self.profiles.save(dict(id=ident,revision=revision,name=p['name'],kind='audio',model_id=entry_id,parameters=p['parameters'])) - def start(self,profile_id,text,speaker='Ryan',language='German',wait=False,speed=None,streaming=False): + def start(self,profile_id,text,speaker=None,language='German',wait=False,speed=None,streaming=False): if not isinstance(text,str) or not 1<=len(text.strip())<=1000:raise ValueError('Text mit 1–1000 Zeichen erforderlich.') - if speaker not in SPEAKERS or language not in LANGUAGES:raise ValueError('Ungültige Stimme oder Sprache.') + if speaker not in (None,'default',*SPEAKERS) or language not in LANGUAGES:raise ValueError('Ungültige Stimme oder Sprache.') if speed is not None and (type(speed) not in (int,float) or not .25<=speed<=4):raise ValueError('Geschwindigkeit muss zwischen 0,25 und 4 liegen.') if type(streaming) is not bool:raise ValueError('Ungültiger Streaming-Modus.') queued=time.monotonic();release=self.acquire(wait);queue_seconds=time.monotonic()-queued @@ -38,46 +44,85 @@ class TTSTests: p=next((p for p in self.profiles.status()['profiles'] if p['id']==profile_id and p['kind']=='audio'),None) profile_seconds=time.monotonic()-checked if not p or not p['runnable']:raise ValueError('TTS-Profil noch nicht eingerichtet.') + if speaker in (None,'default'):speaker=p['parameters'].get('tts_voice','Ryan') + if speaker=='Anna':self.runtime.anna_reference() selected_speed=speed if speed is not None else p['parameters']['speed'] if streaming and selected_speed!=1:raise ValueError('Streaming benötigt speed=1; Wiedergabegeschwindigkeit im Client einstellen.') checked=time.monotonic();resident=self.process and self.process.poll() is None gpu=next((g for g in probe() if g['uuid']==self.gpu_uuid),None) if resident else self._available_gpu() if not gpu:raise ValueError('Für Qwen-TTS ist nicht genug freier VRAM auf der RTX 3060 verfügbar. Andere Prozesse dürfen die Karte gemeinsam nutzen.') - headroom=cgroup_headroom() - if headroom is not None and headroom<8*1024**3:raise ValueError('Zu wenig freier Deck-RAM für TTS.') + self._check_ram(bool(resident)) preflight_seconds=time.monotonic()-checked self.profile_id=profile_id;self.cancel.clear();ident=uuid.uuid4().hex;self.root.mkdir(parents=True,exist_ok=True,mode=0o700) self.job=dict(id=ident,state='running',phase='Vorhandenes Sprachmodell wird verwendet' if resident else 'Sprachmodell wird geladen',profile_id=profile_id,started_at=time.time()) logging.getLogger('athena.tts').warning('TTS preparation job=%s queue_seconds=%.3f profile_seconds=%.3f preflight_seconds=%.3f resident=%s',ident,queue_seconds,profile_seconds,preflight_seconds,bool(resident)) threading.Thread(target=self._run,args=(ident,text,speaker,language,selected_speed,gpu,release,streaming),daemon=True).start();return dict(self.job) except Exception:release();raise - def _run(self,ident,text,speaker,language,speed,gpu,release,streaming=False): + def start_clone(self,profile_id,text,reference,reference_text='',language='German',seed=42,speed=1.0,allowed=lambda:True): + from profiles import qwen_clone_model + if not isinstance(text,str) or not 1<=len(text.strip())<=1000:raise ValueError('Text mit 1–1000 Zeichen erforderlich.') + if not isinstance(reference,bytes) or not reference:raise ValueError('Referenzaufnahme erforderlich.') + if not isinstance(reference_text,str) or len(reference_text)>64000:raise ValueError('Ungültiges Referenztranskript.') + if language not in LANGUAGES or type(seed)!=int or not 0<=seed<=2147483647:raise ValueError('Ungültige Sprache oder Seed.') + if type(speed) not in (int,float) or not .5<=speed<=2:raise ValueError('Ungültige Geschwindigkeit.') + p=next((p for p in self.profiles.status()['profiles'] if p['id']==profile_id and p['kind']=='voice'),None) + if not p or not qwen_clone_model(p.get('model')):raise ValueError('Passendes Qwen-Base-Stimmprofil erforderlich.') + if not self.runtime.status()['installed']:raise ValueError('Gemeinsame Qwen-TTS-Laufzeit fehlt.') + release=self.acquire(True,allowed=allowed) + try: + with self.lock: + if not allowed():raise ValueError('Sprachauftrag wurde abgebrochen.') + if self.warming or self.job and self.job.get('state')=='running':raise ValueError('Gemeinsamer Qwen-TTS-Worker ist belegt.') + resident=bool(self.process and self.process.poll() is None) + gpu=next((g for g in probe() if g['uuid']==self.gpu_uuid),None) if resident else self._available_gpu() + if not gpu:raise ValueError('Für Qwen-TTS ist nicht genug freier VRAM auf der RTX 3060 verfügbar.') + self._check_ram(resident) + if not self.profile_id:self.profile_id=self.clone_owner_profile() + self.cancel.clear();self.shared_clone_resident=True;ident=uuid.uuid4().hex;self.root.mkdir(parents=True,exist_ok=True,mode=0o700) + self.job=dict(id=ident,state='running',phase='Gemeinsamer Qwen-TTS-Worker · Stimmklonen',profile_id=profile_id,started_at=time.time()) + clone=dict(reference=reference,reference_text=reference_text,seed=seed) + threading.Thread(target=self._run,args=(ident,text,None,language,speed,gpu,release,False,clone),daemon=True).start() + return dict(self.job) + except Exception:release();raise + def _run(self,ident,text,speaker,language,speed,gpu,release,streaming=False,clone=None): directory=self.root/ident;process=None;state='failed';phase='TTS-Ausführung fehlgeschlagen' try: directory.mkdir(mode=0o700);process=self._ensure(gpu) with self.lock:self.job['phase']='Sprache wird auf der RTX 3060 erzeugt' - process.stdin.write(json.dumps(dict(output=str(directory),text=text,speaker=speaker,language=language,speed=speed,streaming=streaming))+'\n');process.stdin.flush() + request=dict(output=str(directory),text=text,speaker=speaker,language=language,speed=speed,streaming=streaming) + if clone is not None: + ref=directory/'reference.wav';ref.write_bytes(clone['reference']);ref.chmod(0o600) + request.update(kind='voice_clone',reference_text=clone['reference_text'],seed=clone['seed']) + process.stdin.write(json.dumps(request)+'\n');process.stdin.flush() end=time.monotonic()+600 while not (directory/'result.json').is_file(): - if self.cancel.wait(1):raise InterruptedError() - if time.monotonic()>end:raise ValueError('Zeitlimit der Sprachgenerierung erreicht.') + if clone is None: + if self.cancel.wait(1):raise InterruptedError() + else:time.sleep(.02) # Drain the shared worker even after cancellation; never kill Anna. + if time.monotonic()>end: + # A stalled worker must not keep computing after its lease is released. + # Normal clone cancellation instead drains its result and retains Anna. + if clone is not None:self.unload_idle() + raise ValueError('Zeitlimit der Sprachgenerierung erreicht.') if process.poll() is not None:raise ValueError('TTS-Worker wurde unerwartet beendet.') - current=next((g for g in probe() if g['uuid']==gpu['uuid']),None) - if not current:raise ValueError('Die TTS-GPU ist nicht mehr erreichbar.') + if clone is None: + current=next((g for g in probe() if g['uuid']==gpu['uuid']),None) + if not current:raise ValueError('Die TTS-GPU ist nicht mehr erreichbar.') result=json.loads((directory/'result.json').read_text()) if self.cancel.is_set():raise InterruptedError() if not result['ok']:raise ValueError(result['error']) wav=directory/'result.wav' if not wav.exists() or wav.stat().st_size>32*1024**2:raise ValueError('Ungültige Audioausgabe.') - state='complete';phase='Sprache fertig · '+('Modell entladen' if self.policy=='per_request' else 'Modell bleibt geladen') + state='complete';phase='Sprache fertig · '+('Modell entladen' if clone is None and self.policy=='per_request' else 'Modell bleibt geladen') except InterruptedError:state='cancelled';phase='Sprachgenerierung abgebrochen' except Exception as exc:phase=str(exc) if isinstance(exc,ValueError) else 'Sprachgenerierung fehlgeschlagen. Laufzeit und Ressourcen prüfen.' finally: - if state!='complete' or self.policy=='per_request':self.unload_idle() + if clone is None and (state!='complete' or self.policy=='per_request' and not self.shared_clone_resident):self.unload_idle() if state=='complete':(directory/'complete').touch() if state!='complete': for chunk in directory.glob('chunk-*.pcm'):chunk.unlink(missing_ok=True) try: + (directory/'reference.wav').unlink(missing_ok=True) with self.lock: self.job.update(state=state,phase=phase,finished_at=time.time()) # A queued request can replace self.job before the previous HTTP client @@ -93,7 +138,10 @@ class TTSTests: if process:return process self.root.mkdir(parents=True,exist_ok=True,mode=0o700) env={k:v for k,v in os.environ.items() if not k.startswith(('HF_','LLAMA_'))};env.update(CUDA_VISIBLE_DEVICES=gpu['uuid'],HF_HUB_OFFLINE='1',TRANSFORMERS_OFFLINE='1',OMP_NUM_THREADS='2',HOME=str(self.root)) - process=subprocess.Popen([str(python),str(WORKER),str(model)],stdin=subprocess.PIPE,stdout=subprocess.PIPE,stderr=subprocess.DEVNULL,start_new_session=True,env=env,text=True,bufsize=1);self.process=process;self.gpu_uuid=gpu['uuid'] + reference=self.root.parent/'speech-voices/Anna/reference.wav' + args=[str(python),str(WORKER),str(model)] + if reference.is_file():args.append(str(self.runtime.anna_reference())) + process=subprocess.Popen(args,stdin=subprocess.PIPE,stdout=subprocess.PIPE,stderr=subprocess.DEVNULL,start_new_session=True,env=env,text=True,bufsize=1);self.process=process;self.gpu_uuid=gpu['uuid'] if not select.select([process.stdout],[],[],180)[0]:raise ValueError('Zeitlimit beim Laden des TTS-Modells.') if self.cancel.is_set():raise InterruptedError() ready=json.loads(process.stdout.readline()) @@ -108,6 +156,21 @@ class TTSTests: def _available_gpu(self): needed=self._required_vram_mib() return next((g for g in probe() if 'RTX 3060' in g['name'] and g['free_mib']>=needed),None) + def _required_ram_bytes(self,resident): + # Explicit admission reserves, not measured RSS minima or vendor requirements. + # Resident workers do not stage their weights again. Cold loading budgets + # the actual weights plus interpreter/loader reserve; audio stays bounded. + if resident:return 512*1024**2 + _,model=self.runtime.paths() + try:return (model/'model.safetensors').stat().st_size+1024**3 + except OSError:raise ValueError('Qwen-TTS-Gewichte für die RAM-Prüfung fehlen.') from None + def _check_ram(self,resident): + headroom=cgroup_headroom() + if headroom is None:return + required=self._required_ram_bytes(resident) + if headroom2 else None)) # Pinned 0.3.0 uses this entry point; capture before advertising readiness. model._warmup(prefill_len=100) # Initialize the codec too, so its first-use cost stays out of live replies. @@ -77,7 +98,9 @@ def main(): request=json.loads(line);root=Path(request['output']) pieces=[];rate=None with contextlib.redirect_stdout(sys.stderr): - if request.get('streaming'): + if request.get('kind')=='voice_clone': + wave,rate=clone_wave(model,request);pieces=[wave] + elif request.get('streaming'): wave,rate=streaming_wave(model,request);pieces=[wave] else: for text in spoken_chunks(request): diff --git a/video.py b/video.py index 3177887..6a48f46 100644 --- a/video.py +++ b/video.py @@ -47,10 +47,11 @@ class Video: self.stop_owned() deadline=time.monotonic()+60 with self.scheduler.cv: - while self.scheduler.active or self.scheduler.tts_active or self.scheduler.transition: + while self.scheduler.active or self.scheduler.tts_active or self.scheduler.stt_active or self.scheduler.transition: if time.monotonic()>deadline:raise ValueError('Deck-Aufträge konnten noch nicht beendet werden.') self.scheduler.cv.wait(.2) self.scheduler.key=None + self.scheduler.evict_stt() self.switch_phase='Freie GPUs prüfen und Videodienst starten' self.helper.call('video-start',self.selected);self.switch_phase='Auf Original-API des Dienstes warten' deadline=time.monotonic()+240 diff --git a/video_comfy.py b/video_comfy.py index 07a9b7e..9729137 100644 --- a/video_comfy.py +++ b/video_comfy.py @@ -75,10 +75,11 @@ class VideoComfy: try: self.stop_owned();self._stop();deadline=time.monotonic()+60 with self.scheduler.cv: - while self.scheduler.active or self.scheduler.tts_active or self.scheduler.transition: + while self.scheduler.active or self.scheduler.tts_active or self.scheduler.stt_active or self.scheduler.transition: if time.monotonic()>deadline:raise ValueError('Deck-Aufträge noch aktiv.') self.scheduler.cv.wait(.2) self.scheduler.key=None + self.scheduler.evict_stt() if mode in ('llm','music','separator','voice'): if any(x.get('running') is not False for x in self._foreign_services()):raise ValueError('Fremder Videodienst blockiert LLM-Modus.') self.foreign_blocked=False @@ -88,10 +89,11 @@ class VideoComfy: if self.foreign_blocked:raise ValueError('Fremder Videodienst läuft oder ist nicht prüfbar. Er wird nicht von Deck beendet.') self.stop_owned();deadline=time.monotonic()+60 with self.scheduler.cv: - while self.scheduler.active or self.scheduler.tts_active or self.scheduler.transition: + while self.scheduler.active or self.scheduler.tts_active or self.scheduler.stt_active or self.scheduler.transition: if time.monotonic()>deadline:raise ValueError('Deck-Aufträge noch aktiv.') self.scheduler.cv.wait(.2) self.scheduler.key=None + self.scheduler.evict_stt() self.switch_phase='Freie GPUs prüfen';self._start() with self.scheduler.cv:self.scheduler.gpu_mode=mode;self.scheduler.cv.notify_all() self.state='ready' if mode in ('video','music','separator','voice') else 'idle' diff --git a/voice-ui.js b/voice-ui.js index f2aba64..d430c38 100644 --- a/voice-ui.js +++ b/voice-ui.js @@ -3,9 +3,10 @@ window.VoiceUI=(()=>{ function html(){return `

Stimme ausprobieren · Qwen1.7B / VoxCPM2 / OmniVoice

Text erzeugt Sprache. Mit optionaler WAV-Referenz übernimmt das Modell deren Stimme. Qwen benötigt eine Referenzaufnahme; mit ihrem Transkript übernimmt es auch die Sprechweise besser, ohne Transkript nur die Stimmfarbe. OmniVoice benötigt dazu den gesprochenen Text; ein leeres Transkriptfeld wird mit der vorhandenen Spracherkennung automatisch ergänzt.

Für RVC-Stimmumwandlung und eigenes Training: Applio Studio öffnen → · SoulX-Singer öffnen → · X-VC Studio öffnen →

Ohne Transkript wählt OmniVoice aus langen Aufnahmen bei jedem Lauf einen zufälligen sprachhaltigen Ausschnitt. Mit eigenem Transkript bleibt die gesamte Aufnahme erhalten.

Im LLM- oder Stimmwerkzeuge-Modus verfügbar. Deck entlädt sein LLM vor der Stimmgenerierung und lädt es bei der nächsten Chat-Anfrage wieder. Das Stimmmodell bleibt für weitere Texte geladen und wird beim Profil-, GPU- oder Betriebsartwechsel entladen. Referenzdatei wird nach dem Auftrag gelöscht; Text wird nicht gespeichert.

`;} function bind(){const root=document.querySelector('#voice-panel');if(!root)return;const el=id=>root.querySelector('#'+id);let busy=false,lastResult='',ready=false; async function api(path='',body){const r=await fetch('/api/v1/voice'+path,body===undefined?{}:{method:'POST',headers:body instanceof FormData?{'X-Athena-Deck':'1'}:{'X-Athena-Deck':'1','Content-Type':'application/json'},body:body instanceof FormData?body:JSON.stringify(body)});const d=await r.json();if(!r.ok)throw Error(d.error||'Stimmgenerierung fehlgeschlagen');return d;} - async function refresh(){try{const d=await api();if(!root.isConnected)return;const j=d.job;el('voice-status').textContent=(j?.phase||'Profil wählen und Text eingeben.')+(j?.gpu?' · '+j.gpu:'')+(Number.isInteger(j?.seed)?' · Seed '+j.seed:'')+(Number.isFinite(j?.reference_start_seconds)?' · Referenz '+j.reference_start_seconds.toFixed(1)+'–'+j.reference_end_seconds.toFixed(1)+' s':'');el('voice-progress').hidden=j?.state!=='running';el('voice-start').disabled=busy||!ready||!['llm','voice'].includes(d.mode)||j?.state==='running';el('voice-cancel').disabled=j?.state!=='running';if(j?.state==='complete'&&j.id!==lastResult){lastResult=j.id;el('voice-result').innerHTML=`

Ergebnis · ${Number(j.duration).toFixed(1)} Sekunden

WAV herunterladen

`;}}catch(err){if(root.isConnected)el('voice-error').textContent=err.message;}finally{if(root.isConnected)setTimeout(refresh,2000);}} - fetch('/api/v1/profiles').then(async r=>{if(!r.ok)throw Error('Profile konnten nicht geladen werden.');return r.json();}).then(d=>{if(!root.isConnected)return;const rows=d.profiles.filter(p=>p.runnable&&(['openbmb/VoxCPM2','k2-fsa/OmniVoice'].includes(p.model?.repo)||p.kind==='voice'&&p.model?.repo==='Qwen/Qwen3-TTS-12Hz-1.7B-Base'));ready=!!rows.length;el('voice-profile').onchange=()=>{const repo=rows.find(p=>p.id===el('voice-profile').value)?.model.repo,omni=repo==='k2-fsa/OmniVoice',qwen=repo==='Qwen/Qwen3-TTS-12Hz-1.7B-Base';root.querySelector('[name=file]').required=qwen;for(const name of ['cfg','steps','preprocess_prompt','instruct'])root.querySelector('[name='+name+']').closest('label').hidden=qwen;root.querySelector('[name=reference_text]').placeholder=qwen?'Wortlaut der Referenz (empfohlen); leer = nur Stimmfarbe übernehmen':'';root.querySelector('[name=seed]').value=omni?-1:42;root.querySelector('[name=steps]').value=omni?32:10;root.querySelector('[name=steps]').max=omni?64:50;root.querySelector('[name=cfg]').min=omni?0:.5;};el('voice-profile').innerHTML=rows.map(p=>``).join('')||'';if(rows.length)el('voice-profile').onchange();}).catch(err=>{if(root.isConnected)el('voice-error').textContent=err.message;}); - el('voice-form').onsubmit=async event=>{event.preventDefault();busy=true;el('voice-start').disabled=true;el('voice-error').textContent='';el('voice-status').textContent='Auftrag wird gestartet …';try{const data=new FormData(event.target);data.set('preprocess_prompt',event.target.elements.preprocess_prompt.checked?'true':'false');if(!data.get('file')?.size)data.delete('file');await api('/start',data);}catch(err){el('voice-error').textContent=err.message;}finally{busy=false;}}; + async function refresh(){try{const d=await api();if(!root.isConnected)return;const j=d.job,qwen=root.dataset.sharedTts==='true';el('voice-status').textContent=(j?.phase||'Profil wählen und Text eingeben.')+(j?.gpu?' · '+j.gpu:'')+(Number.isInteger(j?.seed)?' · Seed '+j.seed:'')+(Number.isFinite(j?.reference_start_seconds)?' · Referenz '+j.reference_start_seconds.toFixed(1)+'–'+j.reference_end_seconds.toFixed(1)+' s':'');if(qwen&&j?.state!=='running')el('voice-status').textContent+=' · '+(d.shared_tts?.loaded?'Gemeinsamer Qwen-TTS-Worker geladen; Anna bleibt bereit.':'Gemeinsamer Qwen-TTS-Worker wird bei Bedarf geladen.');el('voice-progress').hidden=j?.state!=='running';el('voice-start').disabled=busy||!ready||!(qwen?d.mode==='llm':['llm','voice'].includes(d.mode))||j?.state==='running';el('voice-cancel').disabled=j?.state!=='running';if(j?.state==='complete'&&j.id!==lastResult){lastResult=j.id;el('voice-result').innerHTML=`

Ergebnis · ${Number(j.duration).toFixed(1)} Sekunden

WAV herunterladen

`;}}catch(err){if(root.isConnected)el('voice-error').textContent=err.message;}finally{if(root.isConnected)setTimeout(refresh,2000);}} + fetch('/api/v1/profiles').then(async r=>{if(!r.ok)throw Error('Profile konnten nicht geladen werden.');return r.json();}).then(d=>{if(!root.isConnected)return;const rows=d.profiles.filter(p=>p.runnable&&(['openbmb/VoxCPM2','k2-fsa/OmniVoice'].includes(p.model?.repo)||p.kind==='voice'&&p.model?.repo==='Qwen/Qwen3-TTS-12Hz-1.7B-Base'));ready=!!rows.length;el('voice-profile').onchange=()=>{const repo=rows.find(p=>p.id===el('voice-profile').value)?.model.repo,omni=repo==='k2-fsa/OmniVoice',qwen=repo==='Qwen/Qwen3-TTS-12Hz-1.7B-Base';root.dataset.sharedTts=String(qwen);const gpu=root.querySelector('[name=device]');gpu.disabled=qwen;gpu.closest('label').hidden=qwen;if(qwen)gpu.value='3060';el('voice-result').nextElementSibling.textContent=qwen?'Qwen1.7B teilt den vorhandenen TTS-Worker auf der RTX 3060 mit Anna. Keine zweite Modellkopie, kein LLM-Entladen und kein Wechsel in den exklusiven Stimmenmodus. Aufträge laufen nacheinander; Referenzen ändern Annas Standardstimme nicht.':'Eigenständiges Stimmmodell: exklusiver GPU-Betrieb; das LLM und GPU-TTS werden vor der Generierung regulär entladen.';root.querySelector('[name=file]').required=qwen;for(const name of ['cfg','steps','preprocess_prompt','instruct'])root.querySelector('[name='+name+']').closest('label').hidden=qwen;root.querySelector('[name=reference_text]').placeholder=qwen?'Wortlaut der Referenz (empfohlen); leer = nur Stimmfarbe übernehmen':'';root.querySelector('[name=seed]').value=omni?-1:42;root.querySelector('[name=steps]').value=omni?32:10;root.querySelector('[name=steps]').max=omni?64:50;root.querySelector('[name=cfg]').min=omni?0:.5;};el('voice-profile').innerHTML=rows.map(p=>``).join('')||'';if(rows.length)el('voice-profile').onchange();}).catch(err=>{if(root.isConnected)el('voice-error').textContent=err.message;}); + el('voice-form').onsubmit=async event=>{event.preventDefault();busy=true;el('voice-start').disabled=true;el('voice-error').textContent='';el('voice-status').textContent='Auftrag wird gestartet …';try{const data=new FormData(event.target);if(root.dataset.sharedTts==='true')data.set('device','3060');data.set('preprocess_prompt',event.target.elements.preprocess_prompt.checked?'true':'false');if(!data.get('file')?.size)data.delete('file');await api('/start',data);}catch(err){el('voice-error').textContent=err.message;}finally{busy=false;}}; + el('voice-profile').addEventListener('change',()=>{if(root.dataset.sharedTts==='true')api('/select',{profile_id:el('voice-profile').value}).catch(err=>{el('voice-error').textContent=err.message;});}); el('voice-cancel').onclick=async()=>{try{await api('/cancel',{});}catch(err){el('voice-error').textContent=err.message;}};refresh(); } return {html,bind}; diff --git a/voxcpm_test.py b/voxcpm_test.py index 57a3f52..3b8e566 100644 --- a/voxcpm_test.py +++ b/voxcpm_test.py @@ -31,12 +31,33 @@ def validate_reference(audio): class VoxCPMTests(TTSTests): def __init__(self,*args,**kwargs): - super().__init__(*args,**kwargs);self.session_key=None + super().__init__(*args,**kwargs);self.session_key=None;self.shared_tts:TTSTests|None=None;self.shared_job_id=None def status(self): - return dict(super().status(),profile_id=self.session_key[0] if self.session_key else None,memory_policy='Gewichte bleiben bis zum Profil-, GPU- oder Betriebsartwechsel geladen.') + result=dict(super().status(),profile_id=self.session_key[0] if self.session_key else None,memory_policy='Gewichte bleiben bis zum Profil-, GPU- oder Betriebsartwechsel geladen.') + if self.shared_tts is not None: + shared=self.shared_tts.status();result['shared_tts']={k:shared[k] for k in ('loaded','gpu_uuid','profile_id','warming')} + if self.job and self.job.get('shared_tts'): + result.update(loaded=shared['loaded'],profile_id=self.job['profile_id'],gpu_uuid=shared['gpu_uuid'],memory_policy='Gemeinsamer Qwen-TTS-Worker bleibt für Anna und Atelier geladen.') + return result + def stop(self): + with self.lock: + if self.job and self.job.get('shared_tts'): + self.cancel.set() + if self.job.get('state')=='running':self.job['phase']='Abbruch vorgemerkt · gemeinsamer Worker beendet die Berechnung; Anna bleibt geladen' + if self.shared_job_id:self.shared_tts.cancel_job(self.shared_job_id) + return dict(cancellation_requested=True) + return super().stop() def unload_idle(self): super().unload_idle();self.session_key=None;shutil.rmtree(self.root/'session',ignore_errors=True) def runtime_for(self,p):return self.qwen_runtime if qwen_clone_model(p['model']) else self.omni_runtime if omni_recipe(p['model']) else self.runtime + def select_shared(self,profile_id): + p=next((p for p in self.profiles.status()['profiles'] if p['id']==profile_id and p['kind']=='voice'),None) + if not p or not qwen_clone_model(p.get('model')):raise ValueError('Qwen-Base-Stimmprofil erforderlich.') + if self.shared_tts is None:raise ValueError('Gemeinsamer Qwen-TTS-Worker fehlt.') + with self.shared_tts.lock: + # Selection retains an existing owner only; no load, inference or mode switch. + if self.shared_tts.process and self.shared_tts.process.poll() is None:self.shared_tts.shared_clone_resident=True + return dict(shared_tts=True,loaded=self.shared_tts.status()['loaded']) def blockers(self,p): if qwen_clone_model(p['model']): return [] if self.qwen_runtime.status()['installed'] else ['Vorhandene Qwen-TTS-Base-Laufzeit fehlt. Unter TTS einrichten.'] @@ -73,6 +94,14 @@ class VoxCPMTests(TTSTests): if omni_recipe(p['model']) and reference is not None and not reference_text.strip() and not callable(getattr(self,'reference_transcriber',None)):raise ValueError('OmniVoice: Referenztranskript eingeben oder vorhandene Spracherkennung anbinden.') errors=self.blockers(p) if errors:raise ValueError(' '.join(errors)) + if qwen_clone_model(p['model']): + if self.shared_tts is None:raise ValueError('Qwen-Stimmklonen benötigt den gemeinsamen TTS-Worker; kein zweites Modell wird geladen.') + with self.lock: + if self.job and self.job.get('state')=='running':raise ValueError('Stimmgenerierung läuft bereits.') + self.cancel.clear();self.shared_job_id=None;ident=uuid.uuid4().hex + self.job=dict(id=ident,state='running',phase='Wartet auf gemeinsamen Qwen-TTS-Worker · Anna bleibt geladen',profile_id=profile_id,started_at=time.time(),seed=seed,shared_tts=True) + threading.Thread(target=self._run_shared_qwen,args=(ident,profile_id,text,reference,reference_text,language or 'German',seed,speed),daemon=True).start() + return dict(self.job) # Claim local job before scheduler admission to prevent races between two callers. with self.lock: if self.job and self.job['state']=='running':raise ValueError('Stimmgenerierung läuft bereits.') @@ -94,6 +123,30 @@ class VoxCPMTests(TTSTests): if release:release() with self.lock:self.job.update(state='failed',phase=str(exc),finished_at=time.time()) raise + def _run_shared_qwen(self,ident,profile_id,text,reference,reference_text,language,seed,speed): + state='failed';phase='Gemeinsames Qwen-Stimmklonen fehlgeschlagen.' + try: + job=self.shared_tts.start_clone(profile_id,text,reference,reference_text,language,seed,speed,allowed=lambda:not self.cancel.is_set()) + with self.lock:self.shared_job_id=job['id'] + while True: + if self.cancel.is_set():self.shared_tts.cancel_job(job['id']) + result=self.shared_tts.job_status(job['id']) + if not result:raise ValueError('Gemeinsamer Stimmauftrag nicht gefunden.') + if result['state']!='running':break + time.sleep(.05) + if self.cancel.is_set() or result['state']=='cancelled':raise InterruptedError() + if result['state']!='complete':raise ValueError(result['phase']) + audio=self.shared_tts.audio(job['id']);root=self.root/ident;root.mkdir(parents=True,mode=0o700) + with wave.open(io.BytesIO(audio)) as w:duration=w.getnframes()/w.getframerate();rate=w.getframerate() + (root/'result.wav').write_bytes(audio);(root/'complete').touch() + state='complete';phase='Stimme fertig · gemeinsamer Qwen-TTS-Worker bleibt für Anna geladen' + with self.lock:self.job.update(duration=duration,sample_rate=rate,gpu='RTX 3060') + except InterruptedError:state='cancelled';phase='Stimmauftrag abgebrochen · Anna bleibt geladen' + except Exception as exc: + if self.cancel.is_set():state='cancelled';phase='Stimmauftrag abgebrochen · Anna bleibt geladen' + else:phase=str(exc) if isinstance(exc,ValueError) else 'Gemeinsames Qwen-Stimmklonen fehlgeschlagen.' + finally: + with self.lock:self.job.update(state=state,phase=phase,finished_at=time.time()) def _run_voice(self,p,ident,request,reference,gpu,release,key=None): root=self.root/ident;state='failed';phase='Stimm-Ausführung fehlgeschlagen' try: