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++
AMD: card name, setup headline, docs for ./setup.sh --backend hip
Niko12219065ae0b2d3b
diff --git a/docs/AMD_HIP.md b/docs/AMD_HIP.mdindex abb360a0b..0d3cea91f 100644--- a/docs/AMD_HIP.md+++ b/docs/AMD_HIP.md@@ -12,6 +12,25 @@ An optional, calibrated hipBLASLt path accelerates dense projections on gfx1100.This does not claim bit-identical model answers across backends. See[performance settings and evidence](AMD_HIP_PERFORMANCE.md).+## Install with setup (recommended)++On Linux with an RX 7900 XT / XTX and the kernel's amdgpu driver (no ROCm install needed):++```sh+./setup.sh --backend hip+```++- **Detection:** setup finds the card through the kernel's KFD topology. Integrated Radeon GPUs are listed as not+ supported. On a PC without an NVIDIA card Strata can use, `--backend hip` is chosen automatically.+- **ROCm:** installed into `.venv` from AMD's TheRock wheels (~10 GB, no sudo), pinned to the version this backend was+ tested with (`STRATA_ROCM_VERSION` / `STRATA_ROCM_INDEX` override it). A system ROCm in `/opt/rocm` (or+ `$ROCM_PATH`) with hipcc and hipBLAS is used instead when present.+- **Engine:** compiled on your PC (10-20 minutes, once; again after a `git pull` that changes it). This needs a C+++ compiler and git (`sudo apt install build-essential git`).+- **Limits for now:** one GPU, no images, no calibration. The Monitor shows no GPU statistics.++The rest of setup is the same as on NVIDIA: the model download, the start script, the server.+## BuildRequirements: a working ROCm driver/runtime, HIP development headers and@@ -79,9 +98,8 @@ The worker count above was used on a 16-core CPU; measure it for your CPU.The 4K context is a smoke-test starting point, not a model limit. The expert cachesizes itself automatically and leaves 1 GiB of VRAM headroom.-The automatic installer,-vision helper, local gateway integrations, and multi-GPU experiments are not-included in this backend patch.+The installer supports this backend (see "Install with setup" above). The vision helper and multi-GPU layer+splits are NVIDIA-only for now.## Original backend validation (PR #94)diff --git a/setup.py b/setup.pyindex 762b1501f..519305196 100644--- a/setup.py+++ b/setup.py@@ -650,6 +650,7 @@ def cuda_lib_dirs():ROCM_INDEX = os.environ.get("STRATA_ROCM_INDEX", "https://rocm.nightlies.amd.com/v2/gfx110X-dgpu/")ROCM_VERSION = os.environ.get("STRATA_ROCM_VERSION", "7.10.0a20251120") # what Strata's HIP build was tested withAMD_ARCHS = ("gfx1100",)+AMD_NAMES = {"gfx1100": "AMD Radeon RX 7900 series (gfx1100)"} # when sysfs has no product namedef amd_gpus():@@ -680,6 +681,8 @@ def amd_gpus():name = (dev / "product_name").read_text().strip() or f"AMD Radeon ({arch})"except OSError:name = f"AMD Radeon ({arch})"+ if name == f"AMD Radeon ({arch})" and arch in AMD_NAMES:+ name = AMD_NAMES[arch]found.append({"index": len(found), "name": name, "vram_gb": vram, "arch": arch, "driver": "amdgpu","vendor": "amd"})return found@@ -1465,7 +1468,7 @@ def main() -> int:a.gpu = int(a.gpu)else:ap.error(f"--gpu takes a GPU number as nvidia-smi numbers them, e.g. --gpu 1 (or --gpus 0,2), not {a.gpu!r}")- say("Strata - Qwen3.8-Flash-Next on a normal PC (NVIDIA GPU + system RAM + CPU)")+ say("Strata - Qwen3.8-Flash-Next on a normal PC (a GPU + system RAM + CPU)")data, elsewhere = data_folder(a.data_dir) # the model files: in the data folder, found from any copyroots = [data, *elsewhere]if a.models_dir is None: