diff --git a/docs/AMD_HIP.md b/docs/AMD_HIP.md index 5463efd6b2..7e87c2e49f 100644 --- a/docs/AMD_HIP.md +++ b/docs/AMD_HIP.md @@ -538,7 +538,7 @@ Other gfx103x and RDNA2-adjacent cards (community reports): | --- | --- | | gfx1031, RX 6700 XT 12 GB (#524, #1027) | Setup knows it (`gfx103X-all` wheels, unvalidated). IQ2_XS on ROCm 7.2.4: decode 30-32 tok/s, prompt about 300 tok/s, 6 of 6 needles. The default list of `build_windows.bat` includes it. | | RX 6800M 12 GB, Windows, self-built (#915, #1078) | Q2_0: decode 9-27 tok/s, prompt 50-114 tok/s; experts stream from disk with 31 GB RAM | -| gfx1032, RX 6600 / 6600 XT | Unvalidated. Ran under Windows as the helper expert GPU of an RX 6800 ([SECOND_GPU.md](SECOND_GPU.md)): +8-18% decode over the 6800 alone. No report as a primary card. | +| gfx1032, RX 6600 / 6650 XT (#1375) | Unvalidated. Setup accepts it: the same RDNA2 `dp4a` path as gfx1030 / gfx1031, so only the setup and CMake lists were missing. One RX 6650 XT 8 GB (Fedora, ROCm 7.1.1) built the engine for gfx1032 (`strata-device --selftest` passes) and served a model end to end; no llama.cpp parity or KL run has been done. Ran under Windows as the helper expert GPU of an RX 6800 ([SECOND_GPU.md](SECOND_GPU.md)): +8-18% decode over the 6800 alone. No report as a primary card; an RX 6600 8 GB report is in #1378. | | gfx1150, Radeon 890M (#1217) | Builds and runs as an unvalidated target. MINISFORUM N5 PRO, 96 GB, TheRock ROCm 7.14.1, IQ3_XXS: decode 15-19 tok/s, prompts 125-130 tok/s on plain hipBLAS and 1.5-1.7x faster with `gfx1150-hipblaslt-100401.txt`. Setup does not install for it: build with `-DCMAKE_HIP_ARCHITECTURES=gfx1150` and point `STRATA_HIPBLASLT_TUNING` at the table. [Report](../bench/results/2026-10-07-community-gfx1150/README.md). | | gfx1152, Radeon 860M / 840M (#1625) | Builds with a warning; portable kernels; no report; setup does not install for it | diff --git a/docs/OLDER_GPUS.md b/docs/OLDER_GPUS.md index 0962d7f3be..e925b67d50 100644 --- a/docs/OLDER_GPUS.md +++ b/docs/OLDER_GPUS.md @@ -36,6 +36,7 @@ too and cannot hold any of the model. | --- | --- | --- | | RX 6800 / 6900 series | gfx1030 | setup (`--backend hip`), unvalidated. The #540 attention kernel is the default there (`STRATA_ATTN_PRE75=0` runs the standard kernel). See [AMD_HIP.md](AMD_HIP.md#rdna2-gfx1030) | | RX 6700 XT | gfx1031 | setup (`--backend hip`), unvalidated; used daily by its reporter on one card | +| RX 6600 / 6650 XT | gfx1032 | setup (`--backend hip`), unvalidated (#1375); the same RDNA2 `dp4a` path as gfx1030 / gfx1031, one RX 6650 XT 8 GB ran a model end to end. See [AMD_HIP.md](AMD_HIP.md#rdna2-gfx1030) | | RX 5500 XT (RDNA1) | gfx1012 | built by hand: `-DCMAKE_HIP_ARCHITECTURES=gfx1012` (HIP 5.7 or 7) | | RX 5700 XT (RDNA1) | gfx1010 | built by hand: `-DCMAKE_HIP_ARCHITECTURES=gfx1010` on ROCm 7.14's `gfx101X-dgpu` wheels; needs `ROCR_VISIBLE_DEVICES=0` on a PC that also has an AMD iGPU | | RX 5700, 6 GB RX 5600 (RDNA1) | gfx1010 | as above; a 6 GB card leaves about 50 expert slots | diff --git a/setup.py b/setup.py index ba7f1b877b..4d0a461cd4 100644 --- a/setup.py +++ b/setup.py @@ -3962,7 +3962,8 @@ def cuda_lib_dirs(toolkit=13): # ------------------------------------------------------------------------------------------------ AMD # The RX 7900 XT / XTX (gfx1100) and the RX 9070 series / Radeon AI PRO R9700 (gfx1201) on Linux, through the HIP # backend (docs/AMD_HIP.md); the RX 7800 XT / 7700 XT (gfx1101, #254) and the RX 9060 XT (gfx1200, #256) were run by -# their owners; the RX 6800 / 6900 series (gfx1030, #311) and the RX 6700 XT (gfx1031, #524) run but are unvalidated. There is no ready-made AMD engine: ROCm comes from AMD's TheRock Python wheels into .venv (no sudo; +# their owners; the RX 6800 / 6900 series (gfx1030, #311), the RX 6700 XT (gfx1031, #524) and the RX 6600 / 6650 XT +# (gfx1032, #1375) run but are unvalidated. There is no ready-made AMD engine: ROCm comes from AMD's TheRock Python wheels into .venv (no sudo; # a system ROCm 7 in /opt/rocm is used when it has hipcc and hipBLAS) and the engine is compiled here for the cards. # No images yet. ROCM_INDEXES = {"gfx1100": "https://rocm.nightlies.amd.com/v2/gfx110X-dgpu/", # TheRock's wheels per GPU family @@ -3972,6 +3973,7 @@ ROCM_INDEXES = {"gfx1100": "https://rocm.nightlies.amd.com/v2/gfx110X-dgpu/", "gfx1201": "https://rocm.nightlies.amd.com/v2/gfx120X-all/", "gfx1030": "https://rocm.nightlies.amd.com/v2/gfx103X-all/", "gfx1031": "https://rocm.nightlies.amd.com/v2/gfx103X-all/", + "gfx1032": "https://rocm.nightlies.amd.com/v2/gfx103X-all/", # RX 6600 / 6650 XT (same RDNA2 family) "gfx1151": "https://rocm.nightlies.amd.com/v2/gfx1151/", # Strix Halo (docs/STRIX_HALO.md) "gfx1150": "https://rocm.nightlies.amd.com/v2/gfx1150/", # Strix Point: only with STRATA_EXPERIMENTAL_GFX1150=1 "gfx1103": "https://rocm.nightlies.amd.com/v2/gfx110X-all/"} # Radeon 780M: only with STRATA_EXPERIMENTAL_GFX1103=1 @@ -3997,7 +3999,7 @@ GFX1103_OPT_IN = os.environ.get("STRATA_EXPERIMENTAL_GFX1103") == "1" # build one with `STRATA_HIP_ARCHS=gfx1150 tools\hip\build_windows.bat` and start setup with `--prebuilt dist\`. # Unset: unchanged. GFX1150_OPT_IN = os.environ.get("STRATA_EXPERIMENTAL_GFX1150") == "1" -AMD_ARCHS = ("gfx1100", "gfx1101", "gfx1102", "gfx1200", "gfx1201", "gfx1030", "gfx1031", "gfx1151") \ +AMD_ARCHS = ("gfx1100", "gfx1101", "gfx1102", "gfx1200", "gfx1201", "gfx1030", "gfx1031", "gfx1032", "gfx1151") \ + (("gfx1103",) if GFX1103_OPT_IN else ()) + (("gfx1150",) if GFX1150_OPT_IN else ()) # The exact (bit-identical) speed switches the engine turns on by default on gfx1151 (src/core/arch_defaults.cpp), less # STRATA_HCD_EXACT: that one copies the gfx1151 hipBLASLt table's solutions 1176 / 1177, and the gfx1103 table @@ -4027,6 +4029,7 @@ AMD_NAMES = {"gfx1100": "AMD Radeon RX 7900 series (gfx1100)", # when sysfs ha "gfx1201": "AMD Radeon RX 9070 series / AI PRO R9700 (gfx1201)", "gfx1030": "AMD Radeon RX 6800 / 6900 series (gfx1030)", "gfx1031": "AMD Radeon RX 6700 XT series (gfx1031)", + "gfx1032": "AMD Radeon RX 6600 / 6650 XT series (gfx1032)", "gfx1151": "AMD Radeon 8060S / 8050S / 8040S (Ryzen AI Max, Strix Halo, gfx1151)", # integrated Radeons of other Ryzen families: named so they are not taken for Strix Halo (not supported) "gfx1150": "AMD Radeon 890M / 880M (Ryzen AI 300, Strix Point, gfx1150)", @@ -4034,7 +4037,8 @@ AMD_NAMES = {"gfx1100": "AMD Radeon RX 7900 series (gfx1100)", # when sysfs ha "gfx1103": "AMD Radeon 780M / 760M / 740M (Ryzen 7040 / 8040, Phoenix / Hawk Point, gfx1103)"} AMD_CARDS = ("the RX 7900 XT / XTX (gfx1100), RX 7800 XT / 7700 XT (gfx1101), RX 9060 XT (gfx1200) and " "RX 9070 / 9070 XT / Radeon AI PRO R9700 (gfx1201), and the RX 6800 / 6900 series (gfx1030) and RX 6700 XT " - "(gfx1031, #524), and the RX 7600 / 7600 XT (gfx1102, one run reported, #942), all unvalidated, and the Ryzen AI Max \"Strix Halo\" APU (Radeon 8060S / 8050S / 8040S, " + "(gfx1031, #524), and the RX 7600 / 7600 XT (gfx1102, one run reported, #942), and the RX 6600 / 6650 XT " + "(gfx1032, unvalidated - same dp4a path as gfx1030), all unvalidated, and the Ryzen AI Max \"Strix Halo\" APU (Radeon 8060S / 8050S / 8040S, " "gfx1151: experimental, docs/STRIX_HALO.md)") diff --git a/tools/test_setup_amd.py b/tools/test_setup_amd.py index 5f7e34d161..e16f9207f9 100644 --- a/tools/test_setup_amd.py +++ b/tools/test_setup_amd.py @@ -78,6 +78,9 @@ class KfdDetection(unittest.TestCase): # #524: the RX 6700 XT (gfx1031) takes the RDNA2 wheels, as the RX 6800 / 6900 (gfx1030) self.assertEqual(setup.ROCM_INDEXES["gfx1031"], setup.ROCM_INDEXES["gfx1030"]) self.assertIsNone(setup.amd_problem({"arch": "gfx1031"})) + # #1375: the RX 6600 / 6650 XT (gfx1032) takes the same RDNA2 wheels and dp4a path as gfx1030/gfx1031 + self.assertEqual(setup.ROCM_INDEXES["gfx1032"], setup.ROCM_INDEXES["gfx1030"]) + self.assertIsNone(setup.amd_problem({"arch": "gfx1032"})) class Rx6000Detection(KfdDetection):