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
+3
-3
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user