[PR #3829] [CLOSED] RDNA4 (gfx1201): multi-stream batch optimization stack for Qwen3.8-Flash-Next on 2x R9700 #4797

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

📋 Pull Request Information

Original PR: https://github.com/Niko1221/Strata/pull/3829
Author: @ryan4yin
Created: 10/23/2026
Status: ❌ Closed

Base: main ← Head: develop


📝 Commits (10+)

  • 648a34e perf(prefill): use single LDS-only barrier per stage in native_w11_kernel
  • 7838bcd perf(prefill): port wmma_gemm and gdn_chunked WMMA kernels to RDNA4 gfx12
  • 7fe32ae perf(hip): tune RDNA4 QSA prompt WMMA kernel in qsa_prompt_attn.cu
  • 89e269f perf(hip): enable fused_gr tsum on gfx12, fix q8_inject guard, use LDS-only barriers
  • bc45d50 perf(hip): optimize GDN verify kernels and enable batched commit under STRATA_GDN_SPLIT=1
  • 8871831 perf(hip): enable exact wave32 QSA decode kernels and B6 MMVQ fragment reuse on gfx12
  • 3ed5c14 perf(hip): optimize exact QSA block scoring and top-k selection on gfx12
  • b8e61bf perf(hip): optimize EXPDEC routed-expert kernels and enable by default on gfx12
  • 3b597c1 perf(hip): optimize MTP draft, shared expert, verify and sampler head kernels on RDNA4
  • ea7d37c perf(hip): vectorize HC_Q8 prefill dequant and enable gfx12 Q8_0 gr_upmix

📊 Changes

88 files changed (+12633 additions, -1261 deletions)

View changed files

📝 CMakeLists.txt (+85 -42)
📝 apps/host/server/run-config-check.mjs (+1 -1)
📝 cmake/hip_backend.cmake (+3 -3)
📝 docs/EXPERTDEC.md (+10 -6)
📝 include/strata/core/mtp.hpp (+57 -1)
📝 include/strata/core/native_dense.hpp (+3 -0)
📝 include/strata/core/pinned.hpp (+8 -0)
➕ include/strata/core/tail_prof.hpp (+98 -0)
📝 include/strata/core/verify.hpp (+52 -2)
📝 include/strata/hip_compat/cuda_runtime.h (+2 -0)
📝 include/strata/hip_compat/intrinsics.hpp (+47 -0)
📝 include/strata/kernels/bf16_gemv.hpp (+15 -0)
📝 include/strata/kernels/fused_gr.hpp (+4 -0)
📝 include/strata/kernels/iq_kernels.hpp (+18 -5)
📝 include/strata/kernels/kv_q8.hpp (+15 -0)
📝 include/strata/kernels/kv_stream.hpp (+23 -0)
📝 include/strata/kernels/native_mmvq.hpp (+41 -4)
📝 include/strata/kernels/native_moe.hpp (+12 -0)
📝 include/strata/kernels/native_qsa_indexer.hpp (+20 -0)
📝 include/strata/kernels/native_rope.hpp (+17 -0)

...and 68 more files

📄 Description

Withdrawing this: it was opened prematurely and mixes concerns.


🔄 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/3829 **Author:** [@ryan4yin](https://github.com/ryan4yin) **Created:** 10/23/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `develop` --- ### 📝 Commits (10+) - [`648a34e`](https://github.com/Niko1221/Strata/commit/648a34e7475fc1120e4dfd42800d3ece278c759c) perf(prefill): use single LDS-only barrier per stage in native_w11_kernel - [`7838bcd`](https://github.com/Niko1221/Strata/commit/7838bcdc26e2e134d9e26d725cc9a91e7868a99d) perf(prefill): port wmma_gemm and gdn_chunked WMMA kernels to RDNA4 gfx12 - [`7fe32ae`](https://github.com/Niko1221/Strata/commit/7fe32ae348905e28e3d14d4dedd20d68fe5d926f) perf(hip): tune RDNA4 QSA prompt WMMA kernel in qsa_prompt_attn.cu - [`89e269f`](https://github.com/Niko1221/Strata/commit/89e269fe73e4f316c4fa2b11f744e937b0492390) perf(hip): enable fused_gr tsum on gfx12, fix q8_inject guard, use LDS-only barriers - [`bc45d50`](https://github.com/Niko1221/Strata/commit/bc45d505636fae728fd365ea060dad4088ad0338) perf(hip): optimize GDN verify kernels and enable batched commit under STRATA_GDN_SPLIT=1 - [`8871831`](https://github.com/Niko1221/Strata/commit/887183154d40b5214caaa944fa13fc725d90d318) perf(hip): enable exact wave32 QSA decode kernels and B6 MMVQ fragment reuse on gfx12 - [`3ed5c14`](https://github.com/Niko1221/Strata/commit/3ed5c142e102c856cca816ad47cafee9e8b7bc59) perf(hip): optimize exact QSA block scoring and top-k selection on gfx12 - [`b8e61bf`](https://github.com/Niko1221/Strata/commit/b8e61bf132eec45ba0042a8fc00672edd0d12ac0) perf(hip): optimize EXPDEC routed-expert kernels and enable by default on gfx12 - [`3b597c1`](https://github.com/Niko1221/Strata/commit/3b597c19c92fdb3a563dbde88b04194c685885e5) perf(hip): optimize MTP draft, shared expert, verify and sampler head kernels on RDNA4 - [`ea7d37c`](https://github.com/Niko1221/Strata/commit/ea7d37c7ec4c153b1f82883326ff556058110b05) perf(hip): vectorize HC_Q8 prefill dequant and enable gfx12 Q8_0 gr_upmix ### 📊 Changes **88 files changed** (+12633 additions, -1261 deletions) <details> <summary>View changed files</summary> 📝 `CMakeLists.txt` (+85 -42) 📝 `apps/host/server/run-config-check.mjs` (+1 -1) 📝 `cmake/hip_backend.cmake` (+3 -3) 📝 `docs/EXPERTDEC.md` (+10 -6) 📝 `include/strata/core/mtp.hpp` (+57 -1) 📝 `include/strata/core/native_dense.hpp` (+3 -0) 📝 `include/strata/core/pinned.hpp` (+8 -0) ➕ `include/strata/core/tail_prof.hpp` (+98 -0) 📝 `include/strata/core/verify.hpp` (+52 -2) 📝 `include/strata/hip_compat/cuda_runtime.h` (+2 -0) 📝 `include/strata/hip_compat/intrinsics.hpp` (+47 -0) 📝 `include/strata/kernels/bf16_gemv.hpp` (+15 -0) 📝 `include/strata/kernels/fused_gr.hpp` (+4 -0) 📝 `include/strata/kernels/iq_kernels.hpp` (+18 -5) 📝 `include/strata/kernels/kv_q8.hpp` (+15 -0) 📝 `include/strata/kernels/kv_stream.hpp` (+23 -0) 📝 `include/strata/kernels/native_mmvq.hpp` (+41 -4) 📝 `include/strata/kernels/native_moe.hpp` (+12 -0) 📝 `include/strata/kernels/native_qsa_indexer.hpp` (+20 -0) 📝 `include/strata/kernels/native_rope.hpp` (+17 -0) _...and 68 more files_ </details> ### 📄 Description Withdrawing this: it was opened prematurely and mixes concerns. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-07 15:39:07 +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#4797
No description provided.