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 candidate is refused for low free RAM only if it is worse than the base (a RAM-bound base can sit below the floor itself)

Niko1221a3dd4b702d35
diff --git a/strata_control/autotune.py b/strata_control/autotune.py
index 1e3087fc3..ca4d5233a 100644
--- a/strata_control/autotune.py
+++ b/strata_control/autotune.py
@@ -620,7 +620,7 @@ class Tuner:
for work, is a promise about memory)."""
if res.rss_peak_mib and base.rss_peak_mib and res.rss_peak_mib > base.rss_peak_mib * 1.05 + 512 and self.o.goal == "room":
return "it needs more memory than your current settings, which would eat into the memory you wanted left free"
- if res.min_avail_mib is not None and res.min_avail_mib < self.o.min_free_ram_mib:
+ if res.min_avail_mib is not None and res.min_avail_mib < self.o.min_free_ram_mib and \n (base.min_avail_mib is None or res.min_avail_mib < base.min_avail_mib - 512): # a RAM-bound base itself may sit below the floor
return "it left the PC with too little free memory"
if self.o.goal == "room" and self.o.ram_wish_pct and self.total_ram and res.min_avail_mib is not None and \
base.min_avail_mib is not None: