Repository navigation
Conversation
🏷️ CI GuideRuns automatically on every PR:
Extended tests (opt-in via labels):
PR title tags & labels: |
There was a problem hiding this comment.
Copilot review overview
🟡 Changes recommended
Critical LDS synchronization, scale-buffer bounds, and error-handling issues remain, along with moderate dispatch and tuning compatibility issues.
Get a fresh assessment by requesting another Copilot review.
Review effort: Lite
Findings: 3
Open (5)
What changed in this PR
Extends gfx950 OPUS MXFP8 BMM support from 128-element to 32-element quantization blocks.
Changes:
- Adds GROUP32 kernels, dispatch metadata, validation, and scale addressing.
- Updates LDS pipeline/ring handling and split-K support.
- Makes tuning and CSV schemas group-size aware.
- Adds MX32 correctness coverage.
| File | Summary and final findings |
|---|---|
op_tests/test_opus_a8w8_bmm.py |
Adds MX32 tests. Nit: vary independent 32-wide blocks in _block_varied; add an MX32 N=1024 padding/ring-bound test. |
csrc/opus_gemm/opus_gemm_common.py |
Registers MX32 kernel variants. |
csrc/opus_gemm/opus_bmm.cu |
Adds group-aware dispatch. Critical: enable throwing before unknown-kid lookup to avoid process aborts. |
csrc/opus_gemm/opus_bmm_mxscale_tune.py |
Adds group-aware tuning. Moderate: include groupSize in untuned rows so existing tuned shapes are skipped correctly. |
csrc/opus_gemm/include/gfx950/opus_gemm_traits_a8w8_scale_gfx950.cuh |
Adds MX32 scale traits. Moderate: reserve ring capacity only for preload specializations. |
csrc/opus_gemm/include/gfx950/opus_gemm_pipeline_a8w8_scale_gfx950.cuh |
Updates scale loading and sliding panels. |
csrc/opus_gemm/include/gfx950/opus_gemm_pipeline_a8w8_mxscale_flatmm_splitk_gfx950.cuh |
Implements MX32 split-K scale handling. Critical: compute descriptor bounds from the shifted remaining buffer for both scale buffers. |
csrc/opus_gemm/include/gfx950/opus_bmm_pipeline_a8w8_mxscale_gfx950.cuh |
Adds MX32 BMM pipeline logic. Critical: drain LDS reads before sliding-panel overwrite. Nit: correct the documented sliding-window limit and refill behavior. |
csrc/opus_gemm/include/gfx950/opus_bmm_launchers_a8w8_mxscale_gfx950.cuh |
Adds group-aware shape checks. |
csrc/opus_gemm/gen_instances.py |
Generates group-specific kernel metadata. |
aiter/ops/opus/policy.py |
Adds group-size tuning lookup. Moderate: thread group_size through automatic plan resolution; preserve or intentionally reject legacy CSVs missing groupSize. |
aiter/ops/opus/gemm_op_a8w8.py |
Adds per-kid Python validation. |
aiter/configs/model_configs/dsv4_batched_gemm_a8w8_blockscale_mxscale_tuned.csv |
Updates tuned configuration schema. |
aiter/configs/model_configs/dsv4_batched_gemm_a8w8_blockscale_mxscale_bpreshuffle_tuned.csv |
Updates bpreshuffle configuration schema. |
💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
| // and the price of the slide. Once per SFA_TILES_RESIDENT tiles, so at | ||
| // K=4096 and GROUP_K=32 that is twice in a 32-tile loop. | ||
| auto sfa_slide = [&](int first) { | ||
| __builtin_amdgcn_s_barrier(); |
| const unsigned int sfb_groups_avail = | ||
| (unsigned int)(ceil_div(kargs.n, T::GROUP_N) - col / T::GROUP_N); | ||
| const unsigned int sfb_bytes = | ||
| sfb_groups_avail * (unsigned int)kargs.stride_sfb * sizeof(D_SF); |
| // The kid's scale blocks, so the check knows which shape to demand. Looked up | ||
| // before the arch gate because a wrong-shaped scale is worth reporting on any | ||
| // device, and the table is compile-time data rather than a kernel. | ||
| const auto groups = opus_bmm_mxscale_kid_groups(kid); |
| n: int, | ||
| k: int, | ||
| *, | ||
| group_size: int = 128, |
| } | ||
|
|
||
| KEYS: ClassVar[list[str]] = ["gfx", "b", "m", "n", "k"] | ||
| KEYS: ClassVar[list[str]] = ["gfx", "b", "m", "n", "k", "groupSize"] |
c1c68ef to
ef052a2
Compare
There was a problem hiding this comment.
Copilot review overview
🟡 Changes recommended
Critical synchronization and configuration/dispatch issues remain unresolved.
Get a fresh assessment by requesting another Copilot review.
Review effort: Lite
Findings: 5
Open (8)
Include groupSize in tuned-table index and lookup · New Prevent exited producer waves from reaching the barrier · New Enable exceptions before unknown kid lookup Adjust scale buffer bounds for shifted split-K bases Wait for LDS reads before overwriting the sliding panel Support legacy tuned tables without groupSize · New Include groupSize when comparing previously tuned shapes Thread scale group size through MXScale plan resolution
| // 2/CU and hangs every time, b=2 m=1024 is 512 and never did. That is | ||
| // also why it looked intermittent from the perf sweep, and why it hung | ||
| // there on 09c52c8a16 as well: the protocol is unchanged from upstream. | ||
| __builtin_amdgcn_s_barrier(); |
There was a problem hiding this comment.
Copilot review overview
🟡 Changes recommended
Unresolved critical scale-loading corruption and moderate routing, compatibility, and tuning issues remain.
Get a fresh assessment by requesting another Copilot review.
Review effort: Lite
Findings: 6
Open (11)
Add lane offset to A scale LDS destinations · New Prevent exited producer waves from reaching the barrier Include groupSize in tuned-table index and lookup Enable exceptions before unknown kid lookup Adjust scale buffer bounds for shifted split-K bases Wait for LDS reads before overwriting the sliding panel Support legacy tuned files without groupSize · New Support legacy tuned tables without groupSize Include groupSize when comparing previously tuned shapes Thread scale group size through MXScale plan resolution Reserve ring slots only for preload kernels · New
| opus::static_for<T::SF_RING_A_BYTES / CHUNK>([&](auto c_c) { | ||
| constexpr int c = decltype(c_c)::value * CHUNK; | ||
| const int idx = c + wave_base + lane_off; | ||
| async_load<VEC>(g_sfa, slot + c + wave_base, |
| static constexpr int prefetch_k_iter = | ||
| max_lds_size_per_wg / (per_block_iter_lds_size + (SF_USE_RING ? SF_RING_SLOT : 0)); |
|
@aiter-bot review |
…imeouts) Large-diff reviews (e.g. #5778, +1544/-339, 14 files) timed out: the GLM worker was killed at the 1000s agent timeout on every attempt, so no card was produced. Two fixes: 1. 1000s (16.7min) is too short for a large diff (GLM generation has high thinking-chain variance). Raise AITER_AGENT_TIMEOUT to 2400s (40min). 2. run_agent retried on ANY failure including a timeout, but retrying a slow generation just burns another full window. Now a timeout (exit 124) is not retried; only a transient failure (dropped connection / 5xx) is, up to AITER_REVIEW_RETRIES attempts. Envelope stays bounded: the timeout path is one 40min attempt per agent (worker + refuter = 80min worst), under the job cap, raised 90 -> 120min for headroom. 40min is a reasoned starting point; override per-run via the env vars. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Triage: if GLM serves but its output is malformed it may be the ATOM framework (@valarLip); if the box, GPU, disk or network is unhealthy it may be the machine (@gyohuangxin). Re-comment |
…imeouts) (#5785) Large-diff reviews (e.g. #5778, +1544/-339, 14 files) timed out: the GLM worker was killed at the 1000s agent timeout on every attempt, so no card was produced. Two fixes: 1. 1000s (16.7min) is too short for a large diff (GLM generation has high thinking-chain variance). Raise AITER_AGENT_TIMEOUT to 2400s (40min). 2. run_agent retried on ANY failure including a timeout, but retrying a slow generation just burns another full window. Now a timeout (exit 124) is not retried; only a transient failure (dropped connection / 5xx) is, up to AITER_REVIEW_RETRIES attempts. Envelope stays bounded: the timeout path is one 40min attempt per agent (worker + refuter = 80min worst), under the job cap, raised 90 -> 120min for headroom. 40min is a reasoned starting point; override per-run via the env vars. Co-authored-by: zufayu <[email protected]> Co-authored-by: Claude Opus 4.8 (1M context) <[email protected]>
|
@aiter-bot review |
[ROCm/aiter] PR #5778 — [OPUS] Exp/mx32 plainAdds 32-element-block ("MX32") twins of the gfx950 OPUS MXFP8 batched-GEMM kernels — per-lane scale addressing, byte-budgeted LDS scale panels/rings, kid-specific scale-shape checks, and a groupSize column in the tuned CSV — next to the unchanged 128-block paths. Review (advisory): 🔴 [verified] aiter/ops/opus/policy.py:616-619 makes the groupSize column mandatory and re-keys every tuned row on six columns (policy.py:681-686), which deterministically breaks two existing collected tests — op_tests/test_opus_a8w8_interface.py:253-254 writes a legacy fixture CSV with no groupSize and now gets ValueError instead of a warning-and-heuristic, and that file runs in the Aiter Test workflow on every PR — and op_tests/tuning_tests/test_config_shape_collision.py:241,246 asserts the old 5-tuple key and now gets KeyError; worse, any user-tuned CSV pointed at by AITER_CONFIG_BATCHED_GEMM_A8W8_BLOCKSCALE_MXSCALE raises on every mxscale BMM call after upgrade, where the repo's own precedent (get_CKBatchedGEMM_config's legacy gfx-column fallback) warns and adapts. Author must accept a groupSize-less CSV as groupSize=128 (or migrate both tests and ship a migration note for tuned-CSV users), and add the ci:all label so this serving-path change is exercised downstream before merge. |
There was a problem hiding this comment.
Copilot review overview
🟡 Changes recommended
Unresolved critical kernel correctness and LDS issues, plus policy and tuning compatibility problems, block approval.
Get a fresh assessment by requesting another Copilot review.
Review effort: Lite
Findings: 9
Open (15)
Existing tests use obsolete five-field configuration keys · New LDS refill applies the lane offset twice · New Ring slot allocation exceeds accounted LDS depth · New Add lane offset to A scale LDS destinations Prevent exited producer waves from reaching the barrier Include groupSize in tuned-table index and lookup Enable exceptions before unknown kid lookup Adjust scale buffer bounds for shifted split-K bases Wait for LDS reads before overwriting the sliding panel Tune-shape validation ignores the selected group size · New Support legacy tuned files without groupSize Support legacy tuned tables without groupSize Include groupSize when comparing previously tuned shapes Thread scale group size through MXScale plan resolution Reserve ring slots only for preload kernels
| shape_keys = ["gfx", "b", "m", "n", "k", "groupSize"] | ||
| duplicate_shapes = df.duplicated(subset=shape_keys, keep=False) |
| g_sfa.template async_load<VEC>(s_sfa_ptr + idx, | ||
| m * kargs.stride_sfa + col0 + kt); |
| // Scale reads trail the A/B register prefetch by one barrier. Keep | ||
| // one extra scale slot so a producer cannot overwrite scales still | ||
| // needed by a consumer after releasing the corresponding A/B slot. | ||
| constexpr int SF_RING_SLOTS = T::prefetch_k_iter + 1; | ||
| constexpr int SF_LDS_ELEMS = | ||
| PRELOAD_SF_LDS ? ((SFA_ROWS + T::N_SCALE_GROUPS) * SF_SCALES_MAX) : 1; | ||
| SF_PANEL ? ((SFA_ROWS + T::N_SCALE_GROUPS) * SF_SCALES_MAX) | ||
| : (SF_RING ? SF_RING_SLOTS * T::SF_RING_SLOT : 1); |
| self.parser.add_argument( | ||
| "--groupSize", | ||
| type=_intlist, | ||
| default=None, | ||
| help="only tune kids with these quantisation block sizes " | ||
| "(e.g. 32); default is every group in the policy", |
There was a problem hiding this comment.
🟡 Changes recommended
A critical flatmm split-K compilation issue and additional scale-window and test-standard issues remain unresolved.
19 open issues
Add flatmm-specific split-K scale-factor loader traits · New Partial GROUP_M panels cause invalid remapping Workspace fast path bypasses direct-only validation Use wave-uniform destination for buffer_load_lds Avoid rejecting registered gfx950 32x32 preshuffled kernels Ring slot allocation exceeds accounted LDS depth LDS refill applies the lane offset twice Existing tests use obsolete five-field configuration keys Add lane offset to A scale LDS destinations Prevent exited producer waves from reaching the barrier Enable exceptions before unknown kid lookup Adjust scale buffer bounds for shifted split-K bases Wait for LDS reads before overwriting the sliding panel Tune-shape validation ignores the selected group size Include groupSize when comparing previously tuned shapes Thread scale group size through MXScale plan resolution Document required divisible scale dimensions Docstring advertises unsupported ceil-shaped scales Reserve ring slots only for preload kernels
1 resolved since last review
Review effort: Lite
| constexpr int NG = T::SFB_GROUPS_PER_HALF; | ||
| constexpr int SPK = T::SF_LANE_SCALES_PER_BK; | ||
| constexpr int NG_ROWS = T::SFB_PER_LANE_ROW ? T::T_N * T::W_N : 1; |
There was a problem hiding this comment.
🟡 Changes recommended
Critical raw and public split-one launch paths can bypass paired-K validation, and the workspace fast path changes expected validation behavior.
22 open issues
Enforce paired odd-K rejection in the split-one fast path · New Validate paired K tiles before launching split-one kernels · New Enforce even K-tile counts in raw paired-kernel launches · New Add flatmm-specific split-K scale-factor loader traits Partial GROUP_M panels cause invalid remapping Workspace fast path bypasses direct-only validation Use wave-uniform destination for buffer_load_lds Avoid rejecting registered gfx950 32x32 preshuffled kernels Ring slot allocation exceeds accounted LDS depth LDS refill applies the lane offset twice Existing tests use obsolete five-field configuration keys Add lane offset to A scale LDS destinations Prevent exited producer waves from reaching the barrier Enable exceptions before unknown kid lookup Adjust scale buffer bounds for shifted split-K bases Wait for LDS reads before overwriting the sliding panel Tune-shape validation ignores the selected group size Include groupSize when comparing previously tuned shapes Thread scale group size through MXScale plan resolution Document required divisible scale dimensions
And 2 more that still need to be addressed.
Review effort: Lite
| if instance is not None and ( | ||
| split_k <= 1 or (workspace is not None and not instance.direct_only) | ||
| ): |
9c6cead to
674eaad
Compare
There was a problem hiding this comment.
🔵 Needs a closer look
The changes require final human review because they are too complex or risky for automated approval.
20 open issues
Validate paired K tiles before launching split-one kernels Add flatmm-specific split-K scale-factor loader traits Partial GROUP_M panels cause invalid remapping Workspace fast path bypasses direct-only validation Use wave-uniform destination for buffer_load_lds Avoid rejecting registered gfx950 32x32 preshuffled kernels Ring slot allocation exceeds accounted LDS depth LDS refill applies the lane offset twice Existing tests use obsolete five-field configuration keys Add lane offset to A scale LDS destinations Prevent exited producer waves from reaching the barrier Enable exceptions before unknown kid lookup Adjust scale buffer bounds for shifted split-K bases Wait for LDS reads before overwriting the sliding panel Tune-shape validation ignores the selected group size Include groupSize when comparing previously tuned shapes Thread scale group size through MXScale plan resolution Document required divisible scale dimensions Docstring advertises unsupported ceil-shaped scales Reserve ring slots only for preload kernels
2 resolved since last review
Review effort: Lite
Co-authored-by: Cursor <[email protected]>
There was a problem hiding this comment.
🟡 Changes recommended
Unresolved critical correctness issues affect unsupported scale handling, compact-kernel scale addressing, and public kernel ID assignments; 1x32 public-entry coverage is also incomplete.
23 open issues
Reject unsupported 1x128 scale blocks before heuristic selection · New Fix scale descriptor bounds and offsets to use byte units · New Correct row-major compact kid IDs or update documented contract · New Validate paired K tiles before launching split-one kernels Add flatmm-specific split-K scale-factor loader traits Partial GROUP_M panels cause invalid remapping Workspace fast path bypasses direct-only validation Use wave-uniform destination for buffer_load_lds Avoid rejecting registered gfx950 32x32 preshuffled kernels Ring slot allocation exceeds accounted LDS depth LDS refill applies the lane offset twice Existing tests use obsolete five-field configuration keys Add lane offset to A scale LDS destinations Prevent exited producer waves from reaching the barrier Enable exceptions before unknown kid lookup Adjust scale buffer bounds for shifted split-K bases Wait for LDS reads before overwriting the sliding panel Tune-shape validation ignores the selected group size Include groupSize when comparing previously tuned shapes Thread scale group size through MXScale plan resolution
And 3 more that still need to be addressed.
Review effort: Lite
| if w_scale_block == "1x32": | ||
| return _heuristic_mxscale_bmm_1x32_kid(g, m, n, k) | ||
| offset = 1000 if group_size == 32 else 0 |
| auto ga32 = make_gmem((const unsigned int*)k.ptr_sfa + batch * (k.ssb / 4), | ||
| (unsigned int)((k.m - 1) * k.ssm + scale_k)); | ||
| auto gb32 = make_gmem((const unsigned int*)k.ptr_sfb + (size_t)batch * (N / 128) * scale_words, | ||
| (unsigned int)((N / 128) * scale_k)); |
| # Row-major B twins of the compact tiles: same schedule, B staged through LDS | ||
| # like A. Local ids 461-469 mirror 470-476, 483, 484. | ||
| _BMM_COMPACT_ROW_B_TWINS = { | ||
| 461: 470, 462: 471, 463: 472, 464: 473, 465: 474, | ||
| 466: 475, 467: 476, 468: 483, 469: 484, | ||
| } |
|
No activity for 15 days, so this is now labelled |
Resolve the quant config, policy, registry, codegen and launcher conflicts while retaining main's gfx/CU-scoped local IDs and exception guard. Assign separate local IDs to the PR's row-major compact, 1x32 and long-K kernels and translate the 1044 DSV4 tuning rows by their existing kernel symbols. Preserve the PR's dispatch policy, scale-ring fixes and shape validation. Update CPU fixtures to the scoped catalog and shared scale validation. Select compact test kernels by tag so ID migration cannot leave an empty coverage range. No hipBLASLt tuning results are added. Validation on gfx950: 104 interface/config tests and 2 subtests; 24 registry/policy tests and 120 subtests; BMM numerical regressions including 89 group32 kernels, 33 row-major 1x32 kernels, long-K and split-K paths; 36 compact layout pairs; 23 bpreshuffle tests. Codegen, Black and Ruff pass.
WAITING ON AUTHORPR Self-ReviewRevision Waiting for the PR author. The readiness report will appear after the self-review answers are complete for this revision. Questions to answer in the PR description
Edit the Missing or invalid answers
Shadow mode reports what would block but keeps the status successful. Set |
There was a problem hiding this comment.
🟡 Changes recommended
Approval is blocked by multiple verified critical issues, including failing untuned-plan expectations, potentially misaligned scale refills, incorrect byte-versus-dword offsets, and an overly permissive shared correctness threshold.
26 open issues
Untuned MXScale heuristics select plans that fail expected-plan tests · New Gate 4-byte async refills on scale-address alignment · New Shared MX correctness threshold is loosened from 0.003 to 0.3 · New Correct row-major compact kid IDs or update documented contract Fix scale descriptor bounds and offsets to use byte units Reject unsupported 1x128 scale blocks before heuristic selection Validate paired K tiles before launching split-one kernels Add flatmm-specific split-K scale-factor loader traits Partial GROUP_M panels cause invalid remapping Workspace fast path bypasses direct-only validation Use wave-uniform destination for buffer_load_lds Avoid rejecting registered gfx950 32x32 preshuffled kernels Ring slot allocation exceeds accounted LDS depth LDS refill applies the lane offset twice Existing tests use obsolete five-field configuration keys Add lane offset to A scale LDS destinations Prevent exited producer waves from reaching the barrier Enable exceptions before unknown kid lookup Adjust scale buffer bounds for shifted split-K bases Wait for LDS reads before overwriting the sliding panel
And 6 more that still need to be addressed.
Review effort: Lite
| if m < 64: | ||
| if m <= 16 or (m <= 48 and e < 1 << 16): | ||
| kid = 70 | ||
| elif m <= 32: | ||
| kid = 72 |
There was a problem hiding this comment.
Rechecked against fe92500. These examples match the current tests:
(2,1,1024,4096)selects(kid, splitK) = (70,1)for 128x128 and(1070,1)for 32x32. The140/1140expectation intest_mxscale_untuned_group_fallbackis for(2,1,64,256), not this shape.(4,64,512,16384)enters thek >= 8192branch and selects(144,8)/(1144,8), matchingtest_mxscale_untuned_split_k_fills_cus.
The 36 parameter combinations in these two tests match. A fresh run of python -m pytest -q op_tests/test_opus_a8w8_interface.py op_tests/tuning_tests/test_config_shape_collision.py completed with 104 passed, 2 subtests passed. No heuristic change was needed for this comment.
| else sfa_async_fill(col0, number<4>{}); | ||
| } else { | ||
| sfa_async_fill(col0, number<4>{}); |
There was a problem hiding this comment.
Tested the alignment premise on MI355X (gfx950, HIP 7.2 / AMD clang 22), using this PR's opus::gmem::async_load and the same full-panel address calculation (256 rows x 96 bytes, 512 threads).
The 4-byte path copied the expected bytes exactly with source row strides 513, 514 and 515, with a column offset of 93, and with a base-pointer offset of 1 byte. Aligned controls and three 16-byte cases also passed: 9 cases, 0 mismatched bytes out of 24,576 in every case. Disassembly confirms buffer_load_dword ... lds for the 4-byte path.
Thus the tested instruction does not produce incorrect data solely because the input address is not 4-byte aligned. No alignment restriction was added on that basis. This evidence is a native copy-primitive diagnostic, not a full strided-BMM validation or a performance claim; a failing BMM reproducer would warrant a separate investigation.
There was a problem hiding this comment.
🔵 Needs a closer look
Human validation is needed because the broad gfx950 CUDA changes span multiple kernel, LDS, dispatch, and generated-contract paths, while MI355X behavior and the base-versus-head GS128 regression comparison remain unverified.
25 open issues
Gate 4-byte async refills on scale-address alignment Untuned MXScale heuristics select plans that fail expected-plan tests Correct row-major compact kid IDs or update documented contract Fix scale descriptor bounds and offsets to use byte units Reject unsupported 1x128 scale blocks before heuristic selection Validate paired K tiles before launching split-one kernels Add flatmm-specific split-K scale-factor loader traits Partial GROUP_M panels cause invalid remapping Workspace fast path bypasses direct-only validation Use wave-uniform destination for buffer_load_lds Avoid rejecting registered gfx950 32x32 preshuffled kernels Ring slot allocation exceeds accounted LDS depth LDS refill applies the lane offset twice Existing tests use obsolete five-field configuration keys Add lane offset to A scale LDS destinations Prevent exited producer waves from reaching the barrier Enable exceptions before unknown kid lookup Adjust scale buffer bounds for shifted split-K bases Wait for LDS reads before overwriting the sliding panel Tune-shape validation ignores the selected group size
And 5 more that still need to be addressed.
1 resolved since last review
Review effort: Lite
|
This PR currently conflicts with main. Please rebase onto the current main branch, resolve the conflicts, and rerun CI so we can review the updated OPUS MX32 changes. |



Motivation
DeepSeek-V4/V4.1 runs batched MXFP8 GEMMs with row-major (non-preshuffled) weights on gfx950 at three weight-scale granularities: 128x128, 32x32 and 1x32 (one e8m0 scale per row per 32 K). The Opus row-major BMM entry had these gaps:
Technical Details
New scale granularities
w_scale_block(128x128,32x32,1x32). Legacy CSVs without the column load as128x128.Long K
Row-major compact tiles (
a8w8_mxscale_bmm_compact, kids 8470-8476, 8483, 8484)[M,G,K]and batch-major[G,M,K]views run without a copy.Dispatch and policy
RuntimeErrorinstead ofSIGABRT.split_k > 1, even with a caller-owned workspace.Correctness fixes in the pipeline
DSV4 tuned table (
dsv4_batched_gemm_a8w8_blockscale_mxscale_tuned.csv, 1044 rows: 352 at 128x128, 352 at 32x32, 340 at 1x32)Test Plan
op_tests/test_opus_a8w8_bmm.py: every 32x32 and 1x32 twin, plus the row-major compact kids in token-major and batch-major layouts, against a dequantized fp32 reference. Also covers odd-K refusal and long K.op_tests/test_opus_mxscale_regressions.py: scale-ring lifetime, workspace validation, and odd or partial M-panel traversal.op_tests/test_opus_a8w8_interface.pyandop_tests/tuning_tests/test_config_shape_collision.py: launch plan, policy, CSV key, legacy CSV, and direct-only split-K rejection (CPU only).op_tests/test_batched_gemm_a8w8_mxscale_bpreshuffle.py: regression.Test Result
On MI355X (gfx950), after merging current main:
test_opus_a8w8_bmm.py: passed, including 36 compact layout pairs.Submission Checklist