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: a killed engine (no message) is an out-of-memory

Niko1221e62e6bf2f564
diff --git a/strata_control/tune_session.py b/strata_control/tune_session.py
index 54232e4bf..843afef58 100644
--- a/strata_control/tune_session.py
+++ b/strata_control/tune_session.py
@@ -134,7 +134,8 @@ 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", low) or returncode in (-9, 137, 3221226505):
+ if re.search(r"out of memory|memory guard|cannot allocate|std::bad_alloc|oom|^killed$|
+killed", 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})"