[PR #1320] [CLOSED] test: qualify existing exact HIP paths on gfx906 #3381

Closed
opened 2026-11-07 14:41:05 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Niko1221/Strata/pull/1320
Author: @0FL01
Created: 10/7/2026
Status: ❌ Closed

Base: main ← Head: test/gfx906-exact-paths


📝 Commits (1)

  • 8f44bf2 test: cover exact multi-row and fused HIP paths on gfx906

📊 Changes

3 files changed (+106 additions, -2 deletions)

View changed files

📝 CMakeLists.txt (+15 -0)
➕ src/kernels/mmvf_rows_parity.cpp (+76 -0)
📝 src/kernels/native_grouped_parity.cpp (+15 -2)

📄 Description

Summary

Adds regression coverage for existing fast paths. Runtime kernels and defaults are unchanged.

  • Compare active Q8_1 bytes as well as expert outputs in native_grouped_parity; keep its existing benchmark and output-coverage guard.
  • Add the real Q2_0 2560x640 shape and a fused gfx906 CTest.
  • Add multi-row BF16 GEMV checks against independent single-row calls: 1–8 tokens, nine shapes, padded strides, three finite magnitude ranges, graph capture and auxiliary rows.
  • Enable the existing GDN recurrence test for the separate gfx906 backend.

Validation

Fresh validation checkout based on main 82f46a8, test commit 8f44bf2. Four targeted CTests passed on each of two gfx906 16 GiB cards (8/8). Production stayed online.

Build prerequisite: the validation checkout carried the existing gfx906 compatibility fixes in strata_hip.h, vmm.cpp and fused_gr.cu; those are excluded here (related: #1083). No #1187 kernel changes were used in this test build. Full CTest suite and NVIDIA hardware were not tested.

The GDN contract checks consumed FP16 outputs and recurrent state; its discarded FP32 scratch can differ.

Context

This does not duplicate #1187 or enable a global performance preset. The existing MMVF_ROWS switch measured +4.07% TG at 4K and +3.13% at 64K on our Hybrid setup, with identical output IDs. Those performance measurements used the #1187 build, not pristine main; full evidence and limitations.

Developed with an AI coding assistant; tests and measurements ran on the actual hardware.


🔄 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/1320 **Author:** [@0FL01](https://github.com/0FL01) **Created:** 10/7/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `test/gfx906-exact-paths` --- ### 📝 Commits (1) - [`8f44bf2`](https://github.com/Niko1221/Strata/commit/8f44bf2be5eb45a0ebf7b9860a48e013aa43fec8) test: cover exact multi-row and fused HIP paths on gfx906 ### 📊 Changes **3 files changed** (+106 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `CMakeLists.txt` (+15 -0) ➕ `src/kernels/mmvf_rows_parity.cpp` (+76 -0) 📝 `src/kernels/native_grouped_parity.cpp` (+15 -2) </details> ### 📄 Description ## Summary Adds regression coverage for existing fast paths. Runtime kernels and defaults are unchanged. - Compare active Q8_1 bytes as well as expert outputs in native_grouped_parity; keep its existing benchmark and output-coverage guard. - Add the real Q2_0 2560x640 shape and a fused gfx906 CTest. - Add multi-row BF16 GEMV checks against independent single-row calls: 1–8 tokens, nine shapes, padded strides, three finite magnitude ranges, graph capture and auxiliary rows. - Enable the existing GDN recurrence test for the separate gfx906 backend. ## Validation Fresh validation checkout based on main 82f46a8, test commit 8f44bf2. Four targeted CTests passed on each of two gfx906 16 GiB cards (8/8). Production stayed online. Build prerequisite: the validation checkout carried the existing gfx906 compatibility fixes in strata_hip.h, vmm.cpp and fused_gr.cu; those are excluded here (related: #1083). No #1187 kernel changes were used in this test build. Full CTest suite and NVIDIA hardware were not tested. The GDN contract checks consumed FP16 outputs and recurrent state; its discarded FP32 scratch can differ. ## Context This does not duplicate #1187 or enable a global performance preset. The existing MMVF_ROWS switch measured +4.07% TG at 4K and +3.13% at 64K on our Hybrid setup, with identical output IDs. Those performance measurements used the #1187 build, not pristine main; [full evidence and limitations](https://github.com/0FL01/Strata/tree/82f4473fb56fd8cf7355814c9512e21d67f4e0d2/bench/results/2026-10-07-gfx906-campaign). Developed with an AI coding assistant; tests and measurements ran on the actual hardware. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-07 14:41:05 +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#3381
No description provided.