From 0ad23b584d8db9bb8b2d15460f90fc4656109fc5 Mon Sep 17 00:00:00 2001 From: Niko1221 Date: Thu, 1 Oct 2026 20:08:58 +0200 Subject: [PATCH] setup: the AMD backend is no longer called experimental in its messages --backend's help, the NVIDIA-or-AMD question and the GPU line drop "experimental" (the Unsloth model, the speed projection and the Pascal/Volta build keep it); the AMD choice says images run on the CPU (0.1.32) instead of "no images". setup.sh's header comment likewise. --- setup.py | 6 +++--- setup.sh | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/setup.py b/setup.py index 9d09d17b..c888f749 100644 --- a/setup.py +++ b/setup.py @@ -2156,7 +2156,7 @@ def main() -> int: "else read through the OS file cache (mmap); resident / mmap force one of the two") ap.add_argument("--backend", choices=["cuda", "hip"], help="cuda = NVIDIA (default), hip = AMD RX 7900 / 7800 / 7700 XT, RX 9060 XT / 9070 / AI PRO R9700 on " - "Linux (experimental; chosen by itself when the PC has no NVIDIA card Strata can use)") + "Linux (chosen by itself when the PC has no NVIDIA card Strata can use)") ap.add_argument("--skip-build", action="store_true", help=argparse.SUPPRESS) a = ap.parse_args() if a.gpu is not None: # --gpu 0,2 means --gpus 0,2 (a user tried it: issue report) @@ -2241,7 +2241,7 @@ def main() -> int: say(" 1) NVIDIA: " + ", ".join(f"{g['name']} ({g['vram_gb']:.0f} GB)" for g in found if gpu_problem(g) is None) + " (recommended)") say(" 2) AMD: " + ", ".join(f"{g['name']} ({g['vram_gb']:.0f} GB)" for g in amd_ok) - + " (experimental: compiled here, no images - docs/AMD_HIP.md)") + + " (compiled here, images on the CPU - docs/AMD_HIP.md)") hip = ask("Which cards?", ["1", "2"], "1", a.yes or a.check) == "2" if a.check and not hip: say(" (the AMD card: ./setup.sh --backend hip)") @@ -2273,7 +2273,7 @@ def main() -> int: a.gpu = gpu["index"] if len(amd) > 1 else a.gpu if multi: ok("GPUs: " + " + ".join(gpu_name(x) for x in chosen) + " together (the model's layers are split across them)") - ok(f"GPU: {gpu['name']}, {gpu['vram_gb']:.1f} GB VRAM, {gpu['arch']} (AMD, experimental: docs/AMD_HIP.md)") + ok(f"GPU: {gpu['name']}, {gpu['vram_gb']:.1f} GB VRAM, {gpu['arch']} (AMD: docs/AMD_HIP.md)") else: if not found: fail("no NVIDIA GPU found (nvidia-smi did not answer)", diff --git a/setup.sh b/setup.sh index 6c97994f..d7bac954 100755 --- a/setup.sh +++ b/setup.sh @@ -1,6 +1,6 @@ #!/bin/sh # Strata for Linux: the first run installs everything and starts the model; later runs just start it. -# Needs only an NVIDIA driver (or, experimental: an AMD RX 7900 XT/XTX with the amdgpu driver, see docs/AMD_HIP.md). +# Needs only an NVIDIA driver (or, for an AMD Radeon card, the kernel's amdgpu driver: see docs/AMD_HIP.md). # Python (with venv) is installed through apt/dnf if it is missing (asks for sudo). cd "$(dirname "$0")" || exit 1 # Python 3.10+ that can make a venv WITH pip: Debian/Ubuntu ship `venv` without `ensurepip` (that is the separate