mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[PR #442] [CLOSED] hip: add community gfx1012 support with version-gated legacy compatibility #2642
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#2642
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Niko1221/Strata/pull/442
Author: @CC-David-CC
Created: 10/2/2026
Status: ❌ Closed
Base:
main← Head:contrib/gfx1012-community📝 Commits (7)
e3211a4hip: add experimental gfx1012 support and legacy BLAS compatibility3efbdf2docs: record isolated gfx1012 validation and ROCm7 test gapbe9edbdhip: preserve Q2_0 signed zero on gfx1012 with legacy HIP569bf78hip: retain native wave synchronization on HIP 72d241fedocs: record gfx1012 and modern HIP validation results861da63docs: record 0.1.34 rebase and targeted regression checks8d39730docs: clarify branch selection, activation and public evidence📊 Changes
17 files changed (+3739 additions, -10 deletions)
View changed files
📝
CMakeLists.txt(+11 -3)📝
README.md(+9 -0)📝
cmake/hip_backend.cmake(+12 -1)➕
docs/COMMUNITY_GFX1012_REVIEW.md(+138 -0)➕
docs/FORK_BRANCHES.md(+61 -0)➕
docs/benchmarks/2026-10-01-community-gfx1012.json(+2163 -0)➕
docs/benchmarks/2026-10-01-community-gfx1012.md(+50 -0)➕
docs/benchmarks/2026-10-02-upstream-sync-hardware.json(+971 -0)➕
docs/benchmarks/2026-10-02-upstream-sync-hardware.md(+58 -0)📝
include/strata/hip_compat/cublas_v2.h(+41 -0)📝
include/strata/hip_compat/cuda_runtime.h(+11 -0)📝
include/strata/hip_compat/intrinsics.hpp(+31 -1)➕
include/strata/hip_compat/math_constants.h(+4 -0)📝
src/kernels/cuda/iq_kernels.cu(+11 -0)📝
tests/hip/intrinsics.cpp(+25 -5)➕
tests/hip/prefill_gemm.cpp(+93 -0)➕
tests/hip/q2_zero.cpp(+50 -0)📄 Description
Updated to upstream 0.1.34 (
1678de3). Fresh targeted builds and regressions passed; the full fleet/context performance numbers below remain measurements of the prior 0.1.33 source.Rebase checks
This is the hardware-only split requested in #323, based on upstream
0.1.34 (
1678de3). The tested card is the consumer AMD Radeon RX 5500 XT8GB, gfx1012. It remains in the community/unvalidated architecture list.
Changes
attribution preserved.
HIP 7 retains its native operations and spellings.
retains its existing implementation.
Shared serving and performance alternatives are separate contributions. The P4
tests worked using upstream's existing
STRATA_EXPERIMENTAL_SM60; this branchadds no SM61 flag, Pascal initializer or FP32 GEMM fallback.
Validation
The independent hardware build completed an 8K-input short code request at
15.30 generation tok/s, with 106.17 s prefill and 114.34 s total for 125
output tokens. Short prose was 11.68 tok/s, 118.14 s total for 218 output tokens.
It also completed 8192 input / 2591 output with 131072
total context tokens allocated, at 15.66 generation tok/s,
139.54 s prefill and 304.98 s total. This uses Q8 KV
streaming with 32768 resident cells. It is an allocation test, not a full
128K-input test.
The combined hardware/serving tree completed full 8K, 32K and 64K input in both
MTP modes. These combined measurements are labelled separately. Full 32K/64K
input was not repeated on the hardware-only tree, and full 128K input on the
5500 XT remains untested.
Hardware, scope and reproduction
| Measured results
| Machine-readable evidence
GSQ-RCO IQ3_S, Q8 KV, text only. Other RDNA1 cards, Windows HIP, vision and
multi-GPU behavior are untested. The older-host journal contained a workqueue
CPU-time warning; no GPU reset or memory-fault entry appeared in that window.
Credit: Niko1221/Strata supplies the engine,
expert cache and MTP. The RDNA1 dot implementation is adapted from pinned
llama.cpp/ggml code.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.