Add pinned Basalt 0.5.6 and isolated Inkling profile support
This commit is contained in:
1 parent
c6dd01764f
commit
509a6c668a
25 files changed
+1097
-20
No files matched your search
+4
-2
@@ -119,14 +119,16 @@ def _assess_candidates(model, installed, profile=None):
|
||||
if result['state']=='component':return result
|
||||
if model.get('kind')=='chat' and model.get('file','').lower().endswith('.basalt'):
|
||||
from basalt_runtime import RECIPE
|
||||
source=model.get('download_source') or model;pin=RECIPE['model']
|
||||
if any(source.get(k)!=pin[k] for k in ('repo','revision','file')) or any(k in model and model[k]!=pin[k] for k in ('sha256','size')):
|
||||
source=model.get('download_source') or model
|
||||
pin=next((p for p in (RECIPE['model'],*(RECIPE.get('additional_models') or {}).values()) if all(source.get(k)==p[k] for k in ('repo','revision','file')) and all(k not in model or model[k]==p[k] for k in ('sha256','size'))),None)
|
||||
if pin is None:
|
||||
result.update(message='Basalt ist angebunden, aber dieses Paket ist nicht das geprüfte feste IQ3_XXS-Rezept. Kein automatischer Start mit llama.cpp.',candidate_message='Unter Basalt das geprüfte vollständige Paket einrichten.')
|
||||
return result
|
||||
ready=bool(installed.get('basalt'))
|
||||
result.update(family='Flash-Next GSQ-RCO IQ3_XXS',evidence='Fest gepinntes Basalt-Modellpaket; vollständige Größe und SHA-256 beim Download',runtime='Basalt',route='#basalt-runtime',installed=ready,state='setup' if ready else 'runtime_missing',label='Basalt · Text',components=[],message='Eine SM120-GPU und RAM-Experten, bis zwei vollständige Kontext-Slots. Tokenizer und MTP sind im Paket enthalten; keine separaten GGUF-Shards oder Projektor-Zuordnungen. TTS/Vision werden nicht umgestellt.')
|
||||
result['candidates']=[dict(id='basalt',label='Basalt',installed=ready,route='#basalt-runtime',installation_available=True,evidence=result['evidence'])]
|
||||
result.update(label='Basalt · Text und optional Vision',message='Text auf einer SM120-GPU mit RAM-Experten und bis zwei vollständigen Kontext-Slots. Optionaler Vision-Sidecar auf separater SM86/SM120-GPU (RTX 3060), mit festem BF16-Projektor. Tokenizer, MTP und identischer Projektor im Paket; keine GGUF-Shards. TTS wird nicht verändert.')
|
||||
if pin!=RECIPE['model']:result.update(family='Inkling 2 Mini',label='Basalt · Inkling Text',message='Inkling 2 Mini auf einer SM120-GPU mit FP8-Kontextcache und automatischer CPU-Expertenauslagerung. Das erste Testprofil ist text-only und verwendet keinen Qwen-Projektor. Kontext und Slots folgen dem gespeicherten Profil.')
|
||||
if profile:result.update(state='ready' if profile.get('runnable') else 'profile_incomplete',blockers=profile.get('blockers',[]))
|
||||
return result
|
||||
kind=model.get('kind');repo=model.get('repo','').lower();name=model.get('file','').lower()
|
||||
|
||||
Reference in new issue
Block a user