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++

DeepSeek pictures: the Terminal's pictures step knows the tower is part of the engine (no reader lookup, no GPU/CPU reader choice), and a DeepSeek start without pictures answers a picture request with its own 400 wording

Niko1221c451698d6aa2
diff --git a/serve/server.py b/serve/server.py
index d502e150f..8c5213b1f 100644
--- a/serve/server.py
+++ b/serve/server.py
@@ -4987,6 +4987,9 @@ class Service:
if self.offline and any(src.startswith(("http://", "https://")) for src in images):
raise ValueError("offline mode cannot download an image URL; send a data: image instead")
if self.vision is None:
+ if self.family == "deepseek41":
+ raise ValueError("this server was started without pictures for DeepSeek (--vision off, or a pack made without the "
+ "picture reader): run strata launch again without --vision off to read images")
raise ValueError("this server was started without the vision encoder (run setup again and choose "
"'vision'), so it cannot read images")
# An image URL is downloaded first, outside the FIFO: under it, a slow server held every other request
diff --git a/serve/test_ds_pictures.py b/serve/test_ds_pictures.py
index 5f56ff715..a997d5c5e 100644
--- a/serve/test_ds_pictures.py
+++ b/serve/test_ds_pictures.py
@@ -228,7 +228,7 @@ class Serve(unittest.TestCase):
self.start(pictures=False)
code, out = self.post(self.picture_body())
self.assertEqual(code, 400)
- self.assertIn("without the vision encoder", json.dumps(out))
+ self.assertIn("without pictures for DeepSeek", json.dumps(out))
def test_a_follow_up_with_the_picture_in_history_works(self):
self.start()
diff --git a/strata_cli/launch/screens.py b/strata_cli/launch/screens.py
index 772b55182..960541651 100644
--- a/strata_cli/launch/screens.py
+++ b/strata_cli/launch/screens.py
@@ -1017,10 +1017,15 @@ class PicturesScreen(Base):
s = self.ctx.settings
return next((x for x in self.ctx.rows if (x.family, x.model) == (s.family, s.model)), None)
+ def own_tower(self) -> bool:
+ """DeepSeek reads pictures with a tower inside its own engine: no separate picture reader to look for."""
+ s = self.ctx.settings
+ return bool(s.family) and bool(self.ctx.catalog.strata.multi_family(s.family))
+
def reader(self) -> str:
""""present" when the installed engine carries the picture reader (strata-vision), "missing" when an engine is installed without it,
"unknown" before any engine is installed (the first launch fetches it)."""
- return self.ctx.catalog.reader_state()
+ return "present" if self.own_tower() else self.ctx.catalog.reader_state()
def on_mount(self) -> None:
s = self.ctx.settings
@@ -1036,6 +1041,9 @@ class PicturesScreen(Base):
self.paint()
def explain(self) -> Text:
+ if self.own_tower() and self.supported:
+ return Text("Pictures are on by default. DeepSeek reads them with a picture tower of its own inside the engine: a 1 GB file that comes with "
+ "the model's files and about 0.3 GB of graphics memory. Say No if you only chat in text.", style=MUTE)
amd = any(str(g.get("vendor")) == "amd" for g in self.ctx.computer.usable_gpus)
on_card = self.ctx.catalog.picture_default(True) == "gpu"
extra = ("a 0.9 GB download (if it is not on this computer yet). On your AMD card the picture reader runs on the graphics card "
@@ -1056,7 +1064,7 @@ class PicturesScreen(Base):
def commit(self) -> None:
key = self.menu().current.key
- if key == "on": # yes: the reader on the card (NVIDIA, AMD) or the CPU, as the default says
+ if key == "on" and not self.own_tower(): # yes: the reader on the card (NVIDIA, AMD) or the CPU, as the default says
device = self.ctx.catalog.picture_default(True)
key = device if device != "off" else "on"
self.ctx.settings.vision = key