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 --plan: a DeepSeek plan no longer promises a Strata engine download; test

Niko1221a22d557eee4a
diff --git a/strata_cli/launch/runner.py b/strata_cli/launch/runner.py
index 18aaa9c47..5ecc8095c 100644
--- a/strata_cli/launch/runner.py
+++ b/strata_cli/launch/runner.py
@@ -1729,6 +1729,11 @@ class Runner:
parts = [p for p in parts if p["kind"] != "weights"] + [{"kind": "weights", "label": "the ready-made pack", "gb": gap["gb"]}]
gb = round(sum(p["gb"] for p in parts), 1)
engine, here = True, []
+ if self.multi_file(): # DeepSeek does not use the Strata engine: nothing about it in the plan (its own package is in the placement)
+ return {"gb": gb, "parts": parts, "engine_missing": False, "engine_usable": True, "own_files": st.own_files,
+ "text": ("Nothing to download: your model files are used where they are." if gb < 0.05 and st.own_files else
+ "Nothing to download: the model is already on this computer." if gb < 0.05 else
+ f"About {gb:.1f} GB to download.")}
try:
report = engine_component.status(Path(self.components_dir) if self.components_dir else None)
engine = bool(report.get("usable"))
diff --git a/tests/terminal/test_launch_dsv41.py b/tests/terminal/test_launch_dsv41.py
index f3616443c..0e126eadf 100644
--- a/tests/terminal/test_launch_dsv41.py
+++ b/tests/terminal/test_launch_dsv41.py
@@ -91,6 +91,12 @@ class LaunchDeepSeek(unittest.TestCase):
self.assertIn("drafting DSpark", out)
self.assertNotIn("MTP", out)
+ def test_the_plan_does_not_promise_a_strata_engine_download_for_deepseek(self):
+ p = self.plan("--model", "ud-q8_k_xl", "--no-tui")
+ text = json.dumps(p.get("download") or {})
+ self.assertNotIn("engine for your graphics card", text)
+ self.assertFalse((p.get("download") or {}).get("engine_missing"))
+
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"])