[GH-ISSUE #178] Benchmark & build report: AMD RDNA4 (gfx1201 / Radeon AI PRO R9700 32GB) on ROCm 7.14 #93

Closed
opened 2026-11-04 01:39:49 +07:00 by bsakaguchi · 5 comments
Owner

Originally created by @doplxyz on GitHub (Sep 29, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/178

Summary & Findings

Successfully built and verified Strata on AMD RDNA4 (gfx1201) hardware using ROCm 7.14. The engine runs reliably on gfx1201 wave32 once the architecture assertions in CMake, device.cu, and intrinsics.hpp are relaxed to permit the target.

CTest results: 28 / 31 passed (signed sudot4 and wave32 shuffles operate as expected).

Environment

  • OS: Ubuntu 24.04 LTS (Linux 6.8.0, KVM/VFIO guest)
  • ROCm: 7.14.0
  • GPU: AMD Radeon AI PRO R9700 (32GB VRAM, gfx1201)
  • Model: Qwen3.8-Flash-Next-Coder (IQ1_M) + MTP draft runtime (Q2_0)

Benchmark / Verification

Ran serve/server.py with 128k context configuration:

  • VRAM: 31.9 GB loaded on device (expert cache)
  • Host RAM: ~27 GB mapped
  • Prompt evaluation: 62.7 tok/s
  • Generation speed: 44.7 tok/s
  • MTP Speculative Decoding: 12 / 14 draft tokens accepted (85.7% acceptance rate)

Minimal Changes Required

Relaxing the gfx1100 checks to also accept gfx1201:

  1. cmake/hip_backend.cmake: allow gfx1201 in CMAKE_HIP_ARCHITECTURES
  2. include/strata/hip_compat/intrinsics.hpp: enable __builtin_amdgcn_sudot4 path for defined(__gfx1201__)
  3. src/core/device.cu: allow gfx1201 in device_info()
  4. setup.py: add gfx1201 to AMD_ARCHS

Tested chat completions via /v1/chat/completions. Can open a clean PR for the gfx1201 patch if desired.

Originally created by @doplxyz on GitHub (Sep 29, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/178 ### Summary & Findings Successfully built and verified Strata on AMD RDNA4 (`gfx1201`) hardware using ROCm 7.14. The engine runs reliably on `gfx1201` wave32 once the architecture assertions in CMake, `device.cu`, and `intrinsics.hpp` are relaxed to permit the target. CTest results: 28 / 31 passed (signed sudot4 and wave32 shuffles operate as expected). ### Environment - **OS**: Ubuntu 24.04 LTS (Linux 6.8.0, KVM/VFIO guest) - **ROCm**: 7.14.0 - **GPU**: AMD Radeon AI PRO R9700 (32GB VRAM, `gfx1201`) - **Model**: `Qwen3.8-Flash-Next-Coder` (IQ1_M) + MTP draft runtime (Q2_0) ### Benchmark / Verification Ran `serve/server.py` with 128k context configuration: - **VRAM**: 31.9 GB loaded on device (expert cache) - **Host RAM**: ~27 GB mapped - **Prompt evaluation**: 62.7 tok/s - **Generation speed**: 44.7 tok/s - **MTP Speculative Decoding**: 12 / 14 draft tokens accepted (85.7% acceptance rate) ### Minimal Changes Required Relaxing the `gfx1100` checks to also accept `gfx1201`: 1. `cmake/hip_backend.cmake`: allow `gfx1201` in `CMAKE_HIP_ARCHITECTURES` 2. `include/strata/hip_compat/intrinsics.hpp`: enable `__builtin_amdgcn_sudot4` path for `defined(__gfx1201__)` 3. `src/core/device.cu`: allow `gfx1201` in `device_info()` 4. `setup.py`: add `gfx1201` to `AMD_ARCHS` Tested chat completions via `/v1/chat/completions`. Can open a clean PR for the `gfx1201` patch if desired.
Author
Owner

@dvasdekis commented on GitHub (Sep 30, 2026):

Do you think a Windows target is possible with an AMD GPU?

<!-- gh-comment-id:5904487876 --> @dvasdekis commented on GitHub (Sep 30, 2026): Do you think a Windows target is possible with an AMD GPU?
Author
Owner

@l33tm4st3r commented on GitHub (Sep 30, 2026):

Summary & Findings

Successfully built and verified Strata on AMD RDNA4 (gfx1201) hardware using ROCm 7.14. The engine runs reliably on gfx1201 wave32 once the architecture assertions in CMake, device.cu, and intrinsics.hpp are relaxed to permit the target.

CTest results: 28 / 31 passed (signed sudot4 and wave32 shuffles operate as expected).

Environment

* **OS**: Ubuntu 24.04 LTS (Linux 6.8.0, KVM/VFIO guest)

* **ROCm**: 7.14.0

* **GPU**: AMD Radeon AI PRO R9700 (32GB VRAM, `gfx1201`)

* **Model**: `Qwen3.8-Flash-Next-Coder` (IQ1_M) + MTP draft runtime (Q2_0)

Benchmark / Verification

Ran serve/server.py with 128k context configuration:

* **VRAM**: 31.9 GB loaded on device (expert cache)

* **Host RAM**: ~27 GB mapped

* **Prompt evaluation**: 62.7 tok/s

* **Generation speed**: 44.7 tok/s

* **MTP Speculative Decoding**: 12 / 14 draft tokens accepted (85.7% acceptance rate)

Minimal Changes Required

Relaxing the gfx1100 checks to also accept gfx1201:

1. `cmake/hip_backend.cmake`: allow `gfx1201` in `CMAKE_HIP_ARCHITECTURES`

2. `include/strata/hip_compat/intrinsics.hpp`: enable `__builtin_amdgcn_sudot4` path for `defined(__gfx1201__)`

3. `src/core/device.cu`: allow `gfx1201` in `device_info()`

4. `setup.py`: add `gfx1201` to `AMD_ARCHS`

Tested chat completions via /v1/chat/completions. Can open a clean PR for the gfx1201 patch if desired.

Please, do a PR 👍

<!-- gh-comment-id:5905964162 --> @l33tm4st3r commented on GitHub (Sep 30, 2026): > ### Summary & Findings > > Successfully built and verified Strata on AMD RDNA4 (`gfx1201`) hardware using ROCm 7.14. The engine runs reliably on `gfx1201` wave32 once the architecture assertions in CMake, `device.cu`, and `intrinsics.hpp` are relaxed to permit the target. > > CTest results: 28 / 31 passed (signed sudot4 and wave32 shuffles operate as expected). > ### Environment > > * **OS**: Ubuntu 24.04 LTS (Linux 6.8.0, KVM/VFIO guest) > > * **ROCm**: 7.14.0 > > * **GPU**: AMD Radeon AI PRO R9700 (32GB VRAM, `gfx1201`) > > * **Model**: `Qwen3.8-Flash-Next-Coder` (IQ1_M) + MTP draft runtime (Q2_0) > > > ### Benchmark / Verification > > Ran `serve/server.py` with 128k context configuration: > > * **VRAM**: 31.9 GB loaded on device (expert cache) > > * **Host RAM**: ~27 GB mapped > > * **Prompt evaluation**: 62.7 tok/s > > * **Generation speed**: 44.7 tok/s > > * **MTP Speculative Decoding**: 12 / 14 draft tokens accepted (85.7% acceptance rate) > > > ### Minimal Changes Required > > Relaxing the `gfx1100` checks to also accept `gfx1201`: > > 1. `cmake/hip_backend.cmake`: allow `gfx1201` in `CMAKE_HIP_ARCHITECTURES` > > 2. `include/strata/hip_compat/intrinsics.hpp`: enable `__builtin_amdgcn_sudot4` path for `defined(__gfx1201__)` > > 3. `src/core/device.cu`: allow `gfx1201` in `device_info()` > > 4. `setup.py`: add `gfx1201` to `AMD_ARCHS` > > > Tested chat completions via `/v1/chat/completions`. Can open a clean PR for the `gfx1201` patch if desired. Please, do a PR 👍
Author
Owner

@MahirZukic commented on GitHub (Sep 30, 2026):

This might be already done in #192 and not properly in #176 .

<!-- gh-comment-id:5907203506 --> @MahirZukic commented on GitHub (Sep 30, 2026): This might be already done in #192 and not properly in #176 .
Author
Owner

@Niko1221 commented on GitHub (Sep 30, 2026):

Nice results, thank you! Please open a PR on top of #176's gfx12xx work (one RDNA4 PR for gfx1200 and gfx1201), and say which 3 CTests fail and why. Windows AMD is not planned for now.

<!-- gh-comment-id:5908112267 --> @Niko1221 commented on GitHub (Sep 30, 2026): Nice results, thank you! Please open a PR on top of #176's gfx12xx work (one RDNA4 PR for gfx1200 and gfx1201), and say which 3 CTests fail and why. Windows AMD is not planned for now.
Author
Owner

@Niko1221 commented on GitHub (Sep 30, 2026):

RDNA4 (gfx1201) is supported in 0.1.30: your patch plus the startup arch check, setup picking ROCm and the settings per card, and a volatile doorbell store (on gfx1201 a plain store to mapped pinned memory stayed in L2 until a sync). Validated on the machine you lent us: HIP ctest 45/47 (the other two need a model fixture or AVX-512), the live server test on both cards, and the two-card layer split (docs/AMD_HIP.md has the numbers). Thank you very much for the access!

<!-- gh-comment-id:5916679658 --> @Niko1221 commented on GitHub (Sep 30, 2026): RDNA4 (gfx1201) is supported in [0.1.30](https://github.com/Niko1221/Strata/releases/tag/v0.1.30): your patch plus the startup arch check, setup picking ROCm and the settings per card, and a volatile doorbell store (on gfx1201 a plain store to mapped pinned memory stayed in L2 until a sync). Validated on the machine you lent us: HIP ctest 45/47 (the other two need a model fixture or AVX-512), the live server test on both cards, and the two-card layer split (docs/AMD_HIP.md has the numbers). Thank you very much for the access!
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#93
No description provided.