Add and activate pinned native Qwen Q8 CPU TTS integration

This commit is contained in:
Mikei386 committed 2026-10-19 11:48:19 +02:00
1 parent bfd21c8548
commit 562c01ef37
19 files changed
+486 -42

No files matched your search

+1 -1
View File
@@ -51,7 +51,7 @@ class EndpointTests(unittest.TestCase):
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')]
self.rows.append(dict(id='image',name='image',kind='image',revision=1,updated_at=1,runnable=True,blockers=[],parameters=dict(width=512,height=512)))
self.rows.append(dict(id='audio',name='audio',kind='audio',revision=1,updated_at=1,runnable=False,blockers=['No worker'],parameters={}))
self.profiles=SimpleNamespace(status=lambda:dict(profiles=self.rows));self.record={'api_token_hash':hashlib.sha256(b'A'*32).hexdigest()}
self.profiles=SimpleNamespace(status=lambda:dict(profiles=self.rows),reasoning_budget=lambda:None);self.record={'api_token_hash':hashlib.sha256(b'A'*32).hexdigest()}
self.images=Mock();self.images.status.return_value=dict(job=None)
self.ep=Endpoint(self.tmp.name,self.profiles,self.worker,Scheduler(self.worker),self.images,SimpleNamespace(read=lambda:self.record),1)
with socket.socket() as s:s.bind(('127.0.0.1',0));self.port=s.getsockname()[1]