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 run that could not measure any candidate is inconclusive, not default confirmed
Niko12219f249346630c
diff --git a/strata_control/autotune.py b/strata_control/autotune.pyindex ed14852ab..bda549fc5 100644--- a/strata_control/autotune.py+++ b/strata_control/autotune.py@@ -582,6 +582,11 @@ class Tuner:elif r.noise["noisy"] and (spread > 2 * STAGE_GAP_NOISY):r.outcome = "inconclusive"r.message = "The PC was too noisy to tell settings apart, so nothing was changed. Try again when it is idle."+ elif arms and not any(a.status in ("tested", "dropped", "failed") for a in arms) and not r.per_request:+ # candidates were planned but none could be measured (no free memory, no time): that is not "already the fastest"+ r.outcome = "inconclusive"+ r.message = ("Other settings could not be tried (not enough free memory or time), so nothing was compared and nothing was "+ "changed. Try again when the PC is quiet.")else:r.outcome = "default_confirmed"r.message = "Your current settings are already the fastest we found. Nothing was changed."diff --git a/tests/tuning/test_autotune.py b/tests/tuning/test_autotune.pyindex 1caf85c1a..454cce1f9 100644--- a/tests/tuning/test_autotune.py+++ b/tests/tuning/test_autotune.py@@ -267,6 +267,21 @@ class TunerTest(unittest.TestCase):self.assertEqual(r.outcome, "default_confirmed")self.assertTrue(any(a["status"] == "skipped" and "memory" in a["reason"] for a in r.arms))+ def test_nothing_compared_is_inconclusive_not_default_confirmed(self):+ model = speed_with({})+ clock = FakeClock()+ session = StubSession(model=model, clock=clock)++ def system():+ out = session.system()+ out["memory"]["available_mib"] = 40000 if not session.runs else 3000+ return out+ t = autotune.Tuner(session, BASE, {}, make_ctx(), autotune.Options(wait_ram_s=30, per_request=False), clock=clock,+ sleep=clock.sleep, system=system, total_ram_mib=64000, quiet=lambda: None)+ r = t.run()+ self.assertEqual(r.outcome, "inconclusive")+ self.assertIn("could not be tried", r.message)+def test_first_oom_stops_the_search(self):def fail(args, env):return StartFailed("OOM", "out of memory") if flag(args, "--kv-resident") == "65536" else None