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

tuner: fix the killed-engine pattern

Niko122122265c6ac7d1
diff --git a/strata_control/tune_session.py b/strata_control/tune_session.py
index 843afef58..aa1a3dc38 100644
--- a/strata_control/tune_session.py
+++ b/strata_control/tune_session.py
@@ -134,8 +134,7 @@ def failure_kind(text: str, returncode: int | None) -> tuple[str, str]:
reason = " | ".join(lines[:3])[:300]
if re.search(r"unknown argument|unrecognized (argument|option)", low):
return "UNSUPPORTED", reason or "the engine does not accept one of the settings"
- if re.search(r"out of memory|memory guard|cannot allocate|std::bad_alloc|oom|^killed$|
-killed", low) or returncode in (-9, 137, 3221226505):
+ if re.search(r"out of memory|memory guard|cannot allocate|std::bad_alloc|\boom\b|(?:^|\n)killed(?:\r?\n|$)", low) or returncode in (-9, 137, 3221226505):
return "OOM", reason or "the engine ran out of memory"
return "FAIL_BOOT", reason or f"the engine stopped while starting (exit {returncode})"