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

tests: the AVX2 warning test of the docker entrypoint

Niko1221152292b633f9
diff --git a/tools/test_docker_entrypoint.py b/tools/test_docker_entrypoint.py
index 824699edd..582415ffb 100644
--- a/tools/test_docker_entrypoint.py
+++ b/tools/test_docker_entrypoint.py
@@ -97,11 +97,8 @@ class Entrypoint(unittest.TestCase):
def warning_for(self, flags):
info = self.tmp / "cpuinfo"
- info.write_text(f"processor : 0
-flags : {flags}
-")
- (self.data / "config" / "strata-iq3_s.json").write_text('{"args": ["x"]}
-')
+ info.write_text(f"processor\t: 0\nflags\t\t: {flags}\n")
+ (self.data / "config" / "strata-iq3_s.json").write_text('{"args": ["x"]}\n')
env = dict(os.environ, STRATA_DATA=str(self.data), MODEL="IQ3_S", REINSTALL="0", STRATA_CPUINFO=str(info))
r = subprocess.run([SH, str(self.script)], env=env, capture_output=True, text=True, timeout=60)
self.assertEqual(r.returncode, 0, r.stderr) # a warning, never a stop (#1584)