Skip to content

Qwen3.8-Flash-Next on any consumer hardware: one-click install for Windows / Linux. Strata inference engine, OpenAI/Anthropic API on localhost, optional image input.

C++

launch: the plan says 'drafting DSpark' for DeepSeek, not MTP; test

Niko122118022ceaf349
diff --git a/strata_cli/launch/runner.py b/strata_cli/launch/runner.py
index ab473464d..22156b15a 100644
--- a/strata_cli/launch/runner.py
+++ b/strata_cli/launch/runner.py
@@ -1818,6 +1818,8 @@ class Runner:
def drafting_plan_line(self) -> str:
"""The drafting line of --plan: what drafts, or why not what was asked for. Nothing is changed or downloaded."""
from strata_control import drafting
+ if self.multi_file(): # DeepSeek drafts with its own DSpark drafter (the --dspark auto the config writes), not MTP
+ return "Drafting: DSpark (used when it speeds up answers on this computer)"
try:
base, cfg = self.installed_state()
want = self.drafting_inputs(cfg or {})
diff --git a/tests/terminal/test_launch_dsv41.py b/tests/terminal/test_launch_dsv41.py
index 7fd80135e..0870c7a16 100644
--- a/tests/terminal/test_launch_dsv41.py
+++ b/tests/terminal/test_launch_dsv41.py
@@ -85,6 +85,12 @@ class LaunchDeepSeek(unittest.TestCase):
row = next(r for r in catalog(self.hw).rows() if r.family == "deepseek41" and r.model == "UD-Q8_K_XL")
self.assertEqual(row.verdict, "no") # "too big (can still try)": the plan above is printed and nothing is refused
+ def test_the_plan_names_dspark_not_mtp(self):
+ code, out, err = run_cli(["launch", "--plan", "--model", "ud-q8_k_xl", "--no-tui"])
+ self.assertEqual(code, 0, err)
+ self.assertIn("drafting DSpark", out)
+ self.assertNotIn("MTP", out)
+
def test_no_card_is_said(self):
self.hw = {**HW_12, "gpus": []}
code, out, err = run_cli(["launch", "--plan", "--model", "ud-q8_k_xl", "--no-tui"])