Support Q4 CPU speech and document Hermes default activation

This commit is contained in:
Mikei386 committed 2026-10-22 13:05:36 +02:00
1 parent ed100ab40a
commit 0e3ad518d3
13 files changed
+248 -25

No files matched your search

+3 -3
View File
@@ -14,10 +14,10 @@ def _assess(model, installed, profile=None):
result.update(state='component',label='Zusatzdatei',message='Diese Datei wird einem kompatiblen Modellprofil zugeordnet und benötigt keine eigene Laufzeit.')
return result
from pocket_runtime import supported as pocket_model
from qwen_native_runtime import supported as native_model
from qwen_native_runtime import supported as native_model,model_quant
if native_model(model):
ready=bool(installed.get('qwen_native'))
result.update(family='Qwen3-TTS 0.6B Q8',evidence='Gepinnter nativer CPU-Worker mit Q8-Talker und Codec',runtime='Qwen3-TTS · native CPU',route='#tts-runtime',installed=ready,state='setup' if ready else 'runtime_missing',label='Qwen3-TTS Q8 · CPU',components=['Q8-Sprach-Codec','Gespeicherte Referenzstimme'],message='Native CPU-Sprachausgabe ohne GPU-Speicher. Unter TTS → Einrichten Laufzeit installieren, im Profil Codec zuordnen, danach TTS → Testen verwenden.')
result.update(family='Qwen3-TTS 0.6B '+model_quant(model),evidence='Gepinnter nativer CPU-Worker mit Q8- oder Q4-Talker und Q8-Codec',runtime='Qwen3-TTS · native CPU',route='#tts-runtime',installed=ready,state='setup' if ready else 'runtime_missing',label='Qwen3-TTS '+model_quant(model)+' · CPU',components=['Q8-Sprach-Codec','Gespeicherte Referenzstimme'],message='Native CPU-Sprachausgabe ohne GPU-Speicher. Unter TTS → Einrichten Laufzeit installieren, im Profil Codec zuordnen, danach TTS → Testen verwenden.')
if profile:result.update(state='ready' if profile.get('runnable') else 'profile_incomplete',blockers=profile.get('blockers',[]))
return result
if pocket_model(model):
@@ -111,7 +111,7 @@ def _assess_candidates(model, installed, profile=None):
result['candidates'].append(dict(id=id,label=label,installed=bool(installed.get(key)),route=route,installation_available=maintained,evidence=reason))
from qwen_native_runtime import supported as native_model
if native_model(model):
add('qwen_native','Qwen3-TTS Q8 · CPU','qwen_native','#tts-runtime','Native CPU-only-Laufzeit, kein CUDA oder PyTorch')
add('qwen_native','Qwen3-TTS Q8/Q4 · CPU','qwen_native','#tts-runtime','Native CPU-only-Laufzeit, kein CUDA oder PyTorch')
return result
from pocket_runtime import supported as pocket_model
if pocket_model(model):