[PR #2147] [CLOSED] setup: opt-in gfx1150 (Radeon 890M / 880M, Strix Point) as a unified-memory AMD card #3883

Closed
opened 2026-11-07 15:31:25 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Niko1221/Strata/pull/2147
Author: @onionbutties
Created: 10/12/2026
Status: ❌ Closed

Base: main ← Head: gfx1150-setup-optin


📝 Commits (2)

  • d1d476a setup: opt-in gfx1150 (Radeon 890M / 880M, Strix Point) as a unified-memory AMD card
  • 047d531 setup: write the gfx1150 speed switches for the opt-in install

📊 Changes

2 files changed (+83 additions, -6 deletions)

View changed files

📝 setup.py (+64 -6)
📝 tools/test_setup_strix_halo.py (+19 -0)

📄 Description

Issue: #1217 (the gfx1150 build/run report) - setup does not install for gfx1150 yet

Summary

An opt-in, STRATA_EXPERIMENTAL_GFX1150=1, that lets setup install for the Radeon 890M / 880M iGPU (Ryzen AI 300,
Strix Point, gfx1150) as a unified-memory AMD card like Strix Halo. The engine already builds and runs for gfx1150
(0.1.40.2, #1217); only the installer did not know it.

What changed

  • setup.py
    • GFX1150_OPT_IN and gfx1150 in AMD_ARCHS / ROCM_INDEXES (TheRock gfx1150 index), gated so the default path
      is byte-identical when the variable is unset.
    • is_uma_apu(g): the shared unified-memory handling now covers Strix Halo (gfx1151), gfx1150 and the gfx1103
      opt-in (was Strix Halo plus gfx1103 inline). amd_apply_uma, igpu_notes and amd_gpus_win use it.
    • gfx1150_notes: the unified-memory notes for this chip (never the Strix Halo text).
    • The install writes the chip's exact speed switches into the config's env, beside STRATA_HIPBLASLT_TUNING
      (GFX1150_SWITCHES): the gfx1151 arch-default set (src/core/arch_defaults.cpp) less STRATA_HCD_EXACT, which
      copies the gfx1151 table's solutions 1176 / 1177 and does not fit a gfx1150 table. The Radeon 890M report measured
      the same greedy answers with all 17 on and with all 17 off, decode +2% and prompts +3-6%. The set is in
      SETUP_ENV, so a re-run refreshes it and it does not linger when the opt-in is turned off.
  • tools/test_setup_strix_halo.py: Gfx1150Switches keeps GFX1150_SWITCHES equal to the gfx1151 table minus
    STRATA_HCD_EXACT, asserts the engine's own default path for gfx1150 stays empty
    (arch_default_env("gfx1150").empty()), and checks the SETUP_ENV wiring.

Extra Notes

  • No release ships a ready-made Windows engine for gfx1150, so the note tells the user to build one with
    STRATA_HIP_ARCHS=gfx1150 tools\hip\build_windows.bat and start setup with --prebuilt dist\.
  • Default path is byte-identical when the variable is unset; tools/test_setup_strix_halo.py (40),
    tools/test_setup_amd.py (36) and tools/test_setup_choices.py (47) pass.
  • Verified end to end on a Radeon 890M (Ryzen AI 9 HX 370, 96 GB, Windows 11): the engine builds for gfx1150, setup
    accepts the card, and the model runs with all 24,576 experts in the GPU pool at about 11 tokens/s decode.
  • The engine's arch defaults are deliberately left alone (gfx1150 stays out of arch_defaults.cpp); the switches are
    written by setup instead.
  • The gfx1150 hipBLASLt tuning table is #2148.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Niko1221/Strata/pull/2147 **Author:** [@onionbutties](https://github.com/onionbutties) **Created:** 10/12/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `gfx1150-setup-optin` --- ### 📝 Commits (2) - [`d1d476a`](https://github.com/Niko1221/Strata/commit/d1d476ab4b89decb3023719ebc323562944ab4e2) setup: opt-in gfx1150 (Radeon 890M / 880M, Strix Point) as a unified-memory AMD card - [`047d531`](https://github.com/Niko1221/Strata/commit/047d53152156f2ac6129067a12cd7ec1737fd727) setup: write the gfx1150 speed switches for the opt-in install ### 📊 Changes **2 files changed** (+83 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `setup.py` (+64 -6) 📝 `tools/test_setup_strix_halo.py` (+19 -0) </details> ### 📄 Description Issue: #1217 (the gfx1150 build/run report) - setup does not install for gfx1150 yet ## Summary An opt-in, `STRATA_EXPERIMENTAL_GFX1150=1`, that lets setup install for the Radeon 890M / 880M iGPU (Ryzen AI 300, Strix Point, gfx1150) as a unified-memory AMD card like Strix Halo. The engine already builds and runs for gfx1150 (0.1.40.2, #1217); only the installer did not know it. ## What changed - `setup.py` - `GFX1150_OPT_IN` and gfx1150 in `AMD_ARCHS` / `ROCM_INDEXES` (TheRock `gfx1150` index), gated so the default path is byte-identical when the variable is unset. - `is_uma_apu(g)`: the shared unified-memory handling now covers Strix Halo (gfx1151), gfx1150 and the gfx1103 opt-in (was Strix Halo plus gfx1103 inline). `amd_apply_uma`, `igpu_notes` and `amd_gpus_win` use it. - `gfx1150_notes`: the unified-memory notes for this chip (never the Strix Halo text). - The install writes the chip's exact speed switches into the config's `env`, beside `STRATA_HIPBLASLT_TUNING` (`GFX1150_SWITCHES`): the gfx1151 arch-default set (`src/core/arch_defaults.cpp`) less `STRATA_HCD_EXACT`, which copies the gfx1151 table's solutions 1176 / 1177 and does not fit a gfx1150 table. The Radeon 890M report measured the same greedy answers with all 17 on and with all 17 off, decode +2% and prompts +3-6%. The set is in `SETUP_ENV`, so a re-run refreshes it and it does not linger when the opt-in is turned off. - `tools/test_setup_strix_halo.py`: `Gfx1150Switches` keeps `GFX1150_SWITCHES` equal to the gfx1151 table minus `STRATA_HCD_EXACT`, asserts the engine's own default path for gfx1150 stays empty (`arch_default_env("gfx1150").empty()`), and checks the `SETUP_ENV` wiring. ## Extra Notes - No release ships a ready-made Windows engine for gfx1150, so the note tells the user to build one with `STRATA_HIP_ARCHS=gfx1150 tools\hip\build_windows.bat` and start setup with `--prebuilt dist\`. - Default path is byte-identical when the variable is unset; `tools/test_setup_strix_halo.py` (40), `tools/test_setup_amd.py` (36) and `tools/test_setup_choices.py` (47) pass. - Verified end to end on a Radeon 890M (Ryzen AI 9 HX 370, 96 GB, Windows 11): the engine builds for gfx1150, setup accepts the card, and the model runs with all 24,576 experts in the GPU pool at about 11 tokens/s decode. - The engine's arch defaults are deliberately left alone (gfx1150 stays out of `arch_defaults.cpp`); the switches are written by setup instead. - The gfx1150 hipBLASLt tuning table is #2148. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-07 15:31:25 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Niko1221/Strata#3883
No description provided.