[PR #422] [CLOSED] hip: enable experimental Strix Halo gfx1151 source builds #2633

Closed
opened 2026-11-04 02:01:55 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Niko1221/Strata/pull/422
Author: @Donk119
Created: 10/1/2026
Status: ❌ Closed

Base: main ← Head: feat/strix-halo-gfx1151


📝 Commits (1)

  • 3497996 feat(hip): enable experimental gfx1151 source builds

📊 Changes

5 files changed (+160 additions, -4 deletions)

View changed files

📝 cmake/hip_backend.cmake (+1 -1)
📝 docs/AMD_HIP.md (+3 -1)
➕ docs/AMD_STRIX_HALO.md (+106 -0)
📝 include/strata/hip_compat/intrinsics.hpp (+2 -2)
➕ tools/test_hip_arch_gate.py (+48 -0)

📄 Description

Scope

Enable an explicit, experimental -DCMAKE_HIP_ARCHITECTURES=gfx1151 source build for Strix Halo. Keep it in the unvalidated architecture list and include gfx1151 in the builtin-guarded signed dot4 path.

This does not enable integrated GPUs in setup.py, change memory sizing, install a ROCm runtime, or claim general APU support. Other architectures and defaults are unchanged. Adds architecture-gate regression tests and a manual build/test report.

Hardware validation

Tested on a native gfx1151 Strix Halo machine with system ROCm 7.2.3 / Clang 22:

  • Full HIP build succeeded; 13 Python architecture/setup tests passed.
  • HIP intrinsics parity and the 64 MiB device-arena selftest passed.
  • CTest plus IQ-fixture rerun: 51 passed, 3 failed for missing reference artifacts, 2 skipped. Failures: PLE reference pack/block fixtures, and the full Q2_0 expert pack needed by expert_parity/pool_test. Skips: RDNA4-only attention and a GPU-specific hipBLASLt tuning table. Not claiming an all-green suite.
  • A real GSQ-RCO Coder IQ1_M invocation completed with exit 0 and answered Berlin to the Germany-capital prompt. Decode reported 16 tokens in 2047.8 ms (7.81 tok/s); this is one short low-cache smoke, not a quality/performance benchmark. The diagnostic invocation continued past EOS because --stop-eos was not set; that limitation is recorded.

The artifact has 256 experts per layer, so the test used a dimension-matched uncalibrated profile generated by the existing make_profile.py, not the shipped 512-expert profile. Its PLE table is in shard 2. Exact reproduction details are in docs/AMD_STRIX_HALO.md.

Safety / remaining limits

Existing model workloads had to be temporarily paused: concurrent-load attempts triggered host reclaim/compaction and were aborted by an unchanged external swap watchdog. The successful isolated test retained the watchdog and host-memory floor; services were restored and health-checked. Coexistence, automatic installer sizing, server/API, vision and long contexts are not validated.

AI assistance: local Qwen generated the two small production-code fragments; Hermes/Astra reviewed them and prepared tests/documentation. Build and hardware results came from actual runs on the target machine.


🔄 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/422 **Author:** [@Donk119](https://github.com/Donk119) **Created:** 10/1/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `feat/strix-halo-gfx1151` --- ### 📝 Commits (1) - [`3497996`](https://github.com/Niko1221/Strata/commit/349799602afb01b00788d66598f5a1affa38b551) feat(hip): enable experimental gfx1151 source builds ### 📊 Changes **5 files changed** (+160 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `cmake/hip_backend.cmake` (+1 -1) 📝 `docs/AMD_HIP.md` (+3 -1) ➕ `docs/AMD_STRIX_HALO.md` (+106 -0) 📝 `include/strata/hip_compat/intrinsics.hpp` (+2 -2) ➕ `tools/test_hip_arch_gate.py` (+48 -0) </details> ### 📄 Description ## Scope Enable an explicit, experimental `-DCMAKE_HIP_ARCHITECTURES=gfx1151` source build for Strix Halo. Keep it in the unvalidated architecture list and include gfx1151 in the builtin-guarded signed dot4 path. This does **not** enable integrated GPUs in setup.py, change memory sizing, install a ROCm runtime, or claim general APU support. Other architectures and defaults are unchanged. Adds architecture-gate regression tests and a manual build/test report. ## Hardware validation Tested on a native gfx1151 Strix Halo machine with system ROCm 7.2.3 / Clang 22: - Full HIP build succeeded; 13 Python architecture/setup tests passed. - HIP intrinsics parity and the 64 MiB device-arena selftest passed. - CTest plus IQ-fixture rerun: **51 passed, 3 failed for missing reference artifacts, 2 skipped**. Failures: PLE reference pack/block fixtures, and the full Q2_0 expert pack needed by expert_parity/pool_test. Skips: RDNA4-only attention and a GPU-specific hipBLASLt tuning table. Not claiming an all-green suite. - A real GSQ-RCO Coder IQ1_M invocation completed with exit 0 and answered **Berlin** to the Germany-capital prompt. Decode reported 16 tokens in 2047.8 ms (7.81 tok/s); this is one short low-cache smoke, not a quality/performance benchmark. The diagnostic invocation continued past EOS because `--stop-eos` was not set; that limitation is recorded. The artifact has 256 experts per layer, so the test used a dimension-matched uncalibrated profile generated by the existing make_profile.py, not the shipped 512-expert profile. Its PLE table is in shard 2. Exact reproduction details are in docs/AMD_STRIX_HALO.md. ## Safety / remaining limits Existing model workloads had to be temporarily paused: concurrent-load attempts triggered host reclaim/compaction and were aborted by an unchanged external swap watchdog. The successful isolated test retained the watchdog and host-memory floor; services were restored and health-checked. Coexistence, automatic installer sizing, server/API, vision and long contexts are not validated. AI assistance: local Qwen generated the two small production-code fragments; Hermes/Astra reviewed them and prepared tests/documentation. Build and hardware results came from actual runs on the target machine. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-04 02:01:55 +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#2633
No description provided.