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

setup: the resident low-RAM variant keeps its RAM copy pageable on ROCm (STRATA_RESIDENT_PIN=0 in the config's env)

Niko1221f9a31f391b37
diff --git a/setup.py b/setup.py
index d04188a35..b1d8571e1 100644
--- a/setup.py
+++ b/setup.py
@@ -2103,6 +2103,8 @@ def main() -> int:
tables = sorted((ROOT / "tools" / "hip").glob(f"{gpu['arch']}-hipblaslt-*.txt"))
if tables:
cfg["env"] = {"STRATA_HIPBLASLT_TUNING": str(tables[-1])}
+ if resident: # ROCm: large page-locked host allocations can fail or be slow for the CPU; keep the copy pageable
+ cfg.setdefault("env", {})["STRATA_RESIDENT_PIN"] = "0"
if gpu["count"] > 1 or a.gpu is not None:
cfg["gpu"] = gpu["index"] # the engine is told this card (issue #51)
cfg["gpus_asked"] = True # chosen at setup: not asked again at start