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

tools tests: test_amd_is_not_asked mocks the Linux HIP engine build too (it wrote sys.prefix/.strata-rocm.json)

chaog992031fddc62ca6
diff --git a/tools/test_setup_unsloth.py b/tools/test_setup_unsloth.py
index 27a7b9a3b..e9bdaa3d2 100644
--- a/tools/test_setup_unsloth.py
+++ b/tools/test_setup_unsloth.py
@@ -550,7 +550,8 @@ class IQ4XS(Base):
def test_amd_is_not_asked(self):
r9700 = [{"index": 0, "name": "AMD Radeon AI PRO R9700", "vram_gb": 31.9, "arch": "gfx1201",
"driver": "amdgpu"}]
- with mock.patch.object(setup, "get_prebuilt_hip", lambda *a, **k: self.t / "engine"):
+ with mock.patch.object(setup, "get_prebuilt_hip", lambda *a, **k: self.t / "engine"), \
+ mock.patch.object(setup, "build_engine_hip", lambda *a, **k: self.t / "engine"): # Linux compiles it
code, out, cfg = self.main(["--context", "8192", "--backend", "hip"], version="0.1.38", amd=r9700, m=X)
self.assertNotIn("has not been run on AMD cards yet", out)
self.assertIn("RAM budget: 40 GiB of UD-IQ4_XS's experts", out)