fix(m0): start the recommended model without the DFlash2 drafter
Strata 0.1.59 gives Qwen3.8-Flash-Next Q2_0 the DFlash2 drafter alone
(--draft-fallback none), but DFlash2 needs a native pack and the canonical
Q2_0 pack is not one, so the engine stops at start ("DFlash2 is off here:
it needs a native pack ... the start ends here"). Ask for the MTP drafter
instead; Strata falls back to no drafter when the MTP layer is missing.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -24,7 +24,10 @@ from m0lib.llm_client import ChatClient, http_json # noqa: E402
|
||||
|
||||
PRESETS = {
|
||||
"fast": {"family": "qwen36", "model": "ud-q4_k_xl", "label": "Qwen3.6-35B-A3B UD-Q4_K_XL"},
|
||||
"recommended": {"family": "qwen", "model": "q2_0", "label": "Qwen3.8-Flash-Next Q2_0 (ISTA-DASLab)"},
|
||||
# Strata 0.1.59 gives Q2_0 the DFlash2 drafter alone, which needs a native pack; the canonical
|
||||
# Q2_0 pack is not one, so the engine stops at start. The MTP drafter (or none) starts.
|
||||
"recommended": {"family": "qwen", "model": "q2_0", "label": "Qwen3.8-Flash-Next Q2_0 (ISTA-DASLab)",
|
||||
"drafting": "mtp"},
|
||||
}
|
||||
PORT = 8080
|
||||
INSTALL_URL = "https://github.com/Niko1221/Strata/releases/latest/download/install.ps1"
|
||||
@@ -80,6 +83,8 @@ class Strata:
|
||||
("--context", str(context)), ("--vision", vision), ("--parallel", str(parallel)),
|
||||
("--access", "local"), ("--port", str(PORT)), ("--no-api-key", None), ("--yes", None),
|
||||
("--no-tui", None)]
|
||||
if preset.get("drafting"):
|
||||
want.append(("--drafting", preset["drafting"]))
|
||||
if restart:
|
||||
want.append(("--restart", None))
|
||||
for s in extra_sets:
|
||||
|
||||
Reference in New Issue
Block a user