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
@@ -65,7 +65,7 @@ def validate(doc):
if kind=='chat' and (params['ubatch']>params['batch'] or params.get('vision_projector') and params['vision_projector'] not in ids):raise ValueError('Ungültige Chat-Zuordnung.')
if kind in ('image','video') and (params['width']%64 or params['height']%64):raise ValueError('Ungültige Bildgröße.')
components=p.get('components',{})
if not isinstance(components,dict) or any((k not in ('text_encoder','vae','video_vae','audio_vae','spatial_upsampler','model_config','generation_config','tokenizer','vae_config','manual_text_encoder','manual_vae','manual_tokenizer','manual_configuration','manual_projector','manual_auxiliary','tokenizer_config','special_tokens','chat_template','audio_tokenizer','audio_config','preprocessor') and k not in ACE_COMPONENTS and not re.fullmatch(r'runtime_file_[0-9]{1,2}',k)) or v not in ids for k,v in components.items()):raise ValueError('Ungültige Komponentenreferenz.')
if not isinstance(components,dict) or any((k not in ('codec','text_encoder','vae','video_vae','audio_vae','spatial_upsampler','model_config','generation_config','tokenizer','vae_config','manual_text_encoder','manual_vae','manual_tokenizer','manual_configuration','manual_projector','manual_auxiliary','tokenizer_config','special_tokens','chat_template','audio_tokenizer','audio_config','preprocessor') and k not in ACE_COMPONENTS and not re.fullmatch(r'runtime_file_[0-9]{1,2}',k)) or v not in ids for k,v in components.items()):raise ValueError('Ungültige Komponentenreferenz.')
presets=p.get('presets',[])
if not isinstance(presets,list) or len(presets)>50:raise ValueError('Ungültige Presets im Backup.')
preset_ids=set();preset_names=set()