Repository navigation
test(rocke): re-bless the differential golden on develop - #14501
Conversation
The golden in llvm_gfx_all.json was recorded on a base without #13723 and #13976. Both PRs change the emitted IR. The checks rocke_differential_golden_ll and rocke_differential_golden_canonical fail on develop. Re-record the golden on f37a705 for llvm20, llvm22, llvm23 and the canonical IR mode. The golden also moves for gfx942_attention_tiled_2d, which no earlier PR blessed. Fixes #14474 Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
✅ All Checks Passed — Ready for Review
📖 Need help? See the Policy FAQ for details on every check and how to fix failures. |
|
🎉 All checks passed! This PR is ready for review. |
|
Automated review: Model - qwen3.6:35b-a3b-coding-mtp-q4_K_M, effort: max PR #14501 — re-bless the differential golden on develop (CongMa13) — 🟢 ACCEPT: exact, fully attributed re-bless
Utility: 🟢 Positive — unblocks develop's golden checks, red on develop's hipkernelprovider runs since 05:14 UTC; exact and fully attributed. Legend: 🔴 blocking · 🟠 should-fix · 🟡 minor nit · 🟢 info/good · ⚪ retracted First-round review: a local qwen3.6 model made the independent first pass. The orchestrator (Claude Opus 5.5) verified it. The checks were:
The orchestrator owns this merge-worthiness call. It flags whether a closer look is needed; it is not an approval or a rejection. |
…nd moe_fused_mega_fp8 rocke_differential_golden_ll and rocke_differential_golden_canonical fail on develop, and so on this branch: #13723 changed the target_intrinsics IR and the moe_fused_mega_fp8 LLVM IR after #13974 blessed the golden. Re-record only those two families (llvm20, llvm22, llvm23 and canonical) with run_diff.py --python-only --record-golden --only. The hashes match the ones in #14501, which re-blesses the same entries on develop. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…tor root (#14553) ## Summary The hip-kernel-provider census now passes the descriptor loader an absolute, normalized root. Before, it passed a path that climbs out of the test tree and back down. On Windows, that climb pushed the gfx1151 WMMA attention decode pack (#14412) over the 259-character `MAX_PATH` limit. The pack's descriptors never loaded, and `TestGfx1151WmmaAttentionDecodePacks` failed on the Windows gfx110X lane. JIRA ID : ALMIOPEN-3093 ## Problem On develop, TheRock Multi-Arch CI's Windows gfx110X hip-kernel-provider shards fail these four census cases: - `hkp-census-gfx1100-TestGfx1151WmmaAttentionDecodePacks` - `hkp-census-gfx1101-TestGfx1151WmmaAttentionDecodePacks` - `hkp-census-gfx1102-TestGfx1151WmmaAttentionDecodePacks` - `hkp-census-gfx1103-TestGfx1151WmmaAttentionDecodePacks` The error in each is: ``` descriptor set 'hipkernel:Gfx1151WmmaAttentionDecode' did not load ``` Because these cases fail, the required **Multi-Arch CI Summary** check is red on every PR that runs the hip-kernel-provider tests. Develop's own post-merge run [40611307596](https://github.com/ROCm/rocm-libraries/actions/runs/40611307596) fails the same cases. **Cause.** The census entry names its shard relative to its own directory: ``` census/<arch>/../../../../arch_content/... ``` Windows resolves every descriptor file as that directory plus the climb, so the climb counts against `MAX_PATH` even though the shard itself sits well within it. The decode pack has the longest file names in the tree. Its paths come to about 264-267 characters. The other packs come to about 253-257. ## Change `dnn-providers/hip-kernel-provider/src/tests/main.cpp` (census mode only): - After the existing check that the root is a directory, the census computes `std::filesystem::absolute(root).lexically_normal()`. - It sets `HIPDNN_DESCRIPTOR_DIR` to that value before any suite loads. - If `absolute()` fails, the census keeps the original root, so the old behavior is the fallback. This is the same hunk that #14111 already carries. That PR found it and validated it on a TheRock Multi-Arch run that passed on Windows gfx110X. It is split out here so it can land ahead of #14111. When #14111 rebases, its copy of the hunk becomes a no-op. ## Risks and mitigations | Risk | Mitigation | |---|---| | A census now loads a different tree | The normalized path names the same directory, so the set of files loaded is identical. Only the spelling of the path changes. | | Something other than the census is affected | The change is inside census mode in the test binary's `main()`. The plugin, the product loader and the non-census test runs are untouched. | ## Testing - The hunk is identical to the one in #14111, whose TheRock Multi-Arch run passed the Windows gfx110X census. - This PR's own TheRock Multi-Arch run should turn the four `TestGfx1151WmmaAttentionDecodePacks` census cases green on Windows gfx110X. ## Landing order This PR unblocks the Windows census for: - #14483 (ALMIOPEN-3024) - #14358 and #14111, which land after #14483 The separate rocKE golden mismatch on the same shards is fixed by #14501. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
|
issueing override merge |
…arry Resolve the differential golden conflict with #14501 by regeneration: take develop's file, then re-record the attention_tiled_2d and attention_unified families (ll llvm20/22/23 + ir canonical, python-only). Other families keep develop's entries.
No textual conflicts; llvm_gfx_all.json auto-merged (develop re-bless #14501 plus this PR's stem cases). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
TheRock Submodule Bump ActivityNewest first
|
Fixes #14474
Summary: For human reviewers
The golden file
llvm_gfx_all.jsonis stale. The checksrocke_differential_golden_llandrocke_differential_golden_canonicalfail ondevelop.This PR records the golden again on
f37a7056c79. The PR changes onlyllvm_gfx_all.json.What changed
target_intrinsics: feat(rocke): make the C++ engine consult the arch-domain table, and add error mode #13723 changed the IR. The golden changes for llvm20, llvm22, llvm23 and canonical.moe_fused_mega_fp8: fix(rocke): one valid K=128 f8f6f4 MFMA lowering for fp8, fp6 and fp4 #13976 changed the IR. The golden changes for llvm20, llvm22 and llvm23.gfx942_attention_tiled_2d: The golden also changes for this family. The issue does not list it. The cause is not confirmed.Review request
gfx942_attention_tiled_2dchange. The probable source is perf(rocke): build one K/V resource per page on the gfx942 2D i64 path #14349.Verification
developfor llvm20 and llvm22.run_diff.py --mode ll --python-only --check-golden --flavor llvm20 --only target_intrinsics,moe_fused_mega_fp8printsGOLDEN OK.Summary: For AI reviewers
run_diff.py --record-goldenwrote the file with--python-only.🤖 Generated with Claude Code