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

setup: shared DeepSeek files (drafter, Engram) are also looked for two folders above the set's own folder (strata launch passes .../off/2.00bpw); test

Niko1221642e76948eb0
diff --git a/setup.py b/setup.py
index 569a9d42e..ff3d0c4ed 100644
--- a/setup.py
+++ b/setup.py
@@ -7758,7 +7758,7 @@ def dsv41_find_shared(a, name: str, folder: Path, shared: Path) -> Path:
roots = [shared, folder]
if a.gguf_dir:
base = Path(a.gguf_dir)
- roots += [base, base.parent]
+ roots += [base, base.parent, base.parent.parent] # (strata launch hands over the set's own folder: 2.00bpw/)
seen = []
for r in roots:
if r in seen:
diff --git a/tools/test_setup_dsv41.py b/tools/test_setup_dsv41.py
index 31cfbda6a..dc03252ed 100644
--- a/tools/test_setup_dsv41.py
+++ b/tools/test_setup_dsv41.py
@@ -401,6 +401,20 @@ class EnginePackage(unittest.TestCase):
self.assertEqual(setup.dsv41_exe(eng), Path(d) / "engine-dsv41" / "0.1.49-x" / name)
+class SharedFiles(unittest.TestCase):
+ def test_the_drafter_beside_the_sets_folder_is_found_from_the_set_folder(self):
+ with tempfile.TemporaryDirectory() as d:
+ root = Path(d)
+ (root / "off" / "2.00bpw").mkdir(parents=True)
+ (root / "dspark").mkdir()
+ f = root / "dspark" / setup.DSV41_DSPARK
+ f.write_bytes(b"x")
+ a = argparse.Namespace(gguf_dir=str(root / "off" / "2.00bpw"))
+ with mock.patch.dict(setup.DSV41_ALL_FILES, {setup.DSV41_DSPARK: (1, "0" * 64)}):
+ got = setup.dsv41_find_shared(a, setup.DSV41_DSPARK, root / "off" / "2.00bpw", root / "models" / "shared")
+ self.assertEqual(got, f)
+
+
class InstallOfficial(Install):
"""install_dsv41 for an official set, the engine and the tools mocked."""