From 6be4939fa29581a43957544e695b7f82a96be691 Mon Sep 17 00:00:00 2001 From: Scott Todd Date: Tue, 22 Sep 2026 10:30:02 -0700 Subject: [PATCH] [bkc] Pin to use release/bkc/therock-10.2-20260922 workflows --- .github/actions/ci-env/action.yml | 6 ++-- .github/scripts/resolve_therock_ref.py | 2 +- .github/workflows/clang-tidy.yml | 2 +- .github/workflows/therock-ci-nightly.yml | 2 +- .../therock-multi-arch-ci-asan-nightly.yml | 11 ++++---- .../workflows/therock-multi-arch-ci-asan.yml | 11 ++++---- .../therock-multi-arch-ci-nightly.yml | 17 +++++------ .github/workflows/therock-multi-arch-ci.yml | 28 ++++++++----------- 8 files changed, 38 insertions(+), 41 deletions(-) diff --git a/.github/actions/ci-env/action.yml b/.github/actions/ci-env/action.yml index 355340d453b5..5bd24e6376cc 100644 --- a/.github/actions/ci-env/action.yml +++ b/.github/actions/ci-env/action.yml @@ -4,16 +4,16 @@ description: "Single source of truth for shared CI constants (TheRock ref, Docke outputs: therock-ref: description: "TheRock commit hash to use" - value: "3abd365b9c2cda5bcb5ddf52208eb3a31cd41b3d" # 2026-09-17 + value: "release/bkc/therock-10.2-20260922" kpack-ref: description: "rocm-systems commit whose shared/kpack provides the rocm_kpack packing tooling" # Copied into dnn-providers/hip-kernel-provider/cmake/KpackPython.cmake and # projects/hipdnn/dockerfiles/Dockerfile.ubuntu24, neither of which can read # this action. The kpack-pin-sync pre-commit hook holds them equal. - value: "a022846cf553c2b135410a5168f97705f1b9c6ac" # 2026-08-22 + value: "release/bkc/therock-10.2-20260922" baseline-run-id: description: "TheRock workflow run ID for prebuilt stage artifacts" - value: "35110183783" # Updated by assistant-librarian[bot] on submodule bumps + value: "" docker-image: description: "Docker container image for Linux builds" value: "ghcr.io/rocm/therock_build_manylinux_x86_64@sha256:cf4f6d9909056906e4a1c0bc4c245658a0af4c6a6174082a86adfa2d518b7aeb" diff --git a/.github/scripts/resolve_therock_ref.py b/.github/scripts/resolve_therock_ref.py index f703a4d5a773..566fab7481e5 100644 --- a/.github/scripts/resolve_therock_ref.py +++ b/.github/scripts/resolve_therock_ref.py @@ -32,7 +32,7 @@ GITHUB_API = "https://api.github.com" DEFAULT_THEROCK_REPO = "ROCm/TheRock" -DEFAULT_THEROCK_BRANCH = "main" +DEFAULT_THEROCK_BRANCH = "release/bkc/therock-10.2-20260922" DEFAULT_STALENESS_DAYS = 14 MODE_OVERRIDE = "override" diff --git a/.github/workflows/clang-tidy.yml b/.github/workflows/clang-tidy.yml index 5ab26dd0a8a6..ed84798a1d78 100644 --- a/.github/workflows/clang-tidy.yml +++ b/.github/workflows/clang-tidy.yml @@ -124,7 +124,7 @@ jobs: uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: repository: ROCm/TheRock - ref: 3abd365b9c2cda5bcb5ddf52208eb3a31cd41b3d # 2026-09-17 + ref: release/bkc/therock-10.2-20260922 path: TheRock - name: Install base dependencies diff --git a/.github/workflows/therock-ci-nightly.yml b/.github/workflows/therock-ci-nightly.yml index 120b973242b1..c656fac62382 100644 --- a/.github/workflows/therock-ci-nightly.yml +++ b/.github/workflows/therock-ci-nightly.yml @@ -52,7 +52,7 @@ jobs: with: repository: "ROCm/TheRock" path: TheRock - ref: ${{ inputs.therock_ref_override || '3abd365b9c2cda5bcb5ddf52208eb3a31cd41b3d' }} + ref: ${{ inputs.therock_ref_override || 'release/bkc/therock-10.2-20260922' }} - name: Log locked TheRock ref run: | diff --git a/.github/workflows/therock-multi-arch-ci-asan-nightly.yml b/.github/workflows/therock-multi-arch-ci-asan-nightly.yml index 842c8c8cf1ed..b65b55080721 100644 --- a/.github/workflows/therock-multi-arch-ci-asan-nightly.yml +++ b/.github/workflows/therock-multi-arch-ci-asan-nightly.yml @@ -28,16 +28,17 @@ concurrency: jobs: setup: - uses: ROCm/TheRock/.github/workflows/setup_multi_arch.yml@3abd365b9c2cda5bcb5ddf52208eb3a31cd41b3d # 2026-09-17 + uses: ROCm/TheRock/.github/workflows/setup_multi_arch.yml@release/bkc/therock-10.2-20260922 with: build_variant: "asan" linux_amdgpu_families: "gfx94X,gfx950,gfx125X" + stage_reuse_mode: off # Python/PyTorch/JAX builds are not supported with ASAN yet build_python_packages: false build_pytorch: false build_jax: false repository: ROCm/TheRock - ref: 3abd365b9c2cda5bcb5ddf52208eb3a31cd41b3d # 2026-09-17 + ref: release/bkc/therock-10.2-20260922 external_repo: '{"repository":"${{ github.repository }}","ref":"${{ github.sha }}"}' log_therock_ref: @@ -64,7 +65,7 @@ jobs: needs.setup.outputs.linux_build_config != '' && needs.setup.outputs.enable_build_jobs == 'true' }} - uses: ROCm/TheRock/.github/workflows/multi_arch_ci_linux.yml@3abd365b9c2cda5bcb5ddf52208eb3a31cd41b3d # 2026-09-17 + uses: ROCm/TheRock/.github/workflows/multi_arch_ci_linux.yml@release/bkc/therock-10.2-20260922 secrets: inherit with: build_config: ${{ needs.setup.outputs.linux_build_config }} @@ -75,7 +76,7 @@ jobs: test_type: ${{ needs.setup.outputs.test_type }} external_repo_config: ${{ needs.setup.outputs.external_repo_config }} repository: ROCm/TheRock - ref: 3abd365b9c2cda5bcb5ddf52208eb3a31cd41b3d # 2026-09-17 + ref: release/bkc/therock-10.2-20260922 permissions: contents: read id-token: write @@ -92,7 +93,7 @@ jobs: uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: repository: "ROCm/TheRock" - ref: 3abd365b9c2cda5bcb5ddf52208eb3a31cd41b3d # 2026-09-17 + ref: release/bkc/therock-10.2-20260922 sparse-checkout: build_tools/github_actions sparse-checkout-cone-mode: true diff --git a/.github/workflows/therock-multi-arch-ci-asan.yml b/.github/workflows/therock-multi-arch-ci-asan.yml index 263ab7b41324..e808426bca25 100644 --- a/.github/workflows/therock-multi-arch-ci-asan.yml +++ b/.github/workflows/therock-multi-arch-ci-asan.yml @@ -57,7 +57,7 @@ concurrency: jobs: setup: - uses: ROCm/TheRock/.github/workflows/setup_multi_arch.yml@3abd365b9c2cda5bcb5ddf52208eb3a31cd41b3d # 2026-09-17 + uses: ROCm/TheRock/.github/workflows/setup_multi_arch.yml@release/bkc/therock-10.2-20260922 with: build_variant: "asan" linux_amdgpu_families: ${{ inputs.linux_amdgpu_families || 'gfx94X,gfx950,gfx125X' }} @@ -65,12 +65,13 @@ jobs: prebuilt_stages: ${{ inputs.prebuilt_stages || '' }} baseline_run_id: ${{ inputs.baseline_run_id || '' }} baseline_repository: ${{ inputs.baseline_repository || (github.event_name == 'workflow_dispatch' && github.repository) || '' }} + stage_reuse_mode: off # Python/PyTorch/JAX builds are not supported with ASAN yet build_python_packages: false build_pytorch: false build_jax: false repository: ROCm/TheRock - ref: 3abd365b9c2cda5bcb5ddf52208eb3a31cd41b3d # 2026-09-17 + ref: release/bkc/therock-10.2-20260922 external_repo: '{"repository":"${{ github.repository }}","ref":"${{ github.sha }}"}' linux_build_and_test: @@ -81,7 +82,7 @@ jobs: needs.setup.outputs.linux_build_config != '' && needs.setup.outputs.enable_build_jobs == 'true' }} - uses: ROCm/TheRock/.github/workflows/multi_arch_ci_linux.yml@3abd365b9c2cda5bcb5ddf52208eb3a31cd41b3d # 2026-09-17 + uses: ROCm/TheRock/.github/workflows/multi_arch_ci_linux.yml@release/bkc/therock-10.2-20260922 secrets: inherit with: build_config: ${{ needs.setup.outputs.linux_build_config }} @@ -92,7 +93,7 @@ jobs: test_type: ${{ needs.setup.outputs.test_type }} external_repo_config: ${{ needs.setup.outputs.external_repo_config }} repository: ROCm/TheRock - ref: 3abd365b9c2cda5bcb5ddf52208eb3a31cd41b3d # 2026-09-17 + ref: release/bkc/therock-10.2-20260922 permissions: contents: read id-token: write @@ -109,7 +110,7 @@ jobs: uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: repository: "ROCm/TheRock" - ref: 3abd365b9c2cda5bcb5ddf52208eb3a31cd41b3d # 2026-09-17 + ref: release/bkc/therock-10.2-20260922 sparse-checkout: build_tools/github_actions sparse-checkout-cone-mode: true diff --git a/.github/workflows/therock-multi-arch-ci-nightly.yml b/.github/workflows/therock-multi-arch-ci-nightly.yml index 40b43702772a..1f2c7d89059a 100644 --- a/.github/workflows/therock-multi-arch-ci-nightly.yml +++ b/.github/workflows/therock-multi-arch-ci-nightly.yml @@ -13,7 +13,7 @@ name: TheRock Multi-Arch Nightly CI -# TheRock ref: pinned to ROCm/TheRock commit 3abd365b9c2cda5bcb5ddf52208eb3a31cd41b3d. +# TheRock ref: pinned to ROCm/TheRock release/bkc/therock-10.2-20260922. on: schedule: @@ -34,7 +34,7 @@ concurrency: jobs: setup: - uses: ROCm/TheRock/.github/workflows/setup_multi_arch.yml@3abd365b9c2cda5bcb5ddf52208eb3a31cd41b3d # 2026-09-17 + uses: ROCm/TheRock/.github/workflows/setup_multi_arch.yml@release/bkc/therock-10.2-20260922 with: build_variant: "release" # Limit GPU families for nightly CI: gfx94X, gfx950 (Linux) and gfx1151 (Windows). @@ -47,8 +47,9 @@ jobs: windows_test_labels: '' prebuilt_stages: '' baseline_run_id: '' + stage_reuse_mode: off repository: ROCm/TheRock - ref: 3abd365b9c2cda5bcb5ddf52208eb3a31cd41b3d # 2026-09-17 + ref: release/bkc/therock-10.2-20260922 external_repo: '{"repository":"${{ github.repository }}","ref":"${{ github.sha }}"}' log_therock_ref: @@ -75,7 +76,7 @@ jobs: needs.setup.outputs.linux_build_config != '' && needs.setup.outputs.enable_build_jobs == 'true' }} - uses: ROCm/TheRock/.github/workflows/multi_arch_ci_linux.yml@3abd365b9c2cda5bcb5ddf52208eb3a31cd41b3d # 2026-09-17 + uses: ROCm/TheRock/.github/workflows/multi_arch_ci_linux.yml@release/bkc/therock-10.2-20260922 secrets: inherit with: build_config: ${{ needs.setup.outputs.linux_build_config }} @@ -88,7 +89,7 @@ jobs: # Empty string triggers full test run in downstream workflow changed_projects: '' repository: ROCm/TheRock - ref: 3abd365b9c2cda5bcb5ddf52208eb3a31cd41b3d # 2026-09-17 + ref: release/bkc/therock-10.2-20260922 permissions: contents: read id-token: write @@ -101,7 +102,7 @@ jobs: needs.setup.outputs.windows_build_config != '' && needs.setup.outputs.enable_build_jobs == 'true' }} - uses: ROCm/TheRock/.github/workflows/multi_arch_ci_windows.yml@3abd365b9c2cda5bcb5ddf52208eb3a31cd41b3d # 2026-09-17 + uses: ROCm/TheRock/.github/workflows/multi_arch_ci_windows.yml@release/bkc/therock-10.2-20260922 secrets: inherit with: build_config: ${{ needs.setup.outputs.windows_build_config }} @@ -112,7 +113,7 @@ jobs: # Empty string triggers full test run in downstream workflow changed_projects: '' repository: ROCm/TheRock - ref: 3abd365b9c2cda5bcb5ddf52208eb3a31cd41b3d # 2026-09-17 + ref: release/bkc/therock-10.2-20260922 permissions: contents: read id-token: write @@ -130,7 +131,7 @@ jobs: uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: repository: "ROCm/TheRock" - ref: 3abd365b9c2cda5bcb5ddf52208eb3a31cd41b3d # 2026-09-17 + ref: release/bkc/therock-10.2-20260922 sparse-checkout: build_tools/github_actions sparse-checkout-cone-mode: true diff --git a/.github/workflows/therock-multi-arch-ci.yml b/.github/workflows/therock-multi-arch-ci.yml index d123307f468f..fd09535111dd 100644 --- a/.github/workflows/therock-multi-arch-ci.yml +++ b/.github/workflows/therock-multi-arch-ci.yml @@ -14,7 +14,7 @@ name: TheRock Multi-Arch CI -# TheRock ref: pinned to ROCm/TheRock commit 3abd365b9c2cda5bcb5ddf52208eb3a31cd41b3d. +# TheRock ref: pinned to ROCm/TheRock release/bkc/therock-10.2-20260922. # NOTE: update all `@` refs and `ref:` inputs together when switching. on: @@ -134,7 +134,7 @@ jobs: uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: repository: ROCm/TheRock - ref: 3abd365b9c2cda5bcb5ddf52208eb3a31cd41b3d # 2026-09-17 + ref: release/bkc/therock-10.2-20260922 path: _therock sparse-checkout: build_tools/github_actions sparse-checkout-cone-mode: true @@ -153,7 +153,7 @@ jobs: setup: needs: [ci-env, configure] - uses: ROCm/TheRock/.github/workflows/setup_multi_arch.yml@3abd365b9c2cda5bcb5ddf52208eb3a31cd41b3d # 2026-09-17 + uses: ROCm/TheRock/.github/workflows/setup_multi_arch.yml@release/bkc/therock-10.2-20260922 with: build_variant: "release" # Limit GPU families for rocm-libraries CI. @@ -181,16 +181,10 @@ jobs: build_pytorch: ${{ inputs.build_pytorch || false }} build_jax: ${{ inputs.build_jax || false }} build_native_linux: ${{ inputs.build_native_linux || false }} - # A missing baseline disables artifact reuse and causes TheRock to - # perform a full stage build. - stage_reuse_mode: >- - ${{ - needs.ci-env.outputs.baseline-run-id != '' && - 'reuse-stage' || - 'off' - }} + # Disable automatic stage reuse for the pinned BKC branch. + stage_reuse_mode: off repository: ROCm/TheRock - ref: 3abd365b9c2cda5bcb5ddf52208eb3a31cd41b3d # 2026-09-17 + ref: release/bkc/therock-10.2-20260922 # Pass external repo info for stage-impact analysis. # extra_cmake_options is appended to the cmake configure line of every # build stage, scoped to this repository's CI runs. TheRock keeps @@ -216,7 +210,7 @@ jobs: needs.setup.outputs.enable_build_jobs == 'true' && needs.configure.outputs.skip_tests != 'true' }} - uses: ROCm/TheRock/.github/workflows/multi_arch_ci_linux.yml@3abd365b9c2cda5bcb5ddf52208eb3a31cd41b3d # 2026-09-17 + uses: ROCm/TheRock/.github/workflows/multi_arch_ci_linux.yml@release/bkc/therock-10.2-20260922 secrets: inherit with: build_config: ${{ needs.setup.outputs.linux_build_config }} @@ -230,7 +224,7 @@ jobs: changed_projects: ${{ needs.configure.outputs.run_all_tests == 'true' && '' || needs.configure.outputs.test_projects }} repository: ROCm/TheRock # Concrete SHA resolved once by setup; do not re-resolve main here. - ref: 3abd365b9c2cda5bcb5ddf52208eb3a31cd41b3d # 2026-09-17 + ref: release/bkc/therock-10.2-20260922 permissions: contents: read id-token: write @@ -244,7 +238,7 @@ jobs: needs.setup.outputs.enable_build_jobs == 'true' && needs.configure.outputs.skip_tests != 'true' }} - uses: ROCm/TheRock/.github/workflows/multi_arch_ci_windows.yml@3abd365b9c2cda5bcb5ddf52208eb3a31cd41b3d # 2026-09-17 + uses: ROCm/TheRock/.github/workflows/multi_arch_ci_windows.yml@release/bkc/therock-10.2-20260922 secrets: inherit with: build_config: ${{ needs.setup.outputs.windows_build_config }} @@ -256,7 +250,7 @@ jobs: changed_projects: ${{ needs.configure.outputs.run_all_tests == 'true' && '' || needs.configure.outputs.test_projects }} repository: ROCm/TheRock # Concrete SHA resolved once by setup; do not re-resolve main here. - ref: 3abd365b9c2cda5bcb5ddf52208eb3a31cd41b3d # 2026-09-17 + ref: release/bkc/therock-10.2-20260922 permissions: contents: read id-token: write @@ -303,7 +297,7 @@ jobs: with: repository: "ROCm/TheRock" # Concrete SHA resolved once by setup; do not re-resolve main here. - ref: 3abd365b9c2cda5bcb5ddf52208eb3a31cd41b3d # 2026-09-17 + ref: release/bkc/therock-10.2-20260922 sparse-checkout: build_tools/github_actions sparse-checkout-cone-mode: true