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.
This commit is contained in:
Mikei386 committed 2026-11-03 21:16:41 +01:00
1 parent 4e404d077d
commit c0bc5d3a1b
172 files changed
+52473 -147

No files matched your search

+8
View File
@@ -12,6 +12,14 @@ class Helper:
if action=='video-start' and self.fail_start:raise ValueError('GPU belegt')
row=next(s for s in self.services if s['id']==ident);row['running']=row['ready']=action=='video-start';return dict(row)
class VideoTests(unittest.TestCase):
def test_video_waits_for_gpu_stt_and_evicts_only_after_release(self):
import time
with tempfile.TemporaryDirectory() as d:
helper=Helper();scheduler=Scheduler(Mock());scheduler.evict_stt=Mock();release=scheduler.stt_reservation()
video=Video(scheduler,Mock(),helper,d);video.select('ltx');video.switch('video');time.sleep(.05)
self.assertFalse(any(a=='video-start' for a,_ in helper.actions));scheduler.evict_stt.assert_not_called()
assert video.thread is not None
release();video.thread.join(2);self.assertFalse(video.thread.is_alive());self.assertEqual(video.status()['mode'],'video');scheduler.evict_stt.assert_called_once()
def test_switch_and_persistent_provider_selection(self):
with tempfile.TemporaryDirectory() as d:
h=Helper();stop=Mock();scheduler=Scheduler(Mock());v=Video(scheduler,stop,h,d)