mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[PR #247] [CLOSED] HIP: Windows and gfx1201 (RX 9070) #2527
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#2527
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/247
Author: @jagsan-cyber
Created: 9/30/2026
Status: ❌ Closed
Base:
main← Head:win-hip-gfx1201📝 Commits (5)
aea1ec1HIP: run Qwen3.8-Flash-Next on Windows gfx1201c7a15deMerge upstream 0.1.29 into the Windows gfx1201 branch9aafcc4README: lead with the RX 9070 measurementsca04118README: rewrite the fork page around the RX 9070b672e72README: record the int8 KV streaming speed📊 Changes
18 files changed (+538 additions, -303 deletions)
View changed files
📝
CMakeLists.txt(+1 -1)📝
README.md(+61 -194)📝
cmake/hip_backend.cmake(+25 -9)📝
docs/AMD_HIP.md(+22 -14)📝
include/strata/core/native_head.hpp(+1 -0)📝
include/strata/hip_compat/cuda_runtime.h(+8 -0)📝
include/strata/hip_compat/intrinsics.hpp(+4 -4)📝
include/strata/kernels/cpu/expert_layout.hpp(+1 -1)📝
setup.py(+241 -39)📝
src/core/device.cu(+16 -4)📝
src/core/device_main.cpp(+1 -1)📝
src/core/expert_source.cpp(+14 -11)📝
src/core/native_head.cpp(+20 -1)📝
src/kernels/cpu/expert_layout.cpp(+12 -4)📝
src/kernels/cuda/iq_kernels.cu(+36 -2)📝
src/prefill/gemm.cu(+18 -0)📝
src/program/generate.cpp(+45 -8)📝
tools/iq_pack.py(+12 -10)📄 Description
Summary
gfx1100,gfx1200, andgfx1201on Linux or Windows. Windows setup uses an installed ROCm tree that contains the card's bitcode, preferring the ROCm 10rocm-sdkover the HIP SDK whenROCM_PATHis unset./FIfor MSVC and-includeotherwise.output.weightis accepted whengeneral.architectureis only on the first shard.hipErrorInvalidValueset. That sticky error is cleared after a successful GEMM. An F32ple_conv1dis converted to FP16 at startup, because the convolution kernels read FP16.Test
Windows 11, AMD Radeon RX 9070 (
gfx1201, 16 GB), ROCm 10.0.0, Unsloth Qwen3.8-Flash-Next UD-Q3_K_XL. The engine probes the GPU and serves the model. Greedy short prompts return coherent answers (2,7,東京). A 4445-token prompt prefilled at about 238 tok/s and then decoded at about 23 tok/s with MTP. Context 131072 fits; the expert cache is then 2357 slots / 4.97 GiB. These rates are for this machine, not the published RTX 5070 or RX 7900 XTX numbers.A prebuilt
strata.exefor this commit is on the fork release below. It still needs the ROCm 10 runtime onPATH. It is not part of this diff.https://github.com/jagsan-cyber/Strata/releases/tag/win-gfx1201-2026-09-30
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.