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 branch 'f-142-amd' into f-142
Niko12215a6ef1d7681f
diff --cc serve/server.pyindex 1f8ff76e7,c95f02d1f..e2f63db45--- a/serve/server.py+++ b/serve/server.py@@@ -602,9 -601,8 +602,9 @@@ class StrataEnginetl.last = valuedef __init__(self, exe: str, args: list[str], cwd: str | None = None, log: str | None = None,- env: dict | None = None, lazy: bool = False):- self.spawn = (exe, list(args), cwd, log, env) # to start it again after it died (issue #27)+ env: dict | None = None, lazy: bool = False, cpus: list[int] | None = None):+ self.spawn = (exe, list(args), cwd, log, env, False, cpus) # to start it again after it died (issue #27)+ self.session_save_reclaim = '--session-save-reclaim' in argspaths = {k: v for k, v in zip(args, args[1:]) if k in ("--native", "--pack")}self.model_path = paths.get("--native") or paths.get("--pack", "pack/full")self.log_path = log@@@ -3208,10 -3095,11 +3211,12 @@@ class Service# the requests in flight that are not in a slot: the one alone on the solo path, or waiting their turnin_slots = sum(1 for x in slots if x["state"] != "idle")live.update(parallel=par, running=running, slots=slots, outside_slots=max(0, running - in_slots),- waiting=int(getattr(self.engine, "waiting", 0) or 0))+ waiting=int(getattr(self.engine, "waiting", 0) or 0),+ admitting=int(getattr(self.engine, "admitting", 0) or 0))if running and state == "idle":live["state"] = "generating"+ if hasattr(self.engine, "replica_view"): # opt-in replicas: each one's state and requests routed to it+ live["replicas"] = self.engine.replica_view()engine = {"model": self.model, "max_context": self.reported_ctx(), "images": self.vision is not None,**dict(getattr(self.engine, "info", {}) or {})}tel = self.telemetry.snapshot() if getattr(self, "telemetry", None) else {"now": {}, "history": {}, "static": {}}diff --cc src/core/arch_defaults_test.cppindex 2fb6d0e3f,93ee00757..737d4a230--- a/src/core/arch_defaults_test.cpp+++ b/src/core/arch_defaults_test.cpp@@@ -28,9 -28,7 +28,8 @@@ int main()unset("STRATA_GFX1151_DEFAULTS");// other architectures (and CUDA, which passes an empty name): nothingCHECK(arch_default_env("gfx1100").empty());- CHECK(arch_default_env("gfx1201:sramecc-:xnack-").empty());CHECK(arch_default_env("gfx1150").empty());+ CHECK(arch_default_env("gfx1152").empty());CHECK(arch_default_env("gfx11510").empty()); // not a prefix matchCHECK(arch_default_env("").empty());CHECK(arch_default_env(nullptr).empty());