ci(miopen-dbsync): fetch rocjitsu and mirage artifacts #9961
All Vouch review confidence checks passed
Residual risk 0.21 = Change Risk (0.52) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.52 · 647 lines diff across 8 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
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.387
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #9961"
general
weight: 0.35
JonathanLichtnerAMD
Motivation
miopen-dbsyncbuilds rocjitsu from source on every run (run_dbsync_rocjitsu.pyclonesrocm-systems and compiles it, about 60 CPU-minutes). On 2-vCPU runners that used 25-29 of the
30-minute step budget and caused timeouts (ROCm/rocm-libraries#15560, worked around by #9905
moving CPU test runners to the medium pool).
TheRock already builds and ships rocjitsu and mirage as artifacts, so the runner does not need to
build its own. This is step 1 of ALMIOPEN-3270: make the artifacts available to the job. The runner
script change lands separately in rocm-libraries.
JIRA ID : ALMIOPEN-3270
ISSUE ID : https://github.com/ROCm/rocm-libraries/issues/15560
Technical Details
fetch_test_configurations.py: add--rocjitsu --mirageto themiopen-dbsyncfetch_artifact_args. Both flags already exist ininstall_rocm_from_artifacts.py.ml-libs/CMakeLists.txt: MIOpen takesBUILD_DEPSonrocjitsuandmirage(guarded onTHEROCK_ENABLE_ROCJITSU/THEROCK_ENABLE_MIRAGE, so Windows and builds without theEMULATION feature are unaffected). This follows the
rccl-translatepattern incomm-libs/CMakeLists.txt: BUILD_DEPS only orders the build and records the edge, and nothingis distributed with the miopen artifacts.
test_tools/therock_consumer_graph.jsongets thematching
rocjitsu -> miopenandmirage -> miopenedges, so job selection and artifact reuseknow the dependency and changes to rocjitsu/mirage select the MIOpen tests.
BUILD_TOPOLOGY.tomlartifact_depsformiopen. Adding it would make theMIOPENfeature requireROCJITSUandMIRAGE(Rust) for every MIOpen build and stage.fetch_test_configurations_test.py: new test that every component'sfetch_artifact_argsisaccepted by
install_rocm_from_artifacts.py, since an unknown flag fails the job at runtime.timeout_minutesis intentionally left at 30. The current runner script still builds its ownrocjitsu and ignores the extra artifacts, so lowering the timeout now would reintroduce
timeouts. It is lowered in a follow-up, only after the script change is live in TheRock.
miopen-dbsyncjob (rocjitsu_lib,rocjitsu_run, mirage_run are target-neutral).
Sequence (ALMIOPEN-3270): this PR, then a rocm-libraries PR that uses
bin/mirageandshare/rocjitsu/configsfrom the dist and bumps its pinned TheRock ref, then TheRock's submodulebump, then a PR lowering
timeout_minutes.Test Plan
pytest build_tools/github_actions/tests/fetch_test_configurations_test.py,black.test_consumer_graph_drift.yml(
fetch_sources.py, thencmake -B build -GNinja -DTHEROCK_ENABLE_ALL=ON, then-DTHEROCK_AMDGPU_FAMILIES=gfx94X-dcgpu
check_consumer_graph_drift.py --check).build.ninjato confirmml-libs/MIOpen/stamp/configure.stampdepends on the rocjitsuand mirage stage stamps.
(
install_rocm_from_artifacts.py --run-id 42907787870 ... --rocjitsu --mirage) on gfx942 andgfx950, under
mirage --in-process.test_artifacts.ymldispatched on this branch (artifact_run_id=42907787870,standard,test_labels=test:miopen-dbsync, CPU runneraws-linux-scale-rocm-medium) for gfx94X-dcgpu andgfx950-dcgpu, to confirm the extra artifacts are fetched and the current runner still passes.
Test Result
unrecognized argumentswhen a fetch flag is misspelled),blackclean.check_consumer_graph_drift.py --checkreports "Consumer graphis up to date" with the hand-edited graph. The emitted graph has
rocjitsu -> [..., miopen]andmirage -> [miopen], and the MIOpen configure stamp depends onemulation/rocjitsuandemulation/miragestage stamps.- gfx94X-dcgpu, run 43489253191: Test
step 8m07s.
rocjitsu_lib,rocjitsu_runandmirage_runare downloaded (via--rocjitsu --mirage) and ignored. rocjitsu build 1m59s (-j 32), 304 CU 3m20s, 228 CU about 2m20s.- gfx950-dcgpu, run 43489259896: Test
step 5m16s, same artifacts fetched, rocjitsu build 1m59s, 256 CU about 2m46s.
- Both ran on
aws-linux-scale-rocm-medium(32 vCPU). The 2-vCPUazsmall runners inROCm/rocm-libraries#15560 spent 25-29 minutes on the same build, so the medium pool from #9905
is what currently keeps this step well under 30 minutes.
11c5a800, 2026-11-10), all non-skippedStaticFDBSyncresults: gfx942 304 CU pass (203 s), gfx942 228 CU pass (149 s), gfx950 256 CU pass(174 s).
Submission Checklist