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:
1 parent
4e404d077d
commit
c0bc5d3a1b
172 files changed
+52473
-147
No files matched your search
@@ -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')]
|
||||
|
||||
Reference in new issue
Block a user