← Back to Pull requests

ci(miopen-dbsync): run miopen-dbsync on gfx125X-dcgpu as advisory #10328

Open
unknown opened this pull request with 650 lines diff across 8 files
View on GitHub
unknown unknown commented on Nov 27, 2026 11:44 UTC
Author

ISSUE ID : https://github.com/ROCm/rocm-libraries/issues/12013

Motivation

The miopen-dbsync component runs StaticFDBSync under the rocjitsu emulator on a CPU runner, so a system find-db or perf-db change fails in presubmit without using GPU capacity. It covers gfx942, gfx950 and gfx90a. The gfx1250 system DBs added in ROCm/rocm-libraries#16617 are not covered.

Adding gfx125X-dcgpu to include_family is not enough. The gfx125X matrix entry sets test_type_for_family: "quick", and miopen-dbsync only runs in standard, comprehensive and full, so it's never scheduled for gfx125X.

Technical Details

  • miopen-dbsync gets gfx125X-dcgpu in include_family.linux and in expect_failure.linux next to gfx90a. It stays advisory until the emulator result is compared with real gfx1250 hardware.

  • ignore_test_type_for_family is set on miopen-dbsync. The key name, the linux_cpu_runner guard, the run() split and the docstring text match ROCm/TheRock#10154, so whichever PR lands first leaves the other a clean rebase. A trial merge of this branch with the head of #10154 has no conflict, and the merged tree passes fetch_test_configurations_test.py.

  • Other components keep the forced tier. In CI, configure_multi_arch_ci.py passes quick for gfx125X wherever its GPU tests run, so the job isn't scheduled there. Where GPU tests are gated (presubmit, postsubmit, submodule bumps, ci:cpu-test-only), the job runs when the requested tier is standard or higher, as for the other families. A manual test_artifacts.yml dispatch at standard also schedules it.

  • configure_multi_arch_ci.py now applies ci:cpu-test-only before test_type_for_family. Before, a PR labeled ci:gfx125X-dcgpu and ci:cpu-test-only got quick for gfx125X before ci:cpu-test-only cleared its GPU runner, so this job was dropped even with test_filter:standard. The selector still applies the family tier to every other component, so only this job's selection changes.

  • The runner's gfx125X entry comes from ROCm/rocm-libraries#13411. The order matters. #13411 lands, then the rocm-libraries pin in this repo moves past it, and only then does this job check anything in TheRock CI. Until then the pinned runner prints that the family has no rocjitsu KMD config and exits 0, so the job passes without checking anything. That's a vacuous pass, the same as gfx90a had before its entry existed. The job should not be read as gfx1250 coverage until its log shows StaticFDBSync/gfx1250_256 checked against gfx1250100.HIP.fdb.txt.

  • rocm-libraries PR CI uses a pinned TheRock ref, so the job shows up there after that ref moves past this PR.

  • Overlap with ROCm/TheRock#8906: both edit the miopen-dbsync comment, its include list, the _dbsync_job test helper and the include-list test, so git reports conflicts in both files. #8906 also uses gfx125X-dcgpu as the negative case in test_miopen_dbsync_excluded_on_other_families. Whichever lands second must merge the include lists and pick another family for that test.

  • Overlap with ROCm/TheRock#10318: it removes expect_failure for gfx90a and edits the same comment and the same advisory test, so git reports conflicts in both files. Whichever lands second keeps gfx125X-dcgpu in expect_failure and drops gfx90a from it.

  • ROCm/TheRock#10257 only changes fetch_artifact_args of the same entry and merges with this branch without a conflict.

  • ROCm/TheRock#10227 (draft) rewrites the top of the run() component loop, where this PR adds the per-component tier. The conflict there is textual.

  • What could break: a CPU-runner component that sets the key skips the family's forced tier. With ci:cpu-test-only, gfx125X and gfx117X now pass the requested tier to test_artifacts.yml, and the selector still lowers every other component to quick for them.
  • Test Plan

  • fetch_test_configurations_test.py: include list, advisory entry, scheduling on the CPU runner at standard with the GPU gated, quick still excluded, other components keeping the forced tier, the key only on CPU-runner components, the key ignored without linux_cpu_runner, and the shard and multi-GPU quick paths.

  • fetch_test_configurations_test.py also runs configure_multi_arch_ci.py for a PR labeled test_filter:standard and ci:gfx125X-dcgpu, with and without ci:cpu-test-only, and passes its gfx125X entry through the selector.

  • The related configure and fetch test files, and black --check on the four touched files.

  • The job's steps by hand on the artifacts of a rocm-libraries develop Multi-Arch CI run that includes #16617, with the runner from #13411.
  • Test Result

  • Before, gfx125X at standard schedules no miopen-dbsync job. After, it schedules one on the CPU runner, marked as an expected failure.

  • With test_filter:standard, ci:gfx125X-dcgpu and ci:cpu-test-only, configure followed by the selector schedules no miopen-dbsync job on gfx125X before the reorder, and one at standard after it. Without ci:cpu-test-only it still schedules none.

  • fetch_test_configurations_test.py passes with 158 tests (148 on current main). The related set of seven test files passes with 501 tests (491 on current main), with the one existing skip.

  • Each of three mutations makes one of the new tests fail: the shard collapse using the family-forced tier, the multi-GPU quick gate using the family-forced tier, and dropping the linux_cpu_runner guard.

  • With the runner from #13411 the manual run reports StaticFDBSync/gfx1250_256 checked on gfx1250100.HIP.fdb.txt. Earlier manual runs with an empty system DB and with an older gfx1250 DB both failed.

  • Not tested: a real workflow run, and real gfx1250 hardware.
  • Submission Checklist

  • Look over the contributing guidelines at https://github.com/ROCm/TheRock/blob/main/CONTRIBUTING.md.
  • Diff: 650 lines (+487 / -163) across 8 files Reviewer: geomin12 Review duration: 5391m
    All Vouch review confidence checks passed
    Residual risk 0.28 = Change Risk (0.52) × (1 − Review Confidence (0.47)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.52 · 650 lines diff across 8 files
    0.52
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.02 · 1 substantive comment(s)
    0.02
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    46%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Diff Size diff_size
    0.388
    Shallow Review Depth shallow_review_depth
    0.344
    Real PR Conversation Timeline
    1 comments
    "Review active on #10328"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 46.7% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 52% (MEDIUM) · Higher = larger blast radius
    52%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 46.7% · Lower = rushed or shallow review
    46.7%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 27.7% · Safe to merge
    27.7%
    Repository