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

Merge f-022-ownfiles: own GGUF files load again, plain download/prepare steps, chosen models folder

Niko1221c7938c2d3e71
diff --cc tools/strata_mcp.py
index 3ccfe1e2f,26bbf88a1..c863e3b41
--- a/tools/strata_mcp.py
+++ b/tools/strata_mcp.py
@@@ -1511,19 -1525,17 +1525,30 @@@ def install_progress(lines: list[str])
return out
+def physical_cores() -> int | None:
+ """The CPU's physical cores (os.cpu_count() counts logical threads: 16 on an 8-core SMT chip, and the app's Work profile took
+ 80% of that for --pool-workers, more than the cores, #3417). Falls back to the thread count when the machine cannot say."""
+ try:
+ from strata_control import tune_machine
+ n = tune_machine.cpu().get("physical")
+ if isinstance(n, int) and n > 0:
+ return n
+ except Exception: # noqa: BLE001 - a hardware report must never fail on this
+ pass
+ return os.cpu_count()
+
+
+ def progress_words_for(step, lines, download):
+ """(the plain sentence, its phase) for what setup is doing now (strata_control/progress_words.py, the words the Terminal uses too);
+ None when this Strata folder does not carry the module."""
+ try:
+ from strata_control import progress_words
+ except ImportError:
+ return None
+ w = progress_words.describe(step, lines, download)
+ return w.label, w.phase
+
+
def own_ram_gb() -> float:
if WIN:
class MS(ctypes.Structure):