Skip to content

fix(deps): bump rocm-libraries to 4577381 for the 10.3.0a20261123 MIOpen - #144

Merged
tvy-amd merged 2 commits into
mainfrom
fm/dnnbench-rocm-libs-bump
Nov 23, 2026
Merged

tvy-amd merged 2 commits into
mainfrom
fm/dnnbench-rocm-libs-bump

Conversation

@tvy-amd

@tvy-amd tvy-amd commented Nov 23, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Bump the rocm-libraries submodule from bfbd6d7 to 4577381. This fixes the three gfx950 GPU tests that fail on every PR since the ROCm nightly 10.3.0a20261123. This PR supersedes #142 (the same bump from dependabot, on an older main). This PR does not close it.

Root cause

  1. The gpu-tests (gfx950, full suite) job installs the latest ROCm nightly. 10.3.0a20261120 was green. 10.3.0a20261123 is red.
  2. The 10.3.0a20261123 MIOpen needs the _impl symbol renames from rocm-libraries fb4dff7b0d (fix(miopen): export all baseline symbols from the wrapper-on libMIOpen.so rocm-libraries#16128).
  3. The pinned bfbd6d7 does not contain fb4dff7b0d. It builds libmiopen_plugin.so without the renames.
  4. The plugin does not load: undefined symbol miopenConvolutionForwardGetWorkSpaceSizeRange. No MIOpen engines exist.
  5. Three tests need MIOPEN_ENGINE rows and fail:
    • tests/integration/test_profiling.py::test_pmc_basic_populates_counters
    • tests/integration/test_profiling.py::test_trace_records_pftrace_artifact
    • tests/integration/test_suite_execution.py::test_oracle_times_a_knob_built_plan

The bump

4577381 is the commit that dependabot proposes. It contains fb4dff7b0d. The smallest commit that contains fb4dff7b0d is fb4dff7b0d itself. I did not use it for these reasons:

rocKE: test_rocke_rows_launch_hipdnn_kernels_and_match_pytorch

On #142, this test fails on gfx950. The run has only the auto row and no rocke:attention_dense.* row:

AssertionError: ['rocke:auto:rocke_attention_unified_2d_fp16_hd128_bs16_gqa32x8_tl']
  • Cause: rocm-libraries 1423e5c928 (feat(hip-kernel-provider): collapse the gfx950 dense attention catalog to 52 kernels rocm-libraries#14901) is in the bump range. It collapses the gfx950 dense attention catalog from 840 descriptors to 52. The descriptor metadata no longer has num_query_heads or num_kv_heads (at 4577381, gfx950_attention_dense.yaml records dtype, head_size, causal, ragged, sliding_window, batch, seqlen_q, seqlen_kv, block_m, block_n). The old rocke_sdpa.catalog_kernels compared the missing head counts with the graph's head counts, so no variant matched. The assert session.catalog line passed, so the descriptors loaded.
  • Fix: already on main in fix(setup, rocke): AITER build without /opt/rocm; gfx950 dense variants without head counts #136. The catalog compares head counts only when the descriptor records them, and puts the graph's head counts into the spec. Dependabot's branch starts at e31db1d, which is before that fix. This branch starts at the current main, so it has the fix.
  • Check without a GPU: I made the 24 D128 catalog entries of the 4577381 manifest with their recorded metadata. Then I ran catalog_kernels on the test's graph (fp16, causal, B1, Hq 32, Hkv 8, S 512, D 128) with the 4577381 rocKE package:

Other rocKE changes in the range: Gfx950AttentionDenseSpec only adds an optional kv_storage_dtype field, with None as the default. The kernel argument names do not change.

Documentation

Verification

  • pytest tests/unit -m "not gpu" (CPU torch): 2178 passed, 17 skipped (after the merge of main).
  • tests/unit/execution/test_rocke_sdpa.py and test_rocke_executor.py with the 4577381 rocKE package on PYTHONPATH: 48 passed. Without the package, 14 of these tests skip.
  • pre-commit run --all-files: passed.
  • GPU: this host has no GPU. The gpu-tests (gfx950, full suite) job of this PR gives the GPU proof.

The gfx950 CI installs the latest ROCm nightly. The 10.3.0a20261123
MIOpen needs the `_impl` symbol renames from rocm-libraries fb4dff7b0d
(#16128). The pinned bfbd6d7 builds libmiopen_plugin.so without them, so
the plugin does not load (undefined symbol
miopenConvolutionForwardGetWorkSpaceSizeRange) and no MIOpen engines
exist.

Bump the submodule to 4577381, the commit that dependabot proposes. It
contains fb4dff7b0d and also 1423e5c928 (#14901), which removes the
head counts from the gfx950 dense attention descriptors. The rocKE
catalog on main already matches those descriptors (#136).

Update the documents that name the pinned commit, and the rocKE variant
name example, which no longer has the head counts.
@tvy-amd
tvy-amd requested a review from a team as a code owner November 23, 2026 19:01
…-bump

# Conflicts:
#	Workloads/corpus/SDPABackward/Explanation.md
Comment thread docs/methodology.md Resolved
@tvy-amd
tvy-amd merged commit 0f0dde0 into main Nov 23, 2026
15 of 16 checks passed
@tvy-amd
tvy-amd deleted the fm/dnnbench-rocm-libs-bump branch November 23, 2026 22:34
GarbyGilbertAMD added a commit that referenced this pull request Nov 24, 2026
Bring in the rocm-libraries bump to 28f91cf (#142, #144), which fixes the
MIOpen plugin load with the current ROCm nightly, and the PyTorch SDPA
backend record (#137). The import conflicts in oracle.py and
pytorch_ops/__init__.py keep the imports of both sides.

ALMIOPEN-3178
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant